质量报表导出明细添加

yangwl
zhaoxiaolin 3 months ago
parent 3144dc4d8b
commit b5ad3b330f

@ -43,7 +43,9 @@
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"></el-button>
</el-form-item> </el-form-item>
</el-row>
</el-form> </el-form>
<div class="top-table"> <div class="top-table">
@ -490,6 +492,12 @@ export default {
this.single = selection.length!==1 this.single = selection.length!==1
this.multiple = !selection.length this.multiple = !selection.length
}, },
/** 导出按钮操作 */
handleExport() {
this.download('quality/staticTable/exportIncomeDetail', {
...this.queryParams
}, `incomeNoOkList_${new Date().getTime()}.xlsx`)
},
} }
}; };
</script> </script>

@ -43,6 +43,7 @@
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"></el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -490,6 +491,12 @@ export default {
this.single = selection.length!==1 this.single = selection.length!==1
this.multiple = !selection.length this.multiple = !selection.length
}, },
/** 导出按钮操作 */
handleExport() {
this.download('quality/staticTable/exportXJDetail', {
...this.queryParams
}, `XJList_${new Date().getTime()}.xlsx`)
},
} }
}; };
</script> </script>

@ -43,6 +43,7 @@
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"></el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -488,6 +489,12 @@ export default {
this.single = selection.length!==1 this.single = selection.length!==1
this.multiple = !selection.length this.multiple = !selection.length
}, },
/** 导出按钮操作 */
handleExport() {
this.download('quality/staticTable/exportIncomeDetail', {
...this.queryParams
}, `scNoOkList_${new Date().getTime()}.xlsx`)
},
} }
}; };
</script> </script>

Loading…
Cancel
Save