|
|
|
|
@ -8,14 +8,14 @@
|
|
|
|
|
</template> |
|
|
|
|
<div class="dialog-body"> |
|
|
|
|
<el-form ref="formRef" :model="form" :rules="rules" style="width: 100%"> |
|
|
|
|
<el-form-item label="信件信息" prop="appealReason" required |
|
|
|
|
<el-form-item label="信件信息" prop="overruleReason" required |
|
|
|
|
style="display: flex;flex-direction: column;justify-content: start;"> |
|
|
|
|
|
|
|
|
|
<template #label> |
|
|
|
|
<span class="main-label" style="text-align: left; width: 100%">不满意信件申诉驳回理由</span> |
|
|
|
|
</template> |
|
|
|
|
<el-row style="width: 100%"> |
|
|
|
|
<el-input type="textarea" v-model="form.appealReason" placeholder="请输入不满意信件申诉驳回理由" |
|
|
|
|
<el-input type="textarea" v-model="form.overruleReason" placeholder="请输入不满意信件申诉驳回理由" |
|
|
|
|
:autosize="{ minRows: 4, maxRows: 10 }" resize="none" /> |
|
|
|
|
</el-row> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -55,15 +55,15 @@ watch(
|
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
interface FormAppeal { |
|
|
|
|
appealReason: string; |
|
|
|
|
overruleReason: string; |
|
|
|
|
} |
|
|
|
|
const form = ref({ |
|
|
|
|
mailId: '', |
|
|
|
|
appealReason: '' |
|
|
|
|
overruleReason: '' |
|
|
|
|
}) |
|
|
|
|
const formRef = ref<FormInstance>(); |
|
|
|
|
const rules = reactive<FormRules<FormAppeal>>({ |
|
|
|
|
appealReason: [ |
|
|
|
|
overruleReason: [ |
|
|
|
|
{ required: true, message: '请输入驳回理由', trigger: 'blur' }, |
|
|
|
|
{ min: 10, message: '驳回理由不能少于10个字', trigger: 'blur' }, |
|
|
|
|
{ max: 1000, message: '驳回理由不能多于1000个字', trigger: 'blur' } |
|
|
|
|
|