2024-02-27 14:35:43 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view >
|
|
|
|
|
<view class="wui-form-list">
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">编号:</view>
|
|
|
|
|
{{pd.CHECK_NO}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">申请部门:</view>
|
|
|
|
|
{{pd.APPLY_DEPARTMENT_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">申请人:</view>
|
|
|
|
|
{{pd.APPLY_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">作业类别:</view>
|
|
|
|
|
<template v-if="pd.WORK_TYPE == '1'">堵盲板</template>
|
|
|
|
|
<template v-else-if="pd.WORK_TYPE == '2'">抽盲板</template>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">设备管道名称:</view>
|
|
|
|
|
{{pd.NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="wui-form-list">
|
|
|
|
|
<view class="wui-sub-title">
|
|
|
|
|
<text>管道参数</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">介质:</view>
|
|
|
|
|
{{pd.MEDIUM}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">温度:</view>
|
|
|
|
|
{{pd.TEMPERATURE}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">压力:</view>
|
|
|
|
|
{{pd.PRESSURE}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="wui-form-list" v-for="(item,index) of boardList">
|
|
|
|
|
<view class="wui-sub-title" style="display: flex;justify-content: space-between">
|
|
|
|
|
<text style="height:32upx; border: none; position: relative;">
|
|
|
|
|
<view style="width: 8upx; height: 32upx; background: #1d82fe; position: absolute; top: 6upx; left: 0;"></view> 盲板抽堵参数</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">材质:</view>
|
|
|
|
|
{{boardList[index].BOARD_MATERIAL}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default" >
|
|
|
|
|
<view class="title">规格:</view>
|
|
|
|
|
{{boardList[index].BOARD_SPECIFICATION}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">编号:</view>
|
|
|
|
|
{{boardList[index].BOARD_NO}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-02-29 08:45:24 +08:00
|
|
|
|
<view v-if="pd.BOARD_PATH">
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">盲板抽堵位置及安全措施:</view>
|
|
|
|
|
</view>
|
2024-02-27 14:35:43 +08:00
|
|
|
|
|
|
|
|
|
<view class="cu-bar">
|
|
|
|
|
<view class="action">
|
|
|
|
|
盲板抽堵位置图:
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-bar" style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view v-if="pd.BOARD_PATH" style="display: flex;align-items: flex-end;padding: 0 30upx">
|
|
|
|
|
<view v-for="(item,index) in pd.BOARD_PATH" :key="index" style="margin-right:20upx">
|
|
|
|
|
<view class="imgs">
|
|
|
|
|
<image :src="baseImgPath + pd.BOARD_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + pd.BOARD_PATH[index])"
|
|
|
|
|
mode="" style="width: 100upx;height: 100upx;"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-02-29 08:45:24 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
2024-02-27 14:35:43 +08:00
|
|
|
|
|
|
|
|
|
<view v-if="pd.WORK_START_DATE" class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">实际作业开始时间:</view>
|
|
|
|
|
{{pd.WORK_START_DATE}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">关联的其他特殊作业及安全作业票编号:</view>
|
|
|
|
|
{{pd.SPECIAL_WORK}}
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="cu-form-group bb-default">
|
|
|
|
|
<view class="title">风险辨识结果:</view>
|
|
|
|
|
{{pd.RISK_IDENTIFICATION}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="wui-form-list" style="padding-top: 20upx;" v-if="showMeasures && measuresList.length > 0">
|
|
|
|
|
<view class="wui-title" style="margin-left: 20upx;">
|
|
|
|
|
<text class="text-semi">安全防护措施</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="wui-table" style="padding: 0 20upx;">
|
|
|
|
|
<uni-table name='measuresList' border stripe emptyText="暂无更多数据" >
|
|
|
|
|
<!-- 表头行 -->
|
|
|
|
|
<uni-tr>
|
|
|
|
|
<uni-th align="center" style="font-weight: bold;">主要安全措施</uni-th>
|
|
|
|
|
<uni-th align="center" style="font-weight: bold;width: 100px">操作</uni-th>
|
|
|
|
|
</uni-tr>
|
|
|
|
|
<uni-tr v-for="(item,index) in measuresList" :key="item.BUS_BLINDBOARD_MEASURES_ID">
|
|
|
|
|
<uni-td>
|
|
|
|
|
<view style="margin-bottom: 20upx;">
|
|
|
|
|
{{item.PROTECTIVE_MEASURES}}
|
|
|
|
|
<view v-if="item.SIGN_PATH" class="cu-item">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + item.SIGN_PATH" :data-index="index" @click="ViewShowImage(baseImgPath + item.SIGN_PATH)"
|
|
|
|
|
mode="" style="width: 50upx;height: 50upx;"></image>
|
|
|
|
|
<text> {{item.SIGN_TIME}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</uni-td>
|
|
|
|
|
<uni-td align="center">
|
|
|
|
|
<view class="group" v-if="item.STATUS=='-1'">
|
|
|
|
|
<text class="wui-pl10">不涉及</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="group" v-if="item.STATUS=='1'">
|
|
|
|
|
<text class="wui-pl10">涉 及</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="item.IMG_PATH">
|
|
|
|
|
<view class="imgs" v-for="img in item.IMG_PATH.split(',')" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + img" :data-index="index" @click="ViewShowImage(baseImgPath + img)"
|
|
|
|
|
mode="" style="width: 50upx;height: 50upx;"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-td>
|
|
|
|
|
</uni-tr>
|
|
|
|
|
</uni-table>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="wui-form-list" style="padding-top: 20upx;" v-if="showMeasures && signs.MEASURES_CONFIRM">
|
|
|
|
|
<view class="wui-title" style="margin-left: 20upx;">
|
|
|
|
|
<text class="text-semi">其他安全防护措施</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="wui-table" style="padding: 0 20upx;">
|
|
|
|
|
<uni-table border stripe emptyText="暂无更多数据" >
|
|
|
|
|
<uni-tr>
|
|
|
|
|
<uni-th align="center" style="font-weight: bold;">其他安全措施</uni-th>
|
|
|
|
|
<uni-th align="center" style="font-weight: bold;width: 100px">签字</uni-th>
|
|
|
|
|
</uni-tr>
|
|
|
|
|
<uni-tr v-for="(item,index) in signs.MEASURES_CONFIRM" :key="index">
|
|
|
|
|
<uni-td>
|
|
|
|
|
<view style="margin-bottom: 20upx;">
|
|
|
|
|
{{item.DESCR}}
|
|
|
|
|
</view>
|
|
|
|
|
</uni-td>
|
|
|
|
|
<uni-td align="center">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + item.SIGN_PATH[0]" :data-index="index" @click="ViewShowImage(baseImgPath + item.SIGN_PATH[0])"
|
|
|
|
|
mode="" style="width: 50upx;height: 50upx;"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-td>
|
|
|
|
|
</uni-tr>
|
|
|
|
|
</uni-table>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="wui-form-list">
|
|
|
|
|
|
|
|
|
|
<view v-if="signs.GUARDIAN">
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">监护人</view>
|
|
|
|
|
{{pd.GUARDIAN_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.GUARDIAN[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.GUARDIAN[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.GUARDIAN[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.GUARDIAN[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="signs.CONFESS">
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">安全交底人</view>
|
|
|
|
|
{{pd.CONFESS_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="signs.CONFESS[0].IMG_PATH" style="display: flex;align-items: flex-end;padding: 0 30upx">
|
|
|
|
|
<view v-for="(item,index) in signs.CONFESS[0].IMG_PATH" :key="index" style="margin-right:20upx">
|
|
|
|
|
<view class="imgs">
|
|
|
|
|
<image :src="baseImgPath + signs.CONFESS[0].IMG_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.CONFESS[0].IMG_PATH[index])"
|
|
|
|
|
mode="" style="width: 50upx;height: 50upx;"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.CONFESS[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.CONFESS[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.CONFESS[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.CONFESS[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="signs.ACCEPT_CONFESS">
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">接受交底人</view>
|
|
|
|
|
{{pd.ACCEPT_CONFESS_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.ACCEPT_CONFESS[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.ACCEPT_CONFESS[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.ACCEPT_CONFESS[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.ACCEPT_CONFESS[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="wui-form-list">
|
|
|
|
|
<view v-if="signs.WORK_USER">
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">作业人</view>
|
|
|
|
|
{{pd.WORK_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.WORK_USER[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.WORK_USER[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.WORK_USER[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.WORK_USER[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="wui-form-list">
|
|
|
|
|
|
|
|
|
|
<view v-if="signs.CONFIRM">
|
|
|
|
|
<view class="cu-form-textarea" style="border: none;">
|
|
|
|
|
<view class="cu-form-title">作业负责人意见</view>
|
|
|
|
|
<textarea maxlength="255" disabled="disabled" v-model="signs.CONFIRM[0].DESCR"></textarea>
|
|
|
|
|
</view>
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">作业负责人</view>
|
|
|
|
|
{{pd.CONFIRM_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.CONFIRM[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.CONFIRM[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.CONFIRM[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.CONFIRM[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view v-if="signs.LEADER">
|
|
|
|
|
<view class="cu-form-textarea" style="border: none;">
|
|
|
|
|
<view class="cu-form-title">所在单位意见</view>
|
|
|
|
|
<textarea maxlength="255" disabled="disabled" v-model="signs.LEADER[0].DESCR"></textarea>
|
|
|
|
|
</view>
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">所在单位负责人</view>
|
|
|
|
|
{{pd.LEADER_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.LEADER[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.LEADER[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.LEADER[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.LEADER[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view v-if="signs.WORK_START">
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">作业开始负责人</view>
|
|
|
|
|
{{pd.WORK_START_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.WORK_START[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.WORK_START[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.WORK_START[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.WORK_START[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view v-if="signs.ACCEPT">
|
|
|
|
|
<view class="cu-form-textarea" style="border: none;">
|
|
|
|
|
<view class="cu-form-title">完工验收</view>
|
|
|
|
|
<textarea maxlength="255" disabled="disabled" v-model="signs.ACCEPT[0].DESCR"></textarea>
|
|
|
|
|
</view>
|
|
|
|
|
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
|
|
|
|
<view class="cu-form-group" >
|
|
|
|
|
<view class="title">验收部门负责人</view>
|
|
|
|
|
{{pd.ACCEPT_USER_NAME}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="cu-item" v-for="(item,index) in signs.ACCEPT[0].SIGN_TIME" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
|
|
|
|
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
|
|
|
|
|
<image :src="baseImgPath + signs.ACCEPT[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.ACCEPT[0].SIGN_PATH[index])"
|
|
|
|
|
mode="" style="width: 200upx;height: 200upx;"></image>
|
|
|
|
|
<text> {{signs.ACCEPT[0].SIGN_TIME[index]}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {
|
|
|
|
|
basePath,corpinfoId,deptId,loginUser,formatDate,loginSession,baseImgPath
|
|
|
|
|
} from '@/common/tool.js';
|
|
|
|
|
import tkiTree from "@/components/select-tree/select-tree.vue"
|
|
|
|
|
import writingBoard from "@/components/writing-board/writing-board.vue"
|
|
|
|
|
import gcoord from '@/common/gcoord.js'
|
|
|
|
|
import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue';
|
|
|
|
|
import OtherSelect from '@/components/other-select/index.vue';
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
tkiTree,ruiDatePicker,writingBoard,OtherSelect
|
|
|
|
|
},
|
|
|
|
|
props: {
|
|
|
|
|
blindboardId: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: ""
|
|
|
|
|
},
|
|
|
|
|
showMeasures: {
|
|
|
|
|
type: Boolean,
|
|
|
|
|
default: true
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
baseImgPath:baseImgPath,
|
|
|
|
|
buttonloading: false,
|
|
|
|
|
isUps:false,
|
|
|
|
|
msg:'add',
|
|
|
|
|
noClick:true,
|
|
|
|
|
treeNode:[],//部门下拉数据
|
|
|
|
|
levelList:[
|
|
|
|
|
{id:'特级',name:'特级'},
|
|
|
|
|
{id:'一级',name:'一级'},
|
|
|
|
|
{id:'二级',name:'二级'},
|
|
|
|
|
],
|
|
|
|
|
boardList:[{"BOARD_MATERIAL":'',"BOARD_SPECIFICATION":'',"BOARD_NO":''}],
|
|
|
|
|
levelindex:-1,
|
|
|
|
|
files: [],
|
|
|
|
|
files1: [],
|
|
|
|
|
analyzeUserList:[],
|
|
|
|
|
analyzeindex:-1,
|
|
|
|
|
confirmUserList:[],
|
|
|
|
|
workuserindex:-1,
|
|
|
|
|
confessUserList: [],
|
|
|
|
|
confessindex:-1,
|
|
|
|
|
acceptconfessUserList:[],
|
|
|
|
|
acceptconfessindex:-1,
|
|
|
|
|
workUserList:[],
|
|
|
|
|
workstartindex:-1,
|
|
|
|
|
workstartUserList:[],
|
|
|
|
|
workendindex:-1,
|
|
|
|
|
workendUserList:[],
|
|
|
|
|
confirmindex:-1,
|
|
|
|
|
guardianUserList:[],
|
|
|
|
|
guardianindex:-1,
|
|
|
|
|
leaderUserList:[],
|
|
|
|
|
leaderindex:-1,
|
|
|
|
|
auditUserList:[],
|
|
|
|
|
auditindex:-1,
|
|
|
|
|
approveUserList:[],
|
|
|
|
|
approveindex:-1,
|
|
|
|
|
monitorUserList:[],
|
|
|
|
|
monitorindex:-1,
|
|
|
|
|
acceptUserList:[],
|
|
|
|
|
acceptindex:-1,
|
|
|
|
|
pd:{},// 数据
|
|
|
|
|
signs:{},
|
|
|
|
|
measuresList:[],
|
|
|
|
|
rules:[
|
|
|
|
|
// {name:'CHECK_NO',message:'请输入编号'},
|
|
|
|
|
{name:'WORK_CONTENT',message:'请输入作业内容'},
|
|
|
|
|
{name:'WORK_PLACE',message:'请输入动火地点及动火部位'},
|
|
|
|
|
{name:'WORK_LEVEL',message:'请选择动火级别'},
|
|
|
|
|
{name:'WORK_FUNCTION',message:'请输入动火方式'},
|
|
|
|
|
// {name:'WORK_START_DATE',message:'请选择工作开始时间'},
|
|
|
|
|
// {name:'WORK_END_DATE',message:'请选择工作结束时间'},
|
|
|
|
|
// {name:'WORK_MANAGER',message:'请输入作业负责人'},
|
|
|
|
|
{name:'WORK_USER',message:'请输入动火人及证书编号'},
|
|
|
|
|
// {name:'SPECIAL_WORK',message:'请输入关联的其他特殊作业及安全作业票编号'},
|
|
|
|
|
{name:'RISK_IDENTIFICATION',message:'请输入风险辨识结果'},
|
|
|
|
|
// {name:'CONFESS_USER',message:'请输入安全交底人'},
|
|
|
|
|
// {name:'EDUCATE_USER',message:'请输入安全教育人'},
|
|
|
|
|
// {name:'ACCEPT_EDUCATE_USER',message:'请输入接受交底、教育人'},
|
|
|
|
|
// {name:'TRIAL_USER',message:'请输入动火措施初审人'},
|
|
|
|
|
{name:'ANALYZE_USER_ID',message:'请选择分析人'},
|
|
|
|
|
{name:'CONFIRM_USER_ID',message:'请选择作业负责人'},
|
|
|
|
|
// {name:'GUARDIAN_USER_ID',message:'请选择监护人'},
|
|
|
|
|
{name:'LEADER_USER_ID',message:'请选择动火点车间负责人'},
|
|
|
|
|
// {name:'AUDIT_USER_ID',message:'请选择安全管理部门负责人'},
|
|
|
|
|
// {name:'APPROVE_USER_ID',message:'请选择动火审批人'},
|
|
|
|
|
{name:'MONITOR_USER_ID',message:'请选择验票班长'},
|
|
|
|
|
{name:'ACCEPT_USER_ID',message:'请选择验收部门负责人'},
|
|
|
|
|
{name:'GUARDIAN_USER_ID',message:'请选择监护人'},
|
|
|
|
|
{name:'CONFESS_USER_ID',message:'请选择安全交底人'},
|
|
|
|
|
{name:'ACCEPT_CONFESS_USER_ID',message:'请选择接受交底人'},
|
|
|
|
|
],
|
|
|
|
|
todayDate:'',
|
|
|
|
|
otherAssignments:false,
|
|
|
|
|
otherIdentification:false,
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
console.log(this.blindboardId)
|
|
|
|
|
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
|
|
|
|
this.pd.BLINDBOARD_ID = this.blindboardId;
|
|
|
|
|
this.getData();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
//跳转事件
|
|
|
|
|
|
|
|
|
|
getCode(){
|
|
|
|
|
uni.request({
|
|
|
|
|
url: basePath + '/app/blindboard/getCode',
|
|
|
|
|
method: 'POST',
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
header: {
|
|
|
|
|
'Content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
},
|
|
|
|
|
data: {
|
|
|
|
|
CORPINFO_ID: loginUser.CORPINFO_ID,
|
|
|
|
|
},
|
|
|
|
|
success: (res) => {
|
|
|
|
|
this.pd.CHECK_NO = res.data.code;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
PickerWorkType(e) {
|
|
|
|
|
this.workTypeindex = e.detail.value;
|
|
|
|
|
this.pd.WORK_TYPE=this.workTypeList[this.workTypeindex].ID;
|
|
|
|
|
this.pd.WORK_TYPE_NAME=this.workTypeList[this.workTypeindex].NAME;
|
|
|
|
|
this.$forceUpdate();//强制刷新
|
|
|
|
|
},
|
|
|
|
|
getData() {
|
|
|
|
|
var _this = this;
|
|
|
|
|
uni.showLoading({
|
|
|
|
|
title: '请稍候'
|
|
|
|
|
})
|
|
|
|
|
uni.request({
|
|
|
|
|
url: basePath + '/app/blindboard/findById',
|
|
|
|
|
method: 'POST',
|
|
|
|
|
header: {
|
|
|
|
|
'Content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
},
|
|
|
|
|
data: {
|
|
|
|
|
BLINDBOARD_ID: _this.pd.BLINDBOARD_ID,
|
|
|
|
|
CORPINFO_ID:loginUser.CORPINFO_ID,
|
|
|
|
|
USER_ID:loginUser.USER_ID,
|
|
|
|
|
},
|
|
|
|
|
success: (res) => {
|
|
|
|
|
_this.boardList = res.data.boardList; //参数map
|
|
|
|
|
if ("success" == res.data.result) {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
_this.pd = res.data.pd; //参数map
|
|
|
|
|
this.getSigns()
|
|
|
|
|
this.getMeasures()
|
|
|
|
|
} else if ("exception" == data.result) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '错误',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getSigns(){
|
|
|
|
|
var _this = this;
|
|
|
|
|
uni.showLoading({
|
|
|
|
|
title: '请稍候'
|
|
|
|
|
})
|
|
|
|
|
uni.request({
|
|
|
|
|
url: basePath + '/app/blindboard/listSignFinished',
|
|
|
|
|
method: 'POST',
|
|
|
|
|
header: {
|
|
|
|
|
'Content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
},
|
|
|
|
|
data: {
|
|
|
|
|
BLINDBOARD_ID: _this.pd.BLINDBOARD_ID,
|
|
|
|
|
},
|
|
|
|
|
success: (res) => {
|
|
|
|
|
if ("success" == res.data.result) {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
_this.signs = res.data.signs; //参数map
|
|
|
|
|
} else if ("exception" == data.result) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '错误',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getMeasures(){
|
|
|
|
|
var _this = this;
|
|
|
|
|
uni.showLoading({
|
|
|
|
|
title: '请稍候'
|
|
|
|
|
})
|
|
|
|
|
uni.request({
|
|
|
|
|
url: basePath + '/app/blindboard/listSignFinishMeasures',
|
|
|
|
|
method: 'POST',
|
|
|
|
|
header: {
|
|
|
|
|
'Content-type': 'application/x-www-form-urlencoded'
|
|
|
|
|
},
|
|
|
|
|
data: {
|
|
|
|
|
BLINDBOARD_ID: _this.pd.BLINDBOARD_ID,
|
|
|
|
|
},
|
|
|
|
|
success: (res) => {
|
|
|
|
|
if ("success" == res.data.result) {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
_this.measuresList = res.data.finishMeasuresList; //参数map
|
|
|
|
|
} else if ("exception" == data.result) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '错误',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
ViewShowImage(url) {
|
|
|
|
|
let files = [];
|
|
|
|
|
files.push(url)
|
|
|
|
|
uni.previewImage({
|
|
|
|
|
urls: files,
|
|
|
|
|
current: 0
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
</style>
|