diff --git a/yanzhu-ui-vue3/src/api/manage/machConfig.js b/yanzhu-ui-vue3/src/api/manage/machConfig.js new file mode 100644 index 00000000..312079e4 --- /dev/null +++ b/yanzhu-ui-vue3/src/api/manage/machConfig.js @@ -0,0 +1,43 @@ +//物机配置 +import request from '@/utils/request' + +export function addCfg(data){ + return request({ + url: '/manage/api/project/machmater/addCfg', + method: 'post', + data: { + vo:data + } + }) +} + +export function updateCfg(data){ + return request({ + url: '/manage/api/project/machmater/updateCfg', + method: 'post', + data: { + vo:data + } + }) +} + +export function deleteCfg(id){ + return request({ + url: '/manage/api/project/machmater/deleteCfg', + method: 'get', + params: { + id: id + } + }) +} + +export function listCfg(projectId,cfgType){ + return request({ + url: '/manage/api/project/machmater/listCfg', + method: 'get', + params: { + projectId: projectId, + cfgType: cfgType + } + }) +} \ No newline at end of file diff --git a/yanzhu-ui-vue3/src/views/index.vue b/yanzhu-ui-vue3/src/views/index.vue index d3b49a1c..a05406be 100644 --- a/yanzhu-ui-vue3/src/views/index.vue +++ b/yanzhu-ui-vue3/src/views/index.vue @@ -5,7 +5,7 @@ - + @@ -22,7 +22,7 @@ - + diff --git a/yanzhu-ui-vue3/src/views/machmange/machConfig/index.vue b/yanzhu-ui-vue3/src/views/machmange/machConfig/index.vue new file mode 100644 index 00000000..4b5cbdde --- /dev/null +++ b/yanzhu-ui-vue3/src/views/machmange/machConfig/index.vue @@ -0,0 +1,137 @@ + + + + +