From 0efe80f285b799fbf376c6567889dfa9061b72ec Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期日, 04 二月 2024 16:26:35 +0800 Subject: [PATCH] su --- src/views/doctor/checkAll/index.vue | 42 +++++++++++++++--------------------------- 1 files changed, 15 insertions(+), 27 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 8711f24..28ba2d5 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -24,7 +24,7 @@ placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable @keyup.enter.native="submitForm" - @blur="submitForm" + @blur="hb" ></el-input> </el-form-item> <el-form-item label="浣撴鏃堕棿" prop="tjTime"> @@ -976,7 +976,7 @@ :before-close="handleClose1" > <jianqianwenzhen - :jianqianwenzhendata="jianqianwenzhendata" + :jianqianwenzhendata="jianqianwenzhendata" v-if="flags" ></jianqianwenzhen> <span slot="footer" class="dialog-footer"> <el-button @click="jianqians = false">鍙� 娑�</el-button> @@ -1021,10 +1021,13 @@ "lj_positive", "tj_work", "tj_work_status", + "tj_smoking_pinlv", + "tj_work" ], name: "checkAll", data() { return { + flags:false, jianqianwenzhendata:[], jianqians:false, sex: true, @@ -1181,32 +1184,11 @@ this.add0(mm) ); }, - jianqian() { - let tjNumber = this.tableAll.tjNumber; - getInfoById(tjNumber).then((response) => { - this.jianqianwenzhendata = response.data; - if (this.form.xiyan == null) { - this.form.xiyan = "1"; - } - if (this.form.xiyanpinlv == null) { - this.form.xiyanpinlv = "0"; - } - if (this.form.xiyanyear == null) { - this.form.xiyanyear = "0"; - } - if (this.form.yinjiu == null) { - this.form.yinjiu = "1"; - } - if (this.form.yinjiupinlv == null) { - this.form.yinjiupinlv = "0"; - } - if (this.form.yinjiuyear == null) { - this.form.yinjiuyear = "0"; - } - this.form.tjAskHistorysList = response.data.tjAskHistorysList; - // this.isdisabled= true - }); + jianqian() { + this.flags = true; this.jianqians = true; + let tjNumber = this.tableAll.tjNumber; + this.jianqianwenzhendata.push(tjNumber); }, getList() { this.loading = true; @@ -1365,6 +1347,12 @@ this.startTime = val; }, + hb(){ + if (this.queryParams.tjNumber != "") { + this.submitForm(); + } + }, + // 鎼滅储 submitForm() { this.loading = true; -- Gitblit v1.8.0