Commit 8e6ba13f by 王志慧

commit

1 parent a9288a32
// const url = 'http://192.168.2.42:8064/rop-scrm-entmicro/router' // const url = 'http://192.168.2.42:8064/rop-scrm-entmicro/router'
const url = '/rop-scrm-entmicro/router' // const url = window.$fetchConfig ? window.$fetchConfig.tagUrl + '/rop-scrm-entmicro/router' : 'http://oin7.branch.glsx.com.cn/rop-scrm-entmicro/router'
console.log(url)
export default { export default {
/**获取打标签的客户列表 */ /**获取打标签的客户列表 */
getcustomerList(data = {}) { getcustomerList(data = {}) {
data.method = 'entmicro.api.qywechat.tagging.customer.list' data.method = 'entmicro.api.qywechat.tagging.customer.list'
return window.$HTTP({ return window.$HTTP({
url, url:window.$fetchConfig.tagUrl,
data data
}) })
}, },
...@@ -14,7 +15,7 @@ export default { ...@@ -14,7 +15,7 @@ export default {
gettagList(data = {}) { gettagList(data = {}) {
data.method = 'entmicro.api.qywechat.tagging.info' data.method = 'entmicro.api.qywechat.tagging.info'
return window.$HTTP({ return window.$HTTP({
url, url:window.$fetchConfig.tagUrl,
data data
}) })
}, },
...@@ -22,7 +23,7 @@ export default { ...@@ -22,7 +23,7 @@ export default {
putCustomertag(data = {}) { putCustomertag(data = {}) {
data.method = 'entmicro.api.qywechat.tagging.put.customer' data.method = 'entmicro.api.qywechat.tagging.put.customer'
return window.$HTTP({ return window.$HTTP({
url, url:window.$fetchConfig.tagUrl,
data data
}) })
} }
......
...@@ -50,7 +50,7 @@ const spritesmithFunction = data => { ...@@ -50,7 +50,7 @@ const spritesmithFunction = data => {
} }
module.exports = { module.exports = {
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-group-chat/', // 署应用包时的基本 URL。 vue-router hash 模式使用 // publicPath: IS_PROD ? './' : '/dj-scrm-wx-group-chat/', // 署应用包时的基本 URL。 vue-router hash 模式使用
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router hash 模式使用 publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main-test/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用 // publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用 // publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录 outputDir: 'dist', // 生产环境构建文件的目录
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!