| | |
| | | loading.value = true |
| | | const type = 1 |
| | | const res = await addOrderRecordApi(type, ticketId) |
| | | |
| | | |
| | | } else if (checked.value === '智飞工单') { |
| | | loading.value = true |
| | | const type = 2 |
| | |
| | | const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode) |
| | | todos.value = res.data.data || [] |
| | | loading.value = false |
| | | // console.log('事件工单', todos.value); |
| | | } else if (checked.value === '智飞工单') { |
| | | loading.value = true |
| | | const type = 2 |
| | | const res = await getOrderOrEventApi(type, userInfo.value.detail.areaCode) |
| | | todos.value = res.data.data || [] |
| | | loading.value = false |
| | | // console.log('智飞工单', todos.value); |
| | | } |
| | | } |
| | | |