flx:移动风险管控

This commit is contained in:
Rain_ 2025-12-24 15:09:32 +08:00
parent 9c1b4750c3
commit 997aab6d47

View File

@ -59,7 +59,7 @@
<view v-if="rectificationRecord" class="menu" @click="goList(1)">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/newZlgl1.png"></image>
<view>检查台账</view>
</view>
</view>
<view class="menu" @click="addBtn" v-if="btnAuth">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/newZlgl2.png"></image>
<view>新增检查</view>
@ -100,10 +100,36 @@
<view>上报隐患</view>
</view>
<view v-if="hazardousWorkDistribution" class="menu" @click="onNavigateToDetail(3)">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/hazardousWorkDistribution.png">
<image class="icon" style="width: 60rpx; height: 60rpx;"
src="@/static/hazardousWorkDistribution.png">
</image>
<view>隐患工单派发</view>
</view>
<view @click="riskPoint(1)" class="menu">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/safeMange/danger_list.png">
</image>
<view>风险点清单</view>
</view>
<view @click="riskPoint(2)" class="menu">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/safeMange/danger_list.png">
</image>
<view>危险源清单</view>
</view>
<view @click="riskPoint(3)" class="menu">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/safeMange/danger_list.png">
</image>
<view>风险台账</view>
</view>
<view @click="riskPoint(4)" class="menu">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/safeMange/danger_list.png">
</image>
<view>隐患排查待办</view>
</view>
<view @click="riskManageTask" class="menu">
<image class="icon" style="width: 60rpx; height: 60rpx;" src="@/static/safeMange/danger_list.png">
</image>
<view>风险管控待办</view>
</view>
<!-- <view class="moudle-item flex" @click="jumpPage(7)" v-if="COMPANY != 'sanjiang'">
<image class="moudle-icon" src="/static/safeMange/danger_check.png"></image>
<text>危大验收</text>
@ -203,16 +229,37 @@
}
},
onLoad() {
this.btnAuth = this.checkBtnPermission({key: 'inspectionLedger_add', menuPath: '/project/safeSame/inspectionLedger'});
this.projectSelfinspection = this.checkMenuPermission({menuPath: '/project/safeSame/projectSelfinspection'})
this.parameter = this.checkMenuPermission({menuPath: '/project/dangerousBigProject/parameter'})
this.safetyAnalysis = this.checkMenuPermission({menuPath: '/project/safetyEducation/safetyAnalysis'})
this.rectificationRecord = this.checkBtnPermission({key: 'inspectionLedger_rectificationRecordApp', menuPath: '/project/safeSame/inspectionLedger'});
this.pendingReview = this.checkBtnPermission({key: 'inspectionLedger_pendingReview', menuPath: '/project/safeSame/inspectionLedger'});
this.myHiddenTrouble = this.checkBtnPermission({key: 'inspectionLedger_myHiddenTrouble', menuPath: '/project/safeSame/inspectionLedger'});
this.hazardousWorkDistribution = this.checkBtnPermission({key: 'inspectionLedger_hazardousWorkDistribution', menuPath: '/project/safeSame/inspectionLedger'});
this.btnAuth = this.checkBtnPermission({
key: 'inspectionLedger_add',
menuPath: '/project/safeSame/inspectionLedger'
});
this.projectSelfinspection = this.checkMenuPermission({
menuPath: '/project/safeSame/projectSelfinspection'
})
this.parameter = this.checkMenuPermission({
menuPath: '/project/dangerousBigProject/parameter'
})
this.safetyAnalysis = this.checkMenuPermission({
menuPath: '/project/safetyEducation/safetyAnalysis'
})
this.rectificationRecord = this.checkBtnPermission({
key: 'inspectionLedger_rectificationRecordApp',
menuPath: '/project/safeSame/inspectionLedger'
});
this.pendingReview = this.checkBtnPermission({
key: 'inspectionLedger_pendingReview',
menuPath: '/project/safeSame/inspectionLedger'
});
this.myHiddenTrouble = this.checkBtnPermission({
key: 'inspectionLedger_myHiddenTrouble',
menuPath: '/project/safeSame/inspectionLedger'
});
this.hazardousWorkDistribution = this.checkBtnPermission({
key: 'inspectionLedger_hazardousWorkDistribution',
menuPath: '/project/safeSame/inspectionLedger'
});
},
mounted() {
this.getTime()
@ -235,16 +282,45 @@
this.getRecordList()
},
methods: {
riskPoint(type) {
if (type == 1) {
//
uni.navigateTo({
url: "/pages/projectEnd/safeManage/riskPoint/riskPointList"
})
} else if (type == 2) {
//
uni.navigateTo({
url: "/pages/projectEnd/safeManage/riskPoint/sourceDangerList"
})
} else if (type == 3) {
//
uni.navigateTo({
url: "/pages/projectEnd/safeManage/riskRegister/riskRegisterList"
})
} else if (type == 4) {
//
uni.navigateTo({
url: "/pages/projectEnd/safeManage/riskRanking/riskRankingList"
})
}
},
riskManageTask() {
//
uni.navigateTo({
url: "/pages/projectEnd/safeManage/riskManageTask/riskManageTaskList"
})
},
onNavigateToDetail(type) {
if(type == 1) {
if (type == 1) {
uni.navigateTo({
url: `./hiddenDangerpending/postponedList`
})
} else if(type == 2) {
} else if (type == 2) {
uni.navigateTo({
url: `./hiddenTroubleComponents/hiddenTroubleList`
})
} else if(type == 3) {
} else if (type == 3) {
uni.navigateTo({
url: `./hiddenTroubleComponents/hazardousWorkDistribution`
})