From 8a5a5ff615e1ac7cf65c298b2e641368f7b1e2b3 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期五, 06 十二月 2024 14:08:13 +0800 Subject: [PATCH] 修改单位 --- src/views/sampling/sampling/index.vue | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/views/sampling/sampling/index.vue b/src/views/sampling/sampling/index.vue index 7fe2876..9908694 100644 --- a/src/views/sampling/sampling/index.vue +++ b/src/views/sampling/sampling/index.vue @@ -188,8 +188,9 @@ </el-table-column> </el-table> </div> - <div style="width: 50%"> + <div style="width: 50%" v-if="this.rightTabShow"> <el-table + v-loading="loading" :data="tableList" @selection-change="handleChange" @@ -453,12 +454,15 @@ form: {}, // 琛ㄥ崟鏍¢獙 rules: {}, + rightTabShow: false }; }, created() { // this.getNowTime(); getTxmmccd().then((res) => { this.msg = Number(res.msg); + console.log(res,444); + }); this.getdate(); }, @@ -594,6 +598,8 @@ this.$nextTick(() => { this.$refs.tb.toggleRowSelection(this.samplingList[0], true); // this.fetchData(this.samplingList[0].tjNumber); + // ddddddddddddddd + this.rightTabShow = true }); } @@ -959,18 +965,11 @@ handleChange(selection) { // console.log(selection); - // this.selectList = selection; + this.selectList = selection; // console.log(this.selectList, 5555); var array = selection; this.ids = array.map((item) => item.id); - }, - selectAllRows() { - this.$nextTick(() => { - if (this.$refs.tab1) { - this.$refs.tab1.toggleAllSelection(); - } - }); }, // 绂侀�� -- Gitblit v1.8.0