From ac6766c11f8a2b8de903b58c13a8f206fa01dccd Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期五, 15 三月 2024 17:56:32 +0800 Subject: [PATCH] qxtj --- src/views/doctor/checkAll/index.vue | 28 ++++++++++++++++------------ 1 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 36553b6..745094e 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -728,7 +728,7 @@ created() { // this.getNowTime(); - this.getList(); + this.getdate(); }, @@ -744,6 +744,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; + this.getList(); }); }, // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡 @@ -1095,23 +1096,25 @@ }, // 閲嶇疆 resetQuery() { + this.startTime=[] this.resetForm("tableList"); this.submitForm(); }, // 鐐瑰嚮璇︽儏 handleClick(row) { + this.tableAll = row; this.tjproject = "0" - if (this.tableAll.cusSex === 0) { - this.tableAll.cusSex = "鐢�"; - } - if (this.tableAll.cusSex === 1) { - this.tableAll.cusSex = "濂�"; - } - if (this.tableAll.cusSex === 2) { - this.tableAll.cusSex = "鏈煡"; - } + // if (this.tableAll.cusSex === 0) { + // this.tableAll.cusSex = "鐢�"; + // } + // 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) => { this.status = res.data; @@ -1129,10 +1132,10 @@ this.drawer = true; getupdateCheckType(this.tjNumber).then((response) => { this.changedate = response.data; - this.changedate.forEach((item) => { + if (this.changedate) { + this.changedate.forEach((item) => { this.textarea1 = item.checkAdvice; }); - if (this.changedate) { for (let i = 0; i < this.changedate.length; i++) { this.remark = this.changedate[i].remark; } @@ -1218,6 +1221,7 @@ }); }); this.drawer = false; + } }); -- Gitblit v1.8.0