Browse Source

考核规则验证规则

csg6 6 months ago
parent
commit
0318fec043

+ 1 - 1
src/views/examineCompetition/assessment/produceScore.vue

@@ -24,7 +24,7 @@
24
         <el-table-column align="center" label="权重" width="100">
24
         <el-table-column align="center" label="权重" width="100">
25
           <template #default="{ row }">
25
           <template #default="{ row }">
26
             <span v-if="row.scoreWeight">
26
             <span v-if="row.scoreWeight">
27
-              {{ row.scoreWeight }}% 
27
+              {{ row.scoreWeight }}%
28
             </span>
28
             </span>
29
             <span v-else>
29
             <span v-else>
30
               <!-- - -->
30
               <!-- - -->

+ 10 - 10
src/views/examineCompetition/ruleManagement/productionDepartment.vue

@@ -115,7 +115,7 @@
115
         label-width="100px"
115
         label-width="100px"
116
         :disabled="this.type === 'check'"
116
         :disabled="this.type === 'check'"
117
       >
117
       >
118
-        <el-form-item label="权重:" prop="postName">
118
+        <el-form-item label="权重:" prop="fullScore">
119
           <el-input
119
           <el-input
120
             style="width: 100px"
120
             style="width: 100px"
121
             v-model="form.fullScore"
121
             v-model="form.fullScore"
@@ -123,7 +123,7 @@
123
           />
123
           />
124
           %
124
           %
125
         </el-form-item>
125
         </el-form-item>
126
-        <el-form-item label="专业:" filterable prop="status">
126
+        <el-form-item label="专业:" filterable prop="dutyType">
127
           <el-select
127
           <el-select
128
             v-model="form.dutyType"
128
             v-model="form.dutyType"
129
             placeholder="请选择"
129
             placeholder="请选择"
@@ -228,7 +228,7 @@ export default {
228
         pageNum: 1,
228
         pageNum: 1,
229
         pageSize: 10,
229
         pageSize: 10,
230
         postCode: undefined,
230
         postCode: undefined,
231
-        postName: undefined,
231
+        fullScore: undefined,
232
         status: undefined,
232
         status: undefined,
233
         type: 3
233
         type: 3
234
       },
234
       },
@@ -239,15 +239,15 @@ export default {
239
       },
239
       },
240
       // 表单校验
240
       // 表单校验
241
       rules: {
241
       rules: {
242
-        postName: [
243
-          { required: true, message: '岗位名称不能为空', trigger: 'blur' }
242
+        fullScore: [
243
+          { required: true, message: '权重不能为空', trigger: 'blur' }
244
         ],
244
         ],
245
-        postCode: [
246
-          { required: true, message: '岗位编码不能为空', trigger: 'blur' }
245
+        dutyType: [
246
+          { required: true, message: '专业不能为空', trigger: 'blur' }
247
         ],
247
         ],
248
-        postSort: [
249
-          { required: true, message: '岗位顺序不能为空', trigger: 'blur' }
250
-        ]
248
+        // postSort: [
249
+        //   { required: true, message: '岗位顺序不能为空', trigger: 'blur' }
250
+        // ]
251
       }
251
       }
252
     }
252
     }
253
   },
253
   },