|
|
@@ -728,7 +728,9 @@ const indicatorDialog = reactive({
|
|
728
|
728
|
rewardDetails: '',
|
|
729
|
729
|
reward: 0,
|
|
730
|
730
|
penaltyDetails: '',
|
|
731
|
|
- penalty: 0
|
|
|
731
|
+ penalty: 0,
|
|
|
732
|
+ rewardPunishmentType: '',
|
|
|
733
|
+ personnelMonthlyAssessmentIndicatorRewardPunishmentDetailList: []
|
|
732
|
734
|
}
|
|
733
|
735
|
})
|
|
734
|
736
|
|
|
|
@@ -1220,6 +1222,11 @@ const saveIndicator = () => {
|
|
1220
|
1222
|
return
|
|
1221
|
1223
|
}
|
|
1222
|
1224
|
|
|
|
1225
|
+ const rewardPunishmentType = indicatorDialog.form.score > 0 ? '1' : '0'
|
|
|
1226
|
+ list.forEach(detail => {
|
|
|
1227
|
+ detail.rewardPunishmentType = rewardPunishmentType
|
|
|
1228
|
+ })
|
|
|
1229
|
+
|
|
1223
|
1230
|
if (indicatorDialog.mode === 'add') {
|
|
1224
|
1231
|
addIndicatorToGroup({ ...indicatorDialog.form })
|
|
1225
|
1232
|
ElMessage.success('添加成功')
|