Browse Source

门诊病历表单权限修改

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

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

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

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

@ -1,9 +1,21 @@
<template>
<div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="DrugInjection" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -184,6 +196,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -295,6 +315,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="informedConsent" style="width: 840px;padding-right: 8px;text-align: left;line-height: 28px">
<div v-if="!isDev" class="flex j-c">
@ -176,6 +188,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -579,6 +599,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="injectionTherapy" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -124,6 +136,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -182,6 +202,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<el-button v-print="print" size="small" @click="handleSaveTable">打印</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 id="lacrimal" style="width: 800px;padding-right: 8px">
<div class="formContent">
@ -213,6 +225,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -285,6 +305,12 @@ export default {
this.queryFormData()
},
methods: {
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//
handleSaveTable() {
const data = JSON.stringify(this.confirmData)

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

@ -1,9 +1,21 @@
<template>
<div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="minorOperation" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -191,6 +203,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -301,6 +321,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="styeForm" style="width: 1000px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -207,6 +219,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -313,6 +333,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<div class="lacrimalBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="lacrimalOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -134,6 +146,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -247,6 +267,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<div class="formListBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="minorOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -97,7 +109,7 @@
<div style="margin-right: 296px;">
<span style="word-break: keep-all">医生签名</span>
<span style="margin-left:10px">
<img style="width: 160px;height: 80px;" :src="confirmData.operator">
<img style="width: 80px;height: 40px;" :src="confirmData.operator">
</span>
</div>
<div>
@ -138,6 +150,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -289,6 +309,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<div class="cornealBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="cornealOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -166,6 +178,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -282,6 +302,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<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>
<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 id="laserFunc" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
@ -225,6 +237,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -386,6 +406,13 @@ export default {
}
})
},
//
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//
handleSaveTable() {
this.confirmData.jzNumber = window.sessionStorage.getItem('jzNumber')

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

@ -1,9 +1,21 @@
<template>
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always">
<div v-if="!onlyRead && isPlatform" class="btnBox">
<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 style="padding: 20px 80px;">
<div id="mraFunc" style="width: 840px;padding-right: 8px">
@ -204,6 +216,14 @@ export default {
},
caseId: {
type: String
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -310,6 +330,9 @@ export default {
methods: {
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
handleSaveTable() {

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

@ -1,9 +1,21 @@
<template>
<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>
<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 id="mraFunc" style="width: 860px">
<div v-if="!isDev" class="flex j-c">
@ -233,6 +245,14 @@ export default {
},
caseId: {
type: String
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -338,6 +358,13 @@ export default {
this.$emit('handleSaveTable')
})
},
//
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//
queryOrderForm() {
this.$http.get('/mzbl/getLastAppointInfo', { params: {

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

@ -1,16 +1,28 @@
<template>
<div class="punctureBox">
<div v-if="!onlyRead && isPlatform" class="btnBox_top">
<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 id="punctureOperation" style="width: 840px;padding-right: 8px">
<div v-if="!isDev" class="flex j-c">
<img width="450" src="@/assets/img/xianganlogo.png">
</div>
<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>
<div class="flex a-c j-b">
@ -43,7 +55,7 @@
在向患方说明各治疗方案并告知利弊后患方基于当前病情需要经慎重考虑自愿选择<el-input v-model="confirmData.illMode" style="width: 180px" />手术
</div>
<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>
</div>
</div>
@ -143,6 +155,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -277,6 +297,9 @@ export default {
},
handlePrint() {
this.printHidden = false
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//

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

@ -1,9 +1,21 @@
<template>
<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>
<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 id="reportForm" style="width: 840px;padding-right: 8px;text-align: left">
<div class="flex">
@ -88,6 +100,14 @@ export default {
caseId: {
type: String,
default: ''
},
isCreator: {
type: Boolean,
default: true
},
//
creator: {
type: Object
}
},
data() {
@ -201,6 +221,12 @@ export default {
}
})
},
handlePrint() {
if (!this.isCreator) {
return
}
this.handleSaveTable()
},
//
handleSaveTable() {
this.confirmData.fmwOd = this.handleFormEye(this.formData.form.OD).join('/')

Loading…
Cancel
Save