From ee1d4af7e569a723afc88ab8ac1939cb2667b072 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 03 三月 2025 18:06:13 +0800 Subject: [PATCH] 测试完成 --- src/components/OptionalForm/index.vue | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/components/OptionalForm/index.vue b/src/components/OptionalForm/index.vue index 4b06d07..62bb525 100644 --- a/src/components/OptionalForm/index.vue +++ b/src/components/OptionalForm/index.vue @@ -68,7 +68,8 @@ style="width: 100%" @selection-change="handleSelectionChange" > - <el-table-column type="selection" width="55"> </el-table-column> + <el-table-column class="checkall" type="selection" width="55"> + </el-table-column> <el-table-column prop="icdid" label="鐤剧梾缂栧彿" @@ -135,7 +136,7 @@ required: true, default: () => [], }, - // 5闂嵎妯$増銆�3闅忚妯$増銆�6瀹f暀 + // 5闂嵎妯℃澘銆�3闅忚妯℃澘銆�6瀹f暀 type: { type: Number, default: () => { @@ -198,7 +199,6 @@ getillnesslist(this.patientqueryParams).then((res) => { this.donorchargeList = res.rows; this.patienttotal = res.total; - console.log(this.$refs.multipleTable, "22"); this.Restorecheck(); }); }, @@ -209,8 +209,6 @@ if (this.multipleSelection.length <= selection.length) { this.multipleSelection = selection; } else { - console.log(selection, "selection"); - console.log(this.multipleSelection, "this.multipleSelection"); this.multipleSelection.forEach((item) => { if (selection.includes(item)) { } else { @@ -231,11 +229,7 @@ }); } // 璧嬪�肩粰鏁翠綋閫変腑鏁扮粍 - console.log(this.overallCase); this.multipleSelection.forEach((item) => { - console.log( - this.overallCase.every((obj) => obj.icdname != item.icdname) - ); if (this.overallCase.every((obj) => obj.icdname != item.icdname)) { this.overallCase.push(item); @@ -321,6 +315,9 @@ } } } +::v-deep.el-table .el-table__header th:first-child .el-checkbox { + display: none; +} .el-tag + .el-tag { margin-left: 10px; margin-bottom: 10px; -- Gitblit v1.9.3