2024-01-16 17:24:49 +08:00
|
|
|
<template>
|
|
|
|
<view>
|
|
|
|
<cu-custom bgColor="bg-gradual-blueness" :isBack="true" :isRingt="true">
|
|
|
|
<block slot="backText">返回</block>
|
|
|
|
<block slot="content">动火作业</block>
|
|
|
|
</cu-custom>
|
|
|
|
|
|
|
|
<view class="apps-box">
|
|
|
|
<view class="apps-row">
|
|
|
|
<view class="apps-title">
|
|
|
|
<text class="apps-title-line"></text>
|
|
|
|
<text>动火作业审批管理</text>
|
|
|
|
</view>
|
|
|
|
<view class="apps-warp">
|
2024-01-22 17:29:29 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=提交申请">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-yxkj-1.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTBACK" class="cu-tag badge">{{count.COUNTBACK}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
|
|
|
<view>动火作业</view>
|
|
|
|
<view>申请</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-22 17:29:29 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=气体检测">
|
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-zl-8.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTANALYZE" class="cu-tag badge">{{count.COUNTANALYZE}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
|
|
|
<view>气体分析</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=设置安全措施确认人">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-yh-1.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTCONFIRM" class="cu-tag badge">{{count.COUNTCONFIRM}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-22 17:29:29 +08:00
|
|
|
<view>安全措施</view>
|
|
|
|
<view>确认人意见</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-23 08:30:59 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=监护人签字">
|
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-zl-9.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
|
|
|
<view>监护人</view>
|
|
|
|
<view>意见</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-23 11:28:19 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=安全交底人签字">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-807.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTLEADER" class="cu-tag badge">{{count.COUNTLEADER}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-23 11:28:19 +08:00
|
|
|
<view>安全交底人</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
<view>意见</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-24 08:47:58 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=接受安全交底人签字">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-yxkj-4.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTAUDIT" class="cu-tag badge">{{count.COUNTAUDIT}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-24 08:47:58 +08:00
|
|
|
<view>接受安全交底人</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
<view>意见</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-24 08:47:58 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=作业负责人签字">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-yxkj-2.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTAPPROVE" class="cu-tag badge">{{count.COUNTAPPROVE}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-24 08:47:58 +08:00
|
|
|
<view>作业负责人</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
<view>意见</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-24 08:47:58 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=所在单位签字">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-907.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTMONITOR" class="cu-tag badge">{{count.COUNTMONITOR}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-24 08:47:58 +08:00
|
|
|
<view>所在单位</view>
|
|
|
|
<view>意见</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-24 08:47:58 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=安全管理部门签字">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-24 08:47:58 +08:00
|
|
|
<view>安全管理部门</view>
|
|
|
|
<view>意见</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=动火审批人签字">
|
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-901.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTACCEPT" class="cu-tag badge">{{count.COUNTACCEPT}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
|
|
|
<view>动火审批人</view>
|
|
|
|
<view>意见</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-19 18:01:53 +08:00
|
|
|
|
2024-01-24 08:47:58 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=当班班长验票">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-jh-1.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTGUARDIAN" class="cu-tag badge">{{count.COUNTGUARDIAN}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-24 08:47:58 +08:00
|
|
|
<view>当班班长验票</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-24 08:47:58 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=开始进行作业">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-aq-1.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTCONFESS" class="cu-tag badge">{{count.COUNTCONFESS}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-24 08:47:58 +08:00
|
|
|
<view>开始进行作业时间</view>
|
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=结束作业">
|
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
|
|
|
<view>结束作业时间</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
</view>
|
|
|
|
</navigator>
|
2024-01-24 08:47:58 +08:00
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/hotwork/hotwork-list/index?flow=验收签字">
|
2024-01-16 17:24:49 +08:00
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../../static/icon-apps/icon-js-1.png" mode=""></image>
|
|
|
|
<view v-if="count.COUNTACCEPTCONFESS" class="cu-tag badge">{{count.COUNTACCEPTCONFESS}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi" style="text-align: center;">
|
2024-01-24 08:47:58 +08:00
|
|
|
<view>验收归档</view>
|
2024-01-16 17:24:49 +08:00
|
|
|
</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<!-- <view class="apps-row">
|
|
|
|
<view class="apps-title">
|
|
|
|
<text class="apps-title-line"></text>
|
|
|
|
<text>其他应用</text>
|
|
|
|
</view>
|
|
|
|
<view class="apps-warp">
|
|
|
|
<navigator class="apps-item" hover-class="none" url="/pages/application/other-apps/videos/videos">
|
|
|
|
<view class="imgs action">
|
|
|
|
<image src="../../static/icon-apps/icon-zl-7.png" mode=""></image>
|
|
|
|
</view>
|
|
|
|
<view class="text-semi">视频中心</view>
|
|
|
|
</navigator>
|
|
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
<view class="cu-tabbar-height"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import {
|
|
|
|
basePath,
|
|
|
|
loginUserId,
|
|
|
|
formatDate,
|
|
|
|
corpinfoId,
|
|
|
|
loginUser,
|
|
|
|
setloginUserId,
|
|
|
|
setCorpinfoId,
|
|
|
|
setloginUser,
|
|
|
|
setDeptId,
|
|
|
|
isRest
|
|
|
|
} from '@/common/tool.js';
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
isRest :'',
|
|
|
|
count : {}
|
|
|
|
};
|
|
|
|
},
|
|
|
|
mounted(){
|
|
|
|
this.isRest = isRest;
|
|
|
|
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
this.getData();
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
showRest(){
|
|
|
|
|
|
|
|
uni.showModal({
|
|
|
|
title: '提示',
|
|
|
|
showCancel:false,
|
|
|
|
content: '您处于离岗状态,无需检查清单。',
|
|
|
|
confirmText: "返回", // 确认按钮文字
|
|
|
|
success: (res) => {
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
getData(){
|
|
|
|
var _this = this;
|
|
|
|
uni.showLoading({
|
|
|
|
title:"加载中..."
|
|
|
|
});//加载中动画
|
|
|
|
uni.request({
|
2024-01-19 18:01:53 +08:00
|
|
|
url: basePath +'/app/hotwork/checkWorkCount',
|
2024-01-16 17:24:49 +08:00
|
|
|
method: 'POST',
|
|
|
|
dataType: 'json',
|
|
|
|
header: {
|
|
|
|
'Content-type':'application/x-www-form-urlencoded'
|
|
|
|
},
|
|
|
|
data: {
|
|
|
|
tm:new Date().getTime(),
|
|
|
|
CORPINFO_ID:loginUser.CORPINFO_ID,
|
|
|
|
USER_ID:loginUser.USER_ID,
|
|
|
|
},
|
|
|
|
success: (res) => {
|
|
|
|
uni.hideLoading();//结束加载中动画
|
|
|
|
if ("success" == res.data.result) {
|
|
|
|
_this.count = res.data.count;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.app-banner{
|
|
|
|
width: 100%;
|
|
|
|
height: 380upx;
|
|
|
|
}
|
|
|
|
.app-banner image{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.apps-box {}
|
|
|
|
|
|
|
|
.apps-row {
|
|
|
|
padding: 20upx 20upx 10upx 20upx;
|
|
|
|
background-color: #fff;
|
|
|
|
margin-top: 20upx;
|
|
|
|
}
|
|
|
|
.apps-row:first-child{
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.apps-title {
|
|
|
|
position: relative;
|
|
|
|
padding-left: 20upx;
|
|
|
|
color: #989898;
|
|
|
|
padding-bottom: 20upx;
|
|
|
|
}
|
|
|
|
|
|
|
|
.apps-title-line {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: #37a6ff;
|
|
|
|
width: 10upx;
|
|
|
|
height: 23upx;
|
|
|
|
position: absolute;
|
|
|
|
left: 0upx;
|
|
|
|
top: 11upx;
|
|
|
|
}
|
|
|
|
|
|
|
|
.apps-warp {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.apps-item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
width: 25%;
|
|
|
|
font-size: 25upx;
|
|
|
|
margin-bottom: 20upx;
|
|
|
|
}
|
|
|
|
.apps-item .text-semi{
|
|
|
|
margin-top: 6upx;
|
|
|
|
}
|
|
|
|
.apps-item .action{
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.apps-item .action .cu-tag.badge{
|
|
|
|
right: -20upx;
|
|
|
|
}
|
|
|
|
.apps-item .imgs {
|
|
|
|
width: 50upx;
|
|
|
|
height: 50upx;
|
|
|
|
}
|
|
|
|
|
|
|
|
.apps-item .imgs image {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
</style>
|