liuying
2024-04-24 b2a6f930a92dd88ac997d6c88518bdfff80fefe3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import { axios } from '@/utils/request'
 
/**
 * 产线下拉
 *
 * @author yhh
 */
export function GetProductionLines () {
  return axios({
    url: '/stationview/SelectProductionLine',
    method: 'get'
  })
}
 
/**
 * 根据产线获取工位
 *
 * @author yhh
 */
export function GetStationList (id) {
  return axios({
    url: '/stationview/GetStationList',
    method: 'get',
    params:{id}
  })
}
 
/**
 * 获取工位详情
 *
 * @author yhh
 */
export function GetStationDetail (params) {
  return axios({
    url: '/stationview/GetMaterialDetail',
    method: 'get',
    params:params
  })
}
 
/**
 * 更新工位使用状态
 *
 * @author yhh
 */
export function UpdateLock (parameter) {
  return axios({
    url: '/stationview/UpdateStationIslock',
    method: 'get',
    params: parameter
  })
}
 
/**
 * 更新工位空闲状态
 *
 * @author yhh
 */
export function UpdateEmpty (parameter) {
  return axios({
    url: '/stationview/UpdateStationKongXian',
    method: 'get',
    params: parameter
  })
}