|
@@ -180,6 +180,12 @@
|
|
|
type="primary"
|
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
|
+ @click="warehouseSupervise"
|
|
|
+ >分类监管仓库导出</el-button>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
@click="superviseExport"
|
|
|
v-hasPermi="['warehouseBusiness:whgenleg:superviseExport']"
|
|
|
>分类监管导出</el-button>
|
|
@@ -417,7 +423,9 @@ import {
|
|
|
delWhgenleg,
|
|
|
addWhgenleg,
|
|
|
updateWhgenleg,
|
|
|
- exportWhgenleg, superviseExportWhgenleg
|
|
|
+ exportWhgenleg,
|
|
|
+ superviseExportWhgenleg,
|
|
|
+ warehouseSupervise
|
|
|
} from '@/api/reportManagement/whgenleg'
|
|
|
import { listWarehouse, treeselect } from "@/api/basicdata/warehouse";
|
|
|
import { listArea } from "@/api/basicdata/area";
|
|
@@ -1088,6 +1096,18 @@ export default {
|
|
|
this.download(response.msg);
|
|
|
})
|
|
|
},
|
|
|
+ /** 分类监管仓库导出 */
|
|
|
+ warehouseSupervise() {
|
|
|
+ this.$confirm("确认是否导出分类监管仓库数据?", "警告", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ }).then(function() {
|
|
|
+ return warehouseSupervise();
|
|
|
+ }).then((response) => {
|
|
|
+ this.download(response.msg);
|
|
|
+ })
|
|
|
+ },
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
const queryParams = this.queryParams;
|