|
@ -52,9 +52,11 @@ |
|
|
ref="eyesVis" |
|
|
ref="eyesVis" |
|
|
:is-dev="isDev" |
|
|
:is-dev="isDev" |
|
|
:case-id="id" |
|
|
:case-id="id" |
|
|
:only-read="onlyRead || !isCreator" |
|
|
|
|
|
|
|
|
:only-read="onlyRead" |
|
|
:is-platform="isPlatform" |
|
|
:is-platform="isPlatform" |
|
|
:patient-id="patientId" |
|
|
:patient-id="patientId" |
|
|
|
|
|
:is-creator="isCreator" |
|
|
|
|
|
:creator="creator" |
|
|
@del="deleteForm" |
|
|
@del="deleteForm" |
|
|
/> |
|
|
/> |
|
|
<optometryForm |
|
|
<optometryForm |
|
@ -63,19 +65,23 @@ |
|
|
:is-dev="isDev" |
|
|
:is-dev="isDev" |
|
|
:case-id="id" |
|
|
:case-id="id" |
|
|
:is-platform="isPlatform" |
|
|
:is-platform="isPlatform" |
|
|
:only-read="onlyRead || !isCreator" |
|
|
|
|
|
|
|
|
:only-read="onlyRead" |
|
|
:patient-id="patientId" |
|
|
:patient-id="patientId" |
|
|
:is-search="isSearch" |
|
|
:is-search="isSearch" |
|
|
|
|
|
:is-creator="isCreator" |
|
|
|
|
|
:creator="creator" |
|
|
@del="deleteForm" |
|
|
@del="deleteForm" |
|
|
/> |
|
|
/> |
|
|
<threeVision |
|
|
<threeVision |
|
|
v-if="name === '三级视功能检查报告单'" |
|
|
v-if="name === '三级视功能检查报告单'" |
|
|
ref="threeVis" |
|
|
ref="threeVis" |
|
|
:is-dev="isDev" |
|
|
:is-dev="isDev" |
|
|
:only-read="onlyRead || !isCreator" |
|
|
|
|
|
|
|
|
:only-read="onlyRead" |
|
|
:is-platform="isPlatform" |
|
|
:is-platform="isPlatform" |
|
|
:case-id="id" |
|
|
:case-id="id" |
|
|
:patient-id="patientId" |
|
|
:patient-id="patientId" |
|
|
|
|
|
:is-creator="isCreator" |
|
|
|
|
|
:creator="creator" |
|
|
@del="deleteForm" |
|
|
@del="deleteForm" |
|
|
/> |
|
|
/> |
|
|
<deveopmentFile |
|
|
<deveopmentFile |
|
@ -84,10 +90,12 @@ |
|
|
:is-dev="isDev" |
|
|
:is-dev="isDev" |
|
|
:is-platform="isPlatform" |
|
|
:is-platform="isPlatform" |
|
|
:case-id="id" |
|
|
:case-id="id" |
|
|
:only-read="onlyRead || !isCreator" |
|
|
|
|
|
|
|
|
:only-read="onlyRead" |
|
|
:patient-id="patientId" |
|
|
:patient-id="patientId" |
|
|
:is-search="isSearch" |
|
|
:is-search="isSearch" |
|
|
:form-content="deveopData" |
|
|
:form-content="deveopData" |
|
|
|
|
|
:is-creator="isCreator" |
|
|
|
|
|
:creator="creator" |
|
|
@del="deleteForm" |
|
|
@del="deleteForm" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
@ -140,6 +148,7 @@ export default { |
|
|
id: '', |
|
|
id: '', |
|
|
name: '', |
|
|
name: '', |
|
|
isCreator: true, |
|
|
isCreator: true, |
|
|
|
|
|
creator: null, |
|
|
isPlatform: true, |
|
|
isPlatform: true, |
|
|
defaultChecked: [], |
|
|
defaultChecked: [], |
|
|
curIndex: 0, |
|
|
curIndex: 0, |
|
@ -158,6 +167,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 |
|
|