Просмотр исходного кода

fix(monthlyAssess): 修正表单字段名不一致问题

统一页面绑定字段名和data中定义的字段名,修复表单数据无法正确绑定的问题
huoyi недель назад: 4
Родитель
Сommit
849624616f
1 измененных файлов с 10 добавлено и 10 удалено
  1. 10 10
      src/views/performanceManage/monthlyAssess/index.vue

+ 10 - 10
src/views/performanceManage/monthlyAssess/index.vue

@@ -282,7 +282,7 @@
282 282
           <el-row :gutter="20">
283 283
             <el-col :span="12">
284 284
               <el-form-item label="红线指标触发次数">
285
-                <el-input v-model="nonCadreForm.redLineTriggerCount" disabled placeholder="不可编辑,红线明细的次数之和" />
285
+                <el-input v-model="nonCadreForm.redLineIndexTriggerCount" disabled placeholder="不可编辑,红线明细的次数之和" />
286 286
               </el-form-item>
287 287
             </el-col>
288 288
             <el-col :span="12">
@@ -298,7 +298,7 @@
298 298
           <el-row :gutter="20">
299 299
             <el-col :span="12">
300 300
               <el-form-item label="核心指标分值">
301
-                <el-input v-model="nonCadreForm.coreIndicatorScore" disabled placeholder="不可编辑,各个明细的集合" />
301
+                <el-input v-model="nonCadreForm.coreIndexScore" disabled placeholder="不可编辑,各个明细的集合" />
302 302
               </el-form-item>
303 303
             </el-col>
304 304
             <el-col :span="12">
@@ -314,7 +314,7 @@
314 314
           <el-row :gutter="20">
315 315
             <el-col :span="12">
316 316
               <el-form-item label="其他指标中的安全指标(仅含SOC/站品控检查扣分)分值">
317
-                <el-input v-model="nonCadreForm.safetyWithSocScore" disabled placeholder="不可编辑,各个明细的集合" />
317
+                <el-input v-model="nonCadreForm.otherIndexSafetyScoreWithSocStationQcDeduction" disabled placeholder="不可编辑,各个明细的集合" />
318 318
               </el-form-item>
319 319
             </el-col>
320 320
             <el-col :span="12">
@@ -330,7 +330,7 @@
330 330
           <el-row :gutter="20">
331 331
             <el-col :span="12">
332 332
               <el-form-item label="其他指标中的非安全指标分值">
333
-                <el-input v-model="nonCadreForm.nonSafetyIndicatorScore" disabled placeholder="不可编辑,各个明细的集合" />
333
+                <el-input v-model="nonCadreForm.otherIndexNonSafetyDeduction" disabled placeholder="不可编辑,各个明细的集合" />
334 334
               </el-form-item>
335 335
             </el-col>
336 336
             <el-col :span="12">
@@ -346,7 +346,7 @@
346 346
           <el-row :gutter="20">
347 347
             <el-col :span="12">
348 348
               <el-form-item label="SOC/站品控检查的涉及核心、安全指标扣分">
349
-                <el-input v-model="nonCadreForm.socSafetyCoreDeduction" disabled placeholder="不可编辑,各个明细的集合" />
349
+                <el-input v-model="nonCadreForm.socStationQcInvolvedCoreSafetyDeduction" disabled placeholder="不可编辑,各个明细的集合" />
350 350
               </el-form-item>
351 351
             </el-col>
352 352
             <el-col :span="12">
@@ -362,12 +362,12 @@
362 362
           <el-row :gutter="20">
363 363
             <el-col :span="12">
364 364
               <el-form-item label="非核心安全+核心扣分">
365
-                <el-input v-model="nonCadreForm.nonCoreSafetyCoreDeduction" disabled placeholder="不可编辑,各个明细的集合" />
365
+                <el-input v-model="nonCadreForm.nonCoreSafetyPlusCoreDeduction" disabled placeholder="不可编辑,各个明细的集合" />
366 366
               </el-form-item>
367 367
             </el-col>
368 368
             <el-col :span="12">
369
-              <el-form-item label="分管员工数量" prop="managedEmployeeCount">
370
-                <el-input-number v-model="nonCadreForm.managedEmployeeCount" :min="0" style="width: 100%" />
369
+              <el-form-item label="分管员工数量" prop="inChargeEmployeeCount">
370
+                <el-input-number v-model="nonCadreForm.inChargeEmployeeCount" :min="0" style="width: 100%" />
371 371
               </el-form-item>
372 372
             </el-col>
373 373
           </el-row>
@@ -375,7 +375,7 @@
375 375
           <el-row :gutter="20">
376 376
             <el-col :span="12">
377 377
               <el-form-item label="扣分平均值">
378
-                <el-input v-model="nonCadreForm.averageDeduction" disabled placeholder="不可编辑,计算" />
378
+                <el-input v-model="nonCadreForm.deductionAverage" disabled placeholder="不可编辑,计算" />
379 379
               </el-form-item>
380 380
             </el-col>
381 381
             <el-col :span="12">
@@ -637,7 +637,7 @@ const getEmptyNonCadreForm = () => ({
637 637
   nonSafetyIndicatorScore: '',
638 638
   socSafetyCoreDeduction: '',
639 639
   nonCoreSafetyCoreDeduction: '',
640
-  averageDeduction: '',
640
+  deductionAverage: '',
641 641
   rewardDetailsSummary: '',
642 642
   penaltyDetailsSummary: '',
643 643
   redLineIndexAccordList: [],