录单权限问题处理

This commit is contained in:
bai.jinyan
2021-06-17 20:19:10 +08:00
parent 381bf45559
commit 43958515e9
4 changed files with 12 additions and 12 deletions

View File

@@ -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) {

View File

@@ -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: {

View File

@@ -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) {

View File

@@ -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) {