123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- /*********************** 【机加工人端-待完成任务/已完成任务】API ********************/
- import axiosApi from '../AxiosApi.js'
- const apiList = {
- getList: {
- method: 'POST',
- url: `/authority/stationUser/query`
- },
- update: {
- method: 'PUT',
- url: `/authority/stationUser`
- },
- saveAll: {
- method: 'POST',
- url: `/authority/stationUser/saveAll`
- },
- updateAll: {
- method: 'POST',
- url: `/authority/stationUser/updateAll`
- },
- updateSchedule: {
- method: 'POST',
- url: `/authority/scheduleUserDate/updateSchedule`
- },
- allStation: {
- method: 'GET',
- url: `/authority/stationUser/allStation`
- },
- allUser: {
- method: 'GET',
- url: `/authority/stationUser/allUser`
- },
- stationUser: {
- method: 'GET',
- url: `/authority/stationUser/stationUser`
- },
- getStation:{
- method: 'GET',
- url: `/authority/stationUser/getStation`
- },
- getCurrentSchedule:{
- method: 'POST',
- url: `/authority/scheduleUserDate/getCurrentSchedule`
- },
- schedulePageList:{
- method: 'POST',
- url: `/authority/scheduleUserDate/getPageList`
- },
- getCutToolStation:{
- method: 'GET',
- url: `/authority/stationUser/getCutToolStation`
- },
- getCutToolStockInfo:{
- method: 'GET',
- url: `/authority/stationUser/getCutToolStockInfo`
- },
- addCutToolStockInfo:{
- method: 'POST',
- url: `/authority/stationUser/addCutToolStockInfo`
- },
- addCutToolTask:{
- method: 'POST',
- url: `/authority/stationUser/addCutToolTask`
- },
- addCutToolTaskMore:{
- method: 'POST',
- url: `/authority/stationUser/addCutToolTaskMore`
- },
- setWriteTakeCutter:{
- method: 'POST',
- url: `/authority/stationUser/setWriteTakeCutter`
- },
- setWriteTakeCutterMore:{
- method: 'POST',
- url: `/authority/stationUser/setWriteTakeCutterMore`
- },
- remove: {
- method: 'DELETE',
- url: `/authority/stationUser`
- },
- }
- export default {
- getList (data) {
- return axiosApi({
- ...apiList.getList,
- data
- })
- },
- // 获取【所有人员】信息
- allUser (data) {
- return axiosApi({
- ...apiList.allUser,
- data
- })
- },
- page (data) {
- return axiosApi({
- ...apiList.page,
- data
- })
- },
- saveAll (data) {
- return axiosApi({
- ...apiList.saveAll,
- data
- })
- },
- updateAll (data) {
- return axiosApi({
- ...apiList.updateAll,
- data
- })
- },
- allStation (data) {
- return axiosApi({
- ...apiList.allStation,
- data
- })
- },
- stationUser (data) {
- return axiosApi({
- ...apiList.stationUser,
- data
- })
- },
- getStation (data) {
- return axiosApi({
- ...apiList.getStation,
- data
- })
- },
- getCurrentSchedule (data) {
- return axiosApi({
- ...apiList.getCurrentSchedule,
- data
- })
- },
- update (data) {
- return axiosApi({
- ...apiList.update,
- data
- })
- },
- updateSchedule (data) {
- return axiosApi({
- ...apiList.updateSchedule,
- data
- })
- },
- getCutToolStation (data) {
- return axiosApi({
- ...apiList.getCutToolStation,
- data
- })
- },
- schedulePageList (data) {
- return axiosApi({
- ...apiList.schedulePageList,
- data
- })
- },
- getCutToolStockInfo (data) {
- return axiosApi({
- ...apiList.getCutToolStockInfo,
- data
- })
- },
- addCutToolStockInfo (data) {
- return axiosApi({
- ...apiList.addCutToolStockInfo,
- data
- })
- },
- addCutToolTask (data) {
- return axiosApi({
- ...apiList.addCutToolTask,
- data
- })
- },
- addCutToolTaskMore (data) {
- return axiosApi({
- ...apiList.addCutToolTaskMore,
- data
- })
- },
- setWriteTakeCutter (data) {
- return axiosApi({
- ...apiList.setWriteTakeCutter,
- data
- })
- },
- setWriteTakeCutterMore (data) {
- return axiosApi({
- ...apiList.setWriteTakeCutterMore,
- data
- })
- },
- remove (data) {
- return axiosApi({
- ...apiList.remove,
- data
- })
- }
- }
|