From d90b45d7e9e38e34c044b772006004f2a4cb8b8e Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 26 六月 2026 13:51:50 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/index.vue | 37 ++++++++++++++++++++++++++-----------
1 files changed, 26 insertions(+), 11 deletions(-)
diff --git a/src/views/patient/propaganda/index.vue b/src/views/patient/propaganda/index.vue
index 46575a2..1a2a831 100644
--- a/src/views/patient/propaganda/index.vue
+++ b/src/views/patient/propaganda/index.vue
@@ -37,7 +37,7 @@
placeholder="璇疯緭鍏ユ偅鑰呭鍚�"
></el-input>
</el-form-item>
- <el-form-item label="鎮h�呰寖鍥�" prop="status">
+ <!-- <el-form-item label="鎮h�呰寖鍥�" prop="status">
<el-select
v-model="topqueryParams.searchscope"
placeholder="璇烽�夋嫨鎮h�呰寖鍥�"
@@ -50,12 +50,14 @@
>
</el-option>
</el-select>
- </el-form-item>
+ </el-form-item> -->
<el-form-item label="鎮h�呰寖鍥�" prop="status">
<el-cascader
v-model="topqueryParams.scopetype"
placeholder="榛樿鍏ㄩ儴"
:options="sourcetype"
+ filterable
+ clearable
:props="{ expandTrigger: 'hover' }"
@change="handleChange"
></el-cascader>
@@ -98,16 +100,15 @@
</el-form>
<el-divider></el-divider>
<el-row :gutter="10" class="mb8">
- <el-col :span="1.5">
+ <!-- <el-col :span="1.5">
<el-button
type="primary"
- plain
icon="el-icon-plus"
size="medium"
@click="handleAdd"
>鏂板</el-button
>
- </el-col>
+ </el-col> -->
<el-col :span="1.5">
<div class="documentf">
<div class="document">
@@ -247,7 +248,7 @@
<el-table-column
label="鍑洪櫌鏃ユ湡"
- width="200"
+ width="146"
align="center"
key="endtime"
prop="endtime"
@@ -260,11 +261,11 @@
label="搴斿鏁欐棩鏈�"
width="200"
align="center"
- key="longSendTime"
- prop="longSendTime"
+ key="visitTime"
+ prop="visitTime"
>
<template slot-scope="scope">
- <span>{{ formatTime(scope.row.longSendTime) }}</span>
+ <span>{{ formatTime(scope.row.visitTime) }}</span>
</template></el-table-column
>
<el-table-column
@@ -752,8 +753,10 @@
pageNum: 1,
pageSize: 10,
serviceType: 4,
- searchscope: 2,
+ searchscope: 3,
sendstate: 2,
+ leaveldeptcodes: [],
+ leavehospitaldistrictcodes: [],
},
propss: { multiple: true },
options: [],
@@ -782,6 +785,10 @@
{
value: 6,
label: "宸插畬鎴�",
+ },
+ {
+ value: 7,
+ label: "瓒呮椂",
},
],
topicoptionsyj: [
@@ -832,7 +839,7 @@
methods: {
/** 鏌ヨ闂ㄨ瘖瀹f暀鏈嶅姟鍒楄〃 */
getList() {
- if (this.topqueryParams.searchscope == 3) {
+ if (this.topqueryParams.searchscope == 3) {
this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
(obj) => obj.deptCode
);
@@ -840,6 +847,8 @@
store.getters.belongWards.map((obj) => obj.districtCode);
}
this.loading = true;
+ console.log(this.topqueryParams.leavehospitaldistrictcodes,'123');
+ console.log(this.topqueryParams.leaveldeptcodes,'344');
if (
this.topqueryParams.leavehospitaldistrictcodes[0] &&
@@ -849,6 +858,12 @@
} else {
this.topqueryParams.deptOrDistrict = 1;
}
+ console.log(55);
+
+ if (!this.followupAuthority()) {
+ this.$message.warning("鏈厤缃瀹�/鐥呭尯鐩稿叧鏉冮檺涓嶅彲鏌ヨ");
+ return Promise.reject(new Error("鏃犳潈闄愭煡璇�"));
+ }
getTaskservelist(this.topqueryParams).then((response) => {
this.userList = response.rows[0].serviceSubtaskList;
this.userList.forEach((item) => {
--
Gitblit v1.9.3