pengjun 2 weeks ago
parent
commit
fe70959734
  1. 4
      src/components/doctorCheck/CheckItemList.vue
  2. 4
      src/components/doctorCheck/CheckPicture.vue
  3. 12
      src/components/doctorCheck/CheckSumSug.vue
  4. 11
      src/components/doctorCheck/PatientRegisterBase.vue
  5. 5
      src/components/sumDoctorCheck/SumSug.vue

4
src/components/doctorCheck/CheckItemList.vue

@ -342,6 +342,7 @@ export default {
mounted() {
// Electron
if (this.$peisAPI) {
try {
//
this.$peisAPI.onContextMenuAction((data) => {
this.onContextMenuDIY(data)
@ -351,6 +352,9 @@ export default {
this.$peisAPI.onSerialData((data) => {
this.onSerialData(data)
});
} catch (error) {
console.error(error)
}
}
this.checkItemList(this.dataTransOpts.tableS.register_check.id);

4
src/components/doctorCheck/CheckPicture.vue

@ -277,6 +277,7 @@ export default {
mounted() {
// Electron
if (this.$peisAPI) {
try {
//--
this.$peisAPI.onEventFromPictureHotKeyMain((data) => {
this.acceptHotKeyData('add', data)
@ -301,6 +302,9 @@ export default {
this.$peisAPI.onEventFromPictureDeleteHotKeyMain(() => {
this.acceptHotKeyData('delete')
});
} catch (error) {
console.error(error)
}
}

12
src/components/doctorCheck/CheckSumSug.vue

@ -53,8 +53,9 @@
:disabled="doctorBtnDisabled('fnQueue')">排队</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '危急值')">
<el-button type="primary" class="btnClass" :style="[{minWidth: '40px'},{backgroundColor:(this.doctorCheck.RegisterCheckEdit.isCriticalValue=='Y'?'red':'')}]" @click="btnCritical"
:disabled="doctorBtnDisabled('btnCritical')">危急值</el-button>
<el-button type="primary" class="btnClass"
:style="[{ minWidth: '40px' }, { backgroundColor: (this.doctorCheck.RegisterCheckEdit.isCriticalValue == 'Y' ? 'red' : '') }]"
@click="btnCritical" :disabled="doctorBtnDisabled('btnCritical')">危急值</el-button>
</div>
</div>
<el-tabs v-model="activeName" tab-position="top" :style="`margin-left:2px;width:${sumWidth}px;`">
@ -99,8 +100,7 @@
</el-tab-pane>
<el-tab-pane label="建议" name="suggestion" v-if="doctor_check_disp_suggestion == 'Y'">
<div>
<div
:style="`display: flex;position: absolute;top:5px;right:5px;z-index: 1;`">
<div :style="`display: flex;position: absolute;top:5px;right:5px;z-index: 1;`">
<div v-show="checkPagePriv(pagePriv.privs, '新增建议')">
<el-button type="primary" class="btnClass" @click="addSuggestion"
:disabled="doctorBtnDisabled('addSuggestion')">新增建议</el-button>
@ -196,9 +196,13 @@ export default {
// Electron
if (this.$peisAPI) {
try {
this.$peisAPI.onContextMenuAction((data) => {
this.onContextMenuDIY(data)
});
} catch (error) {
console.error(error)
}
}
this.rowDrop();

11
src/components/doctorCheck/PatientRegisterBase.vue

@ -3,7 +3,8 @@
<div style="display: flex; flex-wrap: wrap;height:70px; width: 100%;overflow-y: auto;">
<div>
<span class="query">条码号</span>
<el-input ref="tmh" placeholder="条码号" v-model="prBase.patientRegisterNo" size="small" style="width: 120px;" clearable />
<el-input ref="tmh" placeholder="条码号" v-model="prBase.patientRegisterNo" size="small" style="width: 120px;"
clearable />
</div>
<div>
<span class="query">档案号</span>
@ -158,9 +159,13 @@ export default {
mounted() {
// Electron
if (this.$peisAPI) {
try {
this.$peisAPI.onContextMenuAction((data) => {
this.onContextMenuDIY(data)
});
} catch (error) {
console.error(error)
}
}
//
@ -209,7 +214,7 @@ export default {
postapi('/api/app/PatientRegister/GetPatientRegisterNoByCheckRequestNo', { checkRequestNo }).then(res => {
if (res.code > 0) {
this.prBase.patientRegisterNo = res.data.patientRegisterNo
this.onQueryByPatientRegisterNo()
this.onQueryByOnlyNo('patientRegisterNo')
}
})
},
@ -219,7 +224,7 @@ export default {
postapi('/api/app/PatientRegister/GetPatientRegisterNoByLisRequestNo', { lisRequestNo }).then(res => {
if (res.code > 0) {
this.prBase.patientRegisterNo = res.data.patientRegisterNo
this.onQueryByPatientRegisterNo()
this.onQueryByOnlyNo('patientRegisterNo')
}
})
},

5
src/components/sumDoctorCheck/SumSug.vue

@ -417,9 +417,13 @@ export default {
async mounted() {
// Electron
if (this.$peisAPI) {
try {
this.$peisAPI.onContextMenuAction((data) => {
this.onContextMenuDIY(data)
});
} catch (error) {
console.error(error)
}
}
// this.rowDrop();
@ -1644,6 +1648,7 @@ export default {
cursor: move;
background-color: #EEEEEE;
}
.moveTag2div {
margin-top: -5px;
}

Loading…
Cancel
Save