| | |
| | | tab: '待确认', |
| | | }, { |
| | | key: '999', |
| | | tab: '待派单', |
| | | tab: '待人工处理', |
| | | },]) |
| | | const [serverName, setserverName] = useState([]) //师傅姓名 |
| | | const [checkServerList, setCheckServerList] = useState([]) //核对打印服务人员 |
| | |
| | | const [manualRecord, setManualRecord] = useState({}) |
| | | |
| | | const [orderStatus, setOrderStatus] = useState({ |
| | | '0': { text: '待派单' }, |
| | | '1': { text: '待上门' }, |
| | | '2': { text: '待完工' }, |
| | | '3': { text: '已完结' }, |
| | | '4': { text: '已取消' }, |
| | | '5': { text: '已改派' }, |
| | | '6': { text: '待改派' }, |
| | | '7': { text: '待预约' }, |
| | | '997': { text: '待派单' }, |
| | | '998': { text: '待确认' }, |
| | | '999': { text: '待派单' }, |
| | | }) |
| | | 0: { text: '待派单' }, |
| | | 1: { text: '待上门' }, |
| | | 2: { text: '待完工' }, |
| | | 3: { text: '已完结' }, |
| | | 4: { text: '已取消' }, |
| | | 5: { text: '已改派' }, |
| | | 6: { text: '待改派' }, |
| | | 7: { text: '待预约' }, |
| | | 997: { text: '待人工派单' }, |
| | | 998: { text: '待确认' }, |
| | | 999: { text: '待人工处理' }, |
| | | }); |
| | | |
| | | const orderStateText = { |
| | | 0: '待派单', |
| | |
| | | 5: '已改派', |
| | | 6: '待改派', |
| | | 7: '待预约', |
| | | 997: '待派单', |
| | | 997: '待人工派单', |
| | | 998: '待确认', |
| | | 999: '待派单', |
| | | } |
| | | 999: '待人工处理', |
| | | }; |
| | | const orderStateColor = { |
| | | 0: 'green', |
| | | 1: '#2db7f5', |
| | |
| | | }, { |
| | | key: '999', |
| | | tab: <div style={{ display: 'flex', fontSize: '12px', alignItems: 'center' }}> |
| | | 待派单(<div style={{ color: 'red', fontSize: "16px" }}>{res.data?.pendingManual || 0}</div>)</div>, |
| | | 待人工处理(<div style={{ color: 'red', fontSize: "16px" }}>{res.data?.pendingManual || 0}</div>)</div>, |
| | | },]) |
| | | }) |
| | | } |