|
|
@@ -118,9 +118,9 @@ export default {
|
|
118
|
118
|
],
|
|
119
|
119
|
// 排序状态管理
|
|
120
|
120
|
sortStates: {
|
|
121
|
|
- '查获上报': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' },
|
|
|
121
|
+ '查获数据': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' },
|
|
122
|
122
|
'抽问抽答': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' },
|
|
123
|
|
- '巡检': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' }
|
|
|
123
|
+ '巡视检查': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' }
|
|
124
|
124
|
},
|
|
125
|
125
|
// 排名数据
|
|
126
|
126
|
rankData: {
|
|
|
@@ -205,13 +205,13 @@ export default {
|
|
205
|
205
|
console.log('this.seizeData', this.seizeData, this.seizeData.stationMasterData)
|
|
206
|
206
|
return [
|
|
207
|
207
|
{
|
|
208
|
|
- title: '查获上报',
|
|
|
208
|
+ title: '查获数据',
|
|
209
|
209
|
linkText: this.isZhanZhang ? "" : this.isIndividualView ? (this.seizePendingCount ? `${this.seizePendingCount}条草稿待处理` : '') : (this.seizePendingCount ? `${this.seizePendingCount}条数据待处理` : ''),
|
|
210
|
210
|
link: this.isIndividualView ? '/pages/voiceSubmissionDraft/index' : '/pages/myToDoList/index',
|
|
211
|
211
|
statTitle: '查获数量',
|
|
212
|
|
- teamSortType: this.sortStates['查获上报'].teamSortType,
|
|
213
|
|
- deptSortType: this.sortStates['查获上报'].deptSortType,
|
|
214
|
|
- brigadeSortType: this.sortStates['查获上报'].brigadeSortType,
|
|
|
212
|
+ teamSortType: this.sortStates['查获数据'].teamSortType,
|
|
|
213
|
+ deptSortType: this.sortStates['查获数据'].deptSortType,
|
|
|
214
|
+ brigadeSortType: this.sortStates['查获数据'].brigadeSortType,
|
|
215
|
215
|
dividerIndex: this.isBrigade ? 1 : 0,
|
|
216
|
216
|
dataItems: this.getSeizeDataItems(),
|
|
217
|
217
|
rankList: this.getSeizeRankList(),
|
|
|
@@ -241,13 +241,13 @@ export default {
|
|
241
|
241
|
bottomBrigadeRank: this.accuracyStatistics.brigadeRankingList && [...this.accuracyStatistics.brigadeRankingList].sort((a, b) => (a.accuracy || 0) - (b.accuracy || 0)).slice(0, 5).map(item => ({ ...item, passRate: item.accuracy.toFixed(2), name: item.name })),
|
|
242
|
242
|
},
|
|
243
|
243
|
{
|
|
244
|
|
- title: '巡检',
|
|
|
244
|
+ title: '巡视检查',
|
|
245
|
245
|
linkText: this.isZhanZhang ? "" : this.inspectionData.toDoNumber ? `${this.inspectionData.toDoNumber}条待处理任务` : "",
|
|
246
|
246
|
link: '/pages/myToDoList/index',
|
|
247
|
247
|
statTitle: '合格率(%)',
|
|
248
|
|
- teamSortType: this.sortStates['巡检'].teamSortType,
|
|
249
|
|
- deptSortType: this.sortStates['巡检'].deptSortType,
|
|
250
|
|
- brigadeSortType: this.sortStates['巡检'].brigadeSortType,
|
|
|
248
|
+ teamSortType: this.sortStates['巡视检查'].teamSortType,
|
|
|
249
|
+ deptSortType: this.sortStates['巡视检查'].deptSortType,
|
|
|
250
|
+ brigadeSortType: this.sortStates['巡视检查'].brigadeSortType,
|
|
251
|
251
|
dividerIndex: this.isBrigade ? 1 : 0,
|
|
252
|
252
|
dataItems: this.getInspectionDataItems(),
|
|
253
|
253
|
completed: this.inspectionData.doneNumber,
|
|
|
@@ -316,8 +316,8 @@ export default {
|
|
316
|
316
|
{ label: firstLabel, value: firstValue },
|
|
317
|
317
|
{ label: secondLabel, value: secondValue },
|
|
318
|
318
|
{ label: thirdLabel, value: thirdValue, link: thirdLink },
|
|
319
|
|
- { label: '今日查获上报', value: res?.todaySeizureReportCount },
|
|
320
|
|
- { label: '今日巡检问题', value: res?.todayCheckCorrectionCount },
|
|
|
319
|
+ { label: '今日查获数量', value: res?.todaySeizureReportCount },
|
|
|
320
|
+ { label: '今日巡视检查问题', value: res?.todayCheckCorrectionCount },
|
|
321
|
321
|
{ label: '今日抽问抽答', value: `${this.accuracyStatistics?.todayTaskCompletion?.completedCount || 0}/${this.accuracyStatistics?.todayTaskCompletion?.totalCount || 0}` }
|
|
322
|
322
|
];
|
|
323
|
323
|
} else {
|