From b69959f530c5c51daa19333879ddbf91675e830f Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Thu, 12 Mar 2026 15:45:07 +0800
Subject: [PATCH] 修改
---
src/views/specialCheck/components/sumSheet.vue | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/src/views/specialCheck/components/sumSheet.vue b/src/views/specialCheck/components/sumSheet.vue
index 15e14a7..e40fb51 100644
--- a/src/views/specialCheck/components/sumSheet.vue
+++ b/src/views/specialCheck/components/sumSheet.vue
@@ -9,14 +9,14 @@
</div>
<div style="display: flex;justify-content: space-between;align-items: center;margin: 10px 0 20px;height: 40px">
<div style="width: 140px"></div>
- <h2 style="text-align: center;margin: 0">{{taskName}}{{ activeTab==1?'批发':'零售' }}环节信息报送汇总表({{sheetStatus==1?'省级层面':(sheetStatus==2?'市级层面':'区县级')}})</h2>
+ <h2 style="text-align: center;margin: 0">{{taskName}}{{ activeTab==1?'批发':'零售' }}环节信息报送汇总表({{sheetStatus==1?'省级层面':(sheetStatus==2?'地(州、市)级层面':'区县级')}})</h2>
<el-button icon="el-icon-download" style="width: 140px" size="medium" type="primary" @click="exportSheet()" id="export">导出汇总表</el-button>
</div>
<div class="tabpanel">
<table v-show="sheetStatus==1||sheetStatus==2" class="data-table" id="tableExcel" v-if="thisLevelStatistic && institutionalData && institutionalData.length>0">
<tr>
<th rowspan="3">序号</th>
- <th rowspan="3">{{sheetStatus==1?'地市':'区县'}}</th>
+ <th rowspan="3">{{sheetStatus==1?'地(州、市)':'区县'}}</th>
<th colspan="2">企业基本情况</th>
<th colspan="11">企业自查及整改</th>
<th colspan="9">检查及整改情况</th>
@@ -29,8 +29,8 @@
<th rowspan="2">自查覆盖率要求</th>
<th rowspan="2">已完成覆盖率</th>
<th rowspan="2">当前有效期内企业数量</th>
- <th rowspan="2">企业库存数量/万箱</th>
- <th rowspan="2">企业库容量/万箱</th>
+ <th rowspan="2">企业库存数量/箱</th>
+ <th rowspan="2">企业库容量/箱</th>
<th colspan="2">隐患问题情况</th>
<th colspan="3">整改情况</th>
<th rowspan="2">检查层级</th>
@@ -42,7 +42,7 @@
<th rowspan="2">吊销许可证数量</th>
<th rowspan="2">暂扣许可证数量</th>
<th rowspan="2">罚款企业数量</th>
- <th rowspan="2">罚款金额</th>
+ <th rowspan="2">罚款金额(万元)</th>
</tr>
<tr>
<th>隐患总数</th>
@@ -92,7 +92,7 @@
<td>{{sum.amerceMoneySum}}</td>
</tr>
<tr>
- <td colspan="2">{{ sheetStatus==1?'省本级':'市本级' }}</td>
+ <td colspan="2">{{ sheetStatus==1?'省本级':'地(州、市)本级' }}</td>
<td>{{thisLevelStatistic.enterpriseSum?thisLevelStatistic.enterpriseSum: '--'}}</td>
<td>{{thisLevelStatistic.validEnterpriseNum?thisLevelStatistic.validEnterpriseNum: '--'}}</td>
<td>{{thisLevelStatistic.selfCheckEnterpriseNum?thisLevelStatistic.selfCheckEnterpriseNum: '--'}}</td>
@@ -106,7 +106,7 @@
<td>{{thisLevelStatistic.completedRectifyHiddendangerSum?thisLevelStatistic.completedRectifyHiddendangerSum:'--'}}</td>
<td>{{thisLevelStatistic.completedRectifyMajorHiddendangerNum?thisLevelStatistic.completedRectifyMajorHiddendangerNum:'--'}}</td>
<td>{{thisLevelStatistic.hiddendangerRectifyRate?thisLevelStatistic.hiddendangerRectifyRate:'--'}}</td>
- <td>{{sheetStatus==1?'省级':'市级'}}</td>
+ <td>{{sheetStatus==1?'省级':'地(州、市)级'}}</td>
<td>{{thisLevelStatistic.thisLevelSpotCheckinfo.spotCheckEnterpriseNum}}</td>
<td>
{{typeof thisLevelStatistic.thisLevelSpotCheckinfo.spotCheckRateRequire=="string"?thisLevelStatistic.thisLevelSpotCheckinfo.spotCheckRateRequire:thisLevelStatistic.thisLevelSpotCheckinfo.spotCheckRateRequire + '%'}}
@@ -147,7 +147,7 @@
<td :rowspan="sheetStatus==1?2:1">{{ item.completedRectifyHiddendangerSum }}</td>
<td :rowspan="sheetStatus==1?2:1">{{ item.completedRectifyMajorHiddendangerNum }}</td>
<td :rowspan="sheetStatus==1?2:1">{{ item.hiddendangerRectifyRate==null?'--':(item.hiddendangerRectifyRate + '%') }}</td>
- <td>{{ sheetStatus==1?'设立区级':'县级' }}</td>
+ <td>{{ sheetStatus==1?'设区地(州、市)级':'县级' }}</td>
<td v-if="(item.citySpotCheckinfo && item.citySpotCheckinfo.spotCheckEnterpriseNum !== undefined)|| (item.areaSpotCheckinfo && item.areaSpotCheckinfo.spotCheckEnterpriseNum !== undefined)" class="point-item" @click="checkEnterprise(item.enterpriseCity,item.enterpriseArea)">
{{sheetStatus==1?item.citySpotCheckinfo.spotCheckEnterpriseNum:item.areaSpotCheckinfo.spotCheckEnterpriseNum}}
</td>
@@ -218,7 +218,7 @@
<script>
import {mapGetters} from "vuex";
-import Cookies from "_js-cookie@2.2.0@js-cookie";
+import Cookies from "js-cookie";
import {paramList} from "../../../api/contract";
import {computePageCount} from "../../../utils";
import {parseError} from "../../../utils/messageDialog";
@@ -377,8 +377,14 @@
t.$refs.enterprises.enterpriseArea = area
if(t.sheetStatus == 1){
t.$refs.enterprises.enterpriseCity = city
+ if(area == 'all'){
+ t.$refs.enterprises.checkUnitType = 3
+ }else{
+ t.$refs.enterprises.checkUnitType = 2
+ }
}else{
t.$refs.enterprises.enterpriseCity = null
+ t.$refs.enterprises.checkUnitType = 3
}
t.$refs.enterprises.dialogVisible = true
t.$refs.enterprises.getEnterprises()
@@ -390,7 +396,6 @@
t.enterpriseCity = city
t.sheetStatus = 2
t.getDataStatistics()
- console.log(t.sheetStatus,t.institutionalData[0].citySpotCheckinfo.spotCheckEnterpriseNum,'666666666666666666')
}else{
t.sheetStatus = 3
t.$refs.areaSheet.taskId = t.taskId
@@ -415,7 +420,7 @@
},
exportSheet(){
const t = this
- const sheetName = t.taskName + (t.activeTab==1 ?'批发':'零售') + '环节信息报送汇总表(' + (t.sheetStatus==1?'省级层面':(t.sheetStatus==2?'市级层面':'区县级'))
+ const sheetName = t.taskName + (t.activeTab==1 ?'批发':'零售') + '环节信息报送汇总表(' + (t.sheetStatus==1?'省级层面':(t.sheetStatus==2?'地(州、市)级层面':'区县级'))
if(t.sheetStatus==1||t.sheetStatus==2){
t.tableToExcel("tableExcel", "export",sheetName);
}else{
--
Gitblit v1.9.2