| | |
| | | </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> |
| | |
| | | <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> |
| | |
| | | <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 + '%'}} |
| | |
| | | <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> |
| | |
| | | }, |
| | | 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{ |