From 77d68ad37eea074ec6bf55df166ff54dd0e26800 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 24 十月 2023 12:35:37 +0800
Subject: [PATCH] 修改角色权限,菜单配置查询接口
---
Source/UBCS-WEB/src/views/wel/Statistic.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/wel/Statistic.vue b/Source/UBCS-WEB/src/views/wel/Statistic.vue
index e3c52bc..741d0bd 100644
--- a/Source/UBCS-WEB/src/views/wel/Statistic.vue
+++ b/Source/UBCS-WEB/src/views/wel/Statistic.vue
@@ -8,10 +8,10 @@
<el-dialog :visible.sync="dialogTableVisible" append-to-body class="avue-dialog avue-dialog--top" title="涓绘暟鎹厤缃�"
top='-40px'>
<el-table
+ ref="TableBox"
:data="Crud.data"
border
style="width: 100%"
- ref="TableBox"
@selection-change="selectionChange"
@row-click="TableRoute">
<el-table-column
@@ -136,7 +136,7 @@
this.$message.success('淇濆瓨鎴愬姛锛�')
//娓呴櫎宸叉湁鏁扮粍涓璸ush鏁版嵁
this.newData = [];
- this.option.data=[]
+ this.option.data = []
this.MasterGetList()
this.dialogTableVisible = false;
//瀛椾綋鍜岃竟妗嗛噸鏂板姞杞�
@@ -147,16 +147,16 @@
},
MoreHandler() {
this.dialogTableVisible = true;
- let checkedrow=[]
- this.newData.forEach(item=>{
- this.option.data.forEach(v=>{
- if(item.code === v.code){
+ let checkedrow = []
+ this.newData.forEach(item => {
+ this.option.data.forEach(v => {
+ if (item.code === v.code) {
checkedrow.push(item)
}
})
})
- console.log(checkedrow)
- this.$nextTick(()=>{
+ // console.log(checkedrow)
+ this.$nextTick(() => {
checkedrow.forEach(row => {
this.$refs.TableBox.toggleRowSelection(row, true) // 鍥炴樉
})
@@ -179,7 +179,7 @@
this.Crud.data = this.newData;
if (item.isDefault === 1) {
const colors = ['rgb(49, 180, 141)', 'rgb(56, 161, 242)', 'rgb(117, 56, 199)', 'rgb(242, 104, 31)',
- 'rgb(19, 150, 111)','rgb(26, 131, 212)', 'rgb(87, 26, 169)', 'rgb(212, 83, 1)'];
+ 'rgb(19, 150, 111)', 'rgb(26, 131, 212)', 'rgb(87, 26, 169)', 'rgb(212, 83, 1)'];
const color = colors[index % colors.length];
this.option.data.push({
click: (item) => {
--
Gitblit v1.10.0