|
@ -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 { |
|
|