From e8ef72dfe6fe0f6ffddd1d193462c7f1c839af7f Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Sun, 24 Nov 2024 22:52:28 +0800
Subject: [PATCH] pacs
---
src/components/doctorCheck/PacsDcmList.vue | 67 ++++++++++++++++------
1 file changed, 50 insertions(+), 17 deletions(-)
diff --git a/src/components/doctorCheck/PacsDcmList.vue b/src/components/doctorCheck/PacsDcmList.vue
index a049ba3..4f33231 100644
--- a/src/components/doctorCheck/PacsDcmList.vue
+++ b/src/components/doctorCheck/PacsDcmList.vue
@@ -25,9 +25,8 @@
-
+
-
@@ -41,6 +40,15 @@
+
+ 体检单位:
+
+
+ {{ item.displayName }}
+
+
+
@@ -112,8 +120,7 @@
检查结论:
-
+
@@ -152,7 +159,7 @@
:disabled="dataTransOpts.tableS.patient_register.completeFlag == '3'">选择描述
保存结果
-
+
@@ -180,7 +187,7 @@ export default {
CheckPictureUpload, PacsTemplate
},
data() {
- return {
+ return {
sysConfig: {}, //
pagePriv: {
routeUrlorPageName: 'doctorCheck', //当前页面归属路由或归属页面权限名称
@@ -193,7 +200,8 @@ export default {
startDate: "",
endDate: "",
maxResultCount: 1000,
- skipCount: 0
+ skipCount: 0,
+ customerOrgIds:[]
},
rClickRow: null, //右击的行
@@ -219,6 +227,7 @@ export default {
tabChoosed: "0",
tabPosition: "top", // 多个明细检查排列方式
+ customerOrg:[], // 单位
};
},
@@ -230,6 +239,16 @@ export default {
let LocalConfig = JSON.parse(window.localStorage.getItem("LocalConfig") || null)
if (LocalConfig && LocalConfig.doctorCheck && LocalConfig.doctorCheck.pacsType) this.pacsType = LocalConfig.doctorCheck.pacsType
// console.log('this.pacsType', this.pacsType,)
+ //获取单位列表
+ getapi("/api/app/customer-org/parent-all").then((res) => {
+ if (res.code != -1) {
+ this.customerOrgAll = res.data;
+ let lfind = arrayExistObj(this.customerOrgAll, "id", this.dict.personOrgId);
+ if (lfind > -1) this.customerOrgAll.splice(lfind, 1);
+ this.customerOrg = deepCopy(this.customerOrgAll);
+ }
+ });
+
},
//挂载完成
@@ -250,14 +269,13 @@ export default {
"dialogWin",
"dataTransOpts",
"doctorCheck",
- "patientRegister",
- "customerOrg"
+ "patientRegister"
]),
lmoment(date, forMat) {
return moment(new Date(date)).format(forMat);
},
tableHeight() {
- return this.window.pageHeight - 105 - 450 - 76
+ return this.window.pageHeight - 105 - 480 - 76
},
},
methods: {
@@ -359,6 +377,22 @@ export default {
});
},
+ filterMethod(keyWords) {
+ if (keyWords) {
+ this.customerOrg = [];
+ this.customerOrgAll.forEach((item) => {
+ if (
+ item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) > -1 ||
+ item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1
+ // || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1
+ ) {
+ this.customerOrg.push(item);
+ }
+ });
+ } else {
+ this.customerOrg = deepCopy(this.customerOrgAll);
+ }
+ },
btnQuery() {
let body = Object.assign({}, this.query)
@@ -370,13 +404,12 @@ export default {
}
// 0:普通检查; 1:检验; 2:特检; 3:放射
- if(this.pacsType == 'image'){
+ if (this.pacsType == 'image') {
body.checkTypeFlag = '2'
- }else{
+ } else {
body.checkTypeFlag = '3'
}
-
postapi('/api/app/PacsBusiness/GetPatientRegisterPacsCheck', body)
.then(res => {
if (res.code > -1) {
@@ -433,7 +466,7 @@ export default {
return false;
},
-
+
//删除小结
delSum(index) {
this.$confirm("此操作将删除该记录, 是否继续?", "提示", {
@@ -603,12 +636,12 @@ export default {
// 组合项目明细
this.doctorCheck.checkItemList = res.data.registerCheckItemDetails
- if(this.doctorCheck.checkItemList.length > 0){
+ if (this.doctorCheck.checkItemList.length > 0) {
this.tabChoosed = "0"
}
- if(this.doctorCheck.checkItemList.length > 3){
+ if (this.doctorCheck.checkItemList.length > 3) {
this.tabPosition = 'left'
- }else{
+ } else {
this.tabPosition = 'top'
}