|
|
@@ -55,14 +55,16 @@
|
|
55
|
55
|
<!-- 非干部操作按钮 -->
|
|
56
|
56
|
<div v-if="currentTab === 'non-cadre'" class="left-buttons">
|
|
57
|
57
|
<el-button type="primary" plain icon="Plus" @click="handleAdd">新增</el-button>
|
|
|
58
|
+ <el-button type="danger" plain icon="Delete" :disabled="selectedIds.length === 0"
|
|
|
59
|
+ @click="handleBatchDelete">删除</el-button>
|
|
58
|
60
|
<el-button type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
|
59
|
|
- <el-button type="danger" plain icon="Delete" :disabled="selectedIds.length === 0" @click="handleBatchDelete">删除</el-button>
|
|
60
|
61
|
</div>
|
|
61
|
62
|
<!-- 干部模式时显示空白占位 -->
|
|
62
|
63
|
<div v-else class="left-buttons"></div>
|
|
63
|
64
|
|
|
64
|
65
|
<div class="right-buttons">
|
|
65
|
|
- <el-button type="primary" :disabled="!queryParams.assessmentMonth" @click="generateMonthlyAssessment">生成本月考核表</el-button>
|
|
|
66
|
+ <el-button type="primary" :disabled="!queryParams.assessmentMonth"
|
|
|
67
|
+ @click="generateMonthlyAssessment">生成本月考核表</el-button>
|
|
66
|
68
|
</div>
|
|
67
|
69
|
</div>
|
|
68
|
70
|
|
|
|
@@ -195,10 +197,10 @@
|
|
195
|
197
|
|
|
196
|
198
|
<!-- 编辑/新增弹窗 -->
|
|
197
|
199
|
<el-dialog :title="dialog.title" v-model="dialog.visible" width="80%" :close-on-click-modal="false"
|
|
198
|
|
- destroy-on-close >
|
|
|
200
|
+ destroy-on-close>
|
|
199
|
201
|
<!-- 非干部表单 -->
|
|
200
|
|
- <el-form v-loading="dialog.loading" v-if="dialog.type === 'non-cadre'" :model="nonCadreForm" ref="formRef" :rules="nonCadreRules"
|
|
201
|
|
- label-width="380px" class="form-container">
|
|
|
202
|
+ <el-form v-loading="dialog.loading" v-if="dialog.type === 'non-cadre'" :model="nonCadreForm" ref="formRef"
|
|
|
203
|
+ :rules="nonCadreRules" label-width="380px" class="form-container">
|
|
202
|
204
|
<!-- 第一部分:基础信息 -->
|
|
203
|
205
|
<el-row :gutter="20">
|
|
204
|
206
|
<el-col :span="8">
|
|
|
@@ -289,9 +291,11 @@
|
|
289
|
291
|
<div class="indicator-group-title">{{ group.title }}</div>
|
|
290
|
292
|
<div v-for="(item, itemIndex) in group.items" :key="itemIndex" class="indicator-item">
|
|
291
|
293
|
<div class="indicator-name">{{ item.indicatorName }}</div>
|
|
292
|
|
- <div class="indicator-value" v-if="item.categoryNameOne != '红线指标'">{{item.score>0?'+':''}}{{ item.score }}/次</div>
|
|
|
294
|
+ <div class="indicator-value" v-if="item.categoryNameOne != '红线指标'">{{ item.score > 0 ? '+' : '' }}{{ item.score
|
|
|
295
|
+ }}/次
|
|
|
296
|
+ </div>
|
|
293
|
297
|
<div class="indicator-count">{{ item.occurCount }}次</div>
|
|
294
|
|
- <div class="indicator-total">{{item.scoreResult>0?'+':''}}{{ item.scoreResult }}</div>
|
|
|
298
|
+ <div class="indicator-total">{{ item.scoreResult > 0 ? '+' : '' }}{{ item.scoreResult }}</div>
|
|
295
|
299
|
<div class="indicator-actions">
|
|
296
|
300
|
<el-button type="primary" link icon="Edit" @click="editIndicator(groupIndex, itemIndex)"></el-button>
|
|
297
|
301
|
<el-button type="danger" link icon="Delete" @click="deleteIndicator(groupIndex, itemIndex)"></el-button>
|
|
|
@@ -338,7 +342,8 @@
|
|
338
|
342
|
<el-row :gutter="20">
|
|
339
|
343
|
<el-col :span="12">
|
|
340
|
344
|
<el-form-item label="其他指标中的安全指标(仅含SOC/站品控检查扣分)分值">
|
|
341
|
|
- <el-input v-model="nonCadreForm.otherIndexSafetyScoreWithSocStationQcDeduction" disabled placeholder="不可编辑,各个明细的集合" />
|
|
|
345
|
+ <el-input v-model="nonCadreForm.otherIndexSafetyScoreWithSocStationQcDeduction" disabled
|
|
|
346
|
+ placeholder="不可编辑,各个明细的集合" />
|
|
342
|
347
|
</el-form-item>
|
|
343
|
348
|
</el-col>
|
|
344
|
349
|
<el-col :span="12">
|
|
|
@@ -370,7 +375,8 @@
|
|
370
|
375
|
<el-row :gutter="20">
|
|
371
|
376
|
<el-col :span="12">
|
|
372
|
377
|
<el-form-item label="SOC/站品控检查的涉及核心、安全指标扣分">
|
|
373
|
|
- <el-input v-model="nonCadreForm.socStationQcInvolvedCoreSafetyDeduction" disabled placeholder="不可编辑,各个明细的集合" />
|
|
|
378
|
+ <el-input v-model="nonCadreForm.socStationQcInvolvedCoreSafetyDeduction" disabled
|
|
|
379
|
+ placeholder="不可编辑,各个明细的集合" />
|
|
374
|
380
|
</el-form-item>
|
|
375
|
381
|
</el-col>
|
|
376
|
382
|
<el-col :span="12">
|
|
|
@@ -516,7 +522,8 @@
|
|
516
|
522
|
|
|
517
|
523
|
<el-form-item label="分值/单位" v-if="indicatorDialog.form.categoryNameOne != '红线指标'">
|
|
518
|
524
|
<div style="display: flex; align-items: center; gap: 10px;">
|
|
519
|
|
- <span style="font-size: 24px; font-weight: bold;">{{indicatorDialog.form.score>0?'+':''}}{{ indicatorDialog.form.score }}/次</span>
|
|
|
525
|
+ <span style="font-size: 24px; font-weight: bold;">{{ indicatorDialog.form.score > 0 ? '+' : '' }}{{
|
|
|
526
|
+ indicatorDialog.form.score }}/次</span>
|
|
520
|
527
|
|
|
521
|
528
|
</div>
|
|
522
|
529
|
</el-form-item>
|