|
@@ -33,7 +33,7 @@
|
|
|
type="primary"
|
|
|
class="button-warning"
|
|
|
@click="handleExport"
|
|
|
- :disabled="disabled"
|
|
|
+ :disabled="tableData.length==0"
|
|
|
:loading="exportLoading"
|
|
|
id="dayReportList-export">导出</a-button>
|
|
|
</a-col>
|
|
@@ -148,6 +148,8 @@ export default {
|
|
|
resetSearchForm () {
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
this.tableData = []
|
|
|
+ this.totalNums = 0
|
|
|
+ this.totalNums = []
|
|
|
},
|
|
|
exportTable (dom, title) {
|
|
|
const zim = 'A、B、C、D、E、F、G、H、I、J、K、L、M、N、O、P、Q、R、S、T、U、V、W、X、Y、Z'.split('、')
|