|
@@ -11,10 +11,10 @@
|
|
|
<el-form :disabled="dialogType == 'appeal_yes' || dialogType == 'appeal_no'" :model="appealForm"
|
|
|
:rules="appealRules" ref="appealFormRef" label-width="80px">
|
|
|
<el-form-item :label="`${getDialogTitle()}医师`" prop="doctor">
|
|
|
- <el-input v-model="appealForm.doctor" :placeholder="`请输入${getDialogTitle()}医师姓名及工号`"></el-input>
|
|
|
+ <el-input :disabled="dialogType === 'appeal_ing'" v-model="appealForm.doctor" :placeholder="`请输入${getDialogTitle()}医师姓名及工号`"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item :label="`${getDialogTitle()}原因`" prop="reason">
|
|
|
- <el-input type="textarea" v-model="appealForm.reason" :placeholder="`请输入${getDialogTitle()}原因`"
|
|
|
+ <el-input :disabled="dialogType === 'appeal_ing'" type="textarea" v-model="appealForm.reason" :placeholder="`请输入${getDialogTitle()}原因`"
|
|
|
:rows="2"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -94,6 +94,9 @@ export default {
|
|
|
if(this.dialogType === 'appeal_in_no' || this.dialogType === 'appeal_no') {
|
|
|
return '驳回'
|
|
|
}
|
|
|
+ if(this.dialogType === 'appeal_ing' || this.dialogType === 'appeal_ing') {
|
|
|
+ return '申诉'
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
getBaseInfo() {
|
|
@@ -115,15 +118,21 @@ export default {
|
|
|
doctor: '',
|
|
|
reason: ''
|
|
|
};
|
|
|
- if(type === 'appeal_yes' || type === 'appeal_no') {
|
|
|
+ if(type === 'appeal_yes' || type === 'appeal_no' || type === 'appeal_ing') {
|
|
|
const params = {
|
|
|
id: items.rule_id || items.error_rule,
|
|
|
cate: items.cate,
|
|
|
ZYH: this.MEDRECID,
|
|
|
};
|
|
|
const res = await getAppealData(params);
|
|
|
- this.appealForm.doctor = res.data.case_docter; // 驳回医师
|
|
|
- this.appealForm.reason = res.data.reject_content; // 驳回原因
|
|
|
+ if(type === 'appeal_ing') {
|
|
|
+ this.appealForm.doctor = res.data.appeal_docter; // 申诉医师
|
|
|
+ this.appealForm.reason = res.data.defect_content; // 申诉原因
|
|
|
+ }else {
|
|
|
+ this.appealForm.doctor = res.data.case_docter; // 驳回医师
|
|
|
+ this.appealForm.reason = res.data.reject_content; // 驳回原因
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
this.dialogVisible = true;
|
|
|
this.getBaseInfo()
|