From 155a30a172e4cf04838dcf7c8bb73ce6b200e574 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期三, 26 三月 2025 14:52:54 +0800 Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb_region --- src/components/jianqianwenzhen/index.vue | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/src/components/jianqianwenzhen/index.vue b/src/components/jianqianwenzhen/index.vue index c82e398..95e5bfb 100644 --- a/src/components/jianqianwenzhen/index.vue +++ b/src/components/jianqianwenzhen/index.vue @@ -65,6 +65,7 @@ </el-form-item> <el-form-item label="鎺ヨЕ姣掔墿" prop="contactPoison"> <el-input + @focus="change" type="textarea" rows="4" v-model="form.contactPoison" @@ -74,6 +75,7 @@ </el-form-item> <el-form-item label="鏃㈠線鐥呭彶" prop="medicalHistory"> <el-input + @focus="change" type="textarea" rows="4" v-model="form.medicalHistory" @@ -671,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> @@ -703,6 +722,18 @@ jiwangbingshi: true, diseaseNames: "", zhenghuzangList: [], + dialogTableVisible: false, + multipleSelection: [], + gridData: [ + { + value: "鏃㈠線鐥�", + label: "鏃㈠線鐥�", + }, + { + value: "鑱屼笟鐥�", + label: "鑱屼笟鐥�", + }, + ], options: [ { value: "鏃㈠線鐥�", @@ -884,6 +915,8 @@ this.loading = false; } }, + + methods: { /** 鏌ヨ鐤剧梾瀛楀吀鍒楄〃 */ getList() { @@ -992,6 +1025,23 @@ } }, + + change(){ + this.multipleSelection =[] + this.dialogTableVisible = true + }, + + handleSelectionChange(val) { + this.multipleSelection = val; + }, + + dialogFormVisible(){ + this.multipleSelection.forEach((item) => { + this.form.contactPoison += item.value + "," + }) + this.dialogTableVisible = false + }, + delememberss() { let that = this; if (that.form.workLogs.length == that.chageall.length) { -- Gitblit v1.8.0