From 782eb0421226674e9c7b462f738b08dba27f2ed1 Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Thu, 9 Nov 2023 14:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=BD=9A=E5=8F=8D=E9=A6=88=E5=9B=BE?= =?UTF-8?q?=E7=89=87=20=E4=B8=8D=E8=83=BD=E6=94=BE=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hidden-management/detail.vue | 407 +++++++++--------- 1 file changed, 207 insertions(+), 200 deletions(-) diff --git a/pages/application/key-project-management/hidden-management/detail.vue b/pages/application/key-project-management/hidden-management/detail.vue index 0e3486c..7c7941d 100644 --- a/pages/application/key-project-management/hidden-management/detail.vue +++ b/pages/application/key-project-management/hidden-management/detail.vue @@ -7,176 +7,176 @@ - - - 隐患照片 - - - - - - - - - - - - 隐患视频 - - - - - - - - - - - 隐患描述 - - - - 隐患部位 - - {{ hiddenForm.HIDDENPART }} - - - - 隐患级别 - - {{ hiddenForm.HIDDENLEVEL_NAME }} - - - - 隐患类型 - - {{ hiddenForm.HIDDENTYPE_NAME }} - - - - 隐患处置: - 限期整改 - - - 整改期限: - {{ hiddenForm.RECTIFICATIONDEADLINE }} - - - - 整改部门: - - - {{ hiddenForm.RECTIFICATIONDEPT_NAME }} - - - - 整改人: - {{ hiddenForm.RECTIFICATIONOR_NAME }} - - - 整改时间: - {{ hiddenForm.RECTIFICATIONTIME }} - - - - 整改照片 - - - - - - - - - - - 验收时间: - - {{hiddenForm.CHECKTIME}} - - - - 验收照片 - - - {{hiddenForm.ysImgs.length}}/4 - - - - - - - - - - - - - - - - - - - - - 处罚信息 - - - - 处罚原因: - {{ punishForm.REASON }} - - - 处罚金额: - {{ punishForm.AMOUT }}元 - - - 被处罚单位: - {{ punishForm.UNITS_NAME }} - - - 被处罚人: - {{ punishForm.PERSON_NAME }} - - - 下发人: - {{ punishForm.CREATOR_NAME }} - - - 下发处罚时间: - {{ punishForm.DATE }} - - - - 罚款缴纳单 - - - - - - - - - - - 是否缴纳罚款: - {{punishForm.HANDLED === '1' ? '已缴' : '未缴' }} - - - 处罚处理人: - {{punishForm.PERSON_NAME}} - - - 处罚处理时间: - {{punishForm.HANLDE_TIME}} - - + + + 隐患照片 + + + + + + + + + + + + 隐患视频 + + + + + + + + + + + 隐患描述 + + + + 隐患部位 + + {{ hiddenForm.HIDDENPART }} + + + + 隐患级别 + + {{ hiddenForm.HIDDENLEVEL_NAME }} + + + + 隐患类型 + + {{ hiddenForm.HIDDENTYPE_NAME }} + + + + 隐患处置: + 限期整改 + + + 整改期限: + {{ hiddenForm.RECTIFICATIONDEADLINE }} + + + + 整改部门: + + + {{ hiddenForm.RECTIFICATIONDEPT_NAME }} + + + + 整改人: + {{ hiddenForm.RECTIFICATIONOR_NAME }} + + + 整改时间: + {{ hiddenForm.RECTIFICATIONTIME }} + + + + 整改照片 + + + + + + + + + + + 验收时间: + + {{hiddenForm.CHECKTIME}} + + + + 验收照片 + + + {{hiddenForm.ysImgs.length}}/4 + + + + + + + + + + + + + + + + + + + + + 处罚信息 + + + + 处罚原因: + {{ punishForm.REASON }} + + + 处罚金额: + {{ punishForm.AMOUT }}元 + + + 被处罚单位: + {{ punishForm.UNITS_NAME }} + + + 被处罚人: + {{ punishForm.PERSON_NAME }} + + + 下发人: + {{ punishForm.CREATOR_NAME }} + + + 下发处罚时间: + {{ punishForm.DATE }} + + + + 罚款缴纳单 + + + + + + + + + + + 是否缴纳罚款: + {{punishForm.HANDLED === '1' ? '已缴' : '未缴' }} + + + 处罚处理人: + {{punishForm.PERSON_NAME}} + + + 处罚处理时间: + {{punishForm.HANLDE_TIME}} + + @@ -223,7 +223,7 @@ export default { ysImgs:[], CHECKTIME :formatDate(new Date(), 'yyyy-MM-dd hh:mm') }, - punishForm:{}, + punishForm:{}, videoSrc:'', modalShow:false, todayDate:formatDate(new Date(), 'yyyy-MM-dd hh:mm'), @@ -256,15 +256,22 @@ export default { uni.hideLoading();//结束加载中动画 if (res.data != null) { this.hiddenForm = res.data.pd - if(res.data.pd.punishForm){ - this.punishForm = res.data.pd.punishForm - }else{ - this.punishForm = null; - } + if(res.data.pd.punishForm){ + this.punishForm = res.data.pd.punishForm + }else{ + this.punishForm = null; + } } } }) }, + viewImagePunish(e) { + let files = []; + files.push(this.baseImgPath + this.punishForm.HANDLE_IMG) + uni.previewImage({ + urls: files + }); + }, ViewImage(e) { let files = []; for (var i = 0; i < this.hiddenForm.hiddenImgs.length; i++) { @@ -294,18 +301,18 @@ export default { this.$forceUpdate();//强制刷新 }, ViewImage2(e) { - let files =[]; - for(var i=0;i .dy-title-flex{ - font-weight: bold; - font-size: 35upx; + font-weight: bold; + font-size: 35upx; }