Browse Source

门诊病历表单权限修改

x-emr
bianyaqi 2 years ago
parent
commit
09d4aba30d
  1. 67
      src/components/360View/medicalRecord/index.vue
  2. 31
      src/page-subspecialty/views/modules/formList/DrugInjection.vue
  3. 31
      src/page-subspecialty/views/modules/formList/InformedConsent.vue
  4. 31
      src/page-subspecialty/views/modules/formList/InjectionTherapy.vue
  5. 34
      src/page-subspecialty/views/modules/formList/Lacrimal.vue
  6. 31
      src/page-subspecialty/views/modules/formList/MinorOperation.vue
  7. 31
      src/page-subspecialty/views/modules/formList/StyeForm.vue
  8. 31
      src/page-subspecialty/views/modules/formList/childrenLacrimal.vue
  9. 33
      src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue
  10. 31
      src/page-subspecialty/views/modules/formList/cornealForeign.vue
  11. 35
      src/page-subspecialty/views/modules/formList/laserSurgery.vue
  12. 31
      src/page-subspecialty/views/modules/formList/mraForm.vue
  13. 35
      src/page-subspecialty/views/modules/formList/mraOrder.vue
  14. 35
      src/page-subspecialty/views/modules/formList/puncture.vue
  15. 34
      src/page-subspecialty/views/modules/formList/reportForm.vue

67
src/components/360View/medicalRecord/index.vue

@ -36,7 +36,9 @@
v-if="name==='眼科激光手术患者知情同意书'" v-if="name==='眼科激光手术患者知情同意书'"
ref="informedConsent" ref="informedConsent"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-creator="isCreator"
:creator="creator"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
@ -48,9 +50,11 @@
ref="mraOrder" ref="mraOrder"
:is-dev="isDev" :is-dev="isDev"
:patient-detail="patientData" :patient-detail="patientData"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -58,10 +62,12 @@
v-if="name==='眼底血管造影知情同意书'" v-if="name==='眼底血管造影知情同意书'"
ref="mraForm" ref="mraForm"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -69,20 +75,24 @@
v-if="name==='眼科激光手术治疗'" v-if="name==='眼科激光手术治疗'"
ref="laserSurgery" ref="laserSurgery"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
<report-form <report-form
v-if="name==='睑板腺按摩'" v-if="name==='睑板腺按摩'"
ref="reportForm" ref="reportForm"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -90,10 +100,12 @@
v-if="name==='干眼手术知情同意书'" v-if="name==='干眼手术知情同意书'"
ref="minorOperation" ref="minorOperation"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="saveFormData" @handleSaveTable="saveFormData"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -101,20 +113,24 @@
v-if="name==='麦粒肿、霰粒肿、肉芽肿、眼睑肿物手术知情同意书'" v-if="name==='麦粒肿、霰粒肿、肉芽肿、眼睑肿物手术知情同意书'"
ref="styeForm" ref="styeForm"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="saveFormData" @handleSaveTable="saveFormData"
@formDelete="formDelete" @formDelete="formDelete"
/> />
<Lacrimal <Lacrimal
v-if="name==='泪道冲洗'" v-if="name==='泪道冲洗'"
ref="lacrimal" ref="lacrimal"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="saveFormData" @handleSaveTable="saveFormData"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -122,10 +138,12 @@
v-if="name==='球旁注射同意书'" v-if="name==='球旁注射同意书'"
ref="injectionTherapy" ref="injectionTherapy"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="saveFormData" @handleSaveTable="saveFormData"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -133,10 +151,12 @@
v-if="name==='药物注射手术知情同意书'" v-if="name==='药物注射手术知情同意书'"
ref="drugInjection" ref="drugInjection"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="saveFormData" @handleSaveTable="saveFormData"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -144,10 +164,12 @@
v-if="name==='小儿泪道冲洗知情同意书'" v-if="name==='小儿泪道冲洗知情同意书'"
ref="childrenLacrimal" ref="childrenLacrimal"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -155,10 +177,12 @@
v-if="name==='干眼激光治疗知情同意书'" v-if="name==='干眼激光治疗知情同意书'"
ref="conjunctival" ref="conjunctival"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -166,10 +190,12 @@
v-if="name==='角膜异物剔除术知情同意书'" v-if="name==='角膜异物剔除术知情同意书'"
ref="cornealForeign" ref="cornealForeign"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -177,10 +203,12 @@
v-if="name==='前房穿刺知情同意书'" v-if="name==='前房穿刺知情同意书'"
ref="puncture" ref="puncture"
:is-dev="isDev" :is-dev="isDev"
:only-read="onlyRead || !isCreator"
:only-read="onlyRead"
:is-platform="isPlatform" :is-platform="isPlatform"
:patient-detail="patientData" :patient-detail="patientData"
:case-id="id" :case-id="id"
:is-creator="isCreator"
:creator="creator"
@handleSaveTable="updateForm" @handleSaveTable="updateForm"
@formDelete="formDelete" @formDelete="formDelete"
/> />
@ -271,7 +299,8 @@ export default {
defaultChecked: [], defaultChecked: [],
formType: '门诊', formType: '门诊',
patientData: {}, patientData: {},
isCreator: true
isCreator: true,
creator: null
} }
}, },
created() { created() {
@ -284,6 +313,10 @@ export default {
handleForm({ index, item }) { handleForm({ index, item }) {
const user = JSON.parse(window.sessionStorage.getItem('qg-userData')) const user = JSON.parse(window.sessionStorage.getItem('qg-userData'))
this.isCreator = item.doctorCode === user.employeeId this.isCreator = item.doctorCode === user.employeeId
this.creator = {
doctorCode: item.doctorCode,
doctorName: item.doctorName
}
// //
if (this.curIndex === index) { if (this.curIndex === index) {
return return
@ -456,6 +489,10 @@ export default {
this.id = this.formList[0].id this.id = this.formList[0].id
const user = JSON.parse(window.sessionStorage.getItem('qg-userData')) const user = JSON.parse(window.sessionStorage.getItem('qg-userData'))
this.isCreator = this.formList[0].doctorCode === user.employeeId this.isCreator = this.formList[0].doctorCode === user.employeeId
this.creator = {
doctorCode: this.formList[0].doctorCode,
doctorName: this.formList[0].doctorName
}
this.curIndex = 0 this.curIndex = 0
this.isPlatform = this.isSearch === this.formList[0].platform this.isPlatform = this.isSearch === this.formList[0].platform
} else { } else {

31
src/page-subspecialty/views/modules/formList/DrugInjection.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="formListBox"> <div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="DrugInjection" style="width: 1000px;padding-right: 8px"> <div id="DrugInjection" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -184,6 +196,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -295,6 +315,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

31
src/page-subspecialty/views/modules/formList/InformedConsent.vue

@ -1,9 +1,21 @@
<template> <template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always"> <div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="informedConsent" style="width: 840px;padding-right: 8px;text-align: left;line-height: 28px"> <div id="informedConsent" style="width: 840px;padding-right: 8px;text-align: left;line-height: 28px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -176,6 +188,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -579,6 +599,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

31
src/page-subspecialty/views/modules/formList/InjectionTherapy.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="formListBox"> <div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="injectionTherapy" style="width: 1000px;padding-right: 8px"> <div id="injectionTherapy" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -124,6 +136,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -182,6 +202,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

34
src/page-subspecialty/views/modules/formList/Lacrimal.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="formListBox"> <div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handleSaveTable">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="lacrimal" style="width: 800px;padding-right: 8px"> <div id="lacrimal" style="width: 800px;padding-right: 8px">
<div class="formContent"> <div class="formContent">
@ -213,6 +225,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -285,6 +305,12 @@ export default {
this.queryFormData() this.queryFormData()
}, },
methods: { methods: {
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
// //
handleSaveTable() { handleSaveTable() {
const data = JSON.stringify(this.confirmData) const data = JSON.stringify(this.confirmData)

31
src/page-subspecialty/views/modules/formList/MinorOperation.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="formListBox"> <div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="minorOperation" style="width: 1000px;padding-right: 8px"> <div id="minorOperation" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -191,6 +203,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -301,6 +321,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

31
src/page-subspecialty/views/modules/formList/StyeForm.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="formListBox"> <div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="styeForm" style="width: 1000px;padding-right: 8px"> <div id="styeForm" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -207,6 +219,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -313,6 +333,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

31
src/page-subspecialty/views/modules/formList/childrenLacrimal.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="lacrimalBox"> <div class="lacrimalBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="lacrimalOperation" style="width: 840px;padding-right: 8px"> <div id="lacrimalOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -134,6 +146,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -247,6 +267,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

33
src/page-subspecialty/views/modules/formList/conjunctivalOperation.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="formListBox"> <div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="minorOperation" style="width: 840px;padding-right: 8px"> <div id="minorOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -97,7 +109,7 @@
<div style="margin-right: 296px;"> <div style="margin-right: 296px;">
<span style="word-break: keep-all">医生签名</span> <span style="word-break: keep-all">医生签名</span>
<span style="margin-left:10px"> <span style="margin-left:10px">
<img style="width: 160px;height: 80px;" :src="confirmData.operator">
<img style="width: 80px;height: 40px;" :src="confirmData.operator">
</span> </span>
</div> </div>
<div> <div>
@ -138,6 +150,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -289,6 +309,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

31
src/page-subspecialty/views/modules/formList/cornealForeign.vue

@ -1,9 +1,21 @@
<template> <template>
<div class="cornealBox"> <div class="cornealBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="cornealOperation" style="width: 840px;padding-right: 8px"> <div id="cornealOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -166,6 +178,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -282,6 +302,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

35
src/page-subspecialty/views/modules/formList/laserSurgery.vue

@ -1,9 +1,21 @@
<template> <template>
<div style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always"> <div style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead && isPlatform" class="btnBox">
<el-button v-print="'#laserFunc'" size="small" @click="handleSaveTable">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="'#laserFunc'" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="laserFunc" style="width: 840px;padding-right: 8px"> <div id="laserFunc" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -225,6 +237,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -386,6 +406,13 @@ export default {
} }
}) })
}, },
//
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
// //
handleSaveTable() { handleSaveTable() {
this.confirmData.jzNumber = window.sessionStorage.getItem('jzNumber') this.confirmData.jzNumber = window.sessionStorage.getItem('jzNumber')

31
src/page-subspecialty/views/modules/formList/mraForm.vue

@ -1,9 +1,21 @@
<template> <template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always"> <div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead && isPlatform" class="btnBox">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div style="padding: 20px 80px;"> <div style="padding: 20px 80px;">
<div id="mraFunc" style="width: 840px;padding-right: 8px"> <div id="mraFunc" style="width: 840px;padding-right: 8px">
@ -204,6 +216,14 @@ export default {
}, },
caseId: { caseId: {
type: String type: String
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -310,6 +330,9 @@ export default {
methods: { methods: {
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
handleSaveTable() { handleSaveTable() {

35
src/page-subspecialty/views/modules/formList/mraOrder.vue

@ -1,9 +1,21 @@
<template> <template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always"> <div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead && isPlatform" class="btnBox">
<el-button v-print="'#mraFunc'" size="small" @click="handleSaveTable">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="'#mraFunc'" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="mraFunc" style="width: 860px"> <div id="mraFunc" style="width: 860px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
@ -233,6 +245,14 @@ export default {
}, },
caseId: { caseId: {
type: String type: String
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -338,6 +358,13 @@ export default {
this.$emit('handleSaveTable') this.$emit('handleSaveTable')
}) })
}, },
//
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
// //
queryOrderForm() { queryOrderForm() {
this.$http.get('/mzbl/getLastAppointInfo', { params: { this.$http.get('/mzbl/getLastAppointInfo', { params: {

35
src/page-subspecialty/views/modules/formList/puncture.vue

@ -1,16 +1,28 @@
<template> <template>
<div class="punctureBox"> <div class="punctureBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox_top">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="print" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="punctureOperation" style="width: 840px;padding-right: 8px"> <div id="punctureOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c"> <div v-if="!isDev" class="flex j-c">
<img width="450" src="@/assets/img/xianganlogo.png"> <img width="450" src="@/assets/img/xianganlogo.png">
</div> </div>
<hr v-if="!isDev"> <hr v-if="!isDev">
<p style="color:#000000;font-size:32px;margin:0 0 30px 0;text-align:center;">
<p style="color:#000000;font-size:32px;margin:0 0 20px 0;text-align:center;">
前房穿刺知情同意书 前房穿刺知情同意书
</p> </p>
<div class="flex a-c j-b"> <div class="flex a-c j-b">
@ -43,7 +55,7 @@
在向患方说明各治疗方案并告知利弊后患方基于当前病情需要经慎重考虑自愿选择<el-input v-model="confirmData.illMode" style="width: 180px" />手术 在向患方说明各治疗方案并告知利弊后患方基于当前病情需要经慎重考虑自愿选择<el-input v-model="confirmData.illMode" style="width: 180px" />手术
</div> </div>
<div v-if="item.flag === 3" style="padding-left: 30px"> <div v-if="item.flag === 3" style="padding-left: 30px">
<el-input v-model="confirmData.risk" type="textarea" :rows="3" style="width: 600px" />
<el-input v-model="confirmData.risk" type="textarea" :autosize="{minRows: 2, maxRows: 2}" style="width: 600px" />
<p>一旦发生上述风险和意外医生会采取积极应对措施</p> <p>一旦发生上述风险和意外医生会采取积极应对措施</p>
</div> </div>
</div> </div>
@ -143,6 +155,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -277,6 +297,9 @@ export default {
}, },
handlePrint() { handlePrint() {
this.printHidden = false this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable() this.handleSaveTable()
}, },
// //

34
src/page-subspecialty/views/modules/formList/reportForm.vue

@ -1,9 +1,21 @@
<template> <template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always"> <div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead && isPlatform" class="btnBox">
<el-button v-print="'#reportForm'" size="small" @click="handleSaveTable">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
<div class="btnBox">
<div v-if="!onlyRead && isPlatform">
<el-button v-print="'#reportForm'" size="small" @click="handlePrint">打印</el-button>
<template v-if="isCreator">
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<el-button type="danger" size="small" @click="formDelete">删除</el-button>
</template>
</div>
<div v-if="creator" style="margin: 10px 0;text-align: left;color: #409EFF">
<div>
操作员{{ creator.doctorName }}
</div>
<div>
工号{{ creator.doctorCode }}
</div>
</div>
</div> </div>
<div id="reportForm" style="width: 840px;padding-right: 8px;text-align: left"> <div id="reportForm" style="width: 840px;padding-right: 8px;text-align: left">
<div class="flex"> <div class="flex">
@ -88,6 +100,14 @@ export default {
caseId: { caseId: {
type: String, type: String,
default: '' default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
} }
}, },
data() { data() {
@ -201,6 +221,12 @@ export default {
} }
}) })
}, },
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
// //
handleSaveTable() { handleSaveTable() {
this.confirmData.fmwOd = this.handleFormEye(this.formData.form.OD).join('/') this.confirmData.fmwOd = this.handleFormEye(this.formData.form.OD).join('/')

Loading…
Cancel
Save