修改高级配置,完善导出导入模版

This commit is contained in:
龙运模
2024-07-18 20:06:53 +08:00
parent 21aa90990b
commit cedea73ca8
10 changed files with 146 additions and 12 deletions
+21
View File
@@ -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);
},
},
}
};
+2 -1
View File
@@ -481,5 +481,6 @@ export default {
return await http.post(this.url, params);
}
}
}
},
};