|
@@ -59,17 +59,17 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row> -->
|
|
</el-row> -->
|
|
|
|
|
|
|
|
- <!-- 通报类型(单选框) -->
|
|
|
|
|
|
|
+ <!-- 通报类别(单选框) -->
|
|
|
<el-row :gutter="24">
|
|
<el-row :gutter="24">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="通报类型" prop="notificationType" required>
|
|
|
|
|
|
|
+ <el-form-item label="通报类别" prop="notificationMattersType" required>
|
|
|
<el-select
|
|
<el-select
|
|
|
- v-model="item.notificationType"
|
|
|
|
|
|
|
+ v-model="item.notificationMattersType"
|
|
|
:disabled="!isEditable"
|
|
:disabled="!isEditable"
|
|
|
- placeholder="请选择通报类型"
|
|
|
|
|
|
|
+ placeholder="请选择通报类别"
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="item in notificationType"
|
|
|
|
|
|
|
+ v-for="item in notificationMattersTypeOptions"
|
|
|
:key="item.value"
|
|
:key="item.value"
|
|
|
:label="item.label"
|
|
:label="item.label"
|
|
|
:value="item.value"
|
|
:value="item.value"
|
|
@@ -228,7 +228,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
formData: {},
|
|
formData: {},
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
-const notificationType = asyncOutTypeList('bj_notification_type');
|
|
|
|
|
|
|
+const notificationMattersTypeOptions = asyncOutTypeList('bj_category_onm');
|
|
|
const industryType = asyncOutTypeList('bj_industry_type');
|
|
const industryType = asyncOutTypeList('bj_industry_type');
|
|
|
const isFeedback = asyncOutTypeList('bj_is_feedback');
|
|
const isFeedback = asyncOutTypeList('bj_is_feedback');
|
|
|
|
|
|
|
@@ -254,7 +254,7 @@ const formRules = reactive<FormRules>({
|
|
|
{ required: true, message: '请输入通报标准或具体行为', trigger: 'blur' },
|
|
{ required: true, message: '请输入通报标准或具体行为', trigger: 'blur' },
|
|
|
{ max: 1000, message: '长度不能超过1000个字符', trigger: 'blur' },
|
|
{ max: 1000, message: '长度不能超过1000个字符', trigger: 'blur' },
|
|
|
],
|
|
],
|
|
|
- conm: [{ required: true, message: '请选择通报类别', trigger: 'change' }],
|
|
|
|
|
|
|
+ notificationMattersType: [{ required: true, message: '请选择通报类别', trigger: 'change' }],
|
|
|
wtis: [
|
|
wtis: [
|
|
|
{ required: true, message: '请填写水上交通安全信息', trigger: 'blur' },
|
|
{ required: true, message: '请填写水上交通安全信息', trigger: 'blur' },
|
|
|
{ max: 3000, message: '长度不能超过3000个字符', trigger: 'blur' },
|
|
{ max: 3000, message: '长度不能超过3000个字符', trigger: 'blur' },
|