动火安全措施回显
parent
589716c05d
commit
63b5d07ef6
|
@ -97,7 +97,7 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
<view class="wui-form-list" style="padding-top: 20upx;">
|
||||
<view class="wui-form-list" style="padding-top: 20upx;" v-if="measuresList.length > 0">
|
||||
<view class="wui-title" style="margin-left: 20upx;">
|
||||
<text class="text-semi">安全防护措施</text>
|
||||
</view>
|
||||
|
@ -112,6 +112,13 @@
|
|||
<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>
|
||||
<view class="cu-form-group" v-if="item.QUESTION1 && item.STATUS=='1'">
|
||||
<view class="title">{{item.QUESTION1}}</view>
|
||||
|
@ -131,96 +138,51 @@
|
|||
</view>
|
||||
</uni-td>
|
||||
<uni-td align="center">
|
||||
<radio-group class="wui-radio-group">
|
||||
<view class="group" v-if="item.STATUS=='-1'">
|
||||
<radio class='radio' value="-1" checked>
|
||||
<text class="wui-pl10">不涉及</text></radio>
|
||||
<text class="wui-pl10">不涉及</text>
|
||||
</view>
|
||||
<view class="group" v-if="item.STATUS=='1'">
|
||||
<radio class='radio' value="1" checked>
|
||||
<text class="wui-pl10">涉 及</text></radio>
|
||||
<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>
|
||||
</radio-group>
|
||||
</uni-td>
|
||||
</uni-tr>
|
||||
</uni-table>
|
||||
</view>
|
||||
<view v-if="pd.CONFIRM_USER_MEASURES || pd.LEADER_USER_MEASURES || pd.AUDIT_USER_MEASURES || pd.APPROVE_USER_MEASURES || pd.MONITOR_USER_MEASURES">
|
||||
<view class="cu-form-group">
|
||||
<view class="title">其他安全措施:</view>
|
||||
</view>
|
||||
<view v-if="pd.CONFIRM_USER_MEASURES" class="ty-group">
|
||||
<text class="title">
|
||||
作业单位:</text>
|
||||
<text>{{ pd.CONFIRM_USER_MEASURES}}</text>
|
||||
|
||||
<view class="wui-form-list" style="padding-top: 20upx;" v-if="signs.MEASURES_CONFIRM">
|
||||
<view class="wui-title" style="margin-left: 20upx;">
|
||||
<text class="text-semi">其他安全防护措施</text>
|
||||
</view>
|
||||
<!-- <view v-if="pd.GUARDIAN_USER_MEASURES" class="ty-group">-->
|
||||
<!-- <text class="title">-->
|
||||
<!-- 监护人:</text>-->
|
||||
<!-- <text>{{ pd.GUARDIAN_USER_MEASURES}}</text>-->
|
||||
<!-- </view>-->
|
||||
<view v-if="pd.LEADER_USER_MEASURES" class="ty-group">
|
||||
<text class="title">
|
||||
车间:</text>
|
||||
<text>{{ pd.LEADER_USER_MEASURES}}</text>
|
||||
<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="item.BUS_HOTWORK_MEASURES_ID">
|
||||
<uni-td>
|
||||
<view style="margin-bottom: 20upx;">
|
||||
{{item.DESCR}}
|
||||
</view>
|
||||
<view v-if="pd.AUDIT_USER_MEASURES" class="ty-group">
|
||||
<text class="title">
|
||||
安全管理部门:</text>
|
||||
<text>{{ pd.AUDIT_USER_MEASURES}}</text>
|
||||
</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>
|
||||
<view v-if="pd.APPROVE_USER_MEASURES" class="ty-group">
|
||||
<text class="title">
|
||||
审批人:</text>
|
||||
<text>{{ pd.APPROVE_USER_MEASURES}}</text>
|
||||
</view>
|
||||
<view v-if="pd.MONITOR_USER_MEASURES" class="ty-group">
|
||||
<text class="title">
|
||||
班长:</text>
|
||||
<text>{{ pd.MONITOR_USER_MEASURES}}</text>
|
||||
</uni-td>
|
||||
</uni-tr>
|
||||
</uni-table>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="wui-form-list">
|
||||
<view v-if="pd.GUARDIAN_USER_SIGNER_PATH">
|
||||
<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}} {{pd.GUARDIAN_USER_SIGNER_TIME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.GUARDIAN_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.GUARDIAN_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="pd.CONFESS_USER_SIGNER_PATH">
|
||||
<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}} {{pd.CONFESS_USER_SIGNER_TIME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.CONFESS_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="files.length > 0">
|
||||
<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}} {{pd.ACCEPT_CONFESS_USER_SIGNER_TIME}}
|
||||
</view>
|
||||
<view class="cu-item" v-for="(item,index) in files" :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+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text>{{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wui-form-list" v-if="!forbidEdit">
|
||||
<view class="cu-form-group" >
|
||||
<view class="title">分析单位</view>
|
||||
|
@ -487,123 +449,198 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
<view class="wui-form-list" v-if="forbidEdit">
|
||||
<view v-if="pd.CONFIRM_USER_SIGNER_PATH">
|
||||
<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 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.CONFIRM">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">作业负责人意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="pd.CONFIRM_CONTENT"></textarea>
|
||||
<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}} {{pd.CONFIRM_USER_SIGNER_TIME}}
|
||||
{{pd.CONFIRM_USER_NAME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFIRM_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
<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 v-if="pd.LEADER_USER_SIGNER_PATH">
|
||||
</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="pd.LEADER_CONTENT"></textarea>
|
||||
<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}} {{pd.LEADER_USER_SIGNER_TIME}}
|
||||
{{pd.LEADER_USER_NAME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.LEADER_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.LEADER_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
<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 v-if="pd.AUDIT_USER_SIGNER_PATH">
|
||||
</view>
|
||||
<view v-if="signs.AUDIT">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">安全管理部门意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="pd.AUDIT_CONTENT"></textarea>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="signs.AUDIT[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.AUDIT_USER_NAME}} {{pd.AUDIT_USER_SIGNER_TIME}}
|
||||
{{pd.AUDIT_USER_NAME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.AUDIT_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.AUDIT_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
<view class="cu-item" v-for="(item,index) in signs.AUDIT[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.AUDIT[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.AUDIT[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.AUDIT[0].SIGN_TIME[index]}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="pd.APPROVE_USER_SIGNER_PATH">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">动火审批人意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="pd.APPROVE_CONTENT"></textarea>
|
||||
</view>
|
||||
|
||||
<view v-if="signs.APPROVE">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">动火审批人意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="signs.APPROVE[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.APPROVE_USER_NAME}} {{pd.APPROVE_USER_SIGNER_TIME}}
|
||||
{{pd.APPROVE_USER_NAME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.APPROVE_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.APPROVE_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
<view class="cu-item" v-for="(item,index) in signs.APPROVE[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.APPROVE[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.APPROVE[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.APPROVE[0].SIGN_TIME[index]}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="pd.MONITOR_USER_SIGNER_PATH">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">动火前在岗班长意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="pd.MONITOR_CONTENT"></textarea>
|
||||
</view>
|
||||
|
||||
<view v-if="signs.MONITOR">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">动火前在岗班长意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="signs.MONITOR[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.MONITOR_USER_NAME}} {{pd.MONITOR_USER_SIGNER_TIME}}
|
||||
{{pd.MONITOR_USER_NAME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.MONITOR_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.MONITOR_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
<view class="cu-item" v-for="(item,index) in signs.MONITOR[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.MONITOR[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.MONITOR[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.MONITOR[0].SIGN_TIME[index]}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="pd.WORK_START_USER_SIGNER_PATH">
|
||||
</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}} {{pd.WORK_START_USER_SIGNER_TIME}}
|
||||
{{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 style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.WORK_START_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.WORK_START_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="pd.WORK_END_USER_SIGNER_PATH">
|
||||
|
||||
<view v-if="signs.WORK_END">
|
||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||
<view class="cu-form-group" >
|
||||
<view class="title">作业结束负责人</view>
|
||||
{{pd.WORK_END_USER_NAME}} {{pd.WORK_END_USER_SIGNER_TIME}}
|
||||
{{pd.WORK_END_USER_NAME}}
|
||||
</view>
|
||||
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
|
||||
<image :src="baseImgPath + pd.WORK_END_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.WORK_END_USER_SIGNER_PATH)" style="height: 100%;"></image>
|
||||
<view class="cu-item" v-for="(item,index) in signs.WORK_END[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_END[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.WORK_END[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.WORK_END[0].SIGN_TIME[index]}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="files1.length > 0">
|
||||
</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="pd.ACCEPT_CONTENT"></textarea>
|
||||
<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}} {{pd.ACCEPT_USER_SIGNER_TIME}}
|
||||
{{pd.ACCEPT_USER_NAME}}
|
||||
</view>
|
||||
<view class="cu-item" v-for="(item,index) in files1" :key="index" style="border-bottom: 1px solid #e3e3e3">
|
||||
<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+item.ACCEPT_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage1(baseImgPath+item.ACCEPT_USER_SIGNER_PATH)"
|
||||
<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>{{item.ACCEPT_USER_SIGNER_TIME}}</text>
|
||||
<text> {{signs.ACCEPT[0].SIGN_TIME[index]}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -679,9 +716,8 @@
|
|||
monitorindex:-1,
|
||||
acceptUserList:[],
|
||||
acceptindex:-1,
|
||||
pd:{
|
||||
OTHER_PROTECTIVE_MEASURES:';_;;_;;_;;_;;_;;_;;_;'
|
||||
},// 数据
|
||||
pd:{},// 数据
|
||||
signs:{},
|
||||
measuresList:[],
|
||||
rules:[
|
||||
// {name:'CHECK_NO',message:'请输入编号'},
|
||||
|
@ -783,9 +819,8 @@
|
|||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.pd = res.data.pd; //参数map
|
||||
if(_this.pd.STEP_ID == 0){
|
||||
if(_this.pd.STEP_ID === 0){
|
||||
_this.forbidEdit = false;
|
||||
}
|
||||
this.getUserList(this.pd.ANALYZE_DEPARTMENT_ID,'analyzeUserList');
|
||||
this.getUserList(this.pd.CONFIRM_DEPARTMENT_ID,'confirmUserList');
|
||||
this.getUserList(this.pd.LEADER_DEPARTMENT_ID,'leaderUserList');
|
||||
|
@ -796,8 +831,10 @@
|
|||
this.getUserList(this.pd.WORK_START_DEPARTMENT_ID,'workstartUserList');
|
||||
this.getUserList(this.pd.WORK_END_DEPARTMENT_ID,'workendUserList');
|
||||
this.getWorkUserList();
|
||||
|
||||
|
||||
}else{
|
||||
this.getSigns()
|
||||
this.getMeasures()
|
||||
}
|
||||
} else if ("exception" == data.result) {
|
||||
uni.showToast({
|
||||
title: '错误',
|
||||
|
@ -807,6 +844,63 @@
|
|||
}
|
||||
});
|
||||
},
|
||||
|
||||
getSigns(){
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title: '请稍候'
|
||||
})
|
||||
uni.request({
|
||||
url: basePath + '/app/hotwork/listSignFinished',
|
||||
method: 'POST',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
HOTWORK_ID: _this.pd.HOTWORK_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/hotwork/listSignFinishMeasures',
|
||||
method: 'POST',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
HOTWORK_ID: _this.pd.HOTWORK_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)
|
||||
|
|
|
@ -0,0 +1,613 @@
|
|||
<template>
|
||||
<view >
|
||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="!otherIdentification && !otherAssignments" >
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">动火安全作业申请</block>
|
||||
</cu-custom>
|
||||
<scroll-view scroll-y="false" >
|
||||
<view class="form">
|
||||
<view class="wui-form-list">
|
||||
<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" v-if="pd.CHECK_NO != '' && pd.CHECK_NO != null">
|
||||
<view class="title">编号:</view>
|
||||
{{pd.CHECK_NO}}
|
||||
</view>
|
||||
|
||||
<view class="cu-form-textarea bb-default">
|
||||
<view class="cu-form-title">作业内容:</view>
|
||||
<textarea maxlength="255" :disabled="true" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容" ></textarea>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-group bb-default">
|
||||
<view class="title">动火地点及动火部位:</view>
|
||||
<input name="input" :disabled="true" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-group bb-default">
|
||||
<view class="title">动火作业级别:</view>
|
||||
<view>{{pd.WORK_LEVEL}}</view>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-group bb-default">
|
||||
<view class="title">动火方式:</view>
|
||||
<input name="input" :disabled="true" v-model="pd.WORK_FUNCTION" placeholder="请输入"></input>
|
||||
</view>
|
||||
|
||||
<view v-if="pd.WORK_START_DATE" class="cu-form-group" style="height: 140upx;">
|
||||
<view class="title" style="width: 175upx; height: 90upx; margin: 0;line-height: 1.6;">
|
||||
<view>动火作业</view>
|
||||
<view>实施时间:</view>
|
||||
</view>
|
||||
<view >
|
||||
<text>{{pd.WORK_START_DATE}}</text>
|
||||
<text>至</text>
|
||||
<text>{{pd.WORK_END_DATE?pd.WORK_END_DATE : '--'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-textarea ">
|
||||
<view style="display: flex;justify-content: space-between;align-items: center">
|
||||
<view class="cu-form-title">动火人及证书编号:</view>
|
||||
</view>
|
||||
<textarea maxlength="255" v-model="pd.WORK_USER" :disabled="true" placeholder="请输入动火人及证书编号"></textarea>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-textarea" >
|
||||
<view class="cu-form-title">
|
||||
关联的其他特殊作业及安全作业票编号
|
||||
</view>
|
||||
<textarea maxlength="255" :disabled="true" v-model="pd.SPECIAL_WORK" placeholder="请输入关联的其他特殊作业及安全作业票编号"></textarea>
|
||||
</view>
|
||||
|
||||
<view class="cu-form-textarea" >
|
||||
<view class="cu-form-title">
|
||||
风险辨识结果
|
||||
</view>
|
||||
<textarea maxlength="255" :disabled="true" v-model="pd.RISK_IDENTIFICATION" placeholder="请输入风险辨识结果"></textarea>
|
||||
</view>
|
||||
<view class="cu-form-group bb-default" v-if="pd.ANALYZE_TIME">
|
||||
<view>
|
||||
<text class="title">分析人:</text>
|
||||
<text>{{pd.ANALYZE_USER_NAME}}</text>
|
||||
</view>
|
||||
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)">分析详情</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="wui-form-list" style="padding-top: 20upx;" v-if="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_HOTWORK_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>
|
||||
<view class="cu-form-group" v-if="item.QUESTION1 && item.STATUS=='1'">
|
||||
<view class="title">{{item.QUESTION1}}</view>
|
||||
<input name="input" :disabled="true" v-model="item.ANSWER1" placeholder="请输入"></input>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="item.QUESTION2 && item.STATUS=='1'">
|
||||
<view class="title">{{item.QUESTION2}}</view>
|
||||
<input name="input" :disabled="true" v-model="item.ANSWER2" placeholder="请输入"></input>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="item.QUESTION3 && item.STATUS=='1'">
|
||||
<view class="title">{{item.QUESTION3}}</view>
|
||||
<input name="input" :disabled="true" v-model="item.ANSWER3" placeholder="请输入"></input>
|
||||
</view>
|
||||
<view class="cu-form-group" v-if="item.QUESTION4 && item.STATUS=='1'">
|
||||
<view class="title">{{item.QUESTION4}}</view>
|
||||
<input name="input" :disabled="true" v-model="item.ANSWER4" placeholder="请输入"></input>
|
||||
</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="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="item.BUS_HOTWORK_MEASURES_ID">
|
||||
<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 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.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.AUDIT">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">安全管理部门意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="signs.AUDIT[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.AUDIT_USER_NAME}}
|
||||
</view>
|
||||
<view class="cu-item" v-for="(item,index) in signs.AUDIT[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.AUDIT[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.AUDIT[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.AUDIT[0].SIGN_TIME[index]}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-if="signs.APPROVE">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">动火审批人意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="signs.APPROVE[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.APPROVE_USER_NAME}}
|
||||
</view>
|
||||
<view class="cu-item" v-for="(item,index) in signs.APPROVE[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.APPROVE[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.APPROVE[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.APPROVE[0].SIGN_TIME[index]}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-if="signs.MONITOR">
|
||||
<view class="cu-form-textarea" style="border: none;">
|
||||
<view class="cu-form-title">动火前在岗班长意见</view>
|
||||
<textarea maxlength="255" disabled="disabled" v-model="signs.MONITOR[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.MONITOR_USER_NAME}}
|
||||
</view>
|
||||
<view class="cu-item" v-for="(item,index) in signs.MONITOR[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.MONITOR[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.MONITOR[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.MONITOR[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.WORK_END">
|
||||
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
|
||||
<view class="cu-form-group" >
|
||||
<view class="title">作业结束负责人</view>
|
||||
{{pd.WORK_END_USER_NAME}}
|
||||
</view>
|
||||
<view class="cu-item" v-for="(item,index) in signs.WORK_END[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_END[0].SIGN_PATH[index]" :data-index="index" @click="ViewShowImage(baseImgPath + signs.WORK_END[0].SIGN_PATH[index])"
|
||||
mode="" style="width: 200upx;height: 200upx;"></image>
|
||||
<text> {{signs.WORK_END[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>
|
||||
</scroll-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: {
|
||||
HOTWORK_ID: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
baseImgPath:baseImgPath,
|
||||
buttonloading: false,
|
||||
isUps:false,
|
||||
msg:'add',
|
||||
noClick:true,
|
||||
treeNode:[],//部门下拉数据
|
||||
levelList:[
|
||||
{id:'特级',name:'特级'},
|
||||
{id:'一级',name:'一级'},
|
||||
{id:'二级',name:'二级'},
|
||||
],
|
||||
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,
|
||||
|
||||
}
|
||||
},
|
||||
onLoad(){
|
||||
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
|
||||
this.pd.HOTWORK_ID = this.HOTWORK_ID;
|
||||
this.msg="edit";
|
||||
this.getData();
|
||||
loginSession();
|
||||
|
||||
},
|
||||
methods: {
|
||||
//跳转事件
|
||||
goToDetail(e) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/hotwork/hotwork-gas/gas-list?HOTWORK_ID='+e
|
||||
});
|
||||
},
|
||||
getCode(){
|
||||
uni.request({
|
||||
url: basePath + '/app/hotwork/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;
|
||||
}
|
||||
})
|
||||
},
|
||||
getData() {
|
||||
var _this = this;
|
||||
uni.showLoading({
|
||||
title: '请稍候'
|
||||
})
|
||||
uni.request({
|
||||
url: basePath + '/app/hotwork/findById',
|
||||
method: 'POST',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
HOTWORK_ID: _this.pd.HOTWORK_ID,
|
||||
CORPINFO_ID:loginUser.CORPINFO_ID,
|
||||
USER_ID:loginUser.USER_ID,
|
||||
},
|
||||
success: (res) => {
|
||||
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/hotwork/listSignFinished',
|
||||
method: 'POST',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
HOTWORK_ID: _this.pd.HOTWORK_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/hotwork/listSignFinishMeasures',
|
||||
method: 'POST',
|
||||
header: {
|
||||
'Content-type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: {
|
||||
HOTWORK_ID: _this.pd.HOTWORK_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
|
||||
});
|
||||
},
|
||||
ViewShowImage1(url) {
|
||||
let files1 = [];
|
||||
files1.push(url)
|
||||
uni.previewImage({
|
||||
urls: files1,
|
||||
current: 0
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue