@@ -35,14 +36,7 @@
dragCol[index].prop == 'isUploadAppoint' ||
dragCol[index].prop == 'isReceiveReport'
">
-
-
-
- {{ scope.row.medicalPackageName || scope.row.customerOrgGroupName }}
-
-
- {{ scope.row.customerOrgName == scope.row.departmentName ? '' : scope.row.departmentName }}
+
{{ scope.row[dragCol[index].prop] }}
@@ -112,10 +106,10 @@ export default {
{ label: "序号", prop: "sn", minWidth: 40, align: "center" },
{ label: "打印", prop: "isReportPrint", minWidth: 60, align: "center" },
{ label: "领取", prop: "isReceiveReport", minWidth: 60, align: "center" },
- { label: "体检进度", prop: "completeFlag", minWidth: 90, align: "center" },
- { label: "体检日期", prop: "medicalStartDate", minWidth: 100, align: "center" },
- { label: "单位名称", prop: "customerOrgName", minWidth: 180, align: "left", showTooltip: true },
- { label: "部门名称", prop: "departmentName", minWidth: 150, align: "left", showTooltip: true },
+ { label: "体检进度", prop: "completeFlag", minWidth: 90, align: "center" },
+ { label: "体检日期", prop: "medicalStartDate", minWidth: 100, align: "center" },
+ { label: "单位名称", prop: "org", minWidth: 180, align: "left", showTooltip: true },
+ { label: "部门名称", prop: "dept", minWidth: 150, align: "left", showTooltip: true },
{ label: "姓名", prop: "patientName", minWidth: 60, align: "center" },
{ label: "性别", prop: "sexName", minWidth: 60, align: "center" },
{ label: "年龄", prop: "age", minWidth: 60, align: "center" },
@@ -125,11 +119,11 @@ export default {
{ label: "档案号", prop: "patientNo", minWidth: 80, align: "center" },
{ label: "次数", prop: "medicalTimes", minWidth: 60, align: "center" },
{ label: "备注", prop: "remark", minWidth: 150, align: "left" },
- { label: "分组/套餐", prop: "packGroup", minWidth: 150, align: "center" },
+ { label: "分组/套餐", prop: "groupPack", minWidth: 150, align: "center" },
{ label: "手机", prop: "mobileTelephone", minWidth: 130, align: "center" },
{ label: "电话", prop: "telephone", minWidth: 130, align: "center" },
{ label: "出生日期", prop: "birthDate", minWidth: 90, align: "center" },
- { label: "婚姻", prop: "maritalStatusName", minWidth: 70, align: "center" },
+ { label: "婚姻", prop: "maritalStatusName", minWidth: 70, align: "center" },
{ label: "地址", prop: "address", minWidth: 400, align: "left", showTooltip: true },
{ label: "体检卡号", prop: "medicalCardNo", minWidth: 90, align: "center" },
{ label: "工卡号", prop: "jobCardNo", minWidth: 90, align: "center" },
@@ -278,12 +272,12 @@ export default {
//取消领取报告
items.push({
- label:'取消领取报告',
- onClick: () => {
- this.canselGetReport();
+ label: '取消领取报告',
+ onClick: () => {
+ this.canselGetReport();
}
})
-
+
// 右击菜单显示
this.$contextmenu({
items,
@@ -295,7 +289,7 @@ export default {
minWidth: 80,
});
-
+
return false;
},
@@ -404,15 +398,23 @@ export default {
postapi('/api/app/patientregister/getlistinfilter', body)
.then((res) => {
if (res.code != -1) {
- this.patientRegister.prList = res.data.items;
+ this.patientRegister.prList = this.prListTrans(res.data.items);
}
})
- // try {
- // let res =await postapi('/api/app/patientregister/getlistinfilter', body);
- // this.patientRegister.prList = res.data;
- // } catch (error) {
- // console.log("query error",error);
- // }
+ },
+
+ // 显示数据转换
+ prListTrans(items) {
+ let arr = []
+ if (Array.isArray(items) && items.length > 0) {
+ arr = items
+ arr.forEach(e => {
+ e.groupPack = e.medicalPackageName || e.customerOrgGroupName
+ e.org = e.customerOrgName || e.departmentName
+ e.dept = e.customerOrgName == e.departmentName ? '' : e.departmentName
+ });
+ }
+ return arr
},
// 报告查询
@@ -488,13 +490,13 @@ export default {
if (this.patientRegister.query.isSeries == 'Y' && this.patientRegister.query.patientRegisterNo) {
if (this.dataTransOpts.tableM.patient_register.length == 0) {
- this.patientRegister.prList = res.data.items
+ this.patientRegister.prList = this.prListTrans(res.data.items)
// this.dataTransOpts.tableM.patient_register = res.data.items
} else {
// console.log('isSeries',this.patientRegister.prList,res.data.items[0].patientRegisterId)
// console.log('isSeries',arrayExistObj(this.patientRegister.prList,'patientRegisterId',res.data.items[0].patientRegisterId))
if (res.data.items.length > 0 && arrayExistObj(this.patientRegister.prList, 'patientRegisterId', res.data.items[0].patientRegisterId) == -1) {
- this.patientRegister.prList = this.patientRegister.prList.concat(res.data.items)
+ this.patientRegister.prList = this.patientRegister.prList.concat(this.prListTrans(res.data.items))
// this.dataTransOpts.tableM.patient_register.push(res.data.items[0])
}
}
@@ -522,7 +524,7 @@ export default {
if (body.skipCount == 0) { //查询
this.patientRegister.prList = [];
}
- this.patientRegister.prList = this.patientRegister.prList.concat(res.data.items)
+ this.patientRegister.prList = this.patientRegister.prList.concat(this.prListTrans(res.data.items))
if (body.skipCount == 0 && this.patientRegister.prList.length > 0) {
this.rowClick(this.patientRegister.prList[0])
diff --git a/src/components/sumDoctorCheck/SumSug.vue b/src/components/sumDoctorCheck/SumSug.vue
index c23981f..9b62417 100644
--- a/src/components/sumDoctorCheck/SumSug.vue
+++ b/src/components/sumDoctorCheck/SumSug.vue
@@ -3,13 +3,13 @@
+ :style="`position: absolute; top: 0px; left: ${dragging.sugWidthLeft - 110}px; display: flex;z-index: 3;`">
新增综述
-
-
+
+
@@ -257,20 +258,7 @@
-
-
-
-
-
-
- {{ scope.$index + 1 }}
-
-
-
-
-
-
+