diff --git a/src/api/dataManage/pro-materials.js b/src/api/dataManage/pro-materials.js new file mode 100644 index 0000000..e69de29 diff --git a/src/api/dataManage/product-center.js b/src/api/dataManage/product-center.js new file mode 100644 index 0000000..d852ccf --- /dev/null +++ b/src/api/dataManage/product-center.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' + +// 查询产品中心列表 +export function getProductCenterListAPI(data) { + return request({ + url: '/dataManage/product-center/list', + method: 'GET', + params: data, + }) +} + +// 新增产品中心 +export function addProductCenterAPI(data) { + return request({ + url: '/dataManage/product-center/add', + method: 'POST', + data: data, + }) +} + +// 编辑产品中心 +export function editProductCenterAPI(data) { + return request({ + url: '/dataManage/product-center/edit', + method: 'POST', + data: data, + }) +} + +// 删除产品中心 +export function deleteProductCenterAPI(data) { + return request({ + url: '/dataManage/product-center/delete', + method: 'POST', + data: data, + }) +} diff --git a/src/components/UploadFileFormData/index.vue b/src/components/UploadFileFormData/index.vue new file mode 100644 index 0000000..67b80df --- /dev/null +++ b/src/components/UploadFileFormData/index.vue @@ -0,0 +1,265 @@ + + + + + diff --git a/src/views/dataManage/pro-materials/components/addAndEditForm.vue b/src/views/dataManage/pro-materials/components/addAndEditForm.vue new file mode 100644 index 0000000..7f6efc9 --- /dev/null +++ b/src/views/dataManage/pro-materials/components/addAndEditForm.vue @@ -0,0 +1,185 @@ + + + + + diff --git a/src/views/dataManage/pro-materials/index.vue b/src/views/dataManage/pro-materials/index.vue index 5ff8bb5..1be2368 100644 --- a/src/views/dataManage/pro-materials/index.vue +++ b/src/views/dataManage/pro-materials/index.vue @@ -1,8 +1,274 @@ + +