From 90de81ed138823dc498b201bc7873f74016d2f65 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期三, 23 十一月 2022 15:20:23 +0800 Subject: [PATCH] 新增安全专项检查与用户层级 --- src/views/specialCheck/components/wholesaleForm.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/specialCheck/components/wholesaleForm.vue b/src/views/specialCheck/components/wholesaleForm.vue index be125b7..150749c 100644 --- a/src/views/specialCheck/components/wholesaleForm.vue +++ b/src/views/specialCheck/components/wholesaleForm.vue @@ -2,8 +2,8 @@ <div class="table"> <div class="filter-container"> <div class="table-tit"> - <h2 v-show="enterpriseType == 1">2023年上半年烟花爆竹生产经营安全检查(批发)</h2> - <h2 v-show="enterpriseType == 2">2023年上半年烟花爆竹生产经营安全检查(零售)</h2> + <h2 v-show="enterpriseType == 1">{{taskName}}(批发)</h2> + <h2 v-show="enterpriseType == 2">{{taskName}}(零售)</h2> <span>(检查一家反馈一家,没有检查出隐患问题的也要登记反馈)</span> </div> <div class="control-bar"> @@ -129,6 +129,7 @@ currentPage: 1, unitType: null, taskId: null, + taskName: '', enterpriseType: null, selfcheckStatus: null, thislevelCheckStatus: null, @@ -156,11 +157,7 @@ created() { const t = this t.getCheckUnitType() - if(t.taskId && t.enterpriseType){ - t.getEnterpriseCompleteInfoList() - }else{ - t.getCheckTask() - } + t.getCheckTask() }, computed: { ...mapGetters([ @@ -188,6 +185,7 @@ const res = await getSpecialCheckTask() if(res.data.code === "200"){ t.taskId = res.data.result.specialCheckTaskSimplifyInfos[0].id + t.taskName = res.data.result.specialCheckTaskSimplifyInfos[0].taskName t.enterpriseType = 1 t.getEnterpriseCompleteInfoList() }else{ @@ -273,6 +271,7 @@ const t = this t.$refs.report.id = row.id t.$refs.report.getEnterpriseInfo() + t.$refs.report.enterpriseType = t.enterpriseType t.$refs.report.dialogVisible = true }, @@ -283,7 +282,9 @@ t.$refs.feedback.feedbackForm.id = row.id t.$refs.feedback.getSpotCheckReportInfo() t.$refs.feedback.unitType = t.unitType + t.$refs.feedback.enterpriseType = t.enterpriseType t.$refs.feedback.dialogVisible = true + t.$refs.feedback.getSpotCheckReportInfo() } } } -- Gitblit v1.9.2