增加工单导入导出

This commit is contained in:
龙运模
2024-07-22 20:00:23 +08:00
parent b831704dbd
commit bd380b7b40
6 changed files with 13 additions and 10 deletions
+3 -3
View File
@@ -8,7 +8,7 @@
</scImport>
</div>
<div class="right-panel">
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="6"></scExport>
<scExport :size="size" @exportData="exportData" @updateShow="exportChangeShow" :show="exportShow" type="11"></scExport>
</div>
</el-header>
<el-main class="nopadding">
@@ -168,7 +168,7 @@ export default {
document.body.removeChild(eLink);
},
async importUpload(params) {
const res = await this.$API.system.company.import.post(params);
const res = await this.$API.orders.order.maintenance.import.post(params);
if(res.code == 200){
this.$message.success('上传成功,开始导入数据');
}
@@ -248,7 +248,7 @@ export default {
},
// 下载导出
exportChangeShow(params){
if(params.type == 6){
if(params.type == 11){
this.exportShow = params.status==0?true:false
}
},
+1 -1
View File
@@ -450,7 +450,7 @@
}
.btnPot{
position: absolute;
top: 16px;
top: 6px;
right: 0;
z-index: 10;
}