|
|
@@ -77,7 +77,7 @@
|
|
77
|
77
|
</view>
|
|
78
|
78
|
|
|
79
|
79
|
<view v-if="activeTab === 'data'">
|
|
80
|
|
- <SectionTitle title="当日开航每小时通道过检率">
|
|
|
80
|
+ <SectionTitle title="每日通道过检率">
|
|
81
|
81
|
<PassengerChart :chartsData="passengerData" />
|
|
82
|
82
|
</SectionTitle>
|
|
83
|
83
|
|
|
|
@@ -343,7 +343,7 @@ export default {
|
|
343
|
343
|
getDeptUserTree(params).then(res => {
|
|
344
|
344
|
if (res.code === 200) {
|
|
345
|
345
|
let allDepts = this.flattenDeptTree(res.data || [])
|
|
346
|
|
- this.deptList = allDepts
|
|
|
346
|
+ this.deptList = this.isStationMaster() ? allDepts.filter(d => d.deptType === 'BRIGADE') : allDepts
|
|
347
|
347
|
if (userInfo && userInfo.deptId) {
|
|
348
|
348
|
const dept = this.deptList.find(d => d.deptId === userInfo.deptId)
|
|
349
|
349
|
if (dept) {
|
|
|
@@ -391,17 +391,17 @@ export default {
|
|
391
|
391
|
this.fetchMemberDistribution(params)
|
|
392
|
392
|
this.fetchPositionDistribution(params)
|
|
393
|
393
|
const copyParams = { startDate: params.startDate, endDate: params.endDate }
|
|
394
|
|
- this.fetchPassengerData(copyParams)
|
|
395
|
|
- this.fetchSeizureInfo(copyParams)
|
|
396
|
|
- this.fetchItemDistribution(copyParams)
|
|
397
|
|
- this.fetchDailySeizure(copyParams)
|
|
398
|
|
- this.fetchAreaDistribution(copyParams)
|
|
399
|
|
- this.fetchUnsafeItems(copyParams)
|
|
400
|
|
- this.fetchUnsafeTypes(copyParams)
|
|
401
|
|
- this.fetchUnsafePosition(copyParams)
|
|
402
|
|
- this.fetchSecurityTestData(copyParams)
|
|
403
|
|
- this.fetchSupervisionData(copyParams)
|
|
404
|
|
- this.fetchInterceptionData(copyParams)
|
|
|
394
|
+ this.fetchPassengerData(params)
|
|
|
395
|
+ this.fetchSeizureInfo(params)
|
|
|
396
|
+ this.fetchItemDistribution(params)
|
|
|
397
|
+ this.fetchDailySeizure(params)
|
|
|
398
|
+ this.fetchAreaDistribution(params)
|
|
|
399
|
+ this.fetchUnsafeItems(params)
|
|
|
400
|
+ this.fetchUnsafeTypes(params)
|
|
|
401
|
+ this.fetchUnsafePosition(params)
|
|
|
402
|
+ this.fetchSecurityTestData(params)
|
|
|
403
|
+ this.fetchSupervisionData(params)
|
|
|
404
|
+ this.fetchInterceptionData(params)
|
|
405
|
405
|
},
|
|
406
|
406
|
buildTimeParams() {
|
|
407
|
407
|
const now = new Date()
|