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 170cf4c8
authored
Aug 10, 2023
by
ext.wangyuman1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单信息
1 parent
4041c13a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
143 additions
and
0 deletions
vue3-lw-pc/src/api/salesCenter/orderInfo.js
vue3-lw-pc/src/views/salesCenter/orderInfo/index.vue
vue3-lw-pc/src/api/salesCenter/orderInfo.js
0 → 100644
View file @
170cf4c
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
wecom
const
groundBase
=
window
.
lwConfig
.
services
.
wecom
+
'/substitute/customer/order/catalogue'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/category'
export
function
download
(
data
)
{
// return request({
// url: service + '/update',
// method: 'put',
// data
// })
}
export
function
getUserAddCustomerStat
(
data
)
{
// return request({
// url: service + '/update',
// method: 'put',
// data
// })
}
/**
* 批量新增员工活码
* @param {*} data
*/
export
function
batchAdd
(
data
)
{
return
request
({
url
:
service
+
'/batchAdd'
,
method
:
'post'
,
data
,
})
}
/**
* 删除员工活码
* @param {*} id
*/
/**
*获取员工二维码
* @param {*} params
{
userIds=员工id,多个逗号隔离&
departmentIds=部门id,多个逗号隔离
}
*/
export
function
getQrcode
(
params
)
{
return
request
({
url
:
service
+
'/getQrcode'
,
params
,
})
}
// 2.0
// 分组list
export
function
getCodeCategoryList
()
{
return
request
({
url
:
groundBase
,
})
}
// 新增分组
export
function
addCodeCategory
(
data
)
{
return
request
({
url
:
groundBase
,
method
:
'post'
,
data
:
data
,
})
}
// 更新分组
export
function
updateCodeCategory
(
data
)
{
return
request
({
url
:
groundBase
,
method
:
'put'
,
data
:
data
,
})
}
// 删除分组
export
function
removeCodeCategory
(
id
)
{
return
request
({
url
:
groundBase
+
'/'
+
id
,
method
:
'delete'
,
})
}
// 移动分组
export
function
moveCodeCategory
(
data
)
{
return
request
({
url
:
groundBase
+
'/move'
,
method
:
'put'
,
data
:
data
,
})
}
// 活码列表
export
function
getList
(
params
)
{
return
request
({
url
:
base
+
'/qr/list'
,
params
,
})
}
// 活码删除
export
function
remove
(
id
)
{
return
request
({
url
:
base
+
'/qr/del/'
+
id
,
method
:
'delete'
,
})
}
// 活码新增
export
function
add
(
data
)
{
return
request
({
url
:
base
+
'/qr/add'
,
method
:
'post'
,
data
,
})
}
export
function
update
(
data
)
{
return
request
({
url
:
base
+
'/qr/update'
,
method
:
'put'
,
data
,
})
}
// 活码详情
export
function
getDetail
(
id
)
{
return
request
({
url
:
base
+
'/qr/get/'
+
id
,
})
}
// 活码统计
export
function
getTotal
(
data
)
{
return
request
({
url
:
base
+
'/qr/scan/count'
,
params
:
data
,
})
}
vue3-lw-pc/src/views/salesCenter/orderInfo/index.vue
0 → 100644
View file @
170cf4c
This diff is collapsed.
Click to expand it.
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