增加维修单导入
This commit is contained in:
+15
-1
@@ -124,7 +124,21 @@ export default {
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params);
|
||||
}
|
||||
}
|
||||
},
|
||||
template:{
|
||||
url: `${config.API_URL}/repair.order.import.template`,
|
||||
name: "维修工单导入模版",
|
||||
post: async function (params) {
|
||||
return await http.get(this.url,params,{responseType: 'arraybuffer'});
|
||||
}
|
||||
},
|
||||
import:{
|
||||
url: `${config.API_URL}/repair.order.import`,
|
||||
name: "维修工单导入",
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
|
||||
}
|
||||
},
|
||||
},
|
||||
maintenance:{
|
||||
list:{
|
||||
|
||||
Reference in New Issue
Block a user