From a5cba9ab040f6f97558046885dce3017f9bab7e9 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 11 八月 2026 14:12:29 +0800
Subject: [PATCH] 提交
---
src/views/patient/patient/behospitalized.vue | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 55 insertions(+), 4 deletions(-)
diff --git a/src/views/patient/patient/behospitalized.vue b/src/views/patient/patient/behospitalized.vue
index f17a2ee..81b612d 100644
--- a/src/views/patient/patient/behospitalized.vue
+++ b/src/views/patient/patient/behospitalized.vue
@@ -49,6 +49,8 @@
v-model="queryParams.scopetype"
placeholder="榛樿鍏ㄩ儴绉戝"
:options="sourcetype"
+ filterable
+ clearable
:props="{ expandTrigger: 'hover' }"
@change="handleChange"
></el-cascader>
@@ -108,6 +110,18 @@
>
娣诲姞寤剁画鎶ょ悊浠诲姟
</el-button>
+ </el-col>
+ <el-col :span="1.5">
+ <el-button
+ type="success"
+ plain
+ icon="el-icon-folder-add"
+ size="medium"
+ :disabled="multiple"
+ @click="handleCreateArchive"
+ >
+ 鎮h�呭缓妗�</el-button
+ >
</el-col>
<el-col :span="1.5">
<el-button
@@ -174,7 +188,7 @@
scope.row.idcardno,
scope.row.drcode,
scope.row.drname,
- scope.row.patid,
+ scope.row.patid
)
"
><span class="button-textsc">{{
@@ -542,6 +556,13 @@
<el-button @click="submitclose">鍙� 娑�</el-button>
</div>
</el-dialog>
+
+ <!-- 鎮h�呭缓妗e脊绐� -->
+ <ArchiveDialog
+ :visible.sync="archiveDialogVisible"
+ :patients="archivePatients"
+ source-page="inpatient"
+ />
</div>
</template>
@@ -565,14 +586,20 @@
import Treeselect from "@riophae/vue-treeselect";
import { listDept } from "@/api/system/dept";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
-import { query360PatInfo,query360PatInfonh, getTasklist, addSubtask } from "@/api/AiCentre/index";
+import {
+ query360PatInfo,
+ query360PatInfonh,
+ getTasklist,
+ addSubtask,
+} from "@/api/AiCentre/index";
import store from "@/store";
+import ArchiveDialog from "@/views/patient/archives/components/ArchiveDialog.vue";
export default {
name: "behospitalized",
dicts: ["sys_normal_disable", "sys_user_sex", "nursinggrade"],
- components: { Treeselect },
+ components: { Treeselect, ArchiveDialog },
data() {
return {
// 閬僵灞�
@@ -606,6 +633,9 @@
taskList: [], // 浠诲姟鍒楄〃
selectedTask: null, // 閫変腑鐨勪换鍔�
batchLoading: false, // 鎵归噺鎻愪氦鍔犺浇鐘舵��
+ // 鎮h�呭缓妗�
+ archiveDialogVisible: false,
+ archivePatients: [],
// 鏃ユ湡鑼冨洿
dateRange: [],
paperstypes: [
@@ -628,6 +658,8 @@
label: "鐥呭尯鎮h��",
},
],
+ orgName: localStorage.getItem("orgname"),
+
postData: {
XiaoXiTou: {
FaSongFCSJC: "ZJHES",
@@ -891,7 +923,12 @@
pageSize: 100, // 璁剧疆杈冨ぇ鐨勫垎椤佃幏鍙栨洿澶氫换鍔�
type: 2, // 寤剁画鎶ょ悊浠诲姟绫诲瀷
};
-
+ topqueryParams.deptcodes = store.getters.belongDepts.map(
+ (obj) => obj.deptCode
+ );
+ topqueryParams.hospitaldistrictcodes = store.getters.belongWards.map(
+ (obj) => obj.districtCode
+ );
getTasklist(topqueryParams)
.then((response) => {
this.taskList = response.rows;
@@ -981,6 +1018,9 @@
}
this.batchTaskVisible = false;
+ this.$router.push({
+ path: "/followvisit/Continue",
+ });
this.getList(); // 鍒锋柊鎮h�呭垪琛�
} catch (error) {
this.$modal.msgError("鎵归噺娣诲姞浠诲姟杩囩▼涓嚭閿欙細" + error.message);
@@ -1208,6 +1248,17 @@
this.upload.open = false;
this.dractive = 1;
},
+ /** 鎮h�呭缓妗� */
+ handleCreateArchive() {
+ if (this.ids.length === 0) {
+ this.$modal.msgWarning("璇疯嚦灏戦�変腑1鍚嶆偅鑰�");
+ return;
+ }
+ this.archivePatients = this.userList.filter((item) =>
+ this.ids.includes(item.patid)
+ );
+ this.archiveDialogVisible = true;
+ },
},
};
</script>
--
Gitblit v1.9.3