Commit e494b0c4 by 王志慧

Merge branch 'v2.0.0' into 'develop'

V2.0.0

See merge request !8
2 parents 539108b8 c8b2735f
......@@ -15,7 +15,7 @@
"autoprefixer": "^8.0.0",
"core-js": "^3.6.4",
"dayjs": "^1.10.5",
"glsx-common": "^1.4.8",
"glsx-common": "^1.4.9",
"lib-flexible": "^0.3.2",
"postcss-loader": "^6.2.0",
"sass-loader": "^7.3.1",
......
......@@ -268,20 +268,20 @@ export default {
})
},
mounted() {
this.merchantModel = this.getLocalStorage('dj_scrm_userInfo').merchantModel
this.merchantModel = this.getLocalStorage('dj_scrm_userInfo').merchantModel ? this.getLocalStorage('dj_scrm_userInfo').merchantModel : ''
this.userAgent = this.isMobile()
this.showLoading()
let { id, customerId, isTrue } = this.getQuery()
if(JSON.parse(window.localStorage.getItem('dj_id'))){
id = JSON.parse(window.localStorage.getItem('dj_id')).id
if (JSON.parse(window.localStorage.getItem('dj_id'))) {
id = JSON.parse(window.localStorage.getItem('dj_id')).id
}
// console.log(id,'测试测试')
// id = 'wo_pmOEQAAr93aXGLTNtAjLGZZxpwXuQ'
if (id || isTrue) {
this.id = id
this.isTrue = isTrue
this.customerId = customerId //用来判断。若员工尚未添加该客户为好友,则暂不允许在客户跟进中修改客户的信息,仅只读。
// this.customerId = customerId //用来判断。若员工尚未添加该客户为好友,则暂不允许在客户跟进中修改客户的信息,仅只读。
this.getCustomerDetail(id)
} else {
wxConfig.init(['getCurExternalContact']).then(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!