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 fe367e34
authored
Jan 16, 2022
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户的接口都改回测试
1 parent
c3ec6e72
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
11 deletions
src/api/modules/clientDataOverview.js
src/api/modules/clientManage.js
src/api/modules/loginCount.js
src/common/util.js
src/views/tagsManage/index.vue
src/api/modules/clientDataOverview.js
View file @
fe367e3
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
2
}
from
'@/main'
import
{
http
3
}
from
'@/main'
//获取数据概览上方的数据 /rop-scrm-datahub
//获取数据概览上方的数据 /rop-scrm-datahub
export
function
getDataOverview
(
params
){
export
function
getDataOverview
(
params
){
params
.
method
=
'entmicro.api.Customer.customer.view.data'
params
.
method
=
'entmicro.api.Customer.customer.view.data'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
//获取数据概览下方柱状图的数据
//获取数据概览下方柱状图的数据
export
function
getDataOverviewBarMap
(
params
){
export
function
getDataOverviewBarMap
(
params
){
params
.
method
=
'entmicro.api.customer.view.chart'
params
.
method
=
'entmicro.api.customer.view.chart'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/clientManage.js
View file @
fe367e3
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime()
// params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page'
// +'?method=org.ore.api.customer.page'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
}
}
export
function
syncCustomer
(
params
){
export
function
syncCustomer
(
params
){
params
.
method
=
'entmicro.api.synchro.syncCustomer'
params
.
method
=
'entmicro.api.synchro.syncCustomer'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
params
.
method
=
'entmicro.api.customer.detail'
params
.
method
=
'entmicro.api.customer.detail'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
*/
*/
export
function
getDictionaryFun
(
params
){
export
function
getDictionaryFun
(
params
){
params
.
method
=
'entmicro.api.common.dictdata.list'
params
.
method
=
'entmicro.api.common.dictdata.list'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/loginCount.js
View file @
fe367e3
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
2
}
from
'@/main'
import
{
http
3
}
from
'@/main'
//计算是第几次接触该页面
//计算是第几次接触该页面
export
function
getLoginCount
(
params
){
export
function
getLoginCount
(
params
){
params
.
method
=
'entmicro.api.common.findLoginCount'
params
.
method
=
'entmicro.api.common.findLoginCount'
return
http
2
({
return
http
3
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/common/util.js
View file @
fe367e3
...
@@ -62,7 +62,7 @@ export const Util = {
...
@@ -62,7 +62,7 @@ export const Util = {
*/
*/
isSpecialLetter
:
function
(
str
)
{
isSpecialLetter
:
function
(
str
)
{
let
reg
=
new
RegExp
(
"[`~!@#$^&*=|{}':;',\\[\\]<>?~!@#¥……&*——|{}【】‘;:”“'。,、? ]"
);
let
reg
=
new
RegExp
(
"[`~!@#$^&*=|{}':;',\\[\\]<>?~!@#¥……&*——|{}【】‘;:”“'。,、? ]"
);
return
reg
.
test
(
str
);
return
reg
.
test
(
str
);
//true/false
},
},
/**
/**
...
...
src/views/tagsManage/index.vue
View file @
fe367e3
...
@@ -562,7 +562,6 @@ export default {
...
@@ -562,7 +562,6 @@ export default {
let
isSameTagFlag
=
false
let
isSameTagFlag
=
false
var
tempArr
=
this
.
tagForm
.
tagsList
.
map
(
item
=>
item
.
name
)
var
tempArr
=
this
.
tagForm
.
tagsList
.
map
(
item
=>
item
.
name
)
isSameTagFlag
=
this
.
isHasSome
(
tempArr
)
isSameTagFlag
=
this
.
isHasSome
(
tempArr
)
console
.
log
(
'dayin'
,
isSameTagFlag
,
tempArr
)
if
(
isSameTagFlag
)
{
if
(
isSameTagFlag
)
{
this
.
$message
.
error
(
'不能提交相同的标签,请修改'
)
this
.
$message
.
error
(
'不能提交相同的标签,请修改'
)
return
return
...
...
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