From 9e56dd82d0347e601263aec3fde46906a2fec54f Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Fri, 2 Aug 2024 17:24:06 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E5=AE=89=E5=85=A8=E8=B4=A8?= =?UTF-8?q?=E9=87=8F=E7=AD=9B=E9=80=89=20=E5=AE=89=E5=85=A8=E7=BB=A9?= =?UTF-8?q?=E6=95=88=E6=96=B0=E5=A2=9E=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectFront/quality/inspectionLedger.vue | 50 +- .../safeSame/inspectionLedger.vue | 675 ++++--- .../safetyEducation/securityRiskAnalysis.vue | 1638 +++++++++-------- 3 files changed, 1332 insertions(+), 1031 deletions(-) diff --git a/src/views/projectFront/quality/inspectionLedger.vue b/src/views/projectFront/quality/inspectionLedger.vue index b363b69b..b1140c93 100644 --- a/src/views/projectFront/quality/inspectionLedger.vue +++ b/src/views/projectFront/quality/inspectionLedger.vue @@ -42,7 +42,8 @@ >闭合率: {{ statisticsValue.completeRatio }}% - + +
+ +
+ +
+
+
{{ $t("message.quality.inquire") @@ -2100,6 +2120,7 @@ export default { status: "", urgentLevel: "", regionId: "", + dangerInfoId: "", }, type: "add", pageNo: 1, @@ -2234,6 +2255,7 @@ export default { this.COMPANY = COMPANY; this.getProgressListData(); this.getPositionList(); + this.getDescribeClassifyList(); }, computed: { isJSON() { @@ -2610,6 +2632,14 @@ export default { "&pageSize=" + this.pageSize; } else { + const data = {}; + if(this.formInline.dangerInfoId.length > 0){ + data.dangerInfoLevel = this.formInline.dangerInfoId.length; + data.dangerInfoId = this.formInline.dangerInfoId[this.formInline.dangerInfoId.length - 1]; + } else { + data.dangerInfoLevel = ""; + data.dangerInfoId = ""; + } window.location.href = this.$http.defaults.baseURL + "xmgl/download/exporExcelQualityInspectionRecord?projectSn=" + @@ -2629,7 +2659,11 @@ export default { "&pageNo=" + this.pageNo + "&pageSize=" + - this.pageSize; + this.pageSize + + "&dangerInfoId=" + + data.dangerInfoId + + "&dangerInfoLevel =" + + data.dangerInfoLevel; } }, openImg(src) { @@ -2988,6 +3022,7 @@ export default { status: "", urgentLevel: "", regionId: "", + dangerInfoId:"" }; this.pageNo = 1; this.pageSize = 10; @@ -2996,7 +3031,14 @@ export default { //查询按钮 分页列表查询 onSubmit() { - let data = this.formInline; + let data = {...this.formInline}; + if(data.dangerInfoId.length > 0){ + data.dangerInfoLevel = data.dangerInfoId.length; + data.dangerInfoId = data.dangerInfoId[data.dangerInfoId.length - 1]; + } else { + data.dangerInfoLevel = ""; + data.dangerInfoId = ""; + } data.projectSn = this.projectSn; data.pageNo = this.pageNo; data.pageSize = this.pageSize; @@ -3029,7 +3071,7 @@ export default { // 逻辑结束 this.addDialog = true; this.getPositionList(); - this.getDescribeClassifyList(); + // this.getDescribeClassifyList(); this.getPeopleList(); // this.getReviewPeopleList(); // this.getPeopleUpdateList(); diff --git a/src/views/projectFront/safeSame/inspectionLedger.vue b/src/views/projectFront/safeSame/inspectionLedger.vue index a3710771..38af0d4c 100644 --- a/src/views/projectFront/safeSame/inspectionLedger.vue +++ b/src/views/projectFront/safeSame/inspectionLedger.vue @@ -52,30 +52,32 @@ :model="formInline" size="small" class="demo-form-inline" + style="display: flex" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
+ +
+
+ - {{ - $t("message.quality.inquire") - }} + {{ $t("message.quality.inquire") }} {{ $t("message.quality.flush") }} - 新增 - 导出 + 新增 + 导出
@@ -226,8 +273,8 @@ prop="changeLimitTime" :label=" $t('message.quality.inspectionResult') + - '/' + - $t('message.quality.rectificationLimit') + '/' + + $t('message.quality.rectificationLimit') " >