From 6b5565022f0aa01f7ff0d0a0298834c6726e8c9d Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期一, 24 三月 2025 17:58:16 +0800
Subject: [PATCH] qx

---
 src/components/jianqianwenzhen/index.vue |   43 ++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 42 insertions(+), 1 deletions(-)

diff --git a/src/components/jianqianwenzhen/index.vue b/src/components/jianqianwenzhen/index.vue
index 608eb8a..95e5bfb 100644
--- a/src/components/jianqianwenzhen/index.vue
+++ b/src/components/jianqianwenzhen/index.vue
@@ -673,6 +673,23 @@
         >鎻愪氦</el-button
       >
     </div>
+
+
+    <el-dialog title="鎺ヨЕ姣掔墿" :visible.sync="dialogTableVisible">
+  <el-table :data="gridData"  @selection-change="handleSelectionChange">
+    <el-table-column
+      type="selection"
+      width="55">
+    </el-table-column>
+    <el-table-column property="date" label="搴忓彿" width="150"></el-table-column>
+    <el-table-column property="value" label="姣掔墿" width="200"></el-table-column>
+  </el-table>
+
+  <div slot="footer" class="dialog-footer">
+    <el-button @click="dialogTableVisible = false">鍙� 娑�</el-button>
+    <el-button type="primary" @click="dialogFormVisible">纭� 瀹�</el-button>
+  </div>
+</el-dialog>
   </div>
 </template>
 
@@ -705,6 +722,18 @@
       jiwangbingshi: true,
       diseaseNames: "",
       zhenghuzangList: [],
+      dialogTableVisible: false,
+      multipleSelection: [],
+      gridData: [
+      {
+          value: "鏃㈠線鐥�",
+          label: "鏃㈠線鐥�",
+        },
+        {
+          value: "鑱屼笟鐥�",
+          label: "鑱屼笟鐥�",
+        },
+      ],
       options: [
         {
           value: "鏃㈠線鐥�",
@@ -998,7 +1027,19 @@
 
 
     change(){
-    console.log(111)
+      this.multipleSelection =[]
+      this.dialogTableVisible = true
+  },
+
+  handleSelectionChange(val) {
+        this.multipleSelection = val;
+      },
+
+  dialogFormVisible(){
+    this.multipleSelection.forEach((item) => {
+      this.form.contactPoison += item.value + ","
+    })
+      this.dialogTableVisible = false
   },
 
     delememberss() {

--
Gitblit v1.8.0