修改高级配置,完善导出导入模版
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import config from "@/config";
|
||||
import http from "@/utils/request";
|
||||
|
||||
export default {
|
||||
room:{
|
||||
add: {
|
||||
url: `${config.API_URL}/machine.room.add`,
|
||||
name: "新增机房配置",
|
||||
post: async function (data = {}) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
list: {
|
||||
url: `${config.API_URL}/machine.room.list`,
|
||||
name: "机房配置列表",
|
||||
get: async function (data = {}) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
}
|
||||
};
|
||||
@@ -481,5 +481,6 @@ export default {
|
||||
return await http.post(this.url, params);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user