From c3cb8a6ad58160f3f4bc5a8e7670b4c62ceca920 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 18 十月 2023 21:32:17 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/views/wel/Statistic.vue | 43 ++++++++++++++++++++++++++++--------------- 1 files changed, 28 insertions(+), 15 deletions(-) diff --git a/Source/UBCS-WEB/src/views/wel/Statistic.vue b/Source/UBCS-WEB/src/views/wel/Statistic.vue index dac25a2..e94e248 100644 --- a/Source/UBCS-WEB/src/views/wel/Statistic.vue +++ b/Source/UBCS-WEB/src/views/wel/Statistic.vue @@ -4,7 +4,6 @@ <el-button icon="el-icon-more" plain size="small" type="primary" @click="MoreHandler">鏇村</el-button> </div> <avue-data-box ref="dataBox" :animation="true" :option="option" ></avue-data-box> -<!-- <avue-data-panel :animation="true":option="option"></avue-data-panel>--> <el-dialog :visible.sync="dialogTableVisible" append-to-body class="avue-dialog avue-dialog--top" title="涓绘暟鎹厤缃�" top="0"> <avue-crud ref="crud" @@ -85,25 +84,34 @@ this.MasterGetList(); }, mounted() { - this.$nextTick(() => { - const dataFatherBox = this.$refs.dataBox.$el; - console.log(dataFatherBox); - this.$nextTick(() => { - setTimeout(() => { - const info = dataFatherBox.querySelectorAll('.item-info .info'); - console.log('info', info); - info.forEach((info) => { - info.style.fontSize = '17px'; - }); - this.loading=false; - }, 1000); // 寤惰繜1绉掓煡鎵緄nfo鍏冪礌 - }); - }); + this.FontInfo() }, computed() { }, methods: { + FontInfo(){ + this.$nextTick(() => { + const dataFatherBox = this.$refs.dataBox.$el; + console.log(dataFatherBox); + this.$nextTick(() => { + setTimeout(() => { + //瀛椾綋 + const info = dataFatherBox.querySelectorAll('.item-info .info'); + //杈规 + const items = dataFatherBox.querySelectorAll('.item'); + // console.log('info', info); + info.forEach((info) => { + info.style.fontSize = '16px'; + }); + items.forEach((item) => { + item.style.border = '1px solid rgb(200, 200, 200, 1)'; + }); + this.loading=false; + }, 1000); // 寤惰繜1绉掓煡鎵緄nfo鍏冪礌 + }); + }); + }, selectionChange(row) { // console.log(row) this.SelectRow = row; @@ -122,10 +130,15 @@ console.log(res) if (res.data.code === 200) { this.$message.success('淇濆瓨鎴愬姛锛�') + //娓呴櫎宸叉湁鏁扮粍涓璸ush鏁版嵁 this.option.data = []; this.newData=[]; + this.MasterGetList() this.dialogTableVisible = false; + //瀛椾綋鍜岃竟妗嗛噸鏂板姞杞� + this.loading=true; + this.FontInfo() } }) }, -- Gitblit v1.9.3