| | |
| | | <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button> |
| | | </div> |
| | | <div class="btn"> |
| | | <el-button size="medium" type="primary" @click="handleDown" :loading="outLoading" v-if="outPower">导出</el-button> |
| | | <el-button size="medium" type="primary" @click="openAdd" v-if="addPower">新增</el-button> |
| | | <el-button size="small" type="primary" @click="handleDown" :loading="outLoading" v-if="outPower">导出</el-button> |
| | | <el-button size="small" type="primary" @click="openAdd" v-if="addPower">新增</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | |
| | | this.outLoading = true |
| | | exportProcessReport({ ids: this.mutilSelect.map(m => m.id) }).then(res => { |
| | | this.outLoading = false |
| | | if (res.code === 201) return |
| | | this.$message.success('导出成功') |
| | | const url = this.javaApi + '/word/' + res.data; |
| | | this.$download.saveAs(url, "报告结果"); |
| | | this.$download.downloadFileFromUrl(res.data, "报告结果"); |
| | | }) |
| | | }, |
| | | openAdd() { |