#431 会诊申请单:标签文案修改「需要病员及会诊目的」为「简要病史及会诊目的」 #433 手术安排编辑:麻醉方法回显为代码 - 添加Number类型转换 #434 手术安排编辑:切口类型未回显 - 添加Number类型转换 #435 手术安排编辑:费用类别未回显 - 确保字段正确赋值
This commit is contained in:
@@ -196,7 +196,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-form-item label="需要病员及会诊目的:" prop="consultationPurpose">
|
<el-form-item label="简要病史及会诊目的:" prop="consultationPurpose">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="formData.consultationPurpose"
|
v-model="formData.consultationPurpose"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
|
|||||||
@@ -1265,6 +1265,10 @@ function handleEdit(row) {
|
|||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
const data = res.data
|
const data = res.data
|
||||||
Object.assign(form, data)
|
Object.assign(form, data)
|
||||||
|
// 修复#433 #434 #435:确保字典字段类型与下拉选项一致(Number类型)
|
||||||
|
if (data.anesthesiaTypeEnum != null) form.anesMethod = Number(data.anesthesiaTypeEnum)
|
||||||
|
if (data.incisionLevel != null) form.incisionType = Number(data.incisionLevel)
|
||||||
|
if (data.feeType != null) form.feeType = data.feeType
|
||||||
} else {
|
} else {
|
||||||
proxy.$modal.msgError('获取手术安排详情失败')
|
proxy.$modal.msgError('获取手术安排详情失败')
|
||||||
}
|
}
|
||||||
@@ -1284,6 +1288,10 @@ function handleView(row) {
|
|||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
const data = res.data
|
const data = res.data
|
||||||
Object.assign(form, data)
|
Object.assign(form, data)
|
||||||
|
// 修复#433 #434 #435:确保字典字段类型与下拉选项一致(Number类型)
|
||||||
|
if (data.anesthesiaTypeEnum != null) form.anesMethod = Number(data.anesthesiaTypeEnum)
|
||||||
|
if (data.incisionLevel != null) form.incisionType = Number(data.incisionLevel)
|
||||||
|
if (data.feeType != null) form.feeType = data.feeType
|
||||||
} else {
|
} else {
|
||||||
proxy.$modal.msgError('获取手术安排详情失败')
|
proxy.$modal.msgError('获取手术安排详情失败')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user