Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 852b915c
authored
Nov 23, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改标签的接口url
1 parent
b8348db0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
src/api/modules/clientManage.js
src/api/modules/tagsManage.js
src/api/modules/clientManage.js
View file @
852b915
...
@@ -20,12 +20,11 @@
...
@@ -20,12 +20,11 @@
// }
// }
// /router/datahub.api.user.getuserlabel/1.0.0
// /router/datahub.api.user.getuserlabel/1.0.0
// 获取客户详情单用户标签
// 获取客户详情单用户标签
// params.method='datahub.api.label.querylabeltree'
// params.method='datahub.api.label.querylabeltree'
export
function
getSingleClientTag
(
params
){
export
function
getSingleClientTag
(
params
){
params
.
method
=
'
datahub.api
.user.getuserlabel'
params
.
method
=
'
scrm.api.datahub
.user.getuserlabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -36,7 +35,7 @@
...
@@ -36,7 +35,7 @@
export
function
getAllTagTree
(
params
){
export
function
getAllTagTree
(
params
){
params
.
method
=
'
datahub.api
.label.querylabeltree'
params
.
method
=
'
scrm.api.datahub
.label.querylabeltree'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -49,7 +48,7 @@
...
@@ -49,7 +48,7 @@
// /router/datahub.api.user.addUserLabel/1.0.0
// /router/datahub.api.user.addUserLabel/1.0.0
// 用户添加标签
// 用户添加标签
export
function
addSingleClientTag
(
params
){
export
function
addSingleClientTag
(
params
){
params
.
method
=
'
datahub.api
.user.addUserLabel'
params
.
method
=
'
scrm.api.datahub
.user.addUserLabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
...
src/api/modules/tagsManage.js
View file @
852b915
...
@@ -9,8 +9,7 @@
...
@@ -9,8 +9,7 @@
import
{
http
}
from
'@/main'
import
{
http
}
from
'@/main'
export
function
getTableList
(
params
){
export
function
getTableList
(
params
){
params
.
method
=
'datahub.api.label.querylabeltree'
params
.
method
=
'scrm.api.datahub.label.querylabeltree'
// params.sessionId="mini-e617124f-7acc-493b-bf7d-bb21c5aa8ec5-rop"
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -21,7 +20,7 @@
...
@@ -21,7 +20,7 @@
}
}
//计算表格上面的数量
//计算表格上面的数量
export
function
getTableTagNum
(
params
){
export
function
getTableTagNum
(
params
){
params
.
method
=
'
datahub.api
.label.queryLabelCount'
params
.
method
=
'
scrm.api.datahub
.label.queryLabelCount'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -33,7 +32,7 @@
...
@@ -33,7 +32,7 @@
}
}
// /router/datahub.api.label.addlabel/1.0.0
// /router/datahub.api.label.addlabel/1.0.0
export
function
newAddTag
(
params
){
export
function
newAddTag
(
params
){
params
.
method
=
'
datahub.api
.label.addlabel'
params
.
method
=
'
scrm.api.datahub
.label.addlabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -44,7 +43,7 @@
...
@@ -44,7 +43,7 @@
}
}
//修改标签
//修改标签
export
function
updateTag
(
params
){
export
function
updateTag
(
params
){
params
.
method
=
'
datahub.api
.label.updatelabel'
params
.
method
=
'
scrm.api.datahub
.label.updatelabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -56,7 +55,7 @@
...
@@ -56,7 +55,7 @@
}
}
//获取单条数据labelList数组
//获取单条数据labelList数组
export
function
queryLabelListByGroupId
(
params
){
export
function
queryLabelListByGroupId
(
params
){
params
.
method
=
'
datahub.api
.label.queryLabelListByGroupId'
params
.
method
=
'
scrm.api.datahub
.label.queryLabelListByGroupId'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
...
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