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 | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue index 00613a0..8b7a8cf 100644 --- a/src/views/patient/propaganda/index.vue +++ b/src/views/patient/propaganda/index.vue @@ -108,7 +108,6 @@ icon="el-icon-upload2" size="medium" @click="handleExport" - v-hasPermi="['system:user:export']" >瀵煎嚭</el-button > </div> @@ -149,7 +148,6 @@ height="560" @selection-change="handleSelectionChange" > - <el-table-column type="selection" width="50" align="center" /> <el-table-column label="浠诲姟鍚嶇О" fixed @@ -725,6 +723,7 @@ pageSize: 10, serviceType: 4, searchscope: 2, + sendstate:2, }, propss: { multiple: true }, options: [], @@ -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{ @@ -910,6 +912,7 @@ pageNum: 1, pageSize: 10, serviceType: 4, + sendstate:2, }; this.handleQuery(); }, @@ -1016,7 +1019,7 @@ /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { this.download( - "system/user/export", + "smartor/serviceSubtask/patItemExport", { ...this.topqueryParams, }, -- Gitblit v1.9.3