diff --git a/src/api/rentEquipmentManager/index.js b/src/api/rentEquipmentManager/index.js new file mode 100644 index 00000000..7148a22a --- /dev/null +++ b/src/api/rentEquipmentManager/index.js @@ -0,0 +1,65 @@ +import request from '@/utils/request' + +// 自有装备列表 +export const getContractListApi = (data) => { + return request({ + url: '/material-mall/owner/list', + method: 'GET', + params: data, + }) +} + +// 装备类目下拉框获取 +export const getCategoryListApi = (data) => { + return request({ + url: `/material-mall/owner/getCategoryList`, + method: 'GET', + params: data, + }) +} + + +// 所在项目-下拉 +export const getProListApi = (data = {}) => { + return request({ + url: '/material-mall/decChange/getProList', + method: 'post', + data, + }) +} + + +// 新增自有装备 +export const addContractApi = (data) => { + return request({ + url: '/material-mall/owner/add', + method: 'POST', + data: data, + }) +} +// 自有装备编辑 +export const editContractApi = (data) => { + return request({ + url: '/material-mall/owner/edit', + method: 'POST', + data: data, + }) +} +// 自有装备删除 +export const delContractApi = (data) => { + return request({ + url: '/material-mall/owner/del', + method: 'POST', + data: data, + }) +} + + +// 自有装备模板选择 +export const getContractSelectList = (data) => { + return request({ + url: '/material-mall/contract/lisTemplate', + method: 'GET', + params: data, + }) +} diff --git a/src/views/rentEquipmentManager/index.vue b/src/views/rentEquipmentManager/index.vue new file mode 100644 index 00000000..615ed16f --- /dev/null +++ b/src/views/rentEquipmentManager/index.vue @@ -0,0 +1,600 @@ + + + + +