From 360accaf390a8541a325936522ad863ef7b04632 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 27 十二月 2023 16:40:23 +0800
Subject: [PATCH] 密码修改对话框修改,密码修改原密码传参修改
---
Source/UBCS-WEB/src/views/statistic/statisticPage.vue | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/statistic/statisticPage.vue b/Source/UBCS-WEB/src/views/statistic/statisticPage.vue
index ad00025..64dbfa1 100644
--- a/Source/UBCS-WEB/src/views/statistic/statisticPage.vue
+++ b/Source/UBCS-WEB/src/views/statistic/statisticPage.vue
@@ -7,7 +7,7 @@
<!--鏂板瀵硅瘽妗�-->
<el-dialog :visible.sync="addVisible" append-to-body class="avue-dialog avue-dialog--top" title="閰嶇疆鏁版嵁缁熻鍒嗘瀽"
top="-50px">
- <el-table ref="table" :data="tableData" border style="width: 100%" @selection-change="selectChange">
+ <el-table ref="table" :data="tableData" border style="width: 100%" @selection-change="selectChange" @row-click="rowHandlerClick">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column align="center" label="涓绘暟鎹簱鍚�" prop="menuName" width="300"></el-table-column>
<el-table-column align="center" label="绫诲瀷" prop="codeType">
@@ -129,8 +129,6 @@
async getEcharts() {
try {
const firstResponse = await getBtmAndChart();
- this.ResponseData = await getBtmAndChart();
- console.log(firstResponse)
const btmNames = Object.keys(firstResponse.data.data).join(',');
const btmValue = Object.values(firstResponse.data.data);
if (!btmNames) {
@@ -189,8 +187,6 @@
});
});
}
- } else {
- console.log('else')
}
});
},
@@ -273,9 +269,12 @@
},
//琛ㄦ牸澶氶��
selectChange(selection) {
- console.log('selection', selection)
this.selectData = selection;
},
+ rowHandlerClick(row){
+ this.selectData = row;
+ this.$refs.table.toggleRowSelection(row);
+ }
}
}
--
Gitblit v1.10.0