diff --git a/src/views/mechanical_files/scrap_manage/add.vue b/src/views/mechanical_files/scrap_manage/add.vue index 37cadec..6f4aa8f 100644 --- a/src/views/mechanical_files/scrap_manage/add.vue +++ b/src/views/mechanical_files/scrap_manage/add.vue @@ -211,10 +211,8 @@ const router = useRouter(); const getAllOperationVehicleList = await getScrapOperationVehicleList(); const getAllFrailerList = await getScrapFreightTrailerList(); - const VEHICLE_MODEL = await layoutFnGetScrapType(); - const SCRAP_ID = route.query.SCRAP_ID; const rules = { SCRAP_VEHICLEMODEL: [ @@ -393,7 +391,7 @@ const fnSubmit = debounce( }, { atBegin: true } ); -const SCRAP_VEHICLE_MODEL = VEHICLE_MODEL.value.list +const SCRAP_VEHICLE_MODEL = VEHICLE_MODEL.value.list; diff --git a/src/views/safety_production_related/security_notice/add.vue b/src/views/safety_production_related/security_notice/add.vue index 73de818..9e529f9 100644 --- a/src/views/safety_production_related/security_notice/add.vue +++ b/src/views/safety_production_related/security_notice/add.vue @@ -133,8 +133,8 @@ const rules = { }, ], }; -const relatedClassificationTempList = await layoutFnGetNotificationsClassification(); - +const relatedClassificationTempList = + await layoutFnGetNotificationsClassification(); const router = useRouter(); const data = reactive({ diff --git a/src/views/safety_production_related/security_notice/details.vue b/src/views/safety_production_related/security_notice/details.vue index 214a010..ba57002 100644 --- a/src/views/safety_production_related/security_notice/details.vue +++ b/src/views/safety_production_related/security_notice/details.vue @@ -146,7 +146,7 @@ const data = reactive({ TITLE: "", CORPINFO_ID: "", LEVEL: "", - PERSON_ID: '', + PERSON_ID: "", PERSON: [], fileList: [], videoList: [], diff --git a/src/views/training_resource_management/course_management/add.vue b/src/views/training_resource_management/course_management/add.vue index 4455692..f36eabb 100644 --- a/src/views/training_resource_management/course_management/add.vue +++ b/src/views/training_resource_management/course_management/add.vue @@ -327,6 +327,9 @@ const rules = { INDUSTRY_LAST: [ { required: true, message: "请选择行业类型", trigger: "change" }, ], + TRAINLEVEL: [ + { required: true, message: "请选择培训级别", trigger: "change" }, + ], POSTTYPE: [{ required: true, message: "请选择岗位类型", trigger: "change" }], files: [ {