Browse Source

导出功能更改接口

master
LAPTOP-AKBAACR8\An.Hr 2 years ago
parent
commit
d180d8474f
  1. 4
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
  2. 4
      vue/src/views/pg-fis/basedate/select/index.vue

4
vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

@ -1023,14 +1023,14 @@ export default {
//this.details = response.item.details; //this.details = response.item.details;
}); });
}, },
/** 导出功能 */ /** 导出功能 assembly-cfg-erp/export */
handleDownload() { handleDownload() {
this.listLoading = true; this.listLoading = true;
this.listExportQuery.erpAssemblyCode = this.listQuery.ErpAssemblyCode; this.listExportQuery.erpAssemblyCode = this.listQuery.ErpAssemblyCode;
this.listExportQuery.erpAssemblyName = this.listQuery.ErpAssemblyName; this.listExportQuery.erpAssemblyName = this.listQuery.ErpAssemblyName;
console.log(JSON.stringify(this.listQuery)); console.log(JSON.stringify(this.listQuery));
this.$axios this.$axios
.posts("/api/newjit/assembly-cfg-erp/export", this.listQuery) .posts("/api/newjit/bill-m100/export", this.listQuery)
.then((res) => { .then((res) => {
let filename = res.item; let filename = res.item;
this.$axios this.$axios

4
vue/src/views/pg-fis/basedate/select/index.vue

@ -731,14 +731,14 @@ export default {
//console.log(this.details); //console.log(this.details);
}); });
}, },
/** 导出功能 */ /** 导出功能 assembly-cfg-erp/export*/
handleDownload() { handleDownload() {
this.listLoading = true; this.listLoading = true;
this.listExportQuery.erpAssemblyCode = this.listQuery.ErpAssemblyCode; this.listExportQuery.erpAssemblyCode = this.listQuery.ErpAssemblyCode;
this.listExportQuery.erpAssemblyName = this.listQuery.ErpAssemblyName; this.listExportQuery.erpAssemblyName = this.listQuery.ErpAssemblyName;
console.log(JSON.stringify(this.listQuery)); console.log(JSON.stringify(this.listQuery));
this.$axios this.$axios
.posts("/api/newjit/assembly-cfg-erp/export", this.listQuery) .posts("/api/newjit/bill-m100/export", this.listQuery)
.then((res) => { .then((res) => {
let filename = res.item; let filename = res.item;
this.$axios this.$axios

Loading…
Cancel
Save