diff --git a/src/api/ma/partType.js b/src/api/ma/partType.js new file mode 100644 index 00000000..b8ab9a49 --- /dev/null +++ b/src/api/ma/partType.js @@ -0,0 +1,57 @@ +import request from '@/utils/request' + +//机具类型管理列表信息 +export function getListAccessory(query) { + return request({ + url: '/material/ma_part_type/list', + method: 'get', + params: query, + }) +} + +//机具类型管理列表信息 +export function getListTree(query) { + return request({ + url: '/material/ma_part_type/getPartTree', + method: 'get', + params: query, + }) +} + +//查看机具类型管理列表详细信息 +export function getAccessoryDetail(id) { + return request({ + url: '/material/ma_part_type/'+ id, + method: 'get', + }) +} + + + +// 仓库管理--删除 +export function delAccessory(id) { + return request({ + url: '/material/ma_part_type/' + id, + method: 'delete', + }) +} + +// 仓库管理--修改 +export function editAccessory(data) { + return request({ + url: '/material/ma_part_type', + method: 'put', + data: data, + }) +} + +// 仓库管理--新增 +export function addAccessory(data) { + return request({ + url: '/material/ma_part_type', + method: 'post', + data: data, + }) +} + + diff --git a/src/api/ma/typeConfig.js b/src/api/ma/typeConfig.js new file mode 100644 index 00000000..d5cc10c9 --- /dev/null +++ b/src/api/ma/typeConfig.js @@ -0,0 +1,28 @@ +import request from '@/utils/request' + +//组织人员树类型管理 +export function getMatConfigList(query) { + return request({ + url: '/material/ma_type_config/getDeptUserTree', + method: 'get', + params: query, + }) +} + +//组织人员树类型管理列表 +export function getListByMatConfig(query) { + return request({ + url: '/material/ma_type_config/getMaTypeConfigList', + method: 'get', + params: query, + }) +} + +// 物资类型管理--新增 +export function bindRepair(data) { + return request({ + url: '/material/ma_type_config/updateMaTypeBindInfo', + method: 'post', + data: data, + }) +} \ No newline at end of file diff --git a/src/views/material/ma/partType/index.vue b/src/views/material/ma/partType/index.vue new file mode 100644 index 00000000..bcf664f9 --- /dev/null +++ b/src/views/material/ma/partType/index.vue @@ -0,0 +1,445 @@ + + + + \ No newline at end of file diff --git a/src/views/material/ma/typeConfig/index.vue b/src/views/material/ma/typeConfig/index.vue new file mode 100644 index 00000000..c133827a --- /dev/null +++ b/src/views/material/ma/typeConfig/index.vue @@ -0,0 +1,891 @@ + + + +