From ffb5cf79a2d5d7603cb97e79bd04f598eceb0352 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 20 三月 2025 10:41:29 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/index.vue | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue index f6d51ee..dfcd5b2 100644 --- a/src/views/patient/patient/index.vue +++ b/src/views/patient/patient/index.vue @@ -207,8 +207,12 @@ align="center" key="age" prop="age" - width="60" - /> + width="160" + > <template slot-scope="scope"> + <span v-if="scope.row.age">{{ scope.row.age }}{{scope.row.ageUnit }}</span><span v-if="scope.row.age2">{{ scope.row.age2 }}{{scope.row.ageUnit2 }}</span> + + </template> + </el-table-column> <el-table-column label="鍑虹敓骞存湀" align="center" @@ -963,7 +967,7 @@ allhosp: "1", pageSize: 10, searchscope: 2, - tagname:'', + tagname: "", idcardno: undefined, name: undefined, status: undefined, @@ -1085,7 +1089,7 @@ }, RiskMarker(row) { this.RiskVisible = true; - this.RiskObj=row; + this.RiskObj = row; }, // 鍙栨秷鎸夐挳 @@ -1115,13 +1119,13 @@ /** 閲嶇疆鎸夐挳鎿嶄綔 */ resetQuery() { this.dateRange = []; - this.queryParams= { + (this.queryParams = { pageNum: 1, allhosp: "1", pageSize: 10, searchscope: 2, - }, - this.handleQuery(); + }), + this.handleQuery(); }, // 澶氶�夋閫変腑鏁版嵁 handleSelectionChange(selection) { @@ -1201,14 +1205,13 @@ }); }, RiskService() { - this.RiskObj.visitFlag = this.Risklist.join(", "); this.RiskObj.visitType = this.Riskradio; alterpatient(this.RiskObj).then((res) => { - if (res.code==200) { + if (res.code == 200) { this.getList(); - this.Risklist=[]; - this.Riskradio=1; + this.Risklist = []; + this.Riskradio = 1; this.$modal.msgSuccess("寮傚父璁板綍鎴愬姛"); } }); -- Gitblit v1.9.3