From d846a58dbdfa0366c73427bfc62ff3ecae56d8f6 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 16 七月 2025 14:32:05 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/propaganda/QuestionnaireTask.vue | 46 ++++++++++++++++++++++++++-------------------- 1 files changed, 26 insertions(+), 20 deletions(-) diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue index 81be5bc..f06523a 100644 --- a/src/views/patient/propaganda/QuestionnaireTask.vue +++ b/src/views/patient/propaganda/QuestionnaireTask.vue @@ -518,7 +518,7 @@ icon="el-icon-refresh" size="medium" @click="resetQuery" - >鍙栨秷鍒涘缓</el-button + >閲嶇疆</el-button > </el-form-item> </el-form> @@ -833,7 +833,7 @@ taskdepthospgetsonlist, } from "@/api/AiCentre/index"; -import SFtable from "@/components/SFtable"; //琛ㄦ牸缁勪欢 +import SFtable from "@/components/SFtable/index.vue"; //琛ㄦ牸缁勪欢 import { MessageBox } from "element-ui"; export default { @@ -945,7 +945,6 @@ patientqueryParams: { pageNum: 1, // pageSize: 10, - topica: 1, //0鍏ㄩ儴1绉戝2鐥呭尯 leavehospitaldistrictcodes: [], leaveldeptcodes: [], hospitaldistrictcodes: [], @@ -1068,27 +1067,27 @@ // label: "鐩戞祴璇勪及", // }, { - value: "2", + value: 2, label: "鍑洪櫌闅忚", }, { - value: "3", + value: 3, label: "闂ㄨ瘖闅忚", }, { - value: "4", + value: 4, label: "瀹f暀鍏虫��", }, { - value: "5", + value: 5, label: "澶嶈瘖绠$悊", }, { - value: "6", + value: 6, label: "婊℃剰搴﹁皟鏌�", }, { - value: "7", + value: 7, label: "鎮h�呮姤鍛�", }, // { @@ -1187,11 +1186,6 @@ }, // 鑾峰彇褰撳墠绫诲瀷 Acquisitiontype() { - let queryParams = { - pageNum: this.topqueryParams.pageNum, - pageSize: this.topqueryParams.pageSize, - isenable: "", - }; this.currenttype = this.$route.query.type; this.title = "闂嵎鍐呭鍒楄〃"; this.tableLabel = this.tableLabelwj; @@ -1301,8 +1295,6 @@ // }, ]; } - console.log(this.topqueryParams, "this.topqueryParams"); - getQtemplatelist(this.topqueryParams).then((response) => { this.userList = response.rows; this.total = response.total; @@ -1692,7 +1684,22 @@ }); }, - resetQuery() {}, + resetQuery() { + let allhosp = this.patientqueryParams.allhosp; + this.patientqueryParams = { + pageNum: 1, // + pageSize: 10, + allhosp: allhosp, + leavehospitaldistrictcodes: [], + leaveldeptcodes: [], + hospitaldistrictcodes: [], + deptcodes: [], + }; + + console.log(this.patientqueryParams, "this.patientqueryParams"); + + this.handleQuery(); + }, handleQuerymb() { getQtemplatelist(this.topqueryParams).then((response) => { this.userList = response.rows; @@ -2000,7 +2007,7 @@ } ) .then(() => { - if (Array.isArray(this.objyl.suitway)) { + if (Array.isArray(this.objyl.suitway)) { this.objyl.suitway = this.objyl.suitway.join(","); } this.objyl.templateid = this.objyl.svyid; @@ -2015,8 +2022,7 @@ this.previewtf = false; }) .catch(() => { - - if (Array.isArray(this.objyl.suitway)) { + if (Array.isArray(this.objyl.suitway)) { this.objyl.suitway = this.objyl.suitway.join(","); } this.objyl.templateid = this.objyl.svyid; -- Gitblit v1.9.3