|
|
@ -145,10 +145,12 @@ const auditStatusInfo = ref({}) |
|
|
|
|
|
|
|
|
|
|
|
// 当设置了过场售退类型后更新场次列表 |
|
|
|
// 当设置了过场售退类型后更新场次列表 |
|
|
|
const handleOvertimeShowTypeChange = () => { |
|
|
|
const handleOvertimeShowTypeChange = () => { |
|
|
|
|
|
|
|
console.log(selectedOvertimeShowType.value) |
|
|
|
if (selectedOvertimeShowType.value === 'sell') { |
|
|
|
if (selectedOvertimeShowType.value === 'sell') { |
|
|
|
showInfo.value = sellShowInfo.value |
|
|
|
showInfo.value = sellShowInfo.value |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
showInfo.value = refundShowInfo.value |
|
|
|
showInfo.value = refundShowInfo.value |
|
|
|
|
|
|
|
console.log(refundShowInfo.value) |
|
|
|
} |
|
|
|
} |
|
|
|
selectedShowInfo.value = '' |
|
|
|
selectedShowInfo.value = '' |
|
|
|
selectedStatus.value = '' |
|
|
|
selectedStatus.value = '' |
|
|
@ -170,6 +172,7 @@ const handleOvertimeConfigSave = () => { |
|
|
|
}).catch(err => { |
|
|
|
}).catch(err => { |
|
|
|
console.log(err) |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
getOvertimeResponseJson() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -178,7 +181,7 @@ async function getOvertimeShowInfo() { |
|
|
|
await get_overtime_show_info({ip: select_ip.value}).then( |
|
|
|
await get_overtime_show_info({ip: select_ip.value}).then( |
|
|
|
res => { |
|
|
|
res => { |
|
|
|
sellShowInfo.value = [...res['sell']] |
|
|
|
sellShowInfo.value = [...res['sell']] |
|
|
|
refundShowInfo.value = [...res['sell']] |
|
|
|
refundShowInfo.value = [...res['refund']] |
|
|
|
auditStatusInfo.value = [...res['status']] |
|
|
|
auditStatusInfo.value = [...res['status']] |
|
|
|
} |
|
|
|
} |
|
|
|
).catch( |
|
|
|
).catch( |
|
|
@ -243,15 +246,6 @@ function getResponseJson() { |
|
|
|
console.log(err) |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
if (api === 'get_overtime_ticket_status') { |
|
|
|
|
|
|
|
req.sessionCode = '11' |
|
|
|
|
|
|
|
req.overtimeType = '22' |
|
|
|
|
|
|
|
get_response_json(req).then(res => { |
|
|
|
|
|
|
|
allJsonData.value.get_overtime_ticket_status = res |
|
|
|
|
|
|
|
}).catch(err => { |
|
|
|
|
|
|
|
console.log(err) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (api === 'valid_error') { |
|
|
|
if (api === 'valid_error') { |
|
|
|
get_response_json(req).then(res => { |
|
|
|
get_response_json(req).then(res => { |
|
|
|
allJsonData.value.valid_error = res |
|
|
|
allJsonData.value.valid_error = res |
|
|
@ -263,6 +257,21 @@ function getResponseJson() { |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 单独处理超时的json获取 |
|
|
|
|
|
|
|
const getOvertimeResponseJson = () => { |
|
|
|
|
|
|
|
const req = { |
|
|
|
|
|
|
|
ip: select_ip.value, |
|
|
|
|
|
|
|
api: 'get_overtime_ticket_status', |
|
|
|
|
|
|
|
sessionCode: selectedShowInfo.value, |
|
|
|
|
|
|
|
overtimeType: selectedOvertimeShowType.value === 'sell' ? '1' : '2' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
get_response_json(req).then(res => { |
|
|
|
|
|
|
|
allJsonData.value.get_overtime_ticket_status = res |
|
|
|
|
|
|
|
}).catch(err => { |
|
|
|
|
|
|
|
console.log(err) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const checkedItemsOrdered = computed(() => { |
|
|
|
const checkedItemsOrdered = computed(() => { |
|
|
|
let temp = [] |
|
|
|
let temp = [] |
|
|
|
mockConfigItems.forEach( |
|
|
|
mockConfigItems.forEach( |
|
|
|