Luka 1 mesiac pred
rodič
commit
44d709419f

+ 7 - 7
src/views/notificationInfoInquiry/publish/components/waterSafetyInformation.vue

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