diff --git a/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-detail.vue b/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-detail.vue index a33ebac..e35e1a7 100644 --- a/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-detail.vue +++ b/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-detail.vue @@ -85,30 +85,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -207,17 +183,20 @@ - - - - 安全交底人 - {{pd.CONFESS_USER_NAME}} {{pd.CONFESS_USER_SIGNER_TIME}} - - - - - - + + + + + 安全交底人 + {{ item.CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }} + + + + + + + @@ -239,10 +218,6 @@ 作业负责人意见 - - - - 作业负责人 @@ -253,32 +228,10 @@ - - - - - - - - - - - - - - - - - - 属地监管单位意见 - - - - 属地监管单位负责人 @@ -293,10 +246,6 @@ 安全管理部门意见 - - - - 安全管理部门负责人 diff --git a/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue b/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue index 9cc6244..9fe2055 100644 --- a/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue +++ b/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue @@ -3,18 +3,9 @@ 返回 动火审批人意见 - - - - - - - - - - + 安全项检查人 diff --git a/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-detail.vue b/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-detail.vue index 0d9331c..af35e24 100644 --- a/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-detail.vue +++ b/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-detail.vue @@ -162,7 +162,7 @@ - + diff --git a/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-detail.vue b/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-detail.vue index f25bbe6..4d721ef 100644 --- a/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-detail.vue +++ b/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-detail.vue @@ -197,17 +197,20 @@ - - - - 安全交底人 - {{pd.CONFESS_USER_NAME}} {{pd.CONFESS_USER_SIGNER_TIME}} - - - - - - + + + + + 安全交底人 + {{ item.CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }} + + + + + + + @@ -227,15 +230,15 @@ 项目主管部门负责人意见 - + 项目主管部门负责人 - {{pd.BELONGING_USER_NAME}} {{pd.BELONGING_USER_SIGNER_TIME}} + {{pd.BELONGING_USER_NAME}} {{pd.BELONGING_SIGNATURE_TIME}} - + diff --git a/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue b/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue index 6ef2780..dc8fbb0 100644 --- a/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue +++ b/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue @@ -3,18 +3,9 @@ 返回 班长验票 - - - - - - - - - 0) { + uni.showModal({ + title:'提示', + content:'动火作业已结束,不能验票', + showCancel:false, + }) + return + } if(new Date().getTime() - new Date(item.ANALYZE_TIME).getTime() <= 1800000) { if (item.APPLY_STATUS == '6') { uni.navigateTo({ @@ -608,7 +607,7 @@ } } }) - }, + } } } diff --git a/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-detail.vue b/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-detail.vue index 02fd36a..c053cd7 100644 --- a/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-detail.vue +++ b/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-detail.vue @@ -340,12 +340,17 @@ HOTWORK_ID: _this.pd.HOTWORK_ID, CORPINFO_ID:loginUser.CORPINFO_ID, USER_ID:loginUser.USER_ID, - showInfo:'1' + showInfo:'0' }, success: (res) => { if ("success" == res.data.result) { uni.hideLoading(); _this.pd = res.data.pd; //参数map + if (res.data.measuresList && res.data.measuresList.length > 0) { + _this.measuresList = res.data.measuresList + }else { + _this.getSafetyCheck() + } _this.measuresList = res.data.measuresList _this.files = res.data.imgList; if(_this.pd.APPLY_STATUS < 1){ @@ -852,7 +857,25 @@ }, goToEdit(){ this.forbidEdit = false; - } + }, + getSafetyCheck(){ + var _this = this; + uni.request({ + method: 'POST', + dataType: 'json', + header: { + 'Content-type': 'application/x-www-form-urlencoded' + }, + url: basePath + '/app/hotwork/cfd/getSafetyCheckItem?tm=' + new Date().getTime(), + data: { + CORPINFO_ID: loginUser.CORPINFO_ID, + USER_ID: loginUser.USER_ID, + }, + success: function (res) { + _this.measuresList = res.data.measuresList; + } + }); + }, } } diff --git a/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-detail.vue b/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-detail.vue index 1f3e2e3..383881b 100644 --- a/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-detail.vue +++ b/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-detail.vue @@ -460,14 +460,18 @@ export default { Object.keys(this.pd).map(key => { formData[key] = this.pd[key] }) + if (STATUS > 0){ + formData.APPROVAL_STATUS = "1" + }else { + formData.APPROVAL_STATUS = "-1" + } formData.CREATOR = loginUser.USER_ID formData.OPERATOR = loginUser.USER_ID formData.ACTION_USER = loginUser.NAME formData.APPLY_STATUS = STATUS formData.CORPINFO_ID = loginUser.CORPINFO_ID formData.USER_ID = loginUser.USER_ID - - formData.STATUS = STATUS + formData.STATUS = '2' this.buttonloading = true uni.uploadFile({ url: basePath + '/app/hotwork/cfd/editStatus',