diff --git a/src/api/release/productioninformation.js b/src/api/release/productioninformation.js new file mode 100644 index 0000000..dc66619 --- /dev/null +++ b/src/api/release/productioninformation.js @@ -0,0 +1,87 @@ +import request from '@/router/axios'; + +export const getList = (current, size, params) => { + return request({ + url: '/api/release/productioninformation/list', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const getDetail = (id) => { + return request({ + url: '/api/release/productioninformation/detail', + method: 'get', + params: { + id + } + }) +} + +export const remove = (ids) => { + return request({ + url: '/api/release/productioninformation/remove', + method: 'post', + params: { + ids, + } + }) +} + +export const add = (row) => { + return request({ + url: '/api/release/productioninformation/submit', + method: 'post', + data: row + }) +} + +export const update = (row) => { + return request({ + url: '/api/release/productioninformation/update', + method: 'post', + data: row + }) +} +export const auditing = (ids) => { + return request({ + url: '/api/release/productioninformation/auditing', + method: 'post', + params: { + ids, + } + }) +} + +export const reject = (ids) => { + return request({ + url: '/api/release/productioninformation/reject', + method: 'post', + params: { + ids, + } + }) +} +export const release = (ids) => { + return request({ + url: '/api/release/productioninformation/release', + method: 'post', + params: { + ids, + } + }) +} + +export const stop = (ids) => { + return request({ + url: '/api/release/productioninformation/stop', + method: 'post', + params: { + ids, + } + }) +} diff --git a/src/views/release/productioninformation.vue b/src/views/release/productioninformation.vue new file mode 100644 index 0000000..ba4d812 --- /dev/null +++ b/src/views/release/productioninformation.vue @@ -0,0 +1,506 @@ + + + + +