录单权限问题处理

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() { data() {
return { return {
isCheck: null, //查看是否有权限 isCheck: 0, //查看是否有权限
active: 2, active: 2,
docuList: [], // 产品资料文件 docuList: [], // 产品资料文件
introductImages: [] // 产品特色图片 introductImages: [] // 产品特色图片
@@ -59,9 +59,9 @@ export default {
let code = this.$route.params.productDetailCode let code = this.$route.params.productDetailCode
console.log(code) console.log(code)
this.getProductDetail(code) this.getProductDetail(code)
/*funcPermCheck({}).then(res => { funcPermCheck({}).then(res => {
this.isCheck = res.result this.isCheck = res.result
})*/ })
}, },
methods: { methods: {
goDocu(url, type, name) { goDocu(url, type, name) {

View File

@@ -103,7 +103,7 @@ export default {
data() { data() {
return { return {
isCheck: null, //查看是否有权限 isCheck: 0, //查看是否有权限
active: 1, active: 1,
proposalList: [], proposalList: [],
finishedText: '没有更多了', finishedText: '没有更多了',
@@ -118,9 +118,9 @@ export default {
created() { created() {
this.$CacheUtils.removeLocItem('orderNo') this.$CacheUtils.removeLocItem('orderNo')
this.$CacheUtils.removeLocItem('canMoveOn') this.$CacheUtils.removeLocItem('canMoveOn')
/*funcPermCheck({}).then(res => { funcPermCheck({}).then(res => {
this.isCheck = res.result this.isCheck = res.result
})*/ })
}, },
mounted() {}, mounted() {},
methods: { methods: {

View File

@@ -304,7 +304,7 @@ export default {
data() { data() {
let isWeixin = this.$utils.device().isWeixin //判断环境 let isWeixin = this.$utils.device().isWeixin //判断环境
return { return {
isCheck: null, //查看是否有权限 isCheck: 0, //查看是否有权限
isWeixin, isWeixin,
showShareType: '00', showShareType: '00',
popupShow: false, popupShow: false,
@@ -397,9 +397,9 @@ export default {
window['appCallBack'] = this.appCallBack*/ window['appCallBack'] = this.appCallBack*/
this.init() this.init()
//校验当前用户权限 //校验当前用户权限
/*funcPermCheck({}).then(res => { funcPermCheck({}).then(res => {
this.isCheck = res.result this.isCheck = res.result
})*/ })
}, },
created() {}, created() {},
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {

View File

@@ -194,7 +194,7 @@ export default {
}, },
data() { data() {
return { return {
isCheck: null, //查看是否有权限 isCheck: 0, //查看是否有权限
showFlag: true, showFlag: true,
searchName: '', searchName: '',
active: 'uncommit', //uncommit 表示未提交 commit表示已提交 active: 'uncommit', //uncommit 表示未提交 commit表示已提交
@@ -237,9 +237,9 @@ export default {
}) })
}, 100) }, 100)
window.appCallBack = this.appCallBack window.appCallBack = this.appCallBack
/*funcPermCheck({}).then(res => { funcPermCheck({}).then(res => {
this.isCheck = res.result this.isCheck = res.result
})*/ })
}, },
methods: { methods: {
beforeClose(action, done) { beforeClose(action, done) {