八项作业动火作业签字显示完成,动火人及证书编号显示完成

pull/5/head
chenxinying 2024-01-25 13:47:26 +08:00
parent 841fc02538
commit 5e7217a392
16 changed files with 313 additions and 1667 deletions

View File

@ -6,207 +6,8 @@
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view 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.WORK_END_DATE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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">
<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>
</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}}
</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>
</view>
<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>
</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}}
</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>
</view>
<view v-if="pd.AUDIT_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.AUDIT_CONTENT"></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}}
</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>
</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 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}}
</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>
</view>
</view>
<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 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}}
</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>
</view>
<view>
<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}}
</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>
<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}}
</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>
</view>
</view>
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">完工验收</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
@ -260,9 +61,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {
@ -362,15 +164,25 @@
});
return;
}
if(new Date(this.pd.ACCEPT_TIME).getTime() - new Date(this.pd.WORK_END_DATE).getTime() >= 3600000){
uni.showToast({
icon: 'none',
title: '请在作业结束30分钟内完成验收',
duration: 1500
});
return;
if(APPLY_STATUS == 1){
if(new Date(this.pd.ACCEPT_TIME).getTime() - new Date(this.pd.WORK_END_DATE).getTime() >= 3600000){
uni.showToast({
icon: 'none',
title: '请在作业结束30分钟内完成验收',
duration: 1500
});
return;
}
if(!this.pd.ACCEPT_TIME){
uni.showToast({
icon: 'none',
title: '请选择验收时间',
duration: 1500
});
return;
}
}
const formData={}
var files = [];
var signtime = [];

View File

@ -6,97 +6,7 @@
</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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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="pd.ACCEPT_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.ACCEPT_CONFESS_USER_NAME}} {{pd.ACCEPT_CONFESS_USER_SIGNER_TIME}}
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
<image :src="baseImgPath + pd.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<view class="wui-form-list">
<view class="wui-sign" v-if="!files.length">
<view class="title">接受交底人</view>
@ -143,9 +53,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {

View File

@ -62,7 +62,7 @@
<view class="cu-form-textarea ">
<view style="display: flex;justify-content: space-between;align-items: center">
<view class="cu-form-title">动火人及证书编号</view>
<view class="cu-form-group" >
<view class="cu-form-group" v-if="!forbidEdit">
<picker @change="PickerWorkuser" :value="workuserindex" :range="workUserList" :disabled="forbidEdit" range-key="NAME">
<view class="picker">
请选择
@ -706,18 +706,18 @@
confirmindex:-1,
guardianUserList:[],
guardianindex:-1,
leaderUserList:[],
leaderindex:-1,
leaderUserList:[],
leaderindex:-1,
auditUserList:[],
auditindex:-1,
approveUserList:[],
approveindex:-1,
monitorUserList:[],
monitorindex:-1,
acceptUserList:[],
monitorUserList:[],
monitorindex:-1,
acceptUserList:[],
acceptindex:-1,
pd:{},//
signs:{},
signs:{},
measuresList:[],
rules:[
// {name:'CHECK_NO',message:''},
@ -766,13 +766,10 @@
this.pd.APPLY_USER_ID = loginUser.USER_ID;
this.pd.APPLY_USER_NAME = loginUser.NAME;
this.forbidEdit = false;
this.pd.OTHER_PROTECTIVE_MEASURES = ''
// this.getCode()
this.getWorkUserList();
}
//
this.getDept();
this.getLimitSpace();
loginSession();
},
@ -1006,25 +1003,7 @@
}
})
},
//
getLimitSpace(){
var _this = this;
uni.request({
method: 'POST',
dataType: 'json',
header: {
'Content-type': 'application/x-www-form-urlencoded'
},
url: basePath + '/app/limitspace/listAllSpace?tm=' + new Date().getTime(),
data: {
CORPINFO_ID:loginUser.CORPINFO_ID,
USER_ID:loginUser.USER_ID,
},
success: function (res) {
_this.limitSpaceList = res.data.varList;
}
});
},
levelChange(e){
this.levelindex = e.detail.value;
this.pd.WORK_LEVEL=this.levelList[this.levelindex].name;
@ -1115,7 +1094,7 @@
header: {
'Content-type':'application/x-www-form-urlencoded'
},
url: basePath+'/app/personnelmanagement/list',
url: basePath+'/app/hotwork/namelist',
data: {
tm:new Date().getTime(),
CORPINFO_ID:loginUser.CORPINFO_ID,
@ -1246,17 +1225,7 @@
break
}
},
/*
*监护人
*/
// //
// guardiantreeConfirm(e) {
// this.isUps=false;
// this.pd.GUARDIAN_DEPARTMENT_ID=e[0].id;
// this.pd.GUARDIAN_DEPARTMENT_NAME=e[0].name;
// this.$forceUpdate();//
// this.getUserList(e[0].id,'guardianUserList');
// },
/*
*安全交底人
*/
@ -1405,10 +1374,10 @@
this.$forceUpdate();//
},
PickerWorkuser(e) {
this.workuserindex = e.detail.value;
this.pd.WORK_USER_ID=this.workUserList[this.workuserindex].USER_ID;
this.pd.WORK_USER=this.workUserList[this.workuserindex].NAME;
this.$forceUpdate();//
this.workuserindex = e.detail.value;
this.pd.WORK_USER_ID=this.workUserList[this.workuserindex].USER_ID;
this.pd.WORK_USER=this.workUserList[this.workuserindex].NAME;
this.$forceUpdate();//
},
/*

View File

@ -6,145 +6,8 @@
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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">
<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>
</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}}
</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>
</view>
<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>
</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}}
</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>
</view>
<view v-if="pd.AUDIT_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.AUDIT_CONTENT"></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}}
</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>
</view>
</view>
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">动火审批人意见</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
@ -188,9 +51,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {

View File

@ -6,135 +6,8 @@
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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">
<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>
</view>
<!-- <view class="cu-form-group" style="border-bottom: 1px solid #eee;border-top: 1px dashed #eee;;">-->
<!-- <view class="title">作业负责人</view>-->
<!-- {{pd.CONFIRM_USER_NAME}} {{pd.CONFIRM_USER_SIGNER_TIME}}-->
<!-- </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}}
</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>
</view>
<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>
</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}}
</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>
</view>
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">安全管理部门意见</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
@ -178,9 +51,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {

View File

@ -6,86 +6,7 @@
</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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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>
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<view class="wui-form-list">
<view class="wui-sign" >
<view class="title">安全交底人</view>
@ -125,9 +46,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {

View File

@ -5,129 +5,34 @@
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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 class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<view class="wui-form-list">
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">作业负责人意见</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
</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 class="wui-sign" >
<view class="title">作业负责人</view>
<button class="cu-btn bg-green shadow" @tap="showModal" data-target="Modal">手写签字</button>
</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 class="wui-sign-box" v-show="imgList && imgList.length > 0">
<view class="sign-title">
签字照片
</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 class="wui-sign-cotent">
<view class="sign-img" v-for="(item,index) in imgList" :key="index" @tap="ViewImage" data-type="0" :data-url="imgList[index].filePath">
<image :src="imgList[index].filePath" mode="aspectFit"></image>
</view>
</view>
</view>
</view>
</view>
<view class="wui-form-list">
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">作业负责人意见</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
</view>
<view class="wui-sign" >
<view class="title">作业负责人</view>
<button class="cu-btn bg-green shadow" @tap="showModal" data-target="Modal">手写签字</button>
</view>
<view class="wui-sign-box" v-show="imgList && imgList.length > 0">
<view class="sign-title">
签字照片
</view>
<view class="wui-sign-cotent">
<view class="sign-img" v-for="(item,index) in imgList" :key="index" @tap="ViewImage" data-type="0" :data-url="imgList[index].filePath">
<image :src="imgList[index].filePath" mode="aspectFit"></image>
</view>
<view class="cu-modal" :class="modalName=='Modal'?'show':''">
<writing-board @confirm="subCanvas" @cancel="hideModal"></writing-board>
</view>
</view>
<view class="cu-modal" :class="modalName=='Modal'?'show':''">
<writing-board @confirm="subCanvas" @cancel="hideModal"></writing-board>
</view>
</view>
</view>
</view>
<view class="cu-bar btn-group" style="margin-top: 30upx;">
<button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goSubmit(-1))"></button>
<button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goSubmit(1))"></button>
@ -146,9 +51,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {

View File

@ -11,68 +11,55 @@
{{pd.APPLY_USER_NAME}}
</view>
<view class="cu-form-group bb-default" v-if="pd.CHECK_NO != '' && pd.CHECK_NO != null">
<view class="cu-form-group bb-default">
<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 class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="true" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
<view>{{pd.WORK_LEVEL}}</view>
{{pd.WORK_LEVEL}}
</view>
<view v-if="pd.WORK_START_DATE" class="cu-form-group bb-default">
<view class="title">作业开始时间</view>
{{pd.WORK_START_DATE}}
</view>
<view v-if="pd.WORK_END_DATE" class="cu-form-group bb-default">
<view class="title">作业结束时间</view>
{{pd.WORK_END_DATE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="title">关联的其他特殊作业及安全作业票编号</view>
{{pd.SPECIAL_WORK}}
</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 class="cu-form-group bb-default">
<view class="title">风险辨识结果</view>
{{pd.RISK_IDENTIFICATION}}
</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>
<view class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</view>
</view>

View File

@ -6,192 +6,8 @@
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view 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.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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">
<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>
</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}}
</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>
</view>
<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>
</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}}
</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>
</view>
<view v-if="pd.AUDIT_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.AUDIT_CONTENT"></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}}
</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>
</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 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}}
</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>
</view>
</view>
<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 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}}
</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>
</view>
<view>
<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}}
</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 class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-group">
<view class="title">作业结束时间</view>
@ -241,9 +57,10 @@
import gcoord from '@/common/gcoord.js'
import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue';
import moment from 'moment';
import detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {
@ -337,7 +154,44 @@
uni.showLoading({
title: '请稍候'
})
if(APPLY_STATUS == 1){
if (!this.pd.WORK_END_DATE) {
uni.showToast({
icon: 'none',
title: '请选择作业结束时间',
duration: 1500
});
return;
}
if(new Date(this.pd.WORK_END_DATE).getTime() - new Date(this.pd.WORK_START_DATE).getTime() <=0){
uni.showToast({
icon: 'none',
title: '作业开始时间不能晚于或等于结束时间,请重新选择',
duration: 1500
});
return;
}
if(this.pd.WORK_LEVEL == '特级' || this.pd.WORK_LEVEL == '一级'){
if(new Date(this.pd.WORK_END_DATE).getTime() - new Date(this.pd.WORK_START_DATE).getTime() >= 28800000){
uni.showToast({
icon: 'none',
title: '动火级别为特级或一级时动火作业开始时间与结束时间应不超过8小时请重新选择',
duration: 1500
});
return;
}
}
if(this.pd.WORK_LEVEL == '二级'){
if(new Date(this.pd.WORK_END_DATE).getTime() - new Date(this.pd.WORK_START_DATE).getTime() >= 259200000){
uni.showToast({
icon: 'none',
title: '动火级别为二级时动火作业开始时间与结束时间应不超过72小时请重新选择',
duration: 1500
});
return;
}
}
}
if (_this.imgList.length <= 0) {
uni.showToast({
icon: 'none',
@ -346,34 +200,7 @@
});
return;
}
if(new Date(this.pd.WORK_END_DATE).getTime() - new Date(this.pd.WORK_START_DATE).getTime() <=0){
uni.showToast({
icon: 'none',
title: '作业开始时间不能晚于或等于结束时间,请重新选择',
duration: 1500
});
return;
}
if(this.pd.WORK_LEVEL == '特级' || this.pd.WORK_LEVEL == '一级'){
if(new Date(this.pd.WORK_END_DATE).getTime() - new Date(this.pd.WORK_START_DATE).getTime() >= 28800000){
uni.showToast({
icon: 'none',
title: '动火级别为特级或一级时动火作业开始时间与结束时间应不超过8小时请重新选择',
duration: 1500
});
return;
}
}
if(this.pd.WORK_LEVEL == '二级'){
if(new Date(this.pd.WORK_END_DATE).getTime() - new Date(this.pd.WORK_START_DATE).getTime() >= 259200000){
uni.showToast({
icon: 'none',
title: '动火级别为二级时动火作业开始时间与结束时间应不超过72小时请重新选择',
duration: 1500
});
return;
}
}
var files = [];
var signtime = [];
const formData={}

View File

@ -55,7 +55,7 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
import detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard,detail

View File

@ -6,121 +6,8 @@
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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">
<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>
</view>
<!-- <view class="cu-form-group" style="border-bottom: 1px solid #eee;border-top: 1px dashed #eee;">-->
<!-- <view class="title">作业负责人</view>-->
<!-- <image :src="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH" style="width: 90upx;height: 90upx;" @tap="ViewImage" :data-url="baseImgPath + pd.CONFIRM_USER_SIGNER_PATH"></image>-->
<!-- {{pd.CONFIRM_USER_NAME}} {{pd.CONFIRM_USER_SIGNER_TIME}}-->
<!-- </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}}
</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>
</view>
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">所在单位意见</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
@ -164,9 +51,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {

View File

@ -62,7 +62,7 @@
<text>
审核状态
<template v-if="item.STEP_ID==0"></template>
<template v-else-if="item.STATUS==-2">气体检测打回</template>
<template v-else-if="item.STATUS==-2">气体检测打回</template>
<template v-else-if="item.STEP_ID!=-1">{{ item.NEXT_STEP_NAME }}</template>
<template v-else>{{ item.STEP_NAME }}</template>
</text>
@ -136,9 +136,9 @@
totalPage:0,//--
KEYWORDS : '',
noClick:true,
stepList:[],
stepList:[],
sindex:-1,
STEP_ID:'',
STEP_ID:'',
flowList:[],
}
},
@ -314,9 +314,8 @@
},
data: {
CREATOR:_this.flow === '提交申请'?loginUser.USER_ID : '',
GASCHECK:_this.flow === '气体检测'?loginUser.USER_ID : '',
STEP_NAME: (_this.flow === '提交申请' || _this.flow === '气体检测')?'' : _this.flow,
STEP_ID: _this.STEP_ID,
GASCHECK:_this.flow === '气体检测'?loginUser.USER_ID : '',
STEP_NAME: (_this.flow === '提交申请' || _this.flow === '气体检测')?'' : _this.flow,
KEYWORDS : _this.KEYWORDS, //
CORPINFO_ID:loginUser.CORPINFO_ID,
USER_ID:loginUser.USER_ID,

View File

@ -5,79 +5,83 @@
<block slot="content">安全措施确认人意见</block>
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID" :showMeasures="false"></detail>
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID" :showMeasures="false"></detail>
<view class="wui-form-list" style="padding-top: 20upx;">
<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">
<view class="title">操作</view>
</uni-th>
</uni-tr>
<template v-for="(item,index) in measuresList">
<uni-tr>
<uni-td>
<view style="margin-bottom: 20upx;">
{{item.PROTECTIVE_MEASURES}}
</view>
<view class="wui-form-list" style="padding-top: 20upx;">
<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">
<view class="title">操作</view>
</uni-th>
</uni-tr>
<template v-for="(item,index) in measuresList">
<uni-tr>
<uni-td>
<view style="margin-bottom: 20upx;">
{{item.PROTECTIVE_MEASURES}}
</view>
<view class="cu-form-group" v-if="item.QUESTION1">
<view class="title">{{item.QUESTION1}}</view>
<input name="input" v-model="item.ANSWER1" type="number" placeholder="请输入"></input>
</view>
<view class="cu-form-group" v-if="item.QUESTION2">
<view class="title">{{item.QUESTION2}}</view>
<input name="input" v-model="item.ANSWER2" type="number" placeholder="请输入"></input>
</view>
<view class="cu-form-group" v-if="item.QUESTION3">
<view class="title">{{item.QUESTION3}}</view>
<input name="input" v-model="item.ANSWER3" type="number" placeholder="请输入"></input>
</view>
<view class="cu-form-group" v-if="item.QUESTION4">
<view class="title">{{item.QUESTION4}}</view>
<input name="input" v-model="item.ANSWER4" type="number" placeholder="请输入"></input>
</view>
</uni-td>
<view class="cu-form-group" v-if="item.QUESTION1">
<view class="title">{{item.QUESTION1}}</view>
<input name="input" v-model="item.ANSWER1" type="number" placeholder="请输入"></input>
</view>
<view class="cu-form-group" v-if="item.QUESTION2">
<view class="title">{{item.QUESTION2}}</view>
<input name="input" v-model="item.ANSWER2" type="number" placeholder="请输入"></input>
</view>
<view class="cu-form-group" v-if="item.QUESTION3">
<view class="title">{{item.QUESTION3}}</view>
<input name="input" v-model="item.ANSWER3" type="number" placeholder="请输入"></input>
</view>
<view class="cu-form-group" v-if="item.QUESTION4">
<view class="title">{{item.QUESTION4}}</view>
<input name="input" v-model="item.ANSWER4" type="number" placeholder="请输入"></input>
</view>
</uni-td>
<uni-td align="center">
<view class="title" @click="$noMultipleClicks(goToSign,index)"></view>
</uni-td>
</uni-tr>
</template>
</uni-table>
</view>
<view class="wui-sign" >
<view class="title"></view>
<button class="cu-btn bg-green shadow" @tap="showModal" data-target="Modal">手写签字</button>
</view>
<view class="wui-sign-box" v-show="imgList && imgList.length > 0">
<view class="sign-title">
签字照片
</view>
<view class="wui-sign-cotent">
<view class="sign-img" v-for="(item,index) in imgList" :key="index" @tap="ViewImage" data-type="0" :data-url="imgList[index].filePath">
<image :src="imgList[index].filePath" mode="aspectFit"></image>
<uni-td align="center">
<view class="title" @click="$noMultipleClicks(goToSign,index)"></view>
</uni-td>
</uni-tr>
</template>
</uni-table>
</view>
<view class="cu-form-group" >
<view class="title">其他安全措施</view>
<input name="input" ref="DESCR" v-model="pd.DESCR" placeholder="请输入其他安全措施"></input>
</view>
<view class="wui-sign" >
<view class="title"></view>
<button class="cu-btn bg-green shadow" @tap="showModal" data-target="Modal">手写签字</button>
</view>
<view class="wui-sign-box" v-show="imgList && imgList.length > 0">
<view class="sign-title">
签字照片
</view>
<view class="wui-sign-cotent">
<view class="sign-img" v-for="(item,index) in imgList" :key="index" @tap="ViewImage" data-type="0" :data-url="imgList[index].filePath">
<image :src="imgList[index].filePath" mode="aspectFit"></image>
</view>
</view>
</view>
<view class="cu-modal" :class="modalName=='Modal'?'show':''">
<writing-board @confirm="subCanvas" @cancel="hideModal"></writing-board>
</view>
</view>
</view>
<view class="cu-bar btn-group" style="margin-top: 30upx;">
<button class="cu-btn bg-red margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'-1')"> </button>
<button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'1')"> </button>
</view>
<view class="padding flex flex-direction">
</view>
</view>
</view>
<view class="cu-modal" :class="modalName=='Modal'?'show':''">
<writing-board @confirm="subCanvas" @cancel="hideModal"></writing-board>
</view>
</view>
</view>
<view class="cu-bar btn-group" style="margin-top: 30upx;">
<button class="cu-btn bg-red margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'-1')"> </button>
<button class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'1')"> </button>
</view>
<view class="padding flex flex-direction">
</view>
</scroll-view>
</view>
</template>
@ -187,69 +191,70 @@
});
},
goSubmit(APPLY_STATUS){
var _this = this;
uni.showLoading({
title: '请稍候'
})
goSubmit(APPLY_STATUS) {
var _this = this;
uni.showLoading({
title: '请稍候'
})
if (_this.imgList.length <= 0) {
uni.showToast({
icon: 'none',
title: '请签字',
duration: 1500
});
return;
uni.showToast({
icon: 'none',
title: '请签字',
duration: 1500
});
return;
}
for (let i = 0; i < this.measuresList.length; i++) {
const measures = this.measuresList[i]
if(!measures.SIGN_PATH){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未签字',
duration: 1500
});
return;
if (APPLY_STATUS == 1) {
for (let i = 0; i < this.measuresList.length; i++) {
const measures = this.measuresList[i]
if(!measures.SIGN_PATH){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未签字',
duration: 1500
});
return;
}
if(measures.STATUS=='1' && measures.QUESTION1 && !measures.ANSWER1){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第一项',
duration: 1500
});
return;
}
if(measures.STATUS=='1' && measures.QUESTION2 && !measures.ANSWER2){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第二项',
duration: 1500
});
return;
}
if(measures.STATUS=='1' && measures.QUESTION3 && !measures.ANSWER3){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第三项',
duration: 1500
});
return;
}
if(measures.STATUS=='1' && measures.QUESTION4 && !measures.ANSWER4){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第四项',
duration: 1500
});
return;
}
}
if(measures.STATUS=='1' && measures.QUESTION1 && !measures.ANSWER1){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第一项',
duration: 1500
});
return;
}
if(measures.STATUS=='1' && measures.QUESTION2 && !measures.ANSWER2){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第二项',
duration: 1500
});
return;
}
if(measures.STATUS=='1' && measures.QUESTION3 && !measures.ANSWER3){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第三项',
duration: 1500
});
return;
}
if(measures.STATUS=='1' && measures.QUESTION4 && !measures.ANSWER4){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未填写第四项',
duration: 1500
});
return;
}
}
const formData={}
var files = [];
var signtime = [];
this.uploadImgFaults(files,signtime)
formData.APPLY_STATUS = APPLY_STATUS
formData.APPLY_STATUS = APPLY_STATUS
formData.HOTWORK_ID = _this.pd.HOTWORK_ID
formData.SIGNTIME = signtime.join(",")
formData.USER_ID = loginUser.USER_ID

View File

@ -164,18 +164,19 @@
});
return;
}
for (let i = 0; i < this.measuresList.length; i++) {
const measures = this.measuresList[i]
if(!measures.USER_ID){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未设置确认人',
duration: 1500
});
return;
}
if(APPLY_STATUS == 1){
for (let i = 0; i < this.measuresList.length; i++) {
const measures = this.measuresList[i]
if(!measures.USER_ID){
uni.showToast({
icon: 'none',
title: '第'+(i+1)+'项未设置确认人',
duration: 1500
});
return;
}
}
}
const formData={}
var files = [];
var signtime = [];

View File

@ -6,161 +6,8 @@
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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">
<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>
</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}}
</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>
</view>
<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>
</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}}
</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>
</view>
<view v-if="pd.AUDIT_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.AUDIT_CONTENT"></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}}
</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>
</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 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}}
</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>
</view>
</view>
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-title">动火前在岗班长意见</view>
<textarea maxlength="255" v-model="pd.DESCR" placeholder="请输入意见"></textarea>
@ -204,9 +51,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {

View File

@ -6,187 +6,8 @@
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<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">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</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 class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</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">
<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>
</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}}
</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>
</view>
<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>
</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}}
</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>
</view>
<view v-if="pd.AUDIT_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.AUDIT_CONTENT"></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}}
</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>
</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 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}}
</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>
</view>
</view>
<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 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}}
</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>
</view>
<view class="cu-form-textarea" style="border-bottom: 1px dashed #eee;">
<view class="cu-form-group ">
<view class="title">作业开始时间</view>
<ruiDatePicker :start="todayDate"
fields="minute"
:value="pd.WORK_START_DATE?pd.WORK_START_DATE:''"
@change="changeStartDate"
></ruiDatePicker>
</view>
</view>
<view class="wui-sign">
<view class="title">填写作业开始时间负责人</view>
<button class="cu-btn bg-green shadow" @tap="showModal" data-target="Modal">手写签字</button>
@ -226,9 +47,10 @@
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 detail from '@/pages/application/hotwork/hotwork-detail/index'
export default {
components: {
tkiTree,ruiDatePicker,writingBoard
tkiTree,ruiDatePicker,writingBoard,detail
},
data() {
return {
@ -326,14 +148,25 @@
});
return;
}
if(new Date(this.pd.WORK_START_DATE).getTime() - new Date(this.pd.ANALYZE_TIME).getTime() >= 3600000){
uni.showToast({
icon: 'none',
title: '气体分析时间与开始时间间隔超过30分钟请重新上传气体检测结果',
duration: 1500
});
return;
if(APPLY_STATUS == 1){
if (!this.pd.WORK_START_DATE) {
uni.showToast({
icon: 'none',
title: '请选择作业开始时间',
duration: 1500
});
return;
}
if(new Date(this.pd.WORK_START_DATE).getTime() - new Date(this.pd.ANALYZE_TIME).getTime() >= 3600000){
uni.showToast({
icon: 'none',
title: '气体分析时间与开始时间间隔超过30分钟请重新上传气体检测结果',
duration: 1500
});
return;
}
}
var files = [];
var signtime = [];
const formData={}