一公司动火作业列表查看流程图改成可以上下滑动

limingyu-20240419-一公司危险作业更新
limingyu 2024-04-26 16:21:15 +08:00
parent 1900b7ed6f
commit 8bf15539fc
1 changed files with 54 additions and 51 deletions

View File

@ -108,58 +108,61 @@
<view class="step-top ">
查看流程图
</view>
<view class="step-item-container">
<view class="step-item">
<view class="step-item-wrap" v-for="(item,key) of lclist" :key="key"
:class="getShowStatus(item)">
<view class="step-item-wrap-doter">
<view class="step-item-wrap-dot"></view>
</view>
<view class="step-item-wrap-right">
<view class="step-item-wrap-right-title">{{item.name}}</view>
<view class="step-item-wrap-right-title" v-if="item.msg !== '已作废(未进行气体检测)' && item.msg !== '已作废(班长未验票)'">{{item.USER_NAME}}{{item.STATE}}</view>
<view class="step-item-wrap-right-title" v-if="item.msg !== '已作废(未进行气体检测)' && item.msg !== '已作废(班长未验票)'">{{item.TIME}}</view>
<view class="step-item-wrap-right-info">
{{item.msg}}
</view>
<view class="step-item-wrap-right-info" v-if="APPLY_STATUS < 0">
{{item.REPULSE}}
</view>
</view>
</view>
</view>
</view>
<scroll-view class="dy-scroll" scroll-y :style="'height:calc(100vh - '+totalHeight+'px)'">
<view class="step-item-container">
<view class="step-item">
<view class="step-item-wrap" v-for="(item,key) of lclist" :key="key"
:class="getShowStatus(item)">
<view class="step-item-wrap-doter">
<view class="step-item-wrap-dot"></view>
</view>
<view class="step-item-wrap-right">
<view class="step-item-wrap-right-title">{{item.name}}</view>
<view class="step-item-wrap-right-title" v-if="item.msg !== '已作废(未进行气体检测)' && item.msg !== '已作废(班长未验票)'">{{item.USER_NAME}}{{item.STATE}}</view>
<view class="step-item-wrap-right-title" v-if="item.msg !== '已作废(未进行气体检测)' && item.msg !== '已作废(班长未验票)'">{{item.TIME}}</view>
<view class="step-item-wrap-right-info">
{{item.msg}}
</view>
<view class="step-item-wrap-right-info" v-if="APPLY_STATUS < 0">
{{item.REPULSE}}
</view>
</view>
</view>
</view>
</view>
<view v-if="GUARDIAN_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: #5db174">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{GUARDIAN_USER_NAME}}已签字
</view>
</view>
<view v-if="!GUARDIAN_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: red">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{GUARDIAN_USER_NAME}}未签字
</view>
</view>
<view v-if="confessStatus === '1'">
<view style="padding: 0 60upx;color: #5db174">
安全交底人{{confessUserNames}}已签字
</view>
</view>
<view v-if="confessStatus !== '1'">
<view style="padding: 0 60upx;color: red">
安全交底人{{confessUserNames}}未全部签字
</view>
</view>
<view v-if="ACCEPT_CONFESS_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: #5db174">
接受交底人{{ACCEPT_CONFESS_USER_NAME}}已签字
</view>
</view>
<view v-if="!ACCEPT_CONFESS_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: red">
接受交底人{{ACCEPT_CONFESS_USER_NAME}}未签字
</view>
</view>
<view v-if="GUARDIAN_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: #5db174">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{GUARDIAN_USER_NAME}}已签字
</view>
</view>
<view v-if="!GUARDIAN_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: red">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{GUARDIAN_USER_NAME}}未签字
</view>
</view>
<view v-if="confessStatus === '1'">
<view style="padding: 0 60upx;color: #5db174">
安全交底人{{confessUserNames}}已签字
</view>
</view>
<view v-if="confessStatus !== '1'">
<view style="padding: 0 60upx;color: red">
安全交底人{{confessUserNames}}未全部签字
</view>
</view>
<view v-if="ACCEPT_CONFESS_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: #5db174">
接受交底人{{ACCEPT_CONFESS_USER_NAME}}已签字
</view>
</view>
<view v-if="!ACCEPT_CONFESS_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: red">
接受交底人{{ACCEPT_CONFESS_USER_NAME}}未签字
</view>
</view>
</scroll-view>
</view>
</uni-drawer>
</view>