| | |
| | | <template> |
| | | <!-- <CompPreCheck @pre-check="autoEvaluate"></CompPreCheck> --> |
| | | |
| | | <FYTable @search="onSearch" :pagination="false" ref="tableRef"> |
| | | <template #options> |
| | | <!-- 区县 --> |
| | |
| | | ></FYOptionScene> |
| | | <!-- 时间 --> |
| | | <FYOptionTime :initValue="false" type="month" v-model:value="formSearch.time"></FYOptionTime> |
| | | </template> |
| | | <template #buttons> |
| | | <!-- <el-button icon="Download" size="default" type="success" @click="download" |
| | | >规范性评估与分析报告</el-button |
| | | > --> |
| | | <CompReport |
| | | :locations="formSearch.locations" |
| | | :scenetype="formSearch.scenetype" |
| | | :time="formSearch.time" |
| | | ></CompReport> |
| | | </template> |
| | | |
| | | <template #options-expand> |
| | |
| | | <!-- <el-table-column prop="biArea" label="集中区" width="110" /> |
| | | <el-table-column prop="biManagementCompany" label="物业" min-width="110"/> --> |
| | | <el-table-column fixed="right" align="right" label="操作" width="160"> |
| | | <template #header> |
| | | <el-button icon="Download" size="default" type="success" @click="download" |
| | | >下载结果</el-button |
| | | <!-- <template #header> |
| | | <el-button icon="Download" size="default" type="success" @click="exportExcel" |
| | | >导出结果</el-button |
| | | > |
| | | </template> |
| | | </template> --> |
| | | <template #default="{ row }"> |
| | | <el-button type="primary" size="small" @click="editRow(row)">查看</el-button> |
| | | </template> |
| | |
| | | import evaluateApi from '@/api/fysp/evaluateApi'; |
| | | import { envCreditCode } from '@/constants/index'; |
| | | import CompQuickSet from './components/CompQuickSet.vue'; |
| | | import CompReport from './components/CompReport.vue'; |
| | | |
| | | export default { |
| | | name: 'ResultManage', |
| | | components: { CompQuickSet }, |
| | | components: { CompQuickSet, CompReport }, |
| | | data() { |
| | | return { |
| | | formSearch: { |
| | |
| | | scensetypeid: scenetype.value |
| | | }; |
| | | }, |
| | | editRow(row) { |
| | | this.$router.push(`evalutationEdit/${row.subTaskId}`); |
| | | }, |
| | | setOptions(param) { |
| | | this.formSearch.locations = param.locations; |
| | | this.formSearch.scenetype = param.scenetype; |
| | |
| | | } |
| | | }); |
| | | }, |
| | | // 规范性评估与分析报告后台生成任务 |
| | | download() { |
| | | const area = this._getParam(); |
| | | evaluateApi.downloadAutoEvaluation(area).then((res) => { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | // 导出表格为excel格式 |
| | | exportExcel() {}, |
| | | getFilters(data) { |
| | | const townList = []; |
| | | data.forEach((e) => { |