[update] 市场法规清单
This commit is contained in:
+1
-3
@@ -245,6 +245,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['defaultHeight']),
|
...mapGetters(['defaultHeight']),
|
||||||
|
...mapGetters(['userInfo']),
|
||||||
yScrollHeight () {
|
yScrollHeight () {
|
||||||
/**
|
/**
|
||||||
* 前几个使用变量是为了配合iframe嵌套,算出页面显示范围的高度
|
* 前几个使用变量是为了配合iframe嵌套,算出页面显示范围的高度
|
||||||
@@ -266,8 +267,6 @@ export default {
|
|||||||
importExcelUrl: function () {
|
importExcelUrl: function () {
|
||||||
return `${window._CONFIG.domianURL}/${this.url.importExcelUrl}`
|
return `${window._CONFIG.domianURL}/${this.url.importExcelUrl}`
|
||||||
},
|
},
|
||||||
computed: {
|
|
||||||
...mapGetters(['userInfo']),
|
|
||||||
// 是否可以查看历史版本,当前用户是否是法规管理员或超级管理员
|
// 是否可以查看历史版本,当前用户是否是法规管理员或超级管理员
|
||||||
isCanLookHistory () {
|
isCanLookHistory () {
|
||||||
const superAdminRoleCode = window._CONFIG.superAdminRoleCode
|
const superAdminRoleCode = window._CONFIG.superAdminRoleCode
|
||||||
@@ -275,7 +274,6 @@ export default {
|
|||||||
const userRoleList = this.userInfo.roleCode.split(',')
|
const userRoleList = this.userInfo.roleCode.split(',')
|
||||||
return userRoleList.includes(superAdminRoleCode) || userRoleList.includes(regulationAdminRoleCode)
|
return userRoleList.includes(superAdminRoleCode) || userRoleList.includes(regulationAdminRoleCode)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user