Commit 6fdf6d7d by wuwx Committed by chenwq

打开埋点

1 parent d6a8f869
......@@ -38,7 +38,7 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
Vue.prototype.$http_xiaolong = new common.Http({ response, request: xiaolong_req, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$tracker = common.tracker
Vue.prototype.$tracker = common.tracker
// const myToken = 'scrm-base-107ee03c-1214-48c3-a443-a2332e553b2f-rop'
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: myToken } })
// Vue.prototype.$http2 = new common.Http({ response, request: request2, sign, secret, alert: message.error, headers: { token: myToken } })
......
......@@ -462,7 +462,7 @@ export default {
type: 'success',
message: '操作成功!'
})
// this.$tracker.track(Object.assign({},{pageName:'群发助手',name:'新建客户群发',params}))
this.$tracker.track(Object.assign({},{pageName:'群发助手',name:'新建客户群发',params}))
} else {
this.$message({
type: 'error',
......
......@@ -336,7 +336,7 @@ export default {
message: '操作成功!'
})
// this.$router.push('/customerTransform/index')
// this.$tracker.track(Object.assign({},{pageName:'群发助手',name:'新建客户群群发',params}))
this.$tracker.track(Object.assign({},{pageName:'群发助手',name:'新建客户群群发',params}))
} else {
this.$message({
type: 'error',
......
......@@ -785,7 +785,7 @@ export default {
message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error'
})
// this.$tracker.track(Object.assign({},{pageName:'营销SOP',name:'编辑sop事件',params}))
this.$tracker.track(Object.assign({},{pageName:'营销SOP',name:'编辑sop事件',params}))
if (res.code == '0') {
this.cancelJump()
}
......@@ -798,7 +798,7 @@ export default {
message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error'
})
// this.$tracker.track(Object.assign({},{pageName:'营销SOP',name:'创建sop事件',params}))
this.$tracker.track(Object.assign({},{pageName:'营销SOP',name:'创建sop事件',params}))
if (res.code == '0') {
this.cancelJump()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!