课程管理编辑异常处理

dev
wangpeng 2024-04-11 12:39:44 +08:00
parent 30be7bc705
commit a7b28c8e3d
4 changed files with 7 additions and 6 deletions

View File

@ -211,10 +211,8 @@ const router = useRouter();
const getAllOperationVehicleList = await getScrapOperationVehicleList(); const getAllOperationVehicleList = await getScrapOperationVehicleList();
const getAllFrailerList = await getScrapFreightTrailerList(); const getAllFrailerList = await getScrapFreightTrailerList();
const VEHICLE_MODEL = await layoutFnGetScrapType(); const VEHICLE_MODEL = await layoutFnGetScrapType();
const SCRAP_ID = route.query.SCRAP_ID; const SCRAP_ID = route.query.SCRAP_ID;
const rules = { const rules = {
SCRAP_VEHICLEMODEL: [ SCRAP_VEHICLEMODEL: [
@ -393,7 +391,7 @@ const fnSubmit = debounce(
}, },
{ atBegin: true } { atBegin: true }
); );
const SCRAP_VEHICLE_MODEL = VEHICLE_MODEL.value.list const SCRAP_VEHICLE_MODEL = VEHICLE_MODEL.value.list;
</script> </script>
<style scoped lang="scss"></style> <style scoped lang="scss"></style>

View File

@ -133,8 +133,8 @@ const rules = {
}, },
], ],
}; };
const relatedClassificationTempList = await layoutFnGetNotificationsClassification(); const relatedClassificationTempList =
await layoutFnGetNotificationsClassification();
const router = useRouter(); const router = useRouter();
const data = reactive({ const data = reactive({

View File

@ -146,7 +146,7 @@ const data = reactive({
TITLE: "", TITLE: "",
CORPINFO_ID: "", CORPINFO_ID: "",
LEVEL: "", LEVEL: "",
PERSON_ID: '', PERSON_ID: "",
PERSON: [], PERSON: [],
fileList: [], fileList: [],
videoList: [], videoList: [],

View File

@ -327,6 +327,9 @@ const rules = {
INDUSTRY_LAST: [ INDUSTRY_LAST: [
{ required: true, message: "请选择行业类型", trigger: "change" }, { required: true, message: "请选择行业类型", trigger: "change" },
], ],
TRAINLEVEL: [
{ required: true, message: "请选择培训级别", trigger: "change" },
],
POSTTYPE: [{ required: true, message: "请选择岗位类型", trigger: "change" }], POSTTYPE: [{ required: true, message: "请选择岗位类型", trigger: "change" }],
files: [ files: [
{ {