Commit fe367e34 by 李长胜

客户的接口都改回测试

1 parent c3ec6e72
......@@ -6,12 +6,12 @@
* @param {*} params
* @returns
*/
import { http2 } from '@/main'
import { http3 } from '@/main'
//获取数据概览上方的数据 /rop-scrm-datahub
export function getDataOverview(params){
params.method='entmicro.api.Customer.customer.view.data'
return http2({
return http3({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
......@@ -22,7 +22,7 @@
//获取数据概览下方柱状图的数据
export function getDataOverviewBarMap(params){
params.method='entmicro.api.customer.view.chart'
return http2({
return http3({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
......
......@@ -64,7 +64,7 @@
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page'
return http2({
return http3({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
......@@ -73,7 +73,7 @@
}
export function syncCustomer(params){
params.method='entmicro.api.synchro.syncCustomer'
return http2({
return http3({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
......@@ -84,7 +84,7 @@
params.method='entmicro.api.customer.detail'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return http2({
return http3({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
......@@ -96,7 +96,7 @@
*/
export function getDictionaryFun(params){
params.method='entmicro.api.common.dictdata.list'
return http2({
return http3({
url: '/rop-scrm-entmicro/router',
method: 'GET',
data: params,
......
......@@ -6,11 +6,11 @@
* @param {*} params
* @returns
*/
import { http2 } from '@/main'
import { http3 } from '@/main'
//计算是第几次接触该页面
export function getLoginCount (params){
params.method='entmicro.api.common.findLoginCount'
return http2({
return http3({
url: '/rop-scrm-entmicro/router',
method: 'POST',
data: params,
......
......@@ -62,7 +62,7 @@ export const Util = {
*/
isSpecialLetter: function (str) {
let reg = new RegExp("[`~!@#$^&*=|{}':;',\\[\\]<>?~!@#¥……&*——|{}【】‘;:”“'。,、? ]");
return reg.test(str);
return reg.test(str);//true/false
},
/**
......
......@@ -562,7 +562,6 @@ export default {
let isSameTagFlag = false
var tempArr = this.tagForm.tagsList.map(item => item.name)
isSameTagFlag = this.isHasSome(tempArr)
console.log('dayin',isSameTagFlag,tempArr)
if (isSameTagFlag) {
this.$message.error('不能提交相同的标签,请修改')
return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!