diff --git a/imt-ui/src/api/system/gatewayinfo/gatewayinfo.js b/imt-ui/src/api/system/gatewayinfo/gatewayinfo.js new file mode 100644 index 0000000..b4cf4ad --- /dev/null +++ b/imt-ui/src/api/system/gatewayinfo/gatewayinfo.js @@ -0,0 +1,53 @@ +import request from "@/utils/request"; + +// 创建机床网关信息 +export function createGatewayInfo(data) { + return request({ + url: "/imt/gateway-info/create", + method: "post", + data: data, + }); +} + +// 更新机床网关信息 +export function updateGatewayInfo(data) { + return request({ + url: "/imt/gateway-info/update", + method: "put", + data: data, + }); +} + +// 删除机床网关信息 +export function deleteGatewayInfo(id) { + return request({ + url: "/imt/gateway-info/delete?id=" + id, + method: "delete", + }); +} + +// 获得机床网关信息 +export function getGatewayInfo(id) { + return request({ + url: "/imt/gateway-info/get?id=" + id, + method: "get", + }); +} + +// 获得机床网关信息分页 +export function getGatewayInfoPage(params) { + return request({ + url: "/imt/gateway-info/page", + method: "get", + params, + }); +} +// 导出机床网关信息 Excel +export function exportGatewayInfoExcel(params) { + return request({ + url: "/imt/gateway-info/export-excel", + method: "get", + params, + responseType: "blob", + }); +} diff --git a/imt-ui/src/views/system/gatewayinfo/GatewayInfoForm.vue b/imt-ui/src/views/system/gatewayinfo/GatewayInfoForm.vue new file mode 100644 index 0000000..cd7773e --- /dev/null +++ b/imt-ui/src/views/system/gatewayinfo/GatewayInfoForm.vue @@ -0,0 +1,253 @@ + + + + \ No newline at end of file diff --git a/imt-ui/src/views/system/gatewayinfo/index.vue b/imt-ui/src/views/system/gatewayinfo/index.vue new file mode 100644 index 0000000..0d0a007 --- /dev/null +++ b/imt-ui/src/views/system/gatewayinfo/index.vue @@ -0,0 +1,302 @@ + + + + \ No newline at end of file