pengjun 2 months ago
parent
commit
3439d98eb3
  1. 9
      src/components/common/LocalConfig.vue
  2. 4
      src/components/doctorCheck/CheckItemList.vue
  3. 3
      src/components/doctorCheck/CheckSumSug.vue
  4. 14
      src/components/sumDoctorCheck/SumAsbItemStatus.vue
  5. 18
      src/views/doctorCheck/doctorCheck.vue
  6. 36
      src/views/doctorCheck/sumDoctorCheck.vue

9
src/components/common/LocalConfig.vue

@ -110,6 +110,13 @@
</el-form-item>
</el-tooltip>
</el-col>
<el-col :span="6">
<el-form-item label="历史检查明细">
<el-input type="number" v-model="LocalConfig.doctorCheck.hisItemRight" size="small" >
<template slot="append">右边边距</template>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
@ -284,7 +291,7 @@ export default {
pacsDescLineH:'18', //
pacsDescFontSize: 14, //
isHaveExternal:'N', // pacs
hisItemRight:0, //
},
lisLab: {
specimens: [], // ID

4
src/components/doctorCheck/CheckItemList.vue

@ -57,7 +57,7 @@
</div>
<!--模拟弹窗-->
<div v-show="hisResultDetailDialogVisible"
:style="`z-index:2;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:0px;right:0px;width:200px;height: 600px;opacity:1;`">
:style="`z-index:2;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:0px;right:${LocalConfig.doctorCheck.hisItemRight}px;width:200px;height: 600px;opacity:1;`">
<div style="display: flex;justify-content:space-between;">
<div style="margin-left: 5px;">历次明细结果</div>
<div>
@ -265,6 +265,7 @@ export default {
isSelectAll: 'N', //
pacsDescFontSize: "14px", //
isSplitChooseResult: "Y", //
hisItemRight:0, //
}
},
@ -299,6 +300,7 @@ export default {
if (LocalConfig?.doctorCheck?.isSelectAll) this.LocalConfig.doctorCheck.isSelectAll = LocalConfig.doctorCheck.isSelectAll
if (LocalConfig?.doctorCheck?.pacsDescFontSize) this.LocalConfig.doctorCheck.pacsDescFontSize = LocalConfig.doctorCheck.pacsDescFontSize + 'px'
if (LocalConfig?.doctorCheck?.isSplitChooseResult) this.LocalConfig.doctorCheck.isSplitChooseResult = LocalConfig.doctorCheck.isSplitChooseResult
if (LocalConfig?.doctorCheck?.hisItemRight) this.LocalConfig.doctorCheck.hisItemRight = Number(LocalConfig.doctorCheck.hisItemRight)
},
//

3
src/components/doctorCheck/CheckSumSug.vue

@ -72,7 +72,8 @@
<thead>
<tr height="30">
<td class="tdCellClass">项目</td>
<td class="tdCellClass">{{ doctorCheck.preResult.checkDate || '结果' }}</td>
<!--有日期时特意居左不然人员列表将日期挡住了-->
<td class="tdCellClass" :style="`text-align: ${doctorCheck.preResult.checkDate ? 'left':'center'};`">{{ doctorCheck.preResult.checkDate || '结果' }}</td>
<td class="tdCellClass">参考范围</td>
<td class="tdCellClass">单位</td>
</tr>

14
src/components/sumDoctorCheck/SumAsbItemStatus.vue

@ -95,13 +95,13 @@ export default {
// }
// },
// sumDoctor.M
"dataTransOpts.refresh.sumDoctor.M": {
// immediate:true,
handler(newVal, oldVal) {
console.log(`watch 总检--检查状态汇总 newVal: ${newVal}, oldVal: ${oldVal} patientRegisterId: ${this.patientRegisterId}`);
if(newVal != oldVal && this.tabChoosed == '1') this.getSumAsbItemStatus(this.patientRegisterId);
}
},
// "dataTransOpts.refresh.sumDoctor.M": {
// // immediate:true,
// handler(newVal, oldVal) {
// console.log(`watch -- newVal: ${newVal}, oldVal: ${oldVal} patientRegisterId: ${this.patientRegisterId}`);
// if(newVal != oldVal && this.tabChoosed == '1') this.getSumAsbItemStatus(this.patientRegisterId);
// }
// },
//
"brushSummary": {

18
src/views/doctorCheck/doctorCheck.vue

@ -340,6 +340,7 @@ export default {
completeFlag: '2', //
historySummary: '', //
},
patient_registerInit:{}, //
LocalConfig: {
doctorCheck: { //
@ -451,6 +452,7 @@ export default {
},
created() {
this.patient_registerInit = Object.assign({},this.patient_register)
// console.log("this.$route.query", this.$route.query)
//
let userPriv = window.sessionStorage.getItem('userPriv')
@ -1509,7 +1511,21 @@ export default {
},
btnReset() {
location.reload()
// location.reload()
this.patient_register = Object.assign({},this.patient_registerInit)
this.refParamsQuery.id = ''
this.refParamsQuery.registerCheckId = ''
//
this.refParamsQuery.resetTimes++
//
// this.summaryList = []
// this.suggestionList = []
this.refParamsQuery.brushCheckList++
this.refParamsQuery.brushItemList++
},
// ()

36
src/views/doctorCheck/sumDoctorCheck.vue

@ -610,6 +610,7 @@ export default {
completeFlag: '2', //
historySummary: '', //
},
patient_registerInit:{}, //
//
summaryList: [],
@ -691,6 +692,8 @@ export default {
},
created() {
this.patient_registerInit = Object.assign({},this.patient_register)
if (this.$route.query.patient_register) {
this.patient_register = Object.assign({},this.$route.query.patient_register)
} else {
@ -1529,8 +1532,19 @@ export default {
//
btnReset() {
// location.reload()
this.patient_register.id = ''
this.patient_register = Object.assign({},this.patient_registerInit)
this.refParamsQuery.id = ''
//
this.refParamsQuery.resetTimes++
//
// this.summaryList = []
// this.suggestionList = []
this.refParamsQuery.brushSummary++
//
this.refParamsQuery.brushTimes++
},
@ -1803,6 +1817,7 @@ export default {
getHaveSumData(patientRegisterId) {
this.summaryList = [];
this.suggestionList = [];
if (!patientRegisterId) return
// console.log('getHaveSumData', this.patient_register.completeFlag)
@ -1885,13 +1900,12 @@ export default {
//
getHistorySummary(patientRegisterId, isGetExistData) {
//
if (this.history_summary_years_limit == '0') return
if (!patientRegisterId) {
this.patient_register.historySummary = '';
return
}
if (!patientRegisterId) return
let body = {
patientRegisterId,
@ -2724,7 +2738,19 @@ export default {
// immediate:true,
handler(newVal, oldVal) {
console.log(`watch 总检--综述建议refParamsQuery.brushSummary newVal: ${newVal}, oldVal: ${oldVal} patientRegisterId: ${this.refParamsQuery.id}`);
if (newVal != oldVal && this.tabChoosed == '1') this.getHaveSumData(this.refParamsQuery.id)
// if (newVal != oldVal && this.tabChoosed == '1')
if (newVal != oldVal) this.getHaveSumData(this.refParamsQuery.id)
}
},
//
"refParams.resetTimes": {
// immediate:true,
handler(newVal, oldVal) {
console.log(`watch.refParams.resetTimes newVal: ${newVal} oldVal: ${oldVal}`);
if(newVal && newVal != oldVal){
this.prBase = Object.assign({},this.prBase,this.prBaseInit)
}
}
},

Loading…
Cancel
Save