|
|
@ -220,7 +220,7 @@ |
|
|
|
<input type="text" :value="formListValue.centerBbmc" placeholder="请输内容" |
|
|
|
@input="inputHandle('centerBbmc',$event)" /> |
|
|
|
</view> |
|
|
|
<view class="content-sign"> |
|
|
|
<!-- <view class="content-sign"> |
|
|
|
<view class="operaDoctorSign operaSign"> |
|
|
|
<text>医生签字:</text> |
|
|
|
<view class="sign" |
|
|
@ -234,18 +234,9 @@ |
|
|
|
<image v-if="formListValue.centerDoctorSign" mode="widthFix" |
|
|
|
:src="formListValue.centerDoctorSign" alt="" class="img-class"> |
|
|
|
</view> |
|
|
|
<!-- <view> |
|
|
|
<text |
|
|
|
v-if="!formListValue.centerDoctorSign">{{ formListValue.centerDoctorName ? formListValue.centerDoctorName : '-' }}</text> |
|
|
|
<view class="image-father" v-else> |
|
|
|
<image mode="widthFix" :src="formListValue.centerDoctorSign" alt="" |
|
|
|
class="img-class"> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class="form-qxName-father"> |
|
|
|
<view class="form-qxName form"> |
|
|
|
<text class="form-qxName-text">器械名称:</text> |
|
|
@ -849,8 +840,10 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
let userInfo = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo')) : '' |
|
|
|
this.formListValue.backNurseName = userInfo.realName |
|
|
|
this.formListValue.backNurseCode = userInfo.employeeId |
|
|
|
// res.data.centerDoctorSign ? '' : this.getZdDoctorSign('centerDoctorSign', '', 'centerDoctorCode', |
|
|
|
// 'centerDoctorName') |
|
|
|
res.data.backNurseSign ? '' : this.getSystomSign('backNurseSign', '', 'backNurseCode', |
|
|
|
'backNurseName') |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
icon: 'none', |
|
|
@ -977,19 +970,19 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取主刀医生签字 |
|
|
|
async getZdDoctorSign(sign, date, code, name) { |
|
|
|
const res = await this.$baseAPI.request(this.$portAdress.getMainDoctorSign, { |
|
|
|
operaPatientId: this.optionList.operaId |
|
|
|
}) |
|
|
|
if (res.code === 0) { |
|
|
|
this.getCaUserSignImg(sign, date, code, name, res.data) |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
title: res.msg, |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
// async getZdDoctorSign(sign, date, code, name) { |
|
|
|
// const res = await this.$baseAPI.request(this.$portAdress.getMainDoctorSign, { |
|
|
|
// operaPatientId: this.optionList.operaId |
|
|
|
// }) |
|
|
|
// if (res.code === 0) { |
|
|
|
// this.getCaUserSignImg(sign, date, code, name, res.data) |
|
|
|
// } else { |
|
|
|
// uni.showToast({ |
|
|
|
// title: res.msg, |
|
|
|
// icon: 'none' |
|
|
|
// }) |
|
|
|
// } |
|
|
|
// }, |
|
|
|
// 获取系统签名 |
|
|
|
getSystomSign(sign, date, code, name) { |
|
|
|
let userInfo = uni.getStorageSync('userInfo') ? JSON.parse(uni.getStorageSync('userInfo')) : '' |
|
|
@ -1052,9 +1045,18 @@ |
|
|
|
console.log('保存', res); |
|
|
|
if (res.code === 0) { |
|
|
|
if (this.sendCaStatus == 1) { |
|
|
|
// this.operaFormDataCaSign({ |
|
|
|
// caSignData: JSON.stringify(this.formListValue), |
|
|
|
// doctorCode: this.formListValue.centerDoctorCode, |
|
|
|
// formFlag: '12', |
|
|
|
// formId: res.data, |
|
|
|
// formName: '屈光手术护理记录单', |
|
|
|
// patientId: this.formListValue.patientId, |
|
|
|
// patientName: this.formListValue.patientName, |
|
|
|
// }) |
|
|
|
this.operaFormDataCaSign({ |
|
|
|
caSignData: JSON.stringify(this.formListValue), |
|
|
|
doctorCode: this.formListValue.centerDoctorCode, |
|
|
|
doctorCode: this.formListValue.backNurseCode, |
|
|
|
formFlag: '12', |
|
|
|
formId: res.data, |
|
|
|
formName: '屈光手术护理记录单', |
|
|
|