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 @@ ...@@ -15,7 +15,7 @@
"autoprefixer": "^8.0.0", "autoprefixer": "^8.0.0",
"core-js": "^3.6.4", "core-js": "^3.6.4",
"dayjs": "^1.10.5", "dayjs": "^1.10.5",
"glsx-common": "^1.4.8", "glsx-common": "^1.4.9",
"lib-flexible": "^0.3.2", "lib-flexible": "^0.3.2",
"postcss-loader": "^6.2.0", "postcss-loader": "^6.2.0",
"sass-loader": "^7.3.1", "sass-loader": "^7.3.1",
......
...@@ -268,11 +268,11 @@ export default { ...@@ -268,11 +268,11 @@ export default {
}) })
}, },
mounted() { 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.userAgent = this.isMobile()
this.showLoading() this.showLoading()
let { id, customerId, isTrue } = this.getQuery() let { id, customerId, isTrue } = this.getQuery()
if(JSON.parse(window.localStorage.getItem('dj_id'))){ if (JSON.parse(window.localStorage.getItem('dj_id'))) {
id = JSON.parse(window.localStorage.getItem('dj_id')).id id = JSON.parse(window.localStorage.getItem('dj_id')).id
} }
...@@ -281,7 +281,7 @@ export default { ...@@ -281,7 +281,7 @@ export default {
if (id || isTrue) { if (id || isTrue) {
this.id = id this.id = id
this.isTrue = isTrue this.isTrue = isTrue
this.customerId = customerId //用来判断。若员工尚未添加该客户为好友,则暂不允许在客户跟进中修改客户的信息,仅只读。 // this.customerId = customerId //用来判断。若员工尚未添加该客户为好友,则暂不允许在客户跟进中修改客户的信息,仅只读。
this.getCustomerDetail(id) this.getCustomerDetail(id)
} else { } else {
wxConfig.init(['getCurExternalContact']).then(() => { 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!