增加工单导入导出
This commit is contained in:
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
@@ -450,7 +450,7 @@
|
||||
}
|
||||
.btnPot{
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
top: 6px;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user