数据权限模块优化

product
巴卫 2 years ago
parent f736676b87
commit 4a89296ff4

@ -30,7 +30,7 @@
<el-table-column prop="conditionText" label="过滤条件" />
<el-table-column label="操作" width="100">
<template slot-scope="scope">
<tableOpts :editDisabled="scope.row.enCode === 'jnpf_alldata'"
<tableOpts :editDisabled="scope.row.enCode === 'linkage_alldata'"
@edit="addOrUpdateHandle(scope.row.id)" @del="handleDel(scope.row.id)" />
</template>
</el-table-column>
@ -242,7 +242,7 @@ export default {
},
addHandle() {
let isAllData = this.dataAuthorizeSchemeList.filter(
o => o.enCode === "jnpf_alldata"
o => o.enCode === "linkage_alldata"
);
if (!!isAllData.length)
return this.$message({
@ -253,7 +253,7 @@ export default {
if (this.tabActiveName === "dataAuthorizeScheme") {
let data = {
moduleId: this.moduleId,
enCode: "jnpf_alldata",
enCode: "linkage_alldata",
fullName: "全部数据"
};
createDataScheme(data)

Loading…
Cancel
Save