Browse Source

fix(): 客诉工单页面修改

tags/PMS_Frontend_v1.0.6-develop
fengxiang 1 year ago
parent
commit
5cacbcb3b2
  1. 20
      src/pages/OperationCenter/CustomerServieMgm/ComplainManage/loadable.jsx

20
src/pages/OperationCenter/CustomerServieMgm/ComplainManage/loadable.jsx

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

Loading…
Cancel
Save