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