联调修改

This commit is contained in:
蔡玲
2024-09-13 15:31:19 +08:00
parent ecd0ab12d8
commit 390c223a01
11 changed files with 185 additions and 137 deletions

View File

@@ -76,9 +76,9 @@ export const getSlitterDeviceBox = () => request({
url:'api/pda/nbj/getSlitterDeviceBox',
data: {}
})
export const getSlitterNeedShaftPlans = () => request({
export const getSlitterNeedShaftPlans = (device) => request({
url:'api/pda/nbj/getSlitterNeedShaftPlans',
data: {point_code: code, device: device}
data: {device: device}
})
export const doSendShaft = (code, device) => request({
url:'api/pda/nbj/doSendShaft',
@@ -127,9 +127,9 @@ export const slitsendSlitterRoll = (code) => request({
url:'api/pda/slitter/sendSlitterRoll',
data: {point_code: code}
})
export const slitallowCoiling = (code) => request({
export const slitallowCoiling = (code, option) => request({
url:'api/pda/slitter/allowCoiling',
data: {point_code: code}
data: {point_code: code, option}
})
// 分切下料
export const querySlitterDeviceSubVolumeInfos = (code) => request({
@@ -145,9 +145,9 @@ export const devicePointQuery = (code) => request({
url:'api/pda/slitter/devicePointQuery',
data: {device_code: code}
})
export const bindSlitterSubVolumeInfo = (code, cn) => request({
export const bindSlitterSubVolumeInfo = (code, pcode, cn) => request({
url:'api/pda/slitter/bindSlitterSubVolumeInfo',
data: {device_code: code, container_name: cn}
data: {device_code: code, point_code: pcode, container_name: cn}
})
// 生箔工序
export const needEmptyVehicle = (code) => request({
@@ -162,20 +162,25 @@ export const needEmptyAxisv2 = (code, order, is) => request({
url:'api/pda/raw/needEmptyAxis/v2',
data: {point_code: code, order_code: order, is_call_empty: is}
})
export const confirmBlanking = (code) => request({
export const confirmBlanking = (code, option) => request({
url:'api/pda/raw/confirmBlanking',
data: {point_code: code}
data: {point_code: code, option: option}
})
// 烘烤工序
export const getHotTempPointInfo = (code, order) => request({
url:'api/pda/baking/getHotTempPointInfo',
data: {point_code: code, order_code: order}
})
export const doModifyRawInfos = (code, order, temperature, time) => request({
export const doModifyRawInfos = (code, order, type, is, temperature, time) => request({
url:'api/pda/baking/doModifyRawInfos',
data: {point_code: code, order_code: order, temperature: temperature, time: time}
data: {point_code: code, order_code: order, roll_type: type, is_baking: is, temperature: temperature, time: time}
})
export const bakingQuality = (code, quality) => request({
url:'api/pda/baking/bakingQuality',
data: {point_code: code, quality: quality}
})
// 套轴申请
export const requestTubeShaft = (row) => request({
url:'api/pda/slitter/requestTubeShaft',
data: {row: row}
})

View File

@@ -8,12 +8,21 @@ export const authority = () => {
{path: 'RF01', title: '收卷辊库', sonTree: [{title: '收卷辊管理', path: '/pages/manage/roll-manage'}]},
{path: 'RF02', title: '检测取样', sonTree: [{title: '呼叫取样', path: '/pages/manage/call-sampling'}]},
{path: 'RF03', title: '废箔处理', sonTree: [{title: '废箔搬运', path: '/pages/manage/waste-foil-move'}]},
{path: 'RF04', title: '内包间', sonTree: [{title: '管芯入库', path: '/pages/manage/tube-core-storage'}, {title: '管芯出库', path: '/pages/manage/tube-core-out'}, {title: '套轴绑定', path: '/pages/manage/axis-bind'}, {title: '重量维护', path: '/pages/manage/weight-bind'}]},
{path: 'RF04', title: '内包间', sonTree: [{title: '管芯入库', path: '/pages/manage/tube-core-storage'}, {title: '管芯出库', path: '/pages/manage/tube-core-out'}, {title: '套轴绑定', path: '/pages/manage/axis-bind'}, {title: '重量维护', path: '/pages/manage/weight-bind'}, {title: '套轴申请', path: '/pages/manage/axis-application'}]},
{path: 'RF05', title: '装箱区', sonTree: [{title: '装箱暂存管理', path: '/pages/manage/pack-storage'}]},
{path: 'RF06', title: '分切管理', sonTree: [{title: '分切上料', path: '/pages/manage/split-feed'}, {title: '分切下料', path: '/pages/manage/split-cut'}, {title: '子卷绑定', path: '/pages/manage/sub-vol-bind'}]},
{path: 'RF06', title: '分切管理', sonTree: [{title: '分切上料', path: '/pages/manage/split-feed'}, {title: '分切下料', path: '/pages/manage/split-cut'}, {title: '子卷维护', path: '/pages/manage/sub-vol-bind'}]},
{path: 'RF07', title: '生产管理', sonTree: [{title: '生箔工序', path: '/pages/manage/raw-foil-progess'}, {title: '烘烤工序', path: '/pages/manage/bake-process'}]}
]
}
}}
return res
}
export const getSlitterDeviceBox = () => {
let res = [{"text":"A1_FQ_01","value":"A10FQ00001"},{"text":"A1_FQ_02","value":"A10FQ00002"},{"text":"A1_FQ_03","value":"A10FQ00003"},{"text":"A1_FQ_04","value":null},{"text":"A1_FQ_05","value":null},{"text":"A1_FQ_06","value":null},{"text":"A1_FQ_07","value":null},{"text":"A1_FQ_08","value":null},{"text":"A1_FQ_09","value":null},{"text":"A1_FQ_10","value":null},{"text":"A1_FQ_11","value":null},{"text":"A1_FQ_12","value":null}]
return res
}
export const gxgetGxSpecification = () => {
let res = [{"text":"纸制筒管|纸管|3英寸|680","value":"482210000000013"},{"text":"1500*182.4*152.4*15*0*2","value":"482210000000014"}]
return res
}