|
|
@ -8,15 +8,8 @@ |
|
|
<el-table-column type="index" width="50" label="序号" /> |
|
|
<el-table-column type="index" width="50" label="序号" /> |
|
|
<el-table-column prop="completeFlag" label="体检进度"> |
|
|
<el-table-column prop="completeFlag" label="体检进度"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
|
|
|
{{ |
|
|
|
|
|
ldddw( |
|
|
|
|
|
dict.completeFlag, |
|
|
|
|
|
"id", |
|
|
|
|
|
scope.row.completeFlag, |
|
|
|
|
|
"displayName" |
|
|
|
|
|
) |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
<div :style="`color: ${setPrStatusColor(scope.row.isAudit, scope.row.completeFlag)}`"> |
|
|
|
|
|
{{ dddw(dict.completeFlag,"id",scope.row.completeFlag,"displayName")}} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -28,20 +21,14 @@ |
|
|
<el-table-column prop="customerOrgParentName" label="单位" width="180"> |
|
|
<el-table-column prop="customerOrgParentName" label="单位" width="180"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ |
|
|
|
|
|
scope.row.customerOrgParentName |
|
|
|
|
|
? scope.row.customerOrgParentName |
|
|
|
|
|
: scope.row.customerOrgName |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
{{ scope.row.customerOrgParentName ? scope.row.customerOrgParentName : scope.row.customerOrgName }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="customerOrgName" label="部门" width="180"> |
|
|
<el-table-column prop="customerOrgName" label="部门" width="180"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ |
|
|
|
|
|
scope.row.customerOrgParentName ? scope.row.customerOrgName : "" |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
{{ scope.row.customerOrgParentName ? scope.row.customerOrgName : "" }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -49,7 +36,7 @@ |
|
|
<el-table-column prop="sexId" label="性别"> |
|
|
<el-table-column prop="sexId" label="性别"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ ldddw(dict.sex, "id", scope.row.sexId, "displayName") }} |
|
|
|
|
|
|
|
|
{{ dddw(dict.sex, "id", scope.row.sexId, "displayName") }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -62,33 +49,19 @@ |
|
|
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && |
|
|
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && |
|
|
scope.row.customerOrgId === dict.personOrgId |
|
|
scope.row.customerOrgId === dict.personOrgId |
|
|
"> |
|
|
"> |
|
|
{{ |
|
|
|
|
|
ldddw( |
|
|
|
|
|
dict.medicalPackage, |
|
|
|
|
|
"id", |
|
|
|
|
|
scope.row.medicalPackageId, |
|
|
|
|
|
"displayName" |
|
|
|
|
|
) |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
{{ dddw( dict.medicalPackage, "id", scope.row.medicalPackageId, "displayName" ) }} |
|
|
</div> |
|
|
</div> |
|
|
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && |
|
|
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && |
|
|
scope.row.customerOrgId !== dict.personOrgId |
|
|
scope.row.customerOrgId !== dict.personOrgId |
|
|
"> |
|
|
"> |
|
|
{{ |
|
|
|
|
|
ldddw( |
|
|
|
|
|
dict.customerOrgGroupAll, |
|
|
|
|
|
"id", |
|
|
|
|
|
scope.row.customerOrgGroupId, |
|
|
|
|
|
"displayName" |
|
|
|
|
|
) |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
{{ dddw( dict.customerOrgGroupAll, "id", scope.row.customerOrgGroupId, "displayName" ) }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="nationId" label="民族"> |
|
|
<el-table-column prop="nationId" label="民族"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ ldddw(dict.nation, "id", scope.row.nationId, "displayName") }} |
|
|
|
|
|
|
|
|
{{ dddw(dict.nation, "id", scope.row.nationId, "displayName") }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -109,42 +82,21 @@ |
|
|
<el-table-column prop="maritalStatusId" label="婚姻状况"> |
|
|
<el-table-column prop="maritalStatusId" label="婚姻状况"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ |
|
|
|
|
|
ldddw( |
|
|
|
|
|
dict.maritalStatus, |
|
|
|
|
|
"id", |
|
|
|
|
|
scope.row.maritalStatusId, |
|
|
|
|
|
"displayName" |
|
|
|
|
|
) |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
{{ dddw( dict.maritalStatus, "id", scope.row.maritalStatusId, "displayName" ) }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="medicalTypeId" label="体检类别"> |
|
|
<el-table-column prop="medicalTypeId" label="体检类别"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div v-if="scope.row.medicalTypeId !== dict.personOrgId"> |
|
|
<div v-if="scope.row.medicalTypeId !== dict.personOrgId"> |
|
|
{{ |
|
|
|
|
|
ldddw( |
|
|
|
|
|
dict.medicalType, |
|
|
|
|
|
"id", |
|
|
|
|
|
scope.row.medicalTypeId, |
|
|
|
|
|
"displayName" |
|
|
|
|
|
) |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
{{ dddw( dict.medicalType, "id", scope.row.medicalTypeId, "displayName" ) }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="personnelTypeId" label="人员类别"> |
|
|
<el-table-column prop="personnelTypeId" label="人员类别"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div v-if="scope.row.personnelTypeId !== dict.personOrgId"> |
|
|
<div v-if="scope.row.personnelTypeId !== dict.personOrgId"> |
|
|
{{ |
|
|
|
|
|
ldddw( |
|
|
|
|
|
dict.personnelType, |
|
|
|
|
|
"id", |
|
|
|
|
|
scope.row.personnelTypeId, |
|
|
|
|
|
"displayName" |
|
|
|
|
|
) |
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
{{ dddw( dict.personnelType, "id", scope.row.personnelTypeId, "displayName" ) }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -169,10 +121,7 @@ |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
</div> |
|
|
<div :style="'margin-left: 15px;width:' + |
|
|
|
|
|
Math.floor((window.pageWidth) / 2) + |
|
|
|
|
|
'px;' |
|
|
|
|
|
"> |
|
|
|
|
|
|
|
|
<div :style="'margin-left: 15px;width:' + Math.floor((window.pageWidth) / 2) + 'px;'"> |
|
|
<div style="display: flex; flex-wrap: wrap; height: 40px; width: 100%;background-color: #fff; |
|
|
<div style="display: flex; flex-wrap: wrap; height: 40px; width: 100%;background-color: #fff; |
|
|
border-radius: 8px;margin-bottom: 5px;align-items: center;"> |
|
|
border-radius: 8px;margin-bottom: 5px;align-items: center;"> |
|
|
<div class="query"> |
|
|
<div class="query"> |
|
|
@ -194,15 +143,16 @@ |
|
|
<el-table :data="doctorCheck.RegisterCheckList" |
|
|
<el-table :data="doctorCheck.RegisterCheckList" |
|
|
:height="window.pageHeight < 600 ? 310 : window.pageHeight - 291" highlight-current-row size="small" |
|
|
:height="window.pageHeight < 600 ? 310 : window.pageHeight - 291" highlight-current-row size="small" |
|
|
@selection-change="handleSelectionChange"> |
|
|
@selection-change="handleSelectionChange"> |
|
|
<el-table-column type="selection" width="40" /> |
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="40" align="center" /> |
|
|
<el-table-column prop="asbitemName" label="组合项目" width="180" /> |
|
|
<el-table-column prop="asbitemName" label="组合项目" width="180" /> |
|
|
<el-table-column label="弃检" width="80"> |
|
|
|
|
|
|
|
|
<el-table-column label="状态" width="80" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-checkbox :value="scope.row.completeFlag == '2'"></el-checkbox> |
|
|
|
|
|
|
|
|
<div :style="`color: ${setCheckStatusColor(scope.row.completeFlag)};`">{{ dddw(dict.checkCompleteFlag, |
|
|
|
|
|
'id', scope.row.completeFlag, 'displayName') }}</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="lastModifierName" label="操作员" width="100" /> |
|
|
|
|
|
<el-table-column prop="lastModificationTime" label="操作时间" width="180"> |
|
|
|
|
|
|
|
|
<el-table-column prop="lastModifierName" label="操作员" width="100" align="center" /> |
|
|
|
|
|
<el-table-column prop="lastModificationTime" label="操作时间" width="140" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<div> |
|
|
<div> |
|
|
{{ |
|
|
{{ |
|
|
@ -229,7 +179,7 @@ |
|
|
import moment from "moment"; |
|
|
import moment from "moment"; |
|
|
import { mapState, mapActions } from "vuex"; |
|
|
import { mapState, mapActions } from "vuex"; |
|
|
import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
import { dddw, objCopy, arrayReduce } from "@/utlis/proFunc"; |
|
|
|
|
|
|
|
|
import { dddw, objCopy, arrayReduce, setCheckStatusColor, setPrStatusColor} from "@/utlis/proFunc"; |
|
|
|
|
|
|
|
|
import PatientRegisterEdit from "../../components/patientRegister/PatientRegisterEdit.vue"; |
|
|
import PatientRegisterEdit from "../../components/patientRegister/PatientRegisterEdit.vue"; |
|
|
import Camera from "../../components/patientRegister/Camera.vue"; |
|
|
import Camera from "../../components/patientRegister/Camera.vue"; |
|
|
@ -255,7 +205,10 @@ export default { |
|
|
created() { }, |
|
|
created() { }, |
|
|
|
|
|
|
|
|
//挂载完成 |
|
|
//挂载完成 |
|
|
mounted() { }, |
|
|
|
|
|
|
|
|
mounted() { |
|
|
|
|
|
this.dataList = [] |
|
|
|
|
|
this.doctorCheck.RegisterCheckList = [] |
|
|
|
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
...mapState([ |
|
|
...mapState([ |
|
|
"window", |
|
|
"window", |
|
|
@ -266,7 +219,7 @@ export default { |
|
|
]), |
|
|
]), |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
...mapActions(["getCustomerOrgGroup", "getPatientRegisterAbs"]), |
|
|
|
|
|
|
|
|
...mapActions(["getCustomerOrgGroup", "getPatientRegisterAbs"]), dddw, setCheckStatusColor,setPrStatusColor, |
|
|
|
|
|
|
|
|
rowClick(row) { |
|
|
rowClick(row) { |
|
|
objCopy(row, this.quick); |
|
|
objCopy(row, this.quick); |
|
|
@ -436,10 +389,7 @@ export default { |
|
|
this.resuseCore(body); |
|
|
this.resuseCore(body); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
ldddw(arrayData, key, value, display) { |
|
|
|
|
|
return dddw(arrayData, key, value, display); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lmoment(date, forMat) { |
|
|
lmoment(date, forMat) { |
|
|
return moment(new Date(date)).format(forMat); |
|
|
return moment(new Date(date)).format(forMat); |
|
|
}, |
|
|
}, |
|
|
@ -496,7 +446,8 @@ export default { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
console.log("/api/app/patientregister/getlistinfilter", body); |
|
|
console.log("/api/app/patientregister/getlistinfilter", body); |
|
|
|
|
|
|
|
|
|
|
|
this.dataList = [] |
|
|
|
|
|
this.doctorCheck.RegisterCheckList = [] |
|
|
postapi("/api/app/patientregister/getlistinfilter", body) |
|
|
postapi("/api/app/patientregister/getlistinfilter", body) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
if (res.code > -1) { |
|
|
if (res.code > -1) { |
|
|
|