From 3435a2b1b3e237ee53c98ae7c044d0e84cfa521c Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期四, 25 一月 2024 18:01:18 +0800 Subject: [PATCH] su --- src/views/doctor/checkAll/index.vue | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 46 insertions(+), 4 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index a559f30..28ba2d5 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -13,7 +13,7 @@ style="width: 120px" placeholder="璇疯緭鍏ュ鍚�" clearable - @keyup.enter.native="handleQuery" + @keyup.enter.native="submitForm" ></el-input> </el-form-item> <el-form-item label="浣撴鍙�" prop="tjNumber"> @@ -23,8 +23,8 @@ style="width: 180px" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable - @keyup.enter.native="handleQuery" - @blur="handleQuery" + @keyup.enter.native="submitForm" + @blur="hb" ></el-input> </el-form-item> <el-form-item label="浣撴鏃堕棿" prop="tjTime"> @@ -284,6 +284,11 @@ <div style="margin: 10px 10px" v-if="tableAll.tjCategory == '02'"> <el-button type="primary" size="mini" @click="medicalhistory()" >鑱屼笟鐥呭彶</el-button + > + </div> + <div style="margin: 10px 10px"> + <el-button type="primary" size="mini" @click="jianqian()" + >妫�鍓嶉棶璇�</el-button > </div> </div> @@ -964,11 +969,25 @@ ></iframe> </div> </el-dialog> + <el-dialog + title="鎻愮ず" + :visible.sync="jianqians" + width="1000px" + :before-close="handleClose1" + > + <jianqianwenzhen + :jianqianwenzhendata="jianqianwenzhendata" v-if="flags" + ></jianqianwenzhen> + <span slot="footer" class="dialog-footer"> + <el-button @click="jianqians = false">鍙� 娑�</el-button> + </span> + </el-dialog> </div> </template> <script> +import jianqianwenzhen from "@/components/jianqianwenzhen"; import { getcheckList, getTjdetailList, @@ -992,6 +1011,7 @@ components: { ViewPdf, Historicalreport, + jianqianwenzhen }, dicts: [ "dict_tjtype", @@ -1001,10 +1021,15 @@ "lj_positive", "tj_work", "tj_work_status", + "tj_smoking_pinlv", + "tj_work" ], name: "checkAll", data() { return { + flags:false, + jianqianwenzhendata:[], + jianqians:false, sex: true, activeName: "1", wenzhen: false, @@ -1158,6 +1183,12 @@ ":" + this.add0(mm) ); + }, + jianqian() { + this.flags = true; + this.jianqians = true; + let tjNumber = this.tableAll.tjNumber; + this.jianqianwenzhendata.push(tjNumber); }, getList() { this.loading = true; @@ -1316,6 +1347,12 @@ this.startTime = val; }, + hb(){ + if (this.queryParams.tjNumber != "") { + this.submitForm(); + } + }, + // 鎼滅储 submitForm() { this.loading = true; @@ -1360,6 +1397,9 @@ } if (this.tableAll.cusSex === 1) { this.tableAll.cusSex = "濂�"; + } + if (this.tableAll.cusSex === 2) { + this.tableAll.cusSex = "鏈煡"; } this.tjNumber = this.tableAll.tjNumber; getState(this.tjNumber).then((res) => { @@ -1518,7 +1558,9 @@ getfiedState(data).then((res) => {}); }); }, - + handleClose1(){ + this.jianqians = false + }, // 鐢熸垚鎶ュ憡 // generate(row) { // const tjNumber = row.tjNumber; -- Gitblit v1.8.0