Commit 1a81292f authored by 罗超's avatar 罗超

1

parent 24500b62
......@@ -40,6 +40,19 @@
font-size: 12px;
width: 100%;
}
.seebtn {
width: 200rpx;
height: 60rpx;
background: #f70027;
border-radius: 20rpx;
font-size: 20rpx;
font-family: PingFang SC;
font-weight: bold;
color: #ffffff;
text-align: center;
line-height: 60rpx;
margin-top: 30rpx;
}
</style>
<template>
<view class="activityList" style="height: 100vh">
......@@ -84,7 +97,7 @@
<view>结束时间:{{ item.EndTimeStr }}</view>
</view>
</view>
<view>
<!-- <view>
<u-button
size="80"
:ripple="true"
......@@ -100,6 +113,14 @@
@click="goSignList(item)"
>查看报名信息</u-button
>
</view> -->
<view style="display: flex; justify-content: flex-end">
<view
class="seebtn"
:style="{ backgroundColor: mainColor ? mainColor : '#1F1F1F' }"
@click.stop="goSignList(item)"
>查看报名信息</view
>
</view>
</view>
</view>
......
......@@ -163,7 +163,6 @@ export default {
data: this.qmsg,
},
(res) => {
console.log(res);
if (res.resultCode == 1) {
this.dataList = res.data.CommerceConsultList;
}
......@@ -172,22 +171,27 @@ export default {
},
//删除用户
deleteUser(item) {
var delMsg = {
let delMsg = {
Id: item.Id,
};
let that = this;
uni.showModal({
title: "提示",
content: "确认删除?",
success: function (res) {
if (res.confirm) {
this.request2(
that.request2(
{
url: "/api/AppletTrade/DeleteTrdceConsult",
data: delMsg,
},
(res) => {
if (res.resultCode == 1) {
this.getList();
(_res) => {
if (_res.resultCode == 1) {
uni.showToast({
title: "删除成功",
duration: 2000,
});
that.getList();
}
}
);
......
<style>
page {
backgroundcolor: "#F6F6F6";
.editpage {
height: 100vh;
background-color: #f6f6f6;
padding: 0rpx 35rpx 35rpx;
box-sizing: border-box;
}
.signedit {
width: 680rpx;
height: 100%;
background: #ffffff;
border-radius: 30rpx;
margin: 0 auto;
......@@ -54,46 +58,48 @@ page {
}
</style>
<template>
<view class="signedit" style="height: 100vh">
<view class="box">
<view class="name">姓名</view>
<input
type="text"
class="input"
v-model="msg.LinkMan"
placeholder="请输入姓名"
/>
</view>
<view class="box">
<view class="name">公司职务</view>
<input
type="text"
class="input"
v-model="msg.Post"
placeholder="请输入公司职务"
/>
</view>
<view class="box">
<view class="name">所属区域</view>
<input
type="text"
class="input"
v-model="msg.CountryInfo"
placeholder="请输入所属区域"
/>
</view>
<view class="box">
<view class="name">联系电话</view>
<input
type="text"
class="input"
v-model="msg.LinkTel"
placeholder="请输入联系电话"
/>
</view>
<view class="btnBox">
<view class="btn btn1" @click="submit">确认修改</view>
<view class="btn btn2" @click="quxiao">取消</view>
<view class="editpage">
<view class="signedit">
<view class="box">
<view class="name">姓名</view>
<input
type="text"
class="input"
v-model="msg.LinkMan"
placeholder="请输入姓名"
/>
</view>
<view class="box">
<view class="name">公司职务</view>
<input
type="text"
class="input"
v-model="msg.Post"
placeholder="请输入公司职务"
/>
</view>
<view class="box">
<view class="name">所属区域</view>
<input
type="text"
class="input"
v-model="msg.CountryInfo"
placeholder="请输入所属区域"
/>
</view>
<view class="box">
<view class="name">联系电话</view>
<input
type="text"
class="input"
v-model="msg.LinkTel"
placeholder="请输入联系电话"
/>
</view>
<view class="btnBox">
<view class="btn btn1" @click="submit">确认修改</view>
<view class="btn btn2" @click="quxiao">取消</view>
</view>
</view>
</view>
</template>
......@@ -144,25 +150,24 @@ export default {
}
);
},
//删除用户
deleteUser(item) {
var delMsg = {
Id: item.Id,
};
this.request2(
{
url: "/api/AppletTrade/DeleteTrdceConsult",
data: delMsg,
},
(res) => {
if (res.resultCode == 1) {
this.getList();
}
}
);
},
//修改用户信息
submit() {
if (this.msg.LinkMan == "" || !this.msg.LinkMan) {
uni.showToast({
title: "请输入姓名",
duration: 2000,
icon: "error",
});
return;
}
if (this.msg.LinkTel == "" || !this.msg.LinkTel) {
uni.showToast({
title: "请输入联系电话",
duration: 2000,
icon: "error",
});
return;
}
this.request2(
{
url: "/api/AppletTrade/SetTradeConsult",
......@@ -178,9 +183,6 @@ export default {
uni.navigateTo({
url: "/pages/kotra/activityList",
});
// uni.navigateBack({
// delta: 1,
// });
}
}
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment