|
|
@ -65,10 +65,10 @@ |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<el-input v-model="confirmData.zlqSlOd" style="flex: 1" /> |
|
|
|
<el-input v-model="confirmData.zlqSl" style="flex: 1" /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<el-input v-model="confirmData.zlqJbfqOd" style="flex: 1" /> |
|
|
|
<el-input v-model="confirmData.zlqJbfq" style="flex: 1" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
@ -86,7 +86,7 @@ |
|
|
|
次数 |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<el-input v-model="treatData.order" style="flex: 1" /> |
|
|
|
<el-input v-model="confirmData.jgzlCount" style="flex: 1" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
@ -94,7 +94,7 @@ |
|
|
|
曝光时间 |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<el-input v-model="treatData.vision" style="flex: 1" /> |
|
|
|
<el-input v-model="confirmData.jgzlBgsj" style="flex: 1" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
@ -102,7 +102,7 @@ |
|
|
|
光斑大小 |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<el-input v-model="treatData.flareSize" style="flex: 1" /> |
|
|
|
<el-input v-model="confirmData.jgzlGb" style="flex: 1" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
@ -110,7 +110,7 @@ |
|
|
|
功率 |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<el-input v-model="treatData.power" style="flex: 1" /> |
|
|
|
<el-input v-model="confirmData.jgzlGl" style="flex: 1" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
@ -118,29 +118,29 @@ |
|
|
|
点数 |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<el-input v-model="treatData.count" style="flex: 1" /> |
|
|
|
<el-input v-model="confirmData.jgzlDs" style="flex: 1" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
<div class="descImg" @click="editImg()"> |
|
|
|
<div>示意图</div> |
|
|
|
<img v-if="treatData.imgSrc" :src="treatData.imgSrc"> |
|
|
|
<img v-if="confirmData.jgzlSyt" :src="confirmData.jgzlSyt"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex a-c"> |
|
|
|
<div class="flex a-c item"> |
|
|
|
<div class="label_width">操作人:</div> |
|
|
|
<div @click="signClick(9)"> |
|
|
|
<img v-if="!guardianSign2" :src="require('@/assets/img/signature.png')" alt=""> |
|
|
|
<img v-else style="width: 80px;height: 40px;" :src="guardianSign2"> |
|
|
|
<img v-if="!operator" :src="require('@/assets/img/signature.png')" alt=""> |
|
|
|
<img v-else style="width: 80px;height: 40px;" :src="operator"> |
|
|
|
</div> |
|
|
|
<!-- <el-input v-model="confirmData.operator" style="flex: 1" />--> |
|
|
|
</div> |
|
|
|
<div class="flex a-c item"> |
|
|
|
<div class="label_width">操作时间:</div> |
|
|
|
<el-date-picker |
|
|
|
v-model="treatData.date" |
|
|
|
v-model="confirmData.operateDate" |
|
|
|
style="flex: 1" |
|
|
|
type="date" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
@ -190,16 +190,17 @@ export default { |
|
|
|
idList: [], |
|
|
|
eyeType: '', |
|
|
|
// 治疗前 |
|
|
|
zlqSlOd: '', |
|
|
|
zlqJbfqOd: '', |
|
|
|
// 治疗后 |
|
|
|
jgzlCountOd1: '', |
|
|
|
jgzlDsOd1: '', |
|
|
|
jgzlGbOd1: '', |
|
|
|
jgzlGlOd1: '', |
|
|
|
jgzlSlOd1: '', |
|
|
|
operator: '', |
|
|
|
operationDate: '' |
|
|
|
zlqSl: '', |
|
|
|
zlqJbfq: '', |
|
|
|
operationDate: '', |
|
|
|
operateSign: '', |
|
|
|
operateDate: '', |
|
|
|
jgzlCount: '', |
|
|
|
jgzlBgsj: '', |
|
|
|
jgzlGb: '', |
|
|
|
jgzlGl: '', |
|
|
|
jgzlDs: '', |
|
|
|
jgzlSyt: '' |
|
|
|
}, |
|
|
|
// 治疗后 |
|
|
|
options: [{ |
|
|
@ -208,26 +209,15 @@ export default { |
|
|
|
}, { |
|
|
|
value: 'OS', |
|
|
|
label: 'OS' |
|
|
|
}], |
|
|
|
treatData: { |
|
|
|
date: '', |
|
|
|
order: '', |
|
|
|
vision: '', |
|
|
|
flareSize: '', |
|
|
|
power: '', |
|
|
|
count: '', |
|
|
|
imgSrc: '' |
|
|
|
} |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
guardianSign2: { |
|
|
|
operator: { |
|
|
|
get() { |
|
|
|
return this.$store.getters.guardianSign2 |
|
|
|
return this.$store.getters.operator |
|
|
|
}, |
|
|
|
set(val) { |
|
|
|
|
|
|
|
} |
|
|
|
set(val) {} |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
@ -246,18 +236,47 @@ export default { |
|
|
|
this.confirmData.patientAddress = this.patientDetail.patientAddress |
|
|
|
this.confirmData.patientPhone = this.patientDetail.patientPhone |
|
|
|
this.getConfirmDetail() |
|
|
|
this.queryProject() |
|
|
|
this.$store.commit('initPlugin') |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
signClick(index) { |
|
|
|
console.log(index) |
|
|
|
this.$store.commit('beginSign', index) |
|
|
|
}, |
|
|
|
editImg() { |
|
|
|
this.$refs.imgEditorRef.init() |
|
|
|
}, |
|
|
|
// 获取项目id列表 |
|
|
|
async queryProject() { |
|
|
|
const project = window.localStorage.getItem('projectItem') ? JSON.parse(window.localStorage.getItem('projectItem')) : [] |
|
|
|
const { data: res } = await this.$http.get( |
|
|
|
'/patient/getZlItemDict', |
|
|
|
{ |
|
|
|
params: { |
|
|
|
caseName: '眼科激光手术治疗' |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
if (res.code === 0) { |
|
|
|
const data = res.data || [] |
|
|
|
const list = [] |
|
|
|
if (data.length) { |
|
|
|
for (let i = 0; i < data.length; i++) { |
|
|
|
for (let j = 0; j < project.length; j++) { |
|
|
|
if (data[i].itemId === project[j].porjectCode) { |
|
|
|
list.push(project[j].id) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.confirmData.idList = list |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}, |
|
|
|
fullImgBack(val) { |
|
|
|
if (val) { |
|
|
|
this.treatData.imgSrc = val |
|
|
|
this.confirmData.jgzlSyt = val |
|
|
|
} |
|
|
|
}, |
|
|
|
getConfirmDetail() { |
|
|
@ -265,14 +284,8 @@ export default { |
|
|
|
caseId: this.caseId |
|
|
|
}}).then(data => { |
|
|
|
const detail = data.data.data |
|
|
|
this.confirmData.diagnostic = detail.diagnostic || '' |
|
|
|
// 治疗前 |
|
|
|
this.confirmData.zlqSlOd = detail.zlqSlOd || '' |
|
|
|
this.confirmData.zlqJbfqOd = detail.zlqJbfqOd || '' |
|
|
|
this.confirmData.zlqSytOd = detail.zlqSytOd || '' |
|
|
|
this.confirmData.zlqSlOs = detail.zlqSlOs || '' |
|
|
|
this.confirmData.zlqJbfqOs = detail.zlqJbfqOs || '' |
|
|
|
this.confirmData.zlqSytOs = detail.zlqSytOs || '' |
|
|
|
this.confirmData = { ...detail } |
|
|
|
this.$store.commit('operator', detail.operateSign) |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 保存传值处理 |
|
|
@ -282,6 +295,7 @@ export default { |
|
|
|
handleSaveTable() { |
|
|
|
this.confirmData.jzNumber = window.localStorage.getItem('jzNumber') |
|
|
|
this.handleConfirmData() |
|
|
|
this.confirmData.operateSign = this.operator |
|
|
|
this.$http.post('/mzbl/saveMzblJgshzl', { |
|
|
|
caseId: this.caseId, |
|
|
|
...this.confirmData |
|
|
|