Browse Source

门诊治疗表单修改

360view
bianyaqi 2 years ago
parent
commit
39dbc9e112
  1. 2
      src/components/360View/commonForm/deveopmentFIle.vue
  2. 4
      src/components/360View/medicalRecord/index.vue
  3. 65
      src/page-subspecialty/views/modules/formList/InformedConsent.vue
  4. 97
      src/page-subspecialty/views/modules/formList/laserSurgery.vue
  5. 32
      src/page-subspecialty/views/modules/formList/mraForm.vue
  6. 1
      src/page-subspecialty/views/modules/formList/reportForm.vue
  7. 14
      src/page-subspecialty/views/modules/optometryManagement/seeDoctor/CornealReview.vue

2
src/components/360View/commonForm/deveopmentFIle.vue

@ -655,7 +655,7 @@ export default {
}
.width-140 {
.el-input {
width: 125px;
width: 135px;
}
}
}

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

@ -126,6 +126,10 @@ export default {
},
methods: {
handleForm({ index, item }) {
//
if (this.curIndex === index) {
return
}
this.$confirmFun('是否保存数据,否则当前数据会丢弃!', '保存', '', '已取消保存数据!')
.then(() => {
this.$nextTick(() => {

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

@ -14,11 +14,11 @@
眼科激光手术患者知情同意书
</p>
<!--患者信息-->
<div v-if="formData.patient" class="flex">
<div class="flex a-c item">姓名<el-input v-model="formData.patient.patientName" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">年龄<el-input v-model="formData.patient.age" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">性别<el-input v-model="formData.patient.sex" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">眼别<el-input v-model="formData.patient.eyeLevel" style="flex: 1" placeholder="" /></div>
<div class="flex">
<div class="flex a-c item">姓名<el-input v-model="formData.patientName" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">年龄<el-input v-model="formData.patientAge" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">性别<el-input v-model="formData.patientSex" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">眼别<el-input v-model="formData.patientEyeLevel" style="flex: 1" placeholder="" /></div>
</div>
<!--术前判断-->
<div>
@ -73,7 +73,7 @@
<!-- 术中可能发生的并发症及处理-->
<div>
<div class="formTitle">术中可能发生的并发症及处理</div>
<div v-for="(item,index) in formData.intraoperation" :key="index">
<div v-for="(item,index) in intraoperation" :key="index">
{{ `${index+1}. ${item}` }}
</div>
</div>
@ -86,14 +86,14 @@
<div>
<div class="formTitle">术后可能发生下列并发症</div>
<div class="proposed">
<div v-for="(post,idx) in formData.postoperative" :key="idx" class="postItem" style="margin-right: 30px">
<div v-for="(post,idx) in postoperative" :key="idx" class="postItem" style="margin-right: 30px">
{{ `${idx+1}${post}` }}
</div>
</div>
<div v-if="formData.doctor" class="btnBox">
<div class="btnBox">
<div>
<div class="flex a-c">主诊/谈话医生签名<el-input v-model="formData.doctor.name" style="flex: 1" /></div>
<div class="flex a-c">日期<el-input v-model="formData.doctor.dateTime" style="flex: 1" /></div>
<div class="flex a-c">主诊/谈话医生签名<el-input v-model="formData.doctorSign" style="flex: 1" /></div>
<div class="flex a-c">日期<el-input v-model="formData.docDate" style="flex: 1" /></div>
</div>
</div>
</div>
@ -104,9 +104,9 @@
医生已和我详细讨论了治疗计划手术方式治疗目的以及术后可能的效果我已详细阅读以上内容并完全理解和接受手术可能出现的风险和并发症我同意医生的治疗并接受手术
</div>
<div class="btnBox">
<div v-if="formData.patientInfo">
<div class="flex a-c">患者或直系亲属签名<el-input v-model="formData.patientInfo.name" style="flex: 1" /></div>
<div class="flex a-c">日期<el-input v-model="formData.patientInfo.dateTime" style="flex: 1" /></div>
<div>
<div class="flex a-c">患者或直系亲属签名<el-input v-model="formData.patientSign" style="flex: 1" /></div>
<div class="flex a-c">日期<el-input v-model="formData.patientDate" style="flex: 1" /></div>
</div>
</div>
</div>
@ -135,21 +135,15 @@ export default {
originalData: {},
formData: {
//
patient: {
patientName: '',
age: '',
sex: '',
eyeLevel: ''
},
patientName: '',
patientAge: '',
patientSex: '',
patientEyeLevel: '',
//
doctor: {
name: '',
dateTime: ''
},
patientInfo: {
name: '',
dateTime: ''
},
doctorSign: '',
docDate: '',
patientSign: '',
patientDate: '',
//
judgement: [
{
@ -295,11 +289,11 @@ export default {
name: '其他',
isSelected: false
}
],
//
intraoperation: ['麻醉意外:需进行抢救或暂停手术', '出血:需要压迫止血,推迟或暂停手术', '其他无法预计的并发症', '术中可能会根据具体情况变更手术方式'],
postoperative: ['暂时性眼压升高', '损伤人工晶体', '角膜内皮损伤', '虹膜炎症反应', '玻璃体前界膜破裂', '视功能损伤', '渗出性视网膜脱离', '黄斑水肿', '脉络膜脱离', '虹膜(视网膜、脉络膜)出血', '其他']
}
]
},
//
intraoperation: ['麻醉意外:需进行抢救或暂停手术', '出血:需要压迫止血,推迟或暂停手术', '其他无法预计的并发症', '术中可能会根据具体情况变更手术方式'],
postoperative: ['暂时性眼压升高', '损伤人工晶体', '角膜内皮损伤', '虹膜炎症反应', '玻璃体前界膜破裂', '视功能损伤', '渗出性视网膜脱离', '黄斑水肿', '脉络膜脱离', '虹膜(视网膜、脉络膜)出血', '其他']
}
},
watch: {
@ -315,9 +309,9 @@ export default {
this.originalData = JSON.parse(JSON.stringify(this.formData))
console.log(this.patientDetail)
//
this.formData.patient.patientName = this.patientDetail.patientName
this.formData.patient.age = this.patientDetail.patientAge
this.formData.patient.sex = this.patientDetail.patientSex
this.formData.patientName = this.patientDetail.patientName
this.formData.patientAge = this.patientDetail.patientAge
this.formData.patientSex = this.patientDetail.patientSex
if (this.jsonText) {
this.formData = JSON.parse(this.jsonText)
}
@ -342,6 +336,7 @@ export default {
cursor: pointer;
user-select: none;
display: flex;
margin-right: 0 !important;
input{
-webkit-appearance: checkbox !important;
margin-right: 5px;

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

@ -14,18 +14,18 @@
眼科激光手术治疗
</p>
<!--患者信息-->
<div v-if="formData.patient">
<div>
<div class="flex">
<div class="flex a-c item">姓名<el-input v-model="formData.patient.patientName" style="flex: 1" /></div>
<div class="flex a-c item">年龄<el-input v-model="formData.patient.age" style="flex: 1" /></div>
<div class="flex a-c item">性别<el-input v-model="formData.patient.sex" style="flex: 1" /></div>
<div class="flex a-c item">病例号<el-input v-model="formData.patient.patientId" style="flex: 1" /></div>
<div class="flex a-c item">姓名<el-input v-model="formData.patientName" style="flex: 1" /></div>
<div class="flex a-c item">年龄<el-input v-model="formData.patientAge" style="flex: 1" /></div>
<div class="flex a-c item">性别<el-input v-model="formData.patientSex" style="flex: 1" /></div>
<div class="flex a-c item">病例号<el-input v-model="formData.patientId" style="flex: 1" /></div>
</div>
<div class="flex">
<div class="flex a-c">联系电话<el-input v-model="formData.patient.phone" style="flex: 1" /></div>
<div class="flex a-c item">家庭住址<el-input v-model="formData.patient.address" style="flex: 1" /></div>
<div class="flex a-c">联系电话<el-input v-model="formData.patientPhone" style="flex: 1" /></div>
<div class="flex a-c item">家庭住址<el-input v-model="formData.patientAddress" style="flex: 1" /></div>
</div>
<div class="flex a-c item">诊断<el-input v-model="formData.patient.diagnose" style="flex: 1" /></div>
<div class="flex a-c item">诊断<el-input v-model="formData.patientDiagnose" style="flex: 1" /></div>
</div>
<!-- 治疗前-->
<div class="subTitle">治疗前</div>
@ -37,25 +37,25 @@
</tr>
</thead>
<tbody>
<tr v-if="formData.beforeTreat">
<tr>
<td>
<div class="flex a-c">{{ formData.beforeTreat.OD.eye.name }}<el-input v-model="formData.beforeTreat.OD.eye.level" style="flex: 1" /></div>
<div class="flex a-c">{{ formData.beforeTreat.OD.illness.name }}<el-input v-model="formData.beforeTreat.OD.illness.desc" style="flex: 1" /></div>
<div class="flex a-c">视力1<el-input v-model="formData.btOdVision" style="flex: 1" /></div>
<div class="flex a-c">疾病分期<el-input v-model="formData.btOdIllness" style="flex: 1" /></div>
</td>
<td>
<div class="descImg" @click="editImg('OD')">
<div>示意图</div>
<img v-if="formData.beforeTreat.OD.imgSrc" :src="formData.beforeTreat.OD.imgSrc">
<img v-if="formData.btOdImgSrc" :src="formData.btOdImgSrc">
</div>
</td>
<td>
<div class="flex a-c">{{ formData.beforeTreat.OS.eye.name }}<el-input v-model="formData.beforeTreat.OS.eye.level" style="flex: 1" /></div>
<div class="flex a-c">{{ formData.beforeTreat.OS.illness.name }}<el-input v-model="formData.beforeTreat.OS.illness.desc" style="flex: 1" /></div>
<div class="flex a-c">视力2<el-input v-model="formData.btOsVision" style="flex: 1" /></div>
<div class="flex a-c">疾病分期<el-input v-model="formData.btOsIllness" style="flex: 1" /></div>
</td>
<td>
<div class="descImg" @click="editImg('OS')">
<div>示意图</div>
<img v-if="formData.beforeTreat.OS.imgSrc" :src="formData.beforeTreat.OS.imgSrc">
<img v-if="formData.btOsImgSrc" :src="formData.btOsImgSrc">
</div>
</td>
</tr>
@ -134,39 +134,22 @@ export default {
origin: '',
//
formData: {
patient: {
patientName: '',
age: '',
sex: '',
patientId: '',
phone: '',
address: '',
diagnose: ''
},
beforeTreat: {
OD: {
eye: {
name: '视力1',
level: ''
},
illness: {
name: '疾病分期',
desc: ''
},
imgSrc: ''
},
OS: {
eye: {
name: '视力2',
level: ''
},
illness: {
name: '疾病分期',
desc: ''
},
imgSrc: ''
}
},
patientName: '',
patientAge: '',
patientSex: '',
patientId: '',
patientPhone: '',
patientAddress: '',
patientDiagnose: '',
// od
btOdVision: '',
btOdIllness: '',
btOdImgSrc: '',
// os
btOsVision: '',
btOsIllness: '',
btOsImgSrc: '',
//
treatData: [
{
OD: {
@ -244,12 +227,12 @@ export default {
created() {
this.origin = JSON.parse(JSON.stringify(this.formData))
//
this.formData.patient.patientName = this.patientDetail.patientName
this.formData.patient.age = this.patientDetail.patientAge
this.formData.patient.sex = this.patientDetail.patientSex
this.formData.patient.patientId = this.patientDetail.patientId
this.formData.patient.address = this.patientDetail.patientAddress
this.formData.patient.phone = this.patientDetail.patientPhone
this.formData.patientName = this.patientDetail.patientName
this.formData.patientAge = this.patientDetail.patientAge
this.formData.patientSex = this.patientDetail.patientSex
this.formData.patientId = this.patientDetail.patientId
this.formData.patientAddress = this.patientDetail.patientAddress
this.formData.patientPhone = this.patientDetail.patientPhone
if (this.jsonText) {
this.formData = JSON.parse(this.jsonText)
}
@ -263,10 +246,10 @@ export default {
fullImgBack(val) {
switch (this.curType) {
case 'OD':
this.formData.beforeTreat.OD.imgSrc = val
this.formData.btOdImgSrc = val
break
case 'OS':
this.formData.beforeTreat.OS.imgSrc = val
this.formData.btOsImgSrc = val
break
case 'treat-OD':
this.formData.treatData[this.curIndex].OD.imgSrc = val
@ -308,7 +291,7 @@ export default {
text-align: center;
font-size: 16px;
font-weight: 500;
margin-top: 30px;
margin: 30px 0 10px 0;
}
.descImg{
font-size: 12px;

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

@ -15,16 +15,16 @@
</p>
<div class="flex j-b">
<div class="item">
患者姓名:<el-input v-model="patient.name" style="flex: 1" />
患者姓名:<el-input v-model="formData.patientName" style="flex: 1" />
</div>
<div class="item">
性别:<el-input v-model="patient.sex" style="flex: 1" />
性别:<el-input v-model="formData.patientSex" style="flex: 1" />
</div>
<div class="item">
年龄:<el-input v-model="patient.age" style="flex: 1" />
年龄:<el-input v-model="formData.patientAge" style="flex: 1" />
</div>
<div class="item">
登记号:<el-input v-model="patient.patientId" style="flex: 1" />
登记号:<el-input v-model="formData.patientId" style="flex: 1" />
</div>
</div>
<div>
@ -65,10 +65,10 @@ export default {
data() {
return {
origin: '',
patient: {
name: '',
sex: '',
age: '',
formData: {
patientName: '',
patientAge: '',
patientSex: '',
patientId: ''
},
context: [
@ -100,26 +100,26 @@ export default {
watch: {
jsonText(val) {
if (val) {
this.patient = JSON.parse(this.jsonText)
this.formData = JSON.parse(this.jsonText)
} else {
this.patient = this.origin
}
}
},
created() {
this.origin = JSON.parse(JSON.stringify(this.patient))
this.origin = JSON.parse(JSON.stringify(this.formData))
//
this.patient.name = this.patientDetail.patientName
this.patient.age = this.patientDetail.patientAge
this.patient.sex = this.patientDetail.patientSex
this.patient.patientId = this.patientDetail.patientId
this.formData.patientName = this.patientDetail.patientName
this.formData.patientAge = this.patientDetail.patientAge
this.formData.patientSex = this.patientDetail.patientSex
this.formData.patientId = this.patientDetail.patientId
if (this.jsonText) {
this.patient = JSON.parse(this.jsonText)
this.formData = JSON.parse(this.jsonText)
}
},
methods: {
handleSaveTable() {
this.$emit('handleSaveTable', this.patient)
this.$emit('handleSaveTable', this.formData)
},
formDelete() {
this.$emit('formDelete')

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

@ -78,7 +78,6 @@ export default {
remark: '',
operator: '',
form: {
checkList: [],
OD: [
{
name: '分泌物清亮',

14
src/page-subspecialty/views/modules/optometryManagement/seeDoctor/CornealReview.vue

@ -12,17 +12,17 @@
</h2>
<table class="cornealTable">
<tr>
<td colspan="2"><div class="tdItem">姓名 <el-input v-model="formData.patient.name" style="flex: 1" placeholder="" /></div></td>
<td colspan="2"><div class="tdItem">姓名 <el-input v-model="formData.patientName" style="flex: 1" placeholder="" /></div></td>
<td colspan="2">
<div class="tdItem">
<span style="word-break: keep-all">检查日期</span>
<el-date-picker
v-model="formData.patient.checkDate"
v-model="formData.patientCheckDate"
type="date"
/>
</div>
</td>
<td colspan="2"><div class="tdItem">已戴镜时间 <el-input v-model="formData.patient.wearTime" style="flex: 1" placeholder="" /></div></td>
<td colspan="2"><div class="tdItem">已戴镜时间 <el-input v-model="formData.patientWearTime" style="flex: 1" placeholder="" /></div></td>
</tr>
<tr>
<td colspan="6">
@ -105,11 +105,9 @@ export default {
data() {
return {
formData: {
patient: {
name: '',
checkDate: '',
wearTime: ''
},
patientName: '',
patientCheckDate: '',
patientWearTime: '',
checkList: [
{
name: '正常',

Loading…
Cancel
Save