pengjun 2 weeks ago
parent
commit
de94c50b56
  1. 3
      src/components/customerOrg/customerOrgEdit.vue
  2. 31
      src/components/doctorCheck/PatientRegisterList.vue
  3. 60
      src/components/sumDoctorCheck/CheckDetails.vue

3
src/components/customerOrg/customerOrgEdit.vue

@ -484,6 +484,9 @@ export default {
body.parentId = null;
}
}
if(!body.medicalTypeId) delete body.medicalTypeId;
if(!body.personnelTypeId) delete body.personnelTypeId;
console.log("body", body, "this.form", this.form);

31
src/components/doctorCheck/PatientRegisterList.vue

@ -35,13 +35,21 @@
<el-option v-for="item in dict.medicalType" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select>
</div>
<div class="query">
<span>{{ win == 'doctorCheck' ? '检查' : '总检' }}医生</span>
<div v-if="win == 'doctorCheck'" class="query">
<span>检查医生</span>
<el-select v-model="local.query.checkDoctorIds" placeholder="请选择医生" size="small" filterable clearable
style="width:207px;text-align: left;" multiple collapse-tags>
<el-option v-for="item in users" :key="item.id" :value="item.id" :label="item.surname" />
</el-select>
</div>
<div v-else class="query">
<span>总检医生</span>
<el-select v-model="local.query.summaryDoctorIds" placeholder="请选择医生" size="small" filterable clearable
style="width:207px;text-align: left;" multiple collapse-tags>
<el-option v-for="item in users" :key="item.id" :value="item.id" :label="item.surname" />
</el-select>
</div>
<div class="query">
<span>人员状态</span>
<el-select v-model="local.query.completeFlag" placeholder="请选择" clearable style="width: 80px" size="small">
@ -186,9 +194,9 @@
<div>{{ scope.row.isLock == "Y" ? "是" : "否" }}</div>
</template>
</el-table-column>
<el-table-column prop="summaryDoctorName" label="总检医生" sortable>
<el-table-column prop="summaryDoctorName" label="总检医生" sortable align="center">
</el-table-column>
<el-table-column prop="auditDoctorName" label="审核医生" sortable>
<el-table-column prop="auditDoctorName" label="审核医生" sortable align="center">
</el-table-column>
</el-table>
<div style="display: flex;justify-content:space-between;">
@ -250,7 +258,7 @@ export default {
isAuditCheck: '', //
medicalTypeIds: [],
checkDoctorIds: [],
summaryDoctorIds:[],
},
completeFlag: []
},
@ -357,7 +365,7 @@ export default {
//
let operatorTypes = ["2", "3"]
let operatorTypes = ["2", "3"] //
if (this.win == 'doctorCheck') operatorTypes = ["1", "3"]
postapi('/api/identity/users/GetListByOperatorType', { operatorTypes })
.then(res => {
@ -514,8 +522,15 @@ export default {
if (this.local.query.haveImage) body.isPicture = 'Y'
if (this.local.query.checkCompleteFlag) body.asbitemCompleteFlag = this.local.query.checkCompleteFlag
if (this.local.query.isAuditCheck) body.asbitemIsAudit = this.local.query.isAuditCheck
body.medicalTypeIds = this.local.query.medicalTypeIds
body.checkDoctorIds = this.local.query.checkDoctorIds
if(Array.isArray(this.local.query.medicalTypeIds) && this.local.query.medicalTypeIds.length > 0){
body.medicalTypeIds = this.local.query.medicalTypeIds
}
if(Array.isArray(this.local.query.checkDoctorIds) && this.local.query.checkDoctorIds.length > 0){
body.checkDoctorIds = this.local.query.checkDoctorIds
}
if(Array.isArray(this.local.query.summaryDoctorIds) && this.local.query.summaryDoctorIds.length > 0){
body.summaryDoctorIds = this.local.query.summaryDoctorIds
}
body.isFilterPreRegistration = 'Y' // Y= N= N (CompleteFlag0null)
// "patientName": "string",

60
src/components/sumDoctorCheck/CheckDetails.vue

@ -1,5 +1,49 @@
<template>
<div style="display: flex;width:100%;">
<div v-if="details_disp_mode=='0'" :style="'overflow: scroll;width:100%;height:' + divHeight + 'px;'">
<table width="100%" style="font-size:14px;">
<tbody v-for="(item, index) of tableData" :key="index">
<tr height="30">
<td style="text-align: center;font-weight: bolder;">{{ item.itemTypeName }}</td>
</tr>
<tr>
<table v-for="(item2, index2) in item.asbitems" :key="index + '-' + index2" width="100%" border="1"
cellspacing="0" bordercolor="#909399" style="border-collapse:collapse;">
<tr height="24" >
<td width="200" class="tdCellClass">{{ item2.asbitemNames }}</td>
<td width="604" class="tdCellClass" colspan="7">{{ '检查日期:' + item2.checkDate.substring(0, 10) + ' 检查医生:' + item2.checkDoctorName
}}</td>
</tr>
<tr style="text-align: center;" height="24">
<td width="200">项目</td>
<td width="270">本次结果</td>
<td width="270">上次结果</td>
<td width="270">上上次结果</td>
<td width="100">参考值</td>
<td width="100">警告参考值</td>
<td width="80">单位</td>
<td width="50">提示</td>
</tr>
<tr height="24" v-for="(item3, index3) in item2.items" :key="index + '-' + index2 + '-' + index3">
<td class="tdCellClass">{{ item3.itemName }}</td>
<td :style="`color: ${getColorStr(item3.reportFontColor)};`" class="tdCellClass">{{ item3.itemResult }}</td>
<td :style="`color: ${getColorStr(item3.previousReportFontColor)};`" class="tdCellClass">{{ item3.previousItemResult }}</td>
<td :style="`color: ${getColorStr(item3.previousTwoReportFontColor)};`" class="tdCellClass">{{ item3.previousTwoItemResult }}</td>
<td align="center" class="tdCellClass">{{ item3.referenceRangeValue }}</td>
<td align="center" class="tdCellClass">{{ item3.criticalRangeValue }}</td>
<td align="center" class="tdCellClass">{{ item3.unit }}</td>
<td align="center" class="tdCellClass">{{ item3.resultStatusName }}</td>
</tr>
<tr height="24">
<td colspan="8" class="tdCellClass" v-html="`小结:${mergeSummarys(item2.summarys, 'summary')}`"></td>
</tr>
</table>
</tr>
</tbody>
</table>
</div>
<div v-else style="display: flex;width:100%;">
<div style="width:180;">
<el-table :data="RegisterCheckList" width="180" :height="divHeight" border highlight-current-row
@row-click="rowClick" ref="registerCheckList">
@ -64,11 +108,21 @@ export default {
return {
tableData: [],
RegisterCheckList: [],
details: []
details: [],
details_disp_mode:'0', // 0 1
};
},
created() { },
created() {
// ( 0 1 )
postapi('/api/app/SysParmValue/GetSysParmValueBySysParmId', { sysParmId: 'details_disp_mode' })
.then(res => {
if (res.code > -1) {
this.details_disp_mode = res.data || "0"
}
})
},
//
mounted() {

Loading…
Cancel
Save