|
|
@ -253,41 +253,51 @@ function ComplainManage(props) { |
|
|
|
{ |
|
|
|
title: "工单编号", |
|
|
|
dataIndex: "order_num", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "来源", |
|
|
|
dataIndex: "source_name", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "联系人", |
|
|
|
dataIndex: "person", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "联系电话", |
|
|
|
dataIndex: "phone", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "工单类型", |
|
|
|
dataIndex: "order_type_name", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "派单时间", |
|
|
|
dataIndex: "send_time", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "截止时间", |
|
|
|
dataIndex: "end_time", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "创建人", |
|
|
|
dataIndex: "founder", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "状态", |
|
|
|
dataIndex: "status_name", |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "操作", |
|
|
|
align: "center", |
|
|
|
render: (val, row, index) => { |
|
|
|
// 1-未处理,2-跟进中,3-已办结 |
|
|
|
const items = [ |
|
|
@ -312,6 +322,7 @@ function ComplainManage(props) { |
|
|
|
}, |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|
// 操作 |
|
|
|
const clickDropDown = (param, record) => { |
|
|
|
// console.log(param.key, record); |
|
|
@ -418,6 +429,7 @@ function ComplainManage(props) { |
|
|
|
setIsAjax(!isAjax); |
|
|
|
}, |
|
|
|
}; |
|
|
|
|
|
|
|
// 弹窗-分页 |
|
|
|
const paginationProps1 = { |
|
|
|
className: "pagination-common", |
|
|
@ -440,6 +452,7 @@ function ComplainManage(props) { |
|
|
|
getRecordData(obj); |
|
|
|
}, |
|
|
|
}; |
|
|
|
|
|
|
|
// 弹窗-分页 |
|
|
|
const paginationProps2 = { |
|
|
|
className: "pagination-common", |
|
|
@ -529,6 +542,7 @@ function ComplainManage(props) { |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|
// 列表2 |
|
|
|
const columns2 = [ |
|
|
|
{ |
|
|
@ -562,6 +576,7 @@ function ComplainManage(props) { |
|
|
|
align: "center", |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|
// 列表3 |
|
|
|
const columns3 = [ |
|
|
|
{ |
|
|
@ -664,6 +679,7 @@ function ComplainManage(props) { |
|
|
|
setVisible5(true); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
// 操作 |
|
|
|
const clickDropDown2 = (param, record) => { |
|
|
|
// console.log(param.key, record); |
|
|
@ -750,9 +766,8 @@ function ComplainManage(props) { |
|
|
|
if (flag == 1) { |
|
|
|
setIsDeal(true); |
|
|
|
getDetail(res?.data); |
|
|
|
} else { |
|
|
|
setIsAjax(!isAjax); |
|
|
|
} |
|
|
|
setIsAjax(!isAjax); |
|
|
|
} else { |
|
|
|
message.error(res?.message); |
|
|
|
} |
|
|
@ -1230,6 +1245,7 @@ function ComplainManage(props) { |
|
|
|
</div> |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
// 设置模版 |
|
|
|
function renderSetHtml() { |
|
|
|
return ( |
|
|
|