From 4c9eab7cd2f92e6ebee76f38f1616cb3e5855697 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 10 四月 2025 10:46:27 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/questionnaire/index.vue | 34 ++++++++++++++++++++-------------- 1 files changed, 20 insertions(+), 14 deletions(-) diff --git a/src/views/patient/questionnaire/index.vue b/src/views/patient/questionnaire/index.vue index 6a691ce..5ffff7d 100644 --- a/src/views/patient/questionnaire/index.vue +++ b/src/views/patient/questionnaire/index.vue @@ -192,7 +192,7 @@ <el-table v-loading="loading" :data="userList" - height="660" + height="808" :row-class-name="tableRowClassName" @selection-change="handleSelectionChange" > @@ -275,12 +275,12 @@ <el-table-column label="闅忚浜哄憳" align="center" - key="createBy" - prop="createBy" + key="updateBy" + prop="updateBy" width="120" /> <el-table-column - label="闅忚鏃堕棿" + label="闅忚瀹屾垚鏃堕棿" sortable align="center" prop="finishtime" @@ -719,10 +719,10 @@ name: "鍑洪櫌鏈嶅姟鎬婚噺", value: 0, }, - { - name: "鎮h�呰繃婊�", - value: 0, - }, + // { + // name: "鎮h�呰繃婊�", + // value: 0, + // }, { name: "搴旈殢璁�", value: 0, @@ -766,6 +766,7 @@ pageSize: 10, serviceType: 7, searchscope: 3, + sendstate:2, scopetype: [], leaveldeptcodes: [], leavehospitaldistrictcodes: [], @@ -867,19 +868,23 @@ console.log(this.topqueryParams.leavehospitaldistrictcodes, "11"); } this.loading = true; - this.topqueryParams.deptOrDistrict=2, + if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) { + this.topqueryParams.deptOrDistrict=2; + }else{ + this.topqueryParams.deptOrDistrict=1; + } getTaskservelist(this.topqueryParams).then((response) => { this.userList = response.rows[0].serviceSubtaskList; this.total = response.total; if (refresh) { this.cardlist[0].value = Number(response.rows[0].wzx) + Number(response.rows[0].ysf); - this.cardlist[1].value = response.rows[0].wzx; - this.cardlist[2].value = response.rows[0].ysf; + // this.cardlist[1].value = response.rows[0].wzx; + this.cardlist[1].value = response.rows[0].ysf; this.ycvalue = response.rows[0].yc; - this.cardlist[3].value = response.rows[0].fssb; - this.cardlist[4].value = response.rows[0].dfs; - this.cardlist[5].value = response.rows[0].yfs2; + this.cardlist[2].value = response.rows[0].fssb; + this.cardlist[3].value = response.rows[0].dfs; + this.cardlist[4].value = response.rows[0].yfs2; this.yfsvalue = response.rows[0].yfs; } this.loading = false; @@ -1006,6 +1011,7 @@ pageSize: 10, serviceType: 7, searchscope: 2, + sendstate:2, }; this.handleQuery(1); }, -- Gitblit v1.9.3