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 8f779742
authored
Jan 05, 2022
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改标签接口名称
1 parent
9743dee8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
src/api/modules/clientManage.js
src/api/modules/tagsManage.js
src/api/modules/clientManage.js
View file @
8f77974
...
@@ -35,7 +35,8 @@
...
@@ -35,7 +35,8 @@
export
function
getAllTagTree
(
params
){
export
function
getAllTagTree
(
params
){
params
.
method
=
'scrm.api.datahub.label.querylabeltree'
// params.method='scrm.api.datahub.label.querylabeltree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
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 @
8f77974
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
import
{
http
}
from
'@/main'
import
{
http
}
from
'@/main'
export
function
getTableList
(
params
){
export
function
getTableList
(
params
){
params
.
method
=
'scrm.api.datahub.label.querylabeltree'
// params.method='scrm.api.datahub.label.querylabeltree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -20,7 +21,8 @@
...
@@ -20,7 +21,8 @@
}
}
//计算表格上面的数量
//计算表格上面的数量
export
function
getTableTagNum
(
params
){
export
function
getTableTagNum
(
params
){
params
.
method
=
'scrm.api.datahub.label.queryLabelCount'
// params.method='scrm.api.datahub.label.queryLabelCount'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelCount'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -32,7 +34,8 @@
...
@@ -32,7 +34,8 @@
}
}
// /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
=
'scrm.api.datahub.label.addlabel'
// params.method='scrm.api.datahub.label.addlabel'
params
.
method
=
'scrm.api.datahub.labelgroup.addLabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -43,7 +46,8 @@
...
@@ -43,7 +46,8 @@
}
}
//修改标签
//修改标签
export
function
updateTag
(
params
){
export
function
updateTag
(
params
){
params
.
method
=
'scrm.api.datahub.label.updatelabel'
// params.method='scrm.api.datahub.label.updatelabel'
params
.
method
=
'scrm.api.datahub.labelgroup.updateLabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -55,7 +59,8 @@
...
@@ -55,7 +59,8 @@
}
}
//获取单条数据labelList数组
//获取单条数据labelList数组
export
function
queryLabelListByGroupId
(
params
){
export
function
queryLabelListByGroupId
(
params
){
params
.
method
=
'scrm.api.datahub.label.queryLabelListByGroupId'
// params.method='scrm.api.datahub.label.queryLabelListByGroupId'
params
.
method
=
'scrm.api.datahub.labelgroup.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