| | |
| | | // tab切换 |
| | | function handleTabChange (tab) { |
| | | activeTab.value = tab.paneName |
| | | orderListParams.status = '' |
| | | if (tab.paneName === 'WAIT_AUDIT') { |
| | | orderListParams.status = '1' |
| | | } else if (tab.paneName === 'REJECTED') { |
| | | orderListParams.status = '2' |
| | | } else if (tab.paneName === 'PASS') { |
| | | orderListParams.status = '3' |
| | | } else if (tab.paneName === 'DRAFT') { |
| | | orderListParams.status = '0' |
| | | } |
| | | refreshGetOrderList() |
| | | // orderListParams.status = '' |
| | | // if (tab.paneName === 'WAIT_AUDIT') { |
| | | // orderListParams.status = '1' |
| | | // } else if (tab.paneName === 'REJECTED') { |
| | | // orderListParams.status = '2' |
| | | // } else if (tab.paneName === 'PASS') { |
| | | // orderListParams.status = '3' |
| | | // } else if (tab.paneName === 'DRAFT') { |
| | | // orderListParams.status = '0' |
| | | // } |
| | | // refreshGetOrderList() |
| | | } |
| | | |
| | | // 更新统计数 |
| | |
| | | const searchClick = params => { |
| | | orderListParams.current = 1 |
| | | orderListParams.size = 10 |
| | | console.log('333', params) |
| | | orderListParams.searchParams = params |
| | | getTableList() |
| | | } |