|
|
@ -120,7 +120,7 @@ |
|
|
|
<tr> |
|
|
|
<td>备注</td> |
|
|
|
<td colspan="2"> |
|
|
|
<el-input v-model="confirmData.remark" type="textarea" :autosize="{ minRows: 1, maxRows: 3}" placeholder="" /> |
|
|
|
<el-input v-model="confirmData.beiZhu" type="textarea" :autosize="{ minRows: 1, maxRows: 3}" placeholder="" /> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
@ -128,7 +128,7 @@ |
|
|
|
<div style="display: flex;justify-content: space-between"> |
|
|
|
<div class="width-180" style="text-align: left"> |
|
|
|
<span style="display: inline-block;margin-top: 12px">检查者:</span> |
|
|
|
<img v-if="confirmData.operator" :src="confirmData.operator" alt="" style="width: 80px;height: 50px;border-style:none;"> |
|
|
|
<img v-if="confirmData.ygsSign" :src="confirmData.ygsSign" alt="" style="width: 80px;height: 50px;border-style:none;"> |
|
|
|
</div> |
|
|
|
<div class="width-180" style="text-align: left"> |
|
|
|
<el-input v-model="confirmData.ysSign" placeholder="" style="margin-top: 12px"> |
|
|
@ -137,7 +137,7 @@ |
|
|
|
</div> |
|
|
|
<div class="width-180" style="text-align: left;margin-top: 12px"> |
|
|
|
日期:<el-date-picker |
|
|
|
v-model="confirmData.operateDate" |
|
|
|
v-model="confirmData.riQi" |
|
|
|
type="date" |
|
|
|
placeholder="选择日期" |
|
|
|
/> |
|
|
@ -209,9 +209,9 @@ export default { |
|
|
|
], |
|
|
|
jgSelect: [], |
|
|
|
confirmData: { |
|
|
|
operator: '', |
|
|
|
operateDate: '', |
|
|
|
remark: '', |
|
|
|
ygsSign: '', |
|
|
|
riQi: '', |
|
|
|
beiZhu: '', |
|
|
|
tk: '正常', |
|
|
|
jg: '', |
|
|
|
jgOther: '', |
|
|
@ -264,32 +264,6 @@ export default { |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取详情数据展示 |
|
|
|
handleResValue(val, change) { |
|
|
|
if (!val) { |
|
|
|
return |
|
|
|
} |
|
|
|
change.forEach(item => { |
|
|
|
item.isSelect = false |
|
|
|
item.remark = '' |
|
|
|
}) |
|
|
|
const list = val.split('/') |
|
|
|
change.forEach(item => { |
|
|
|
list.forEach(lis => { |
|
|
|
if (lis === item.name) { |
|
|
|
item.isSelect = true |
|
|
|
} |
|
|
|
if (lis.includes('其他') && item.name === '其他:') { |
|
|
|
item.isSelect = true |
|
|
|
item.remark = lis.split(':')[1] |
|
|
|
} |
|
|
|
}) |
|
|
|
// 如果未选中,默认后面注释不保存 |
|
|
|
if (!item.isSelect && item.name === '其他:') { |
|
|
|
item.remark = '' |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
handlePrint() { |
|
|
|
if (!this.isCreator) { |
|
|
|
return |
|
|
@ -305,7 +279,7 @@ export default { |
|
|
|
...this.confirmData |
|
|
|
}).then(() => { |
|
|
|
this.getReportInfo() |
|
|
|
this.$emit('handleSaveTable') |
|
|
|
this.$message.success(this.$t('prompt.success')) |
|
|
|
}) |
|
|
|
}, |
|
|
|
getReportInfo() { |
|
|
@ -324,8 +298,10 @@ export default { |
|
|
|
if (!res.jzNumber) { |
|
|
|
this.getPatientData() |
|
|
|
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) |
|
|
|
this.confirmData.operator = userData.signImgBase |
|
|
|
this.confirmData.operateDate = this.$moment().format('YYYY-MM-DD') |
|
|
|
const mzName = window.sessionStorage.getItem('mzDoctorName') |
|
|
|
this.confirmData.ygsSign = userData.signImgBase |
|
|
|
this.confirmData.ysSign = mzName |
|
|
|
this.confirmData.riQi = this.$moment().format('YYYY-MM-DD') |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取项目id列表 |
|
|
|