-
+
-
-
-
+
+
+
@@ -240,9 +239,9 @@
-
-
-
+
+
+
@@ -261,8 +260,7 @@
- {{
- dict.label }}
+ {{dict.label }}
@@ -378,21 +376,18 @@ export default {
// { required: true, trigger: "blur", message: "请选择职业分类" },
// ],
evaluateAgencyId: [
- { required: true, trigger: "blur", message: "评价机构不能为空" },
+ { required: true, trigger: "change", message: "评价机构不能为空" },
],
courseName: [
{ required: true, trigger: "blur", message: "请输入职业名称" },
],
+ majorId: [
+ { required: true, trigger: "change", message: "请输入专业分类" },
+ ],
},
classTypeOptions: [
- {
- label: '职业考试',
- value: 1
- },
- {
- label: '职业技能',
- value: 2
- },
+ {label: '职业考试', value: 1},
+ {label: '职业技能', value: 2},
],
evaluateAgencyOptions: undefined,
majorClassList: undefined,
diff --git a/ruoyi-ui/src/views/hezhi/exam/index.vue b/ruoyi-ui/src/views/hezhi/exam/index.vue
index cfc8cf78de01708592039ca932b73e7c7f58187e..556a28c9113c05a2a7059f1b523d32589227fd09 100644
--- a/ruoyi-ui/src/views/hezhi/exam/index.vue
+++ b/ruoyi-ui/src/views/hezhi/exam/index.vue
@@ -413,7 +413,7 @@
-
+
@@ -423,7 +423,7 @@
-
+
@@ -433,7 +433,7 @@
-
+
@@ -443,7 +443,7 @@
-
+
@@ -691,14 +691,14 @@ export default {
title: null,
content: null,
introduce: null,
- singleSelectNum: 1,
- singleSelectScore: 1,
- manySelectNum: 1,
- manySelectScore: 1,
- judgeNum: 1,
- judgeScore: 1,
- discussNum: 1,
- discussScore: 1,
+ singleSelectNum: 0,
+ singleSelectScore: 0,
+ manySelectNum: 0,
+ manySelectScore: 0,
+ judgeNum: 0,
+ judgeScore: 0,
+ discussNum: 0,
+ discussScore: 0,
totalScore: null,
passScore: 60,
examMinute: 10,
diff --git a/ruoyi-ui/src/views/hezhi/examSubject/index.vue b/ruoyi-ui/src/views/hezhi/examSubject/index.vue
index d18862468f4047c513d08ab3d7b9eb94aa6b8a23..1c7468623c8dc124f05a19623ba2ecb1cea86528 100644
--- a/ruoyi-ui/src/views/hezhi/examSubject/index.vue
+++ b/ruoyi-ui/src/views/hezhi/examSubject/index.vue
@@ -33,8 +33,10 @@
-
+
搜索
diff --git a/ruoyi-ui/src/views/hezhi/notice/index.vue b/ruoyi-ui/src/views/hezhi/notice/index.vue
index 6f43d4c593d982d431cc693e5a8a195724e92124..9d7199207f0aed739c640f2245c71e77b536c64c 100644
--- a/ruoyi-ui/src/views/hezhi/notice/index.vue
+++ b/ruoyi-ui/src/views/hezhi/notice/index.vue
@@ -414,6 +414,10 @@ export default {
if (this.form.type !== 1) {
this.form.typeTwo = 0;
}
+ if (this.form.content.length <= 11) {
+ this.$modal.msgError('内容不能为空')
+ return
+ }
if (this.form.noticeId != null) {
updateNotice(this.form).then((response) => {