pengjun 2 months ago
parent
commit
d455a904d1
  1. 15
      src/components/doctorCheck/CheckPicture.vue
  2. 5
      src/views/doctorCheck/doctorCheck.vue

15
src/components/doctorCheck/CheckPicture.vue

@ -321,6 +321,21 @@ export default {
}
},
//
beforeDestroy(){
if (this.$peisAPI) {
try {
this.$peisAPI.removeAllListeners("event-from-picture-hot-key-main")
this.$peisAPI.removeAllListeners("event-from-picture-and-print-hot-key-main")
this.$peisAPI.removeAllListeners("event-from-picture-print-hot-key-main")
this.$peisAPI.removeAllListeners("event-from-picture-cancel-print-hot-key-main")
this.$peisAPI.removeAllListeners("event-from-picture-delete-hot-key-main")
} catch (error) {
console.error(error)
}
}
},
computed: {
...mapState([
"window",

5
src/views/doctorCheck/doctorCheck.vue

@ -339,6 +339,7 @@ export default {
sexId: '',
completeFlag: '2', //
historySummary: '', //
photo:'',
},
patient_registerInit:{}, //
@ -545,7 +546,7 @@ export default {
// ID
triggerQuery(rd) {
// console.log('triggerQuery.rd', rd)
console.log('triggerQuery.rd', rd)
this.patient_register = Object.assign({}, this.patient_register, rd)
this.refParamsQuery = Object.assign({}, this.refParamsQuery, rd,
{
@ -1670,7 +1671,7 @@ export default {
//()
watch: {
"patientRegister.photo": {
"patient_register.photo": {
immediate: true,
// deep:true,
handler(newVal, oldVal) {

Loading…
Cancel
Save