|
|
@@ -124,9 +124,9 @@ export default {
|
|
124
|
124
|
],
|
|
125
|
125
|
// 排序状态管理
|
|
126
|
126
|
sortStates: {
|
|
127
|
|
- '查获上报': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' },
|
|
|
127
|
+ '查获数据': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' },
|
|
128
|
128
|
'抽问抽答': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' },
|
|
129
|
|
- '巡检': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' }
|
|
|
129
|
+ '巡视检查': { teamSortType: 'asc', deptSortType: 'asc', brigadeSortType: 'asc' }
|
|
130
|
130
|
},
|
|
131
|
131
|
// 排名数据
|
|
132
|
132
|
rankData: {
|
|
|
@@ -211,13 +211,13 @@ export default {
|
|
211
|
211
|
console.log('this.seizeData', this.seizeData, this.seizeData.stationMasterData)
|
|
212
|
212
|
return [
|
|
213
|
213
|
{
|
|
214
|
|
- title: '查获上报',
|
|
|
214
|
+ title: '查获数据',
|
|
215
|
215
|
linkText: this.isZhanZhang ? "" : this.isIndividualView ? (this.seizePendingCount ? `${this.seizePendingCount}条草稿待处理` : '') : (this.seizePendingCount ? `${this.seizePendingCount}条数据待处理` : ''),
|
|
216
|
216
|
link: this.isIndividualView ? '/pages/voiceSubmissionDraft/index' : '/pages/myToDoList/index',
|
|
217
|
217
|
statTitle: '查获数量',
|
|
218
|
|
- teamSortType: this.sortStates['查获上报'].teamSortType,
|
|
219
|
|
- deptSortType: this.sortStates['查获上报'].deptSortType,
|
|
220
|
|
- brigadeSortType: this.sortStates['查获上报'].brigadeSortType,
|
|
|
218
|
+ teamSortType: this.sortStates['查获数据'].teamSortType,
|
|
|
219
|
+ deptSortType: this.sortStates['查获数据'].deptSortType,
|
|
|
220
|
+ brigadeSortType: this.sortStates['查获数据'].brigadeSortType,
|
|
221
|
221
|
dividerIndex: this.isBrigade ? 1 : 0,
|
|
222
|
222
|
dataItems: this.getSeizeDataItems(),
|
|
223
|
223
|
rankList: this.getSeizeRankList(),
|
|
|
@@ -247,13 +247,13 @@ export default {
|
|
247
|
247
|
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 })),
|
|
248
|
248
|
},
|
|
249
|
249
|
{
|
|
250
|
|
- title: '巡检',
|
|
|
250
|
+ title: '巡视检查',
|
|
251
|
251
|
linkText: this.isZhanZhang ? "" : this.inspectionData.toDoNumber ? `${this.inspectionData.toDoNumber}条待处理任务` : "",
|
|
252
|
252
|
link: '/pages/myToDoList/index',
|
|
253
|
253
|
statTitle: '合格率(%)',
|
|
254
|
|
- teamSortType: this.sortStates['巡检'].teamSortType,
|
|
255
|
|
- deptSortType: this.sortStates['巡检'].deptSortType,
|
|
256
|
|
- brigadeSortType: this.sortStates['巡检'].brigadeSortType,
|
|
|
254
|
+ teamSortType: this.sortStates['巡视检查'].teamSortType,
|
|
|
255
|
+ deptSortType: this.sortStates['巡视检查'].deptSortType,
|
|
|
256
|
+ brigadeSortType: this.sortStates['巡视检查'].brigadeSortType,
|
|
257
|
257
|
dividerIndex: this.isBrigade ? 1 : 0,
|
|
258
|
258
|
dataItems: this.getInspectionDataItems(),
|
|
259
|
259
|
completed: this.inspectionData.doneNumber,
|
|
|
@@ -322,8 +322,8 @@ export default {
|
|
322
|
322
|
{ label: firstLabel, value: firstValue },
|
|
323
|
323
|
{ label: secondLabel, value: secondValue },
|
|
324
|
324
|
{ label: thirdLabel, value: thirdValue, link: thirdLink },
|
|
325
|
|
- { label: '今日查获上报', value: res?.todaySeizureReportCount },
|
|
326
|
|
- { label: '今日巡检问题', value: res?.todayCheckCorrectionCount },
|
|
|
325
|
+ { label: '今日查获数量', value: res?.todaySeizureReportCount },
|
|
|
326
|
+ { label: '今日巡视检查问题', value: res?.todayCheckCorrectionCount },
|
|
327
|
327
|
{ label: '今日抽问抽答', value: `${this.accuracyStatistics?.todayTaskCompletion?.completedCount || 0}/${this.accuracyStatistics?.todayTaskCompletion?.totalCount || 0}` }
|
|
328
|
328
|
];
|
|
329
|
329
|
} else {
|