From c4fb35392368d6b826fceddce1911fe451153986 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 27 六月 2025 15:35:45 +0800
Subject: [PATCH] 测试完成
---
vue.config.js | 4 ++--
src/views/patient/propaganda/QuestionnaireTask.vue | 24 +++++++++++++++++++-----
2 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 7edc739..2a31d54 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -1498,9 +1498,9 @@
this.allpids.push(item.patid);
});
if (
- this.patientqueryParams.allhosp == 1 ||
(this.patientqueryParams.allhosp == 1 &&
- this.patientqueryParams.cry == 1)
+ !this.patientqueryParams.zsallhosp) ||
+ this.patientqueryParams.zsallhosp == 1
) {
this.tableLabelhz = [
// { label: "鍏ラ櫌鏃ユ湡", width: "170", prop: "starttime" },
@@ -1515,7 +1515,10 @@
{ label: "绉戝", width: "180", prop: "dept" },
{ label: "鐥呭尯", width: "150", prop: "leavehospitaldistrictname" },
];
- } else if (this.patientqueryParams.allhosp == 4) {
+ } else if (
+ this.patientqueryParams.allhosp == 4 ||
+ this.patientqueryParams.zsallhosp == 4
+ ) {
this.tableLabelhz = [
{ label: "鍏ラ櫌鏃ユ湡", width: "150", prop: "starttime" },
{ label: "鎮h��", width: "", prop: "name" },
@@ -1554,11 +1557,19 @@
store.getters.belongWards.map((obj) => obj.districtCode);
}
// 鍑洪櫌杩樻槸鍏ラ櫌
- if (this.patientqueryParams.allhosp == 1) {
+ if (
+ (this.patientqueryParams.allhosp == 1 &&
+ !this.patientqueryParams.zsallhosp) ||
+ this.patientqueryParams.zsallhosp == 1
+ ) {
this.patientqueryParams.cry = 1;
this.patientqueryParams.hospitaldistrictcodes = [];
this.patientqueryParams.deptcodes = [];
- } else if (this.patientqueryParams.allhosp == 4) {
+ this.patientqueryParams.zsallhosp = "1";
+ } else if (
+ this.patientqueryParams.allhosp == 4 ||
+ this.patientqueryParams.zsallhosp == 4
+ ) {
this.patientqueryParams.deptcodes =
this.patientqueryParams.leaveldeptcodes;
this.patientqueryParams.hospitaldistrictcodes =
@@ -1567,7 +1578,9 @@
this.patientqueryParams.leaveldeptcodes = [];
this.patientqueryParams.cry = 0;
this.patientqueryParams.allhosp = "1";
+ this.patientqueryParams.zsallhosp = "4";
}
+
getTaskpatientQC(this.patientqueryParams).then((response) => {
this.patientuserList = response.rows;
this.patientuserList.forEach((item) => {
@@ -1683,6 +1696,7 @@
!this.patientqueryParams.leaveldeptcodes[0]
)
this.patientqueryParams.leaveldeptcodes = null;
+ console.log(this.patientqueryParams.allhosp, "bbblll");
this.handleAddpatient();
},
// 鑾峰彇澶栭儴鎮h�呭鍏ュ垪琛�
diff --git a/vue.config.js b/vue.config.js
index 9ca0004..6c6d346 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,9 +36,9 @@
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.168.60:8095`,
- target: `http://192.168.144.34:8095`,
+ // target: `http://192.168.144.34:8095`,
// target: `http://192.168.100.100:8095`,
- // target:`http://localhost:8095`,
+ target:`http://localhost:8095`,
// target: `http://192.168.101.135:8095`,
// target: `http://192.168.101.166:8093`,
// target: `http://192.168.191.181:8095`,
--
Gitblit v1.9.3