|
@@ -389,7 +389,7 @@
|
|
|
:append-to-body="true">
|
|
|
<div style="text-align: center;">
|
|
|
<el-radio v-model="downloadType" label="1">Excel</el-radio>
|
|
|
- <el-radio v-model="downloadType" label="2" disabled>PDF</el-radio>
|
|
|
+<!-- <el-radio v-model="downloadType" label="2" disabled>PDF</el-radio>-->
|
|
|
</div>
|
|
|
<div style="text-align: center; margin-top: 40px;">
|
|
|
<el-button type="primary" @click="downloadReportEvent">确定</el-button>
|
|
@@ -967,10 +967,12 @@ export default {
|
|
|
this.chooseReportTemplate = luckyData
|
|
|
this.drawLuckyExcel(luckyData, () => {
|
|
|
loading.close()
|
|
|
- this.btnType = 'add'
|
|
|
this.$refs.reportForm.resetFields()
|
|
|
this.dialogReportTemplateVisible = false
|
|
|
this.breadcrumbList = ['新增报表']
|
|
|
+ setTimeout(() => {
|
|
|
+ this.btnType = 'add'
|
|
|
+ }, 100)
|
|
|
})
|
|
|
}).catch((e) => {
|
|
|
loading.close()
|