From c26281ff05585d8f3f337b290831803fe766748b Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期二, 02 一月 2024 18:31:44 +0800 Subject: [PATCH] su --- src/views/doctor/checkAll/index.vue | 32 ++++++-------------------------- 1 files changed, 6 insertions(+), 26 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 8711f24..6e7730e 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -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> @@ -1025,6 +1025,7 @@ name: "checkAll", data() { return { + flags:false, jianqianwenzhendata:[], jianqians:false, sex: true, @@ -1181,32 +1182,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; -- Gitblit v1.8.0