From a08a8766a0526a08dca2842da01711b4152db540 Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期四, 22 五月 2025 15:39:15 +0800
Subject: [PATCH] 1
---
src/views/console/system/data-scope-manager.vue | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/views/console/system/data-scope-manager.vue b/src/views/console/system/data-scope-manager.vue
index 123574f..c89419d 100644
--- a/src/views/console/system/data-scope-manager.vue
+++ b/src/views/console/system/data-scope-manager.vue
@@ -2,13 +2,13 @@
* @Author: lzhe lzhe@example.com
* @Date: 2024-03-26 10:28:33
* @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-05-02 22:20:47
+ * @LastEditTime: 2024-10-09 16:08:25
* @FilePath: /smart-web/src/views/master/person/main/index.vue
* @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="dict-main">
- <el-form :inline="true" :model="searchData" abel-width="120px">
+ <el-form :inline="true" :model="searchData" label-width="80px">
<el-form-item label="鏉冮檺鍚嶇О">
<el-input v-model="searchData.deptName" placeholder="鏉冮檺鍚嶇О" clearable />
</el-form-item>
@@ -26,9 +26,8 @@
<el-button type="danger" @click="delData">鍒犻櫎</el-button>
<el-button type="primary" @click="addAuthority">鏉冮檺璁剧疆</el-button>
</div>
- <div class="dict-table">
- <el-table ref="multipleTableRef" :data="tableData" border row-key="id" style="width: 100%" class="multipleTableRef" @selection-change="handleSelectionChange" lazy
- :load="tableLoad" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" default-expand-all>
+ <div class="dict-table" v-if="showTable">
+ <el-table ref="multipleTableRef" :data="tableData" border row-key="id" style="width: 100%" class="multipleTableRef" @selection-change="handleSelectionChange" lazy :load="tableLoad" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" default-expand-all>
<el-table-column type="selection" width="55" />
<el-table-column prop="deptName" label="鏉冮檺鍚嶇О"></el-table-column>
<el-table-column prop="fullName" label="鏉冮檺鎻忚堪"></el-table-column>
@@ -71,6 +70,7 @@
name: "datascope",
data(){
return {
+ showTable: false,
treeCheck: [],
authorityTreeData: [],
authoritySaveing: false,
@@ -165,7 +165,7 @@
}
})
},
- addDatascopeSuccess() {
+ addDatascopeSuccess(addDictForm,mode) {
this.searchclick();
},
//娣诲姞
@@ -276,6 +276,7 @@
this.searchBtn();
},
searchBtn() {
+ this.showTable = false;
var obj = {};
for(var key in this.searchData) {
if(this.searchData[key]) {
@@ -285,6 +286,7 @@
this.tableData = [];
this.$HTTP.get("/api/blade-system/data-scope-manager/lazy-list?" + this.$TOOL.qsStringify(obj)).then(res=> {
if(res.code == 200) {
+ this.showTable = true;
this.tableData = res.data;
}
})
@@ -325,7 +327,7 @@
margin-bottom: 8px;
}
.attachSize {
- color:#3b8e8e;
+ color:#409eff;
padding: 0 10px;
font-size: 12px;
background-color: #ebf4f4;
--
Gitblit v1.9.3