diff --git a/src/api/itemManagement/applicationExamine.js b/src/api/itemManagement/applicationExamine.js new file mode 100644 index 0000000..35c9ee8 --- /dev/null +++ b/src/api/itemManagement/applicationExamine.js @@ -0,0 +1,23 @@ +import request from '@/router/axios'; + +export const findPage = (params) => { + return request({ + url: '/api/blade-desk/goodsApply/findPage', + method: 'get', + params + }) +} +export const detail = (params) => { + return request({ + url: '/api/blade-desk/goodsApply/detail', + method: 'get', + params: params + }) +} +export const remove = (params) => { + return request({ + url: '/api/blade-desk/goodsApply/remove', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/api/itemManagement/itemList.js b/src/api/itemManagement/itemList.js new file mode 100644 index 0000000..45d4469 --- /dev/null +++ b/src/api/itemManagement/itemList.js @@ -0,0 +1,44 @@ +import request from '@/router/axios'; + +export const findPage = (params) => { + return request({ + url: '/api/blade-desk/goods/findPage', + method: 'get', + params: params + }) +} +export const detail = (params) => { + return request({ + url: '/api/blade-desk/goods/detail', + method: 'get', + params: params + }) +} +export const save = (data) => { + return request({ + url: '/api/blade-desk/goods/save', + method: 'post', + data + }) +} +export const goodsApplySave = (data) => { + return request({ + url: '/api/blade-desk/goodsApply/save', + method: 'post', + data + }) +} +export const remove = (params) => { + return request({ + url: '/api/blade-desk/goods/remove', + method: 'get', + params + }) +} +export const historyDetail = (params) => { + return request({ + url: '/api/blade-desk/goods/historyDetail', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/page/itemManagement/applicationExamine/index.vue b/src/page/itemManagement/applicationExamine/index.vue new file mode 100644 index 0000000..31d3272 --- /dev/null +++ b/src/page/itemManagement/applicationExamine/index.vue @@ -0,0 +1,916 @@ + + + + + \ No newline at end of file diff --git a/src/page/itemManagement/itemList/index.vue b/src/page/itemManagement/itemList/index.vue new file mode 100644 index 0000000..c795ffa --- /dev/null +++ b/src/page/itemManagement/itemList/index.vue @@ -0,0 +1,1099 @@ + + + + + \ No newline at end of file diff --git a/src/router/views/index.js b/src/router/views/index.js index 6f9f9a6..8c4d804 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -243,5 +243,30 @@ export default [{ component: () => import( /* webpackChunkName: "views" */ '@/views/system/systemSetting') }] -} +}, + { + path: '/itemManagement', + component: Layout, + redirect: '/itemManagement/itemList', + children: [ + { + path: 'itemList', + name: '物品列表', + meta: { + i18n: 'dashboard' + }, + component: () => + import( /* webpackChunkName: "views" */ '@/page/itemManagement/itemList') + }, + { + path: 'applicationExamine', + name: '申领审核', + meta: { + i18n: 'dashboard' + }, + component: () => + import( /* webpackChunkName: "views" */ '@/page/itemManagement/applicationExamine') + }, + ] + } ]