| | |
| | | const workOrderStatusOptions = computed(() => work_order_status?.value || []); |
| | | |
| | | const tableColumn = ref([ |
| | | { |
| | | label: "工单编号", |
| | | prop:"afterSalesServiceNo", |
| | | width: 150, |
| | | align: "center" |
| | | }, |
| | | { |
| | | label: "销售单号", |
| | | prop:"salesContractNo", |
| | | width: 150, |
| | | align: "center" |
| | | }, |
| | | // { |
| | | // label: "工单编号", |
| | | // prop:"afterSalesServiceNo", |
| | | // width: 150, |
| | | // align: "center" |
| | | // }, |
| | | // { |
| | | // label: "销售单号", |
| | | // prop:"salesContractNo", |
| | | // width: 150, |
| | | // align: "center" |
| | | // }, |
| | | { |
| | | label: "处理状态", |
| | | prop: "status", |
| | |
| | | prop: "checkNickName", |
| | | align: "center" |
| | | }, |
| | | { |
| | | label: "紧急程度", |
| | | prop: "urgency", |
| | | // 根据degreeOfUrgencyOptions字典去自动匹配 |
| | | formatData: (params) => { |
| | | if (params) { |
| | | const item = degreeOfUrgencyOptions.value.find(item => item.value === params); |
| | | return item?.label || params; |
| | | } |
| | | return null; |
| | | }, |
| | | align: "center" |
| | | }, |
| | | { |
| | | label: "售后类型", |
| | | prop: "serviceType", |
| | | // 根据classificationOptions字典去自动匹配 |
| | | formatData: (params) => { |
| | | if (params) { |
| | | const item = classificationOptions.value.find(item => item.value === params); |
| | | return item?.label || params; |
| | | } |
| | | return null; |
| | | }, |
| | | align: "center" |
| | | }, |
| | | // { |
| | | // label: "紧急程度", |
| | | // prop: "urgency", |
| | | // // 根据degreeOfUrgencyOptions字典去自动匹配 |
| | | // formatData: (params) => { |
| | | // if (params) { |
| | | // const item = degreeOfUrgencyOptions.value.find(item => item.value === params); |
| | | // return item?.label || params; |
| | | // } |
| | | // return null; |
| | | // }, |
| | | // align: "center" |
| | | // }, |
| | | // { |
| | | // label: "售后类型", |
| | | // prop: "serviceType", |
| | | // // 根据classificationOptions字典去自动匹配 |
| | | // formatData: (params) => { |
| | | // if (params) { |
| | | // const item = classificationOptions.value.find(item => item.value === params); |
| | | // return item?.label || params; |
| | | // } |
| | | // return null; |
| | | // }, |
| | | // align: "center" |
| | | // }, |
| | | { |
| | | label: "问题描述", |
| | | prop: "proDesc", |