From f37b47903b2df3fb44f06f09ac15364fc1372819 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 01 七月 2025 15:23:34 +0800
Subject: [PATCH] 测试完成
---
src/views/index.vue | 72 ++++++++++++++---------
vue.config.js | 4
src/views/patient/propaganda/QuestionnaireTask.vue | 77 ++++++-------------------
3 files changed, 64 insertions(+), 89 deletions(-)
diff --git a/src/views/index.vue b/src/views/index.vue
index 439d775..b8efd88 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -21,7 +21,7 @@
<el-row :gutter="20">
<el-col :span="8">
<div class="home-user-task-stats">
- <p>{{ 11231 }}</p>
+ <p>{{ 0 }}</p>
<div class="text-color2">
<p>闂ㄨ瘖鎬绘暟锛堜汉锛�</p>
</div>
@@ -29,7 +29,7 @@
</el-col>
<el-col :span="7">
<div class="home-user-task-stats">
- <p>{{ 9207 }}</p>
+ <p>{{ 0 }}</p>
<div class="text-color2">
<p>浣忛櫌鎬绘暟锛堜汉锛�</p>
</div>
@@ -37,7 +37,7 @@
</el-col>
<el-col :span="7">
<div class="home-user-task-stats">
- <p>{{ 1209 }}</p>
+ <p>{{ 0 }}</p>
<div class="text-color2">
<p>浣撴鎬绘暟锛堜汉锛�</p>
</div>
@@ -64,7 +64,7 @@
<el-row :gutter="20">
<el-col :span="12">
<div class="home-user-task-stats">
- <p style="color: red">{{ 3453 }}</p>
+ <p style="color: red">{{ 0 }}</p>
</div>
<div class="text-color2">
<p>浣忛櫌鏈嶅姟浜烘暟</p>
@@ -72,7 +72,7 @@
</el-col>
<el-col :span="12">
<div class="home-user-task-stats">
- <p style="color: red">{{ 4213 }}</p>
+ <p style="color: red">{{ 0 }}</p>
<div class="text-color2">
<p>浣撴鏈嶅姟浜烘暟</p>
</div>
@@ -295,6 +295,7 @@
getQtemplateobj,
} from "@/api/AiCentre/index";
import dayjs from "dayjs";
+import { data } from "jquery";
export default {
name: "home",
@@ -390,20 +391,20 @@
// const res = await getSkuTop(10, this.endatd, this.statd);
// this.SkuTop = res.data;
this.SkuTop = [
- { amount: 0, count: 123, skuId: "0", skuName: "蹇冭偤绉�" },
- { amount: 0, count: 122, skuId: "0", skuName: "鑲捐剰绉�" },
- { amount: 0, count: 112, skuId: "0", skuName: "娉屽翱绉�" },
- { amount: 0, count: 111, skuId: "0", skuName: "鐢风" },
- { amount: 0, count: 102, skuId: "0", skuName: "濡囦骇绉�" },
- { amount: 0, count: 98, skuId: "0", skuName: "澶栫" },
- { amount: 0, count: 89, skuId: "0", skuName: "鎬ヨ瘖" },
- { amount: 0, count: 88, skuId: "0", skuName: "鍣ㄦ绉�" },
- { amount: 0, count: 87, skuId: "0", skuName: "楠ㄧ" },
- { amount: 0, count: 67, skuId: "0", skuName: "鏀惧皠绉�" },
- { amount: 0, count: 89, skuId: "0", skuName: "鎬ヨ瘖" },
- { amount: 0, count: 88, skuId: "0", skuName: "鍣ㄦ绉�" },
- { amount: 0, count: 87, skuId: "0", skuName: "楠ㄧ" },
- { amount: 0, count: 67, skuId: "0", skuName: "鏀惧皠绉�" },
+ // { amount: 0, count: 123, skuId: "0", skuName: "蹇冭偤绉�" },
+ // { amount: 0, count: 122, skuId: "0", skuName: "鑲捐剰绉�" },
+ // { amount: 0, count: 112, skuId: "0", skuName: "娉屽翱绉�" },
+ // { amount: 0, count: 111, skuId: "0", skuName: "鐢风" },
+ // { amount: 0, count: 102, skuId: "0", skuName: "濡囦骇绉�" },
+ // { amount: 0, count: 98, skuId: "0", skuName: "澶栫" },
+ // { amount: 0, count: 89, skuId: "0", skuName: "鎬ヨ瘖" },
+ // { amount: 0, count: 88, skuId: "0", skuName: "鍣ㄦ绉�" },
+ // { amount: 0, count: 87, skuId: "0", skuName: "楠ㄧ" },
+ // { amount: 0, count: 67, skuId: "0", skuName: "鏀惧皠绉�" },
+ // { amount: 0, count: 89, skuId: "0", skuName: "鎬ヨ瘖" },
+ // { amount: 0, count: 88, skuId: "0", skuName: "鍣ㄦ绉�" },
+ // { amount: 0, count: 87, skuId: "0", skuName: "楠ㄧ" },
+ // { amount: 0, count: 67, skuId: "0", skuName: "鏀惧皠绉�" },
];
},
// 鑾峰彇闂ㄨ瘖鍩虹鏁版嵁
@@ -513,7 +514,8 @@
return value + " 浜�";
},
},
- data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
+ // data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
+ data:[],
},
{
name: "闂ㄨ瘖闅忚閲�",
@@ -523,7 +525,8 @@
return value + " 浜�";
},
},
- data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
+ // data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
+ data:[],
},
{
name: "鍦ㄩ櫌闅忚閲�",
@@ -533,7 +536,9 @@
return value + " 浜�";
},
},
- data: [145, 92, 178, 134, 167, 85, 199, 112, 156, 88, 120, 145],
+ // data: [145, 92, 178, 134, 167, 85, 199, 112, 156, 88, 120, 145],
+ data:[],
+
},
{
@@ -546,7 +551,9 @@
return value + " 娆�";
},
},
- data: [45, 123, 78, 156, 89, 34, 199, 112, 67, 145, 88, 175],
+ // data: [45, 123, 78, 156, 89, 34, 199, 112, 67, 145, 88, 175],
+ data:[],
+
},
{
name: "闂ㄨ瘖澶嶈瘖閫氱煡",
@@ -558,7 +565,9 @@
return value + " 娆�";
},
},
- data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
+ // data: [102, 190, 135, 88, 175, 160, 83, 145, 200, 110, 97, 180],
+ data:[],
+
},
{
name: "鍦ㄩ櫌璇勪及閲�",
@@ -570,7 +579,9 @@
return value + " 娆�";
},
},
- data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
+ // data: [120, 150, 165, 90, 140, 200, 130, 85, 175, 95, 110, 160],
+ data:[],
+
},
],
};
@@ -609,10 +620,13 @@
},
dataset: {
source: [
- ["product", "2012", "2013", "2014", "2015", "2016", "2017"],
- ["鍑洪櫌瀹f暀", 56, 82, 88, 70, 53, 85],
- ["鍦ㄩ櫌瀹f暀", 51, 51, 55, 53, 73, 68],
- ["闂ㄨ瘖瀹f暀", 40, 62, 69, 36, 45, 32],
+ ["product", "2020", "2021", "2022", "2023", "2024", "2025"],
+ // ["鍑洪櫌瀹f暀", 56, 82, 88, 70, 53, 85],
+ // ["鍦ㄩ櫌瀹f暀", 51, 51, 55, 53, 73, 68],
+ // ["闂ㄨ瘖瀹f暀", 40, 62, 69, 36, 45, 32],
+ ["鍑洪櫌瀹f暀", ],
+ ["鍦ㄩ櫌瀹f暀", ],
+ ["闂ㄨ瘖瀹f暀", ],
],
},
xAxis: { type: "category" },
diff --git a/src/views/patient/propaganda/QuestionnaireTask.vue b/src/views/patient/propaganda/QuestionnaireTask.vue
index 2a31d54..c736989 100644
--- a/src/views/patient/propaganda/QuestionnaireTask.vue
+++ b/src/views/patient/propaganda/QuestionnaireTask.vue
@@ -768,17 +768,7 @@
<el-form-item label="闂嵎鍚嶇О">
<el-input v-model="topqueryParams.svyname"></el-input>
</el-form-item>
- <!-- <el-form-item label="閫傜敤褰㈠紡" prop="status">
- <el-select v-model="topqueryParams.topica" placeholder="璇烽�夋嫨">
- <el-option
- v-for="item in taskoptions"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
- </el-option>
- </el-select>
- </el-form-item> -->
+
<el-form-item>
<el-button
type="primary"
@@ -1498,9 +1488,7 @@
this.allpids.push(item.patid);
});
if (
- (this.patientqueryParams.allhosp == 1 &&
- !this.patientqueryParams.zsallhosp) ||
- this.patientqueryParams.zsallhosp == 1
+ this.patientqueryParams.allhosp == 1
) {
this.tableLabelhz = [
// { label: "鍏ラ櫌鏃ユ湡", width: "170", prop: "starttime" },
@@ -1516,8 +1504,7 @@
{ label: "鐥呭尯", width: "150", prop: "leavehospitaldistrictname" },
];
} else if (
- this.patientqueryParams.allhosp == 4 ||
- this.patientqueryParams.zsallhosp == 4
+ this.patientqueryParams.allhosp == 4
) {
this.tableLabelhz = [
{ label: "鍏ラ櫌鏃ユ湡", width: "150", prop: "starttime" },
@@ -1540,45 +1527,18 @@
// 绉戝杩樻槸鐥呭尯
- if (this.patientqueryParams.searchscope == 1) {
- this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
- (obj) => obj.deptCode
- );
- this.patientqueryParams.leavehospitaldistrictcodes = [];
- } else if (this.patientqueryParams.searchscope == 2) {
- this.patientqueryParams.leavehospitaldistrictcodes =
- store.getters.belongWards.map((obj) => obj.districtCode);
- this.patientqueryParams.leaveldeptcodes = [];
- } else {
- this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
- (obj) => obj.deptCode
- );
- this.patientqueryParams.leavehospitaldistrictcodes =
- store.getters.belongWards.map((obj) => obj.districtCode);
- }
+
// 鍑洪櫌杩樻槸鍏ラ櫌
- if (
- (this.patientqueryParams.allhosp == 1 &&
- !this.patientqueryParams.zsallhosp) ||
- this.patientqueryParams.zsallhosp == 1
- ) {
- this.patientqueryParams.cry = 1;
+ if (this.patientqueryParams.allhosp == 1) {
this.patientqueryParams.hospitaldistrictcodes = [];
this.patientqueryParams.deptcodes = [];
- this.patientqueryParams.zsallhosp = "1";
- } else if (
- this.patientqueryParams.allhosp == 4 ||
- this.patientqueryParams.zsallhosp == 4
- ) {
+ } else if (this.patientqueryParams.allhosp == 4) {
this.patientqueryParams.deptcodes =
this.patientqueryParams.leaveldeptcodes;
this.patientqueryParams.hospitaldistrictcodes =
this.patientqueryParams.leavehospitaldistrictcodes;
this.patientqueryParams.leavehospitaldistrictcodes = [];
this.patientqueryParams.leaveldeptcodes = [];
- this.patientqueryParams.cry = 0;
- this.patientqueryParams.allhosp = "1";
- this.patientqueryParams.zsallhosp = "4";
}
getTaskpatientQC(this.patientqueryParams).then((response) => {
@@ -1665,25 +1625,27 @@
getList() {},
handleQuery() {
// 鑾峰彇澶栭儴鎮h��
- console.log(this.patientqueryParams.allhosp, "aaalll");
-
if (this.patientqueryParams.allhosp == 6) {
this.Externallist();
console.log();
return;
}
- if (this.patientqueryParams.topica == 0) {
+ if (this.patientqueryParams.searchscope == 1) {
+ this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
+ (obj) => obj.deptCode
+ );
+ this.patientqueryParams.leavehospitaldistrictcodes = [];
+ } else if (this.patientqueryParams.searchscope == 2) {
this.patientqueryParams.leavehospitaldistrictcodes =
- store.getters.leavehospitaldistrictcodes;
- this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
- } else if (this.patientqueryParams.topica == 1) {
- this.patientqueryParams.leavehospitaldistrictcodes = null;
- this.patientqueryParams.leaveldeptcodes = store.getters.leaveldeptcodes;
- } else if (this.patientqueryParams.topica == 2) {
+ store.getters.belongWards.map((obj) => obj.districtCode);
+ this.patientqueryParams.leaveldeptcodes = [];
+ } else {
+ this.patientqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
+ (obj) => obj.deptCode
+ );
this.patientqueryParams.leavehospitaldistrictcodes =
- store.getters.leavehospitaldistrictcodes;
- this.patientqueryParams.leaveldeptcodes = null;
+ store.getters.belongWards.map((obj) => obj.districtCode);
}
if (
@@ -1696,7 +1658,6 @@
!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 6c6d346..9ca0004 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