diff --git a/src/api/device/sparePartsApplicationRecord.js b/src/api/device/sparePartsApplicationRecord.js new file mode 100644 index 0000000..ed6fb54 --- /dev/null +++ b/src/api/device/sparePartsApplicationRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询申领记录列表 +export function listSparePartsApplicationRecord(query) { + return request({ + url: '/device/sparePartsApplicationRecord/list', + method: 'get', + params: query + }); +} + +// 查询申领记录详细 +export function getSparePartsApplicationRecord(applyId) { + return request({ + url: '/device/sparePartsApplicationRecord/' + applyId, + method: 'get' + }); +} + +// 新增申领记录 +export function addSparePartsApplicationRecord(data) { + return request({ + url: '/device/sparePartsApplicationRecord', + method: 'post', + data: data + }); +} + +// 修改申领记录 +export function updateSparePartsApplicationRecord(data) { + return request({ + url: '/device/sparePartsApplicationRecord', + method: 'put', + data: data + }); +} + +// 删除申领记录 +export function delSparePartsApplicationRecord(applyId) { + return request({ + url: '/device/sparePartsApplicationRecord/' + applyId, + method: 'delete' + }); +} diff --git a/src/views/device/sparePartsApplicationRecord/index.vue b/src/views/device/sparePartsApplicationRecord/index.vue new file mode 100644 index 0000000..1d3646a --- /dev/null +++ b/src/views/device/sparePartsApplicationRecord/index.vue @@ -0,0 +1,402 @@ + + +