| | |
| | | </div> |
| | | <form-dia ref="formDia" |
| | | @close="handleQuery"></form-dia> |
| | | <view-dia ref="viewDia"></view-dia> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | nextTick, |
| | | } from "vue"; |
| | | import FormDia from "@/views/customerService/feedbackRegistration/components/formDia.vue"; |
| | | import ViewDia from "@/views/customerService/components/viewDia.vue"; |
| | | import { ElMessageBox } from "element-plus"; |
| | | import { |
| | | afterSalesServiceDelete, |
| | |
| | | { |
| | | icon: markRaw(FolderOpened), |
| | | count: 0, |
| | | label: "待处理", |
| | | label: "已处理", |
| | | color: "#ff9a2e", |
| | | bgColor: "#fff5e6", |
| | | }, |
| | | { |
| | | icon: markRaw(UserFilled), |
| | | count: 0, |
| | | label: "已处理", |
| | | label: "已完成", |
| | | color: "#00b42a", |
| | | bgColor: "#e6f7ed", |
| | | }, |
| | |
| | | align: "center", |
| | | }, |
| | | { |
| | | label: "数量", |
| | | prop: "productModelQuantities", |
| | | align: "center", |
| | | formatData: params => { |
| | | if (!params) return "0"; |
| | | return String(params).split(',').reduce((sum, val) => sum + (Number(val) || 0), 0); |
| | | } |
| | | }, |
| | | { |
| | | label: "客户诉求", |
| | | prop: "proDesc", |
| | | width: 300, |
| | |
| | | dataType: "action", |
| | | label: "操作", |
| | | fixed: "right", |
| | | width: 180, |
| | | align: "center", |
| | | operation: [ |
| | | { |
| | | name: "详情", |
| | | type: "text", |
| | | clickFun: row => { |
| | | viewDia.value?.openDialog(row); |
| | | }, |
| | | }, |
| | | { |
| | | name: "编辑", |
| | | type: "text", |
| | |
| | | selectedRows.value = selection; |
| | | }; |
| | | const formDia = ref(); |
| | | const viewDia = ref(); |
| | | |
| | | // 字典获取 |
| | | /* |
| | | /* |
| | | post_sale_waiting_list 新增的售后分类 |
| | | degree_of_urgency 新增的紧急程度 |
| | | work_order_status 主页的工单状态 |