diff --git a/src/views/ebiz/product/ProductDetail.vue b/src/views/ebiz/product/ProductDetail.vue index dc4687b41..e538e4eb4 100644 --- a/src/views/ebiz/product/ProductDetail.vue +++ b/src/views/ebiz/product/ProductDetail.vue @@ -47,7 +47,7 @@ export default { }, data() { return { - isCheck: null, //查看是否有权限 + isCheck: 0, //查看是否有权限 active: 2, docuList: [], // 产品资料文件 introductImages: [] // 产品特色图片 @@ -59,9 +59,9 @@ export default { let code = this.$route.params.productDetailCode console.log(code) this.getProductDetail(code) - /*funcPermCheck({}).then(res => { + funcPermCheck({}).then(res => { this.isCheck = res.result - })*/ + }) }, methods: { goDocu(url, type, name) { diff --git a/src/views/ebiz/proposal/List.vue b/src/views/ebiz/proposal/List.vue index 9389a9a90..1359e6ae8 100644 --- a/src/views/ebiz/proposal/List.vue +++ b/src/views/ebiz/proposal/List.vue @@ -103,7 +103,7 @@ export default { data() { return { - isCheck: null, //查看是否有权限 + isCheck: 0, //查看是否有权限 active: 1, proposalList: [], finishedText: '没有更多了', @@ -118,9 +118,9 @@ export default { created() { this.$CacheUtils.removeLocItem('orderNo') this.$CacheUtils.removeLocItem('canMoveOn') - /*funcPermCheck({}).then(res => { + funcPermCheck({}).then(res => { this.isCheck = res.result - })*/ + }) }, mounted() {}, methods: { diff --git a/src/views/ebiz/proposal/ProposalInfo.vue b/src/views/ebiz/proposal/ProposalInfo.vue index 38ca84c5c..ce6276516 100644 --- a/src/views/ebiz/proposal/ProposalInfo.vue +++ b/src/views/ebiz/proposal/ProposalInfo.vue @@ -304,7 +304,7 @@ export default { data() { let isWeixin = this.$utils.device().isWeixin //判断环境 return { - isCheck: null, //查看是否有权限 + isCheck: 0, //查看是否有权限 isWeixin, showShareType: '00', popupShow: false, @@ -397,9 +397,9 @@ export default { window['appCallBack'] = this.appCallBack*/ this.init() //校验当前用户权限 - /*funcPermCheck({}).then(res => { + funcPermCheck({}).then(res => { this.isCheck = res.result - })*/ + }) }, created() {}, beforeRouteLeave(to, from, next) { diff --git a/src/views/ebiz/sale/List.vue b/src/views/ebiz/sale/List.vue index cea5f0db0..56ebf9f25 100644 --- a/src/views/ebiz/sale/List.vue +++ b/src/views/ebiz/sale/List.vue @@ -194,7 +194,7 @@ export default { }, data() { return { - isCheck: null, //查看是否有权限 + isCheck: 0, //查看是否有权限 showFlag: true, searchName: '', active: 'uncommit', //uncommit 表示未提交 commit表示已提交 @@ -237,9 +237,9 @@ export default { }) }, 100) window.appCallBack = this.appCallBack - /*funcPermCheck({}).then(res => { + funcPermCheck({}).then(res => { this.isCheck = res.result - })*/ + }) }, methods: { beforeClose(action, done) {