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
1324ffeb
Commit
1324ffeb
authored
Sep 01, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a7f85981
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
239 additions
and
27 deletions
+239
-27
pages.json
pages.json
+18
-15
signList.vue
pages/kotra/signList.vue
+26
-12
signListEdit.vue
pages/kotra/signListEdit.vue
+195
-0
No files found.
pages.json
View file @
1324ffeb
...
...
@@ -36,7 +36,7 @@
{
"path"
:
"pages/webbox/webbox"
}
],
],
"subPackages"
:
[{
"root"
:
"pages/goods"
,
"pages"
:
[{
...
...
@@ -720,9 +720,12 @@
//
}
},
{
"path"
:
"activeList"
//活动列表
},{
"path"
:
"activeSignUp"
//活动报名
"path"
:
"activeList"
//活动列表
},
{
"path"
:
"activeSignUp"
//活动报名
},
{
"path"
:
"signListEdit"
//活动报名人员修改
},
{
"path"
:
"brand/detail_new"
//品牌详情-新版
...
...
@@ -756,24 +759,24 @@
"path"
:
"enterpriseCertificationList"
//企业认证列表
},
{
"path"
:
"enterpriseCertificationdetails"
//企业认证详情
},{
"path"
:
"billboard/billboardList"
,
//榜单列表
},
{
"path"
:
"billboard/billboardList"
,
//榜单列表
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"billboard/billboarddetails"
//榜单详情
},{
"path"
:
"billboard/listsignUp"
//榜单报名
},{
"path"
:
"billboard/mybillbordList"
,
//我的榜单报名列表
},
{
"path"
:
"billboard/billboarddetails"
//榜单详情
},
{
"path"
:
"billboard/listsignUp"
//榜单报名
},
{
"path"
:
"billboard/mybillbordList"
,
//我的榜单报名列表
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"signSuccse"
//报名成功页面
},
{
"path"
:
"signSuccse"
//报名成功页面
}
]
}
],
...
...
pages/kotra/signList.vue
View file @
1324ffeb
...
...
@@ -183,17 +183,26 @@ export default {
var
delMsg
=
{
Id
:
item
.
Id
,
};
this
.
request2
(
{
url
:
"/api/AppletTrade/DeleteTrdceConsult"
,
data
:
delMsg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
getList
();
uni
.
showModal
({
title
:
"提示"
,
content
:
"确认删除?"
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
this
.
request2
(
{
url
:
"/api/AppletTrade/DeleteTrdceConsult"
,
data
:
delMsg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
getList
();
}
}
);
}
else
if
(
res
.
cancel
)
{
}
}
);
}
,
}
);
},
//修改用户信息
setUser
(
item
)
{
...
...
@@ -217,9 +226,14 @@ export default {
}
);
},
edituser
(
id
)
{
edituser
(
item
)
{
let
obj
=
{
activeId
:
this
.
qmsg
.
Id
,
};
uni
.
navigateTo
({
url
:
"/pages/kotra/activeSignUp?ActivityId="
+
id
,
url
:
"/pages/kotra/signListEdit?data="
+
JSON
.
stringify
({
...
obj
,
...
item
}),
});
},
},
...
...
pages/kotra/signListEdit.vue
0 → 100644
View file @
1324ffeb
<
style
>
page
{
backgroundcolor
:
"#F6F6F6"
;
}
.signedit
{
width
:
680
rpx
;
background
:
#ffffff
;
border-radius
:
30
rpx
;
margin
:
0
auto
;
box-sizing
:
border-box
;
padding
:
70
rpx
35
rpx
;
}
.box
{
margin-bottom
:
60
rpx
;
}
.box
.name
{
font-size
:
28
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
800
;
color
:
#1f1f1f
;
margin-bottom
:
20
rpx
;
}
.box
.input
{
/* height: 74rpx; */
border-bottom
:
1px
solid
#747474
;
font-size
:
32
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#1f1f1f
;
padding-bottom
:
15
rpx
;
}
.btnBox
{
display
:
flex
;
justify-content
:
space-between
;
}
.btn
{
width
:
300
rpx
;
height
:
88
rpx
;
border-radius
:
20
rpx
;
font-size
:
32
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
text-align
:
center
;
line-height
:
88
rpx
;
}
.btn1
{
background
:
#f70027
;
color
:
#ffffff
;
}
.btn2
{
background
:
#ffffff
;
color
:
#1f1f1f
;
border
:
1px
solid
#e2e2e2
;
}
</
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>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
pageTitle
:
"修改参会人员"
,
msg
:
{
Id
:
0
,
ActivityId
:
0
,
LinkMan
:
""
,
LinkTel
:
""
,
Post
:
""
,
CountryInfo
:
""
,
},
};
},
created
()
{},
mounted
()
{
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
uni
.
setBackgroundColor
({});
},
onLoad
(
option
)
{
let
data
=
JSON
.
parse
(
option
.
data
);
this
.
msg
.
Id
=
data
.
Id
;
this
.
msg
.
ActivityId
=
data
.
ActivityId
;
this
.
msg
.
LinkMan
=
data
.
LinkMan
;
this
.
msg
.
LinkTel
=
data
.
LinkTel
;
this
.
msg
.
Post
=
data
.
Post
;
this
.
msg
.
CountryInfo
=
data
.
CountryInfo
;
console
.
log
(
this
.
msg
);
},
methods
:
{
getList
()
{
this
.
request2
(
{
url
:
"/api/AppletTrade/GetCommerceActivity"
,
data
:
this
.
qmsg
,
},
(
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
CommerceConsultList
;
}
}
);
},
//删除用户
deleteUser
(
item
)
{
var
delMsg
=
{
Id
:
item
.
Id
,
};
this
.
request2
(
{
url
:
"/api/AppletTrade/DeleteTrdceConsult"
,
data
:
delMsg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
getList
();
}
}
);
},
//修改用户信息
submit
()
{
this
.
request2
(
{
url
:
"/api/AppletTrade/SetTradeConsult"
,
data
:
this
.
msg
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
showToast
({
title
:
"操作成功"
,
duration
:
2000
,
icon
:
"none"
,
});
uni
.
navigateTo
({
url
:
"/pages/kotra/activityList"
,
});
// uni.navigateBack({
// delta: 1,
// });
}
}
);
},
quxiao
()
{
uni
.
navigateBack
({
delta
:
1
,
});
},
},
};
</
script
>
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