From 0c7cc21d8a51e164dd2fe4ce73ab566b3a9081a9 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 26 三月 2026 10:25:05 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/again/index.vue | 53 +++++++++++++++++++++++++++++++----------------------
1 files changed, 31 insertions(+), 22 deletions(-)
diff --git a/src/views/followvisit/again/index.vue b/src/views/followvisit/again/index.vue
index a6aed6b..b045ccf 100644
--- a/src/views/followvisit/again/index.vue
+++ b/src/views/followvisit/again/index.vue
@@ -325,9 +325,14 @@
>鍙戦�佸け璐�</el-tag
>
</div>
- <div v-if="scope.row.sendstate == 6">
+ <div v-if="scope.row.sendstate == 6">
<el-tag type="success" :disable-transitions="false"
>宸插畬鎴�</el-tag
+ >
+ </div>
+ <div v-if="scope.row.sendstate == 7">
+ <el-tag type="danger" :disable-transitions="false"
+ >瓒呮椂</el-tag
>
</div>
</el-tooltip>
@@ -382,11 +387,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
@@ -1003,7 +1008,7 @@
visitCount: 2,
scopetype: [],
visitDeptCodes: [],
- leaveldeptcodes:[],
+ // leaveldeptcodes:[],
leavehospitaldistrictcodes: [],
},
propss: { multiple: true },
@@ -1030,13 +1035,17 @@
value: 4,
label: "涓嶆墽琛�",
},
- {
+ {
value: 5,
label: "鍙戦�佸け璐�",
},
{
value: 6,
label: "宸插畬鎴�",
+ },
+ {
+ value: 7,
+ label: "瓒呮椂",
},
],
sextype: [
@@ -1142,9 +1151,9 @@
this.topqueryParams.visitDeptCodes = store.getters.belongDepts.map(
(obj) => obj.deptCode
);
- this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
- (obj) => obj.deptCode
- );
+ // this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
+ // (obj) => obj.deptCode
+ // );
this.topqueryParams.leavehospitaldistrictcodes =
store.getters.belongWards.map((obj) => obj.districtCode);
}
@@ -1158,9 +1167,9 @@
this.loading = true;
if (
this.topqueryParams.leavehospitaldistrictcodes[0] &&
- this.topqueryParams.visitDeptCodes[0]&&this.topqueryParams.leaveldeptcodes[0]
+ this.topqueryParams.visitDeptCodes[0]
) {
- this.topqueryParams.deptOrDistrict = 2;
+ this.topqueryParams.deptOrDistrict = 4;
} else {
this.topqueryParams.deptOrDistrict = 1;
}
@@ -1223,9 +1232,9 @@
this.topqueryParams.visitDeptCodes = store.getters.belongDepts.map(
(obj) => obj.deptCode
);
- this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
- (obj) => obj.deptCode
- );
+ // this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
+ // (obj) => obj.deptCode
+ // );
this.topqueryParams.leavehospitaldistrictcodes =
store.getters.belongWards.map((obj) => obj.districtCode);
}
@@ -1242,7 +1251,7 @@
this.topqueryParams.leavehospitaldistrictcodes,
sendstates: [2, 3],
visitDeptCodes: this.topqueryParams.visitDeptCodes,
- leaveldeptcodes: this.topqueryParams.leaveldeptcodes,
+ // leaveldeptcodes: this.topqueryParams.leaveldeptcodes,
};
buidegetTasklist(obj).then((response) => {
this.userList = response.rows[0].serviceSubtaskList;
@@ -1342,9 +1351,9 @@
this.topqueryParams.visitDeptCodes = store.getters.belongDepts.map(
(obj) => obj.deptCode
);
- this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
- (obj) => obj.deptCode
- );
+ // this.topqueryParams.leaveldeptcodes = store.getters.belongDepts.map(
+ // (obj) => obj.deptCode
+ // );
this.topqueryParams.leavehospitaldistrictcodes =
store.getters.belongWards.map((obj) => obj.districtCode);
}
@@ -1362,16 +1371,16 @@
let code = value.slice(-1)[0];
this.topqueryParams.leavehospitaldistrictcodes = [];
this.topqueryParams.visitDeptCodes = [];
- this.topqueryParams.leaveldeptcodes = [];
+ // this.topqueryParams.leaveldeptcodes = [];
if (type == 1) {
this.topqueryParams.visitDeptCodes.push(code);
- this.topqueryParams.leaveldeptcodes.push(code);
+ // this.topqueryParams.leaveldeptcodes.push(code);
this.topqueryParams.leavehospitaldistrictcodes = [];
this.topqueryParams.searchscope = 1;
} else if (type == 2) {
this.topqueryParams.leavehospitaldistrictcodes.push(code);
this.topqueryParams.visitDeptCodes = [];
- this.topqueryParams.leaveldeptcodes = [];
+ // this.topqueryParams.leaveldeptcodes = [];
this.topqueryParams.searchscope = 2;
} else {
this.topqueryParams.searchscope = 3;
@@ -1391,7 +1400,7 @@
visitCount: 2,
scopetype: [],
visitDeptCodes: [],
- leaveldeptcodes:[],
+ // leaveldeptcodes:[],
leavehospitaldistrictcodes: [],
};
this.handleQuery(1);
--
Gitblit v1.9.3