Commit 1ad5bb2d by 王志慧

打开广汇代码的判断

1 parent be4c79c5
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
accountLevel: 0, //1,2,3,4工厂,省代,市代,门店 accountLevel: 0, //1,2,3,4工厂,省代,市代,门店
url: url, url: url,
isReload: true, isReload: true,
showGh: true, showGh: false,
size: 'small', size: 'small',
searchForm: { searchForm: {
orderStatus: '', //默认查询全部 orderStatus: '', //默认查询全部
...@@ -299,7 +299,7 @@ export default { ...@@ -299,7 +299,7 @@ export default {
this.accountLevel = this.$globalState.session.accountLevel this.accountLevel = this.$globalState.session.accountLevel
} }
// 取消判断 // 取消判断
// this.showGh = window.location.host.indexOf('cgacar') != -1 this.showGh = window.location.host.indexOf('cgacar') != -1
if (this.showGh) this.judgeGh() if (this.showGh) this.judgeGh()
// if (this.$isGroupUp) { // if (this.$isGroupUp) {
// let idx = this.tableParams.tableColumns.findIndex(item => item.label == '推荐人') // let idx = this.tableParams.tableColumns.findIndex(item => item.label == '推荐人')
......
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
copyTotalPrice: 0, //用于检查页面信息是否改动 copyTotalPrice: 0, //用于检查页面信息是否改动
id: this.$route.query.id || 0, id: this.$route.query.id || 0,
accountLevel: 0, //1,2,3,4工厂,省代,市代,门店 accountLevel: 0, //1,2,3,4工厂,省代,市代,门店
showGh: true showGh: false
} }
}, },
computed: { computed: {
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
this.merchantName = this.$globalState.session.merchantName this.merchantName = this.$globalState.session.merchantName
this.accountLevel = this.$globalState.session.accountLevel this.accountLevel = this.$globalState.session.accountLevel
} }
// this.showGh = window.location.host.indexOf('cgacar')!= -1 this.showGh = window.location.host.indexOf('cgacar')!= -1
if (this.showGh) { if (this.showGh) {
this.getCardContentFun() this.getCardContentFun()
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!