Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
1a81292f
Commit
1a81292f
authored
Sep 02, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
24500b62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
69 deletions
+96
-69
activityList.vue
pages/kotra/activityList.vue
+22
-1
signList.vue
pages/kotra/signList.vue
+10
-6
signListEdit.vue
pages/kotra/signListEdit.vue
+64
-62
No files found.
pages/kotra/activityList.vue
View file @
1a81292f
...
...
@@ -40,6 +40,19 @@
font-size
:
12px
;
width
:
100%
;
}
.seebtn
{
width
:
200
rpx
;
height
:
60
rpx
;
background
:
#f70027
;
border-radius
:
20
rpx
;
font-size
:
20
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
color
:
#ffffff
;
text-align
:
center
;
line-height
:
60
rpx
;
margin-top
:
30
rpx
;
}
</
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>
...
...
pages/kotra/signList.vue
View file @
1a81292f
...
...
@@ -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
)
{
th
is
.
request2
(
th
at
.
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
();
}
}
);
...
...
pages/kotra/signListEdit.vue
View file @
1a81292f
<
style
>
page
{
backgroundcolor
:
"#F6F6F6"
;
.editpage
{
height
:
100vh
;
background-color
:
#f6f6f6
;
padding
:
0
rpx
35
rpx
35
rpx
;
box-sizing
:
border-box
;
}
.signedit
{
width
:
680
rpx
;
height
:
100%
;
background
:
#ffffff
;
border-radius
:
30
rpx
;
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,
// });
}
}
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment