From 45f9797c4e878d5f87a8d04d5ee07af8d39b5567 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 10 六月 2025 11:26:26 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/propaganda/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue index 607a911..8b7a8cf 100644 --- a/src/views/patient/propaganda/index.vue +++ b/src/views/patient/propaganda/index.vue @@ -148,7 +148,6 @@ height="560" @selection-change="handleSelectionChange" > - <el-table-column type="selection" width="50" align="center" /> <el-table-column label="浠诲姟鍚嶇О" fixed @@ -773,6 +772,8 @@ watch: {}, created() { this.serviceState = store.getters.serviceState; + console.log(this.serviceState,'this.serviceState'); + this.getList(); this.getConfigKey("sys.user.initPassword").then((response) => { this.initPassword = response.msg; @@ -794,11 +795,11 @@ this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( (obj) => obj.deptCode ); - this.topqueryParams.leavehospitaldistrictcodes = null; + this.topqueryParams.leavehospitaldistrictcodes = []; } else if (this.topqueryParams.searchscope == 2) { this.topqueryParams.leavehospitaldistrictcodes = store.getters.belongWards.map((obj) => obj.districtCode); - this.topqueryParams.leaveldeptcodes = null; + this.topqueryParams.leaveldeptcodes = []; } else { this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map( (obj) => obj.deptCode @@ -807,6 +808,7 @@ store.getters.belongWards.map((obj) => obj.districtCode); } this.loading = true; + if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) { this.topqueryParams.deptOrDistrict=2; }else{ -- Gitblit v1.9.3