From d6704ad70b8e28d3dfe84b2e4f17f1c0aeb84c21 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期四, 05 十二月 2024 16:16:34 +0800 Subject: [PATCH] 111 --- src/views/sampling/sampling/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/sampling/sampling/index.vue b/src/views/sampling/sampling/index.vue index ade4abb..7fe2876 100644 --- a/src/views/sampling/sampling/index.vue +++ b/src/views/sampling/sampling/index.vue @@ -466,7 +466,7 @@ this.$nextTick(() => { this.$refs.inputName.focus(); }); - this.selectAllRows(); + }, computed: { disabled() { @@ -595,6 +595,7 @@ this.$refs.tb.toggleRowSelection(this.samplingList[0], true); // this.fetchData(this.samplingList[0].tjNumber); }); + } this.total = response.data.total; this.loading1 = false; @@ -958,10 +959,11 @@ handleChange(selection) { // console.log(selection); - this.selectList = selection; - console.log(this.selectList, 5555); + // this.selectList = selection; + // console.log(this.selectList, 5555); + var array = selection; - this.ids = selection.map((item) => item.id); + this.ids = array.map((item) => item.id); }, selectAllRows() { this.$nextTick(() => { -- Gitblit v1.8.0