Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d97052e7
authored
Nov 12, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
员工活码详情修改
1 parent
8fb87a19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
linkwe-ui/src/api/drainageCode/staff.js
linkwe-ui/src/views/drainageCode/staff/detail.vue
linkwe-ui/src/api/drainageCode/staff.js
View file @
d97052e
...
...
@@ -18,7 +18,7 @@ const service = window.CONFIG.services.wecom + '/code'
export
function
getList
(
params
)
{
return
request
({
url
:
service
+
'/list'
,
params
,
params
})
}
...
...
@@ -28,7 +28,7 @@ export function getList(params) {
*/
export
function
getDetail
(
id
)
{
return
request
({
url
:
service
+
'/'
+
id
,
url
:
service
+
'/'
+
id
})
}
...
...
@@ -59,7 +59,7 @@ export function update(data) {
return
request
({
url
:
service
+
'/update'
,
method
:
'put'
,
data
,
data
})
}
...
...
@@ -87,7 +87,7 @@ export function add(data) {
return
request
({
url
:
service
+
'/add'
,
method
:
'post'
,
data
,
data
})
}
...
...
@@ -99,7 +99,7 @@ export function batchAdd(data) {
return
request
({
url
:
service
+
'/batchAdd'
,
method
:
'post'
,
data
,
data
})
}
...
...
@@ -110,7 +110,7 @@ export function batchAdd(data) {
export
function
remove
(
id
)
{
return
request
({
url
:
service
+
'/delete/'
+
id
,
method
:
'delete'
,
method
:
'delete'
})
}
...
...
@@ -125,7 +125,7 @@ export function remove(id) {
export
function
getQrcode
(
params
)
{
return
request
({
url
:
service
+
'/getQrcode'
,
params
,
params
})
}
...
...
@@ -137,7 +137,7 @@ export function downloadBatch(ids) {
return
request
({
url
:
service
+
'/downloadBatch'
,
params
:
{
ids
,
ids
},
responseType
:
'blob'
})
...
...
@@ -147,7 +147,7 @@ export function download(id) {
return
request
({
url
:
service
+
'/download'
,
params
:
{
id
,
id
},
responseType
:
'blob'
})
...
...
@@ -156,11 +156,11 @@ export function download(id) {
/**
* 成员添加客户统计
* @param {*} params
*
userId=成员id&addWay=添加类型,二维码:1
&beginTime=开始时间&endTime=结束时间
*
codeId=活码id
&beginTime=开始时间&endTime=结束时间
*/
export
function
getUserAddCustomerStat
(
params
)
{
return
request
({
url
:
service
+
'/getUserAddCustomerStat'
,
params
,
params
})
}
linkwe-ui/src/views/drainageCode/staff/detail.vue
View file @
d97052e
...
...
@@ -20,8 +20,8 @@ export default {
form
:
{},
// 查询参数
query
:
{
user
Id
:
undefined
,
addWay
:
undefined
,
code
Id
:
undefined
,
//
addWay: undefined,
beginTime
:
undefined
,
endTime
:
undefined
},
...
...
@@ -30,9 +30,12 @@ export default {
}
},
created
()
{
let
id
=
this
.
$route
.
query
.
id
id
&&
this
.
getDetail
(
id
)
// this.getList()
let
id
=
(
this
.
query
.
codeId
=
this
.
$route
.
query
.
id
)
if
(
id
)
{
this
.
getDetail
(
id
)
this
.
setTime
(
7
)
this
.
getList
()
}
},
mounted
()
{
this
.
clipboard
=
new
ClipboardJS
(
'.copy-btn'
)
...
...
@@ -57,11 +60,8 @@ export default {
getDetail
(
id
).
then
(({
data
})
=>
{
this
.
form
=
data
this
.
loading
=
false
this
.
query
.
userId
=
data
.
weEmpleCodeUseScops
[
0
].
businessId
this
.
query
.
addWay
=
1
this
.
setTime
(
7
)
this
.
getList
()
// this.query.userId = data.weEmpleCodeUseScops[0].businessId
// this.query.addWay = 1
})
},
/** */
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment