Selaa lähdekoodia

考核规则验证规则

csg6 6 kuukautta sitten
vanhempi
commit
0318fec043

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

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

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

@@ -115,7 +115,7 @@
115 115
         label-width="100px"
116 116
         :disabled="this.type === 'check'"
117 117
       >
118
-        <el-form-item label="权重:" prop="postName">
118
+        <el-form-item label="权重:" prop="fullScore">
119 119
           <el-input
120 120
             style="width: 100px"
121 121
             v-model="form.fullScore"
@@ -123,7 +123,7 @@
123 123
           />
124 124
           %
125 125
         </el-form-item>
126
-        <el-form-item label="专业:" filterable prop="status">
126
+        <el-form-item label="专业:" filterable prop="dutyType">
127 127
           <el-select
128 128
             v-model="form.dutyType"
129 129
             placeholder="请选择"
@@ -228,7 +228,7 @@ export default {
228 228
         pageNum: 1,
229 229
         pageSize: 10,
230 230
         postCode: undefined,
231
-        postName: undefined,
231
+        fullScore: undefined,
232 232
         status: undefined,
233 233
         type: 3
234 234
       },
@@ -239,15 +239,15 @@ export default {
239 239
       },
240 240
       // 表单校验
241 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
   },