|
@@ -19,8 +19,9 @@
|
|
|
@expand-change="getNode"
|
|
|
@select="changeData"
|
|
|
header-row-class-name="custom-table-header"
|
|
|
+
|
|
|
>
|
|
|
- <el-table-column type="selection" width="60" align="center"></el-table-column>
|
|
|
+ <el-table-column type="selection" width="60" align="center" ></el-table-column>
|
|
|
<el-table-column prop="name" label="数据权限名称" align="" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="tenant" label="条件" align="center" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="remark" label="备注" align="center" show-overflow-tooltip></el-table-column>
|
|
@@ -491,7 +492,12 @@ export default {
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
this.loading = true
|
|
|
+ this.$refs.dataTable.clearSelection();
|
|
|
+ delete this.func.permission
|
|
|
+ this.multipleSelection = {}
|
|
|
+ this.$emit('getPremissData', this.fun.fun.id, this.fun.fun.name,this.multipleSelection)
|
|
|
this.$api.deleteData({ id: row.id }).then(response => {
|
|
|
+
|
|
|
this.$message.success('删除成功')
|
|
|
this.loading = false
|
|
|
this.getList()
|
|
@@ -503,8 +509,14 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+<style lang="scss">
|
|
|
+ .el-table__header-wrapper .el-checkbox{
|
|
|
+ display:none
|
|
|
+}
|
|
|
|
|
|
+</style>
|
|
|
<style lang="scss" scoped>
|
|
|
+
|
|
|
.admin-department {
|
|
|
|
|
|
}
|