| | |
| | | <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"> |
| | | <div v-show="enterpriseType == 1"> |
| | | 批发企业共计<span class="point-data" @click="getEnterpriseCompleteInfoList">{{enterpriseCount}}</span>家,其中:已自查<span class="point-data" @click="toSelfEnterprise(1)">{{ selfCheckEnterpriseCount }}</span>家,未自查<span @click="toSelfEnterprise(0)" class="undone point-data">{{ noSelfCheckEnterpriseCount }}</span>家;本级已经抽查<span class="point-data" @click="toLevelEnterprise(1)">{{ thislevelAlreadyCheckCount }}</span>家,未检查<span @click="toLevelEnterprise(0)" class="undone point-data">{{ thislevelNoCheckCount }}</span>家,完成率<span>{{ thislevelCompletionRate + '%' }}</span>。 |
| | | 批发企业共计<span class="point-data" @click="resetSearch()">{{enterpriseCount}}</span>家,其中:已自查<span class="point-data" @click="toSelfEnterprise(1)">{{ selfCheckEnterpriseCount }}</span>家,未自查<span @click="toSelfEnterprise(0)" class="undone point-data">{{ noSelfCheckEnterpriseCount }}</span>家;本级已经抽查<span class="point-data" @click="toLevelEnterprise(1)">{{ thislevelAlreadyCheckCount }}</span>家,未检查<span @click="toLevelEnterprise(0)" class="undone point-data">{{ thislevelNoCheckCount }}</span>家,完成率<span>{{ thislevelCompletionRate + '%' }}</span>。 |
| | | </div> |
| | | <div v-show="enterpriseType == 2"> |
| | | 零售企业共计<span class="point-data" @click="getEnterpriseCompleteInfoList">{{enterpriseCount}}</span>家,其中:已自查<span class="point-data" @click="toSelfEnterprise(1)">{{ selfCheckEnterpriseCount }}</span>家,未自查<span @click="toSelfEnterprise(0)" class="undone point-data">{{ noSelfCheckEnterpriseCount }}</span>家;本级已经抽查<span class="point-data" @click="toLevelEnterprise(1)">{{ thislevelAlreadyCheckCount }}</span>家,未检查<span @click="toLevelEnterprise(0)" class="undone point-data">{{ thislevelNoCheckCount }}</span>家,完成率<span>{{ thislevelCompletionRate + '%' }}</span>。 |
| | | 零售企业共计<span class="point-data" @click="resetSearch()">{{enterpriseCount}}</span>家,其中:已自查<span class="point-data" @click="toSelfEnterprise(1)">{{ selfCheckEnterpriseCount }}</span>家,未自查<span @click="toSelfEnterprise(0)" class="undone point-data">{{ noSelfCheckEnterpriseCount }}</span>家;本级已经抽查<span class="point-data" @click="toLevelEnterprise(1)">{{ thislevelAlreadyCheckCount }}</span>家,未检查<span @click="toLevelEnterprise(0)" class="undone point-data">{{ thislevelNoCheckCount }}</span>家,完成率<span>{{ thislevelCompletionRate + '%' }}</span>。 |
| | | </div> |
| | | <el-button class="filter-item" style="margin-left: 10px;" type="primary" icon="el-icon-search" @click="showFilter = !showFilter">{{showFilter?'关闭查询':'自定义查询'}}</el-button> |
| | | </div> |
| | |
| | | currentPage: 1, |
| | | unitType: null, |
| | | taskId: null, |
| | | taskName: '', |
| | | enterpriseType: null, |
| | | selfcheckStatus: null, |
| | | thislevelCheckStatus: null, |
| | |
| | | created() { |
| | | const t = this |
| | | t.getCheckUnitType() |
| | | if(t.taskId && t.enterpriseType){ |
| | | t.getEnterpriseCompleteInfoList() |
| | | }else{ |
| | | t.getCheckTask() |
| | | } |
| | | t.getCheckTask() |
| | | }, |
| | | computed: { |
| | | ...mapGetters([ |
| | |
| | | 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{ |
| | |
| | | }, |
| | | locationChange(value) { |
| | | const t = this |
| | | t.selfcheckStatus = null |
| | | t.thislevelCheckStatus = null |
| | | t.search.province = value[0] |
| | | t.search.city = value[1] ? value[1] : '' |
| | | t.search.area = value[2] ? value[2] : '' |
| | |
| | | }, |
| | | |
| | | changeRadio(){ |
| | | this.getEnterpriseCompleteInfoList() |
| | | const t = this |
| | | t.selfcheckStatus = null |
| | | t.thislevelCheckStatus = null |
| | | t.getEnterpriseCompleteInfoList() |
| | | }, |
| | | |
| | | searchData(){ |
| | |
| | | }, |
| | | |
| | | resetSearch(){ |
| | | this.search = { |
| | | const t = this |
| | | t.selfcheckStatus = null |
| | | t.thislevelCheckStatus = null |
| | | t.search = { |
| | | name: '', |
| | | province: '', |
| | | city: '', |
| | | area: '', |
| | | isRisky: null |
| | | } |
| | | this.selectedOptions = [] |
| | | this.getEnterpriseCompleteInfoList() |
| | | t.selectedOptions = [] |
| | | t.getEnterpriseCompleteInfoList() |
| | | }, |
| | | |
| | | toSelfEnterprise(value){ |
| | | const t = this |
| | | t.thislevelCheckStatus = null |
| | |
| | | const t = this |
| | | t.$refs.report.id = row.id |
| | | t.$refs.report.getEnterpriseInfo() |
| | | t.$refs.report.enterpriseType = t.enterpriseType |
| | | t.$refs.report.dialogVisible = true |
| | | }, |
| | | |
| | |
| | | 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.getSpotCheckReportInfo() |
| | | console.log(t.$refs.feedback.unitType,t.$refs.feedback.checkData,'data') |
| | | t.$refs.feedback.dialogVisible = true |
| | | } |
| | | } |