|
|
@@ -320,7 +320,7 @@ export default {
|
|
|
ipagination:{
|
|
|
current: 1,
|
|
|
pageSize: 10,
|
|
|
- pageSizeOptions: ['10', '20', '30','300'],
|
|
|
+ pageSizeOptions: ['10', '20', '30','500'],
|
|
|
showTotal: (total, range) => {
|
|
|
return range[0] + "-" + range[1] + " 共" + total + "条"
|
|
|
},
|
|
|
@@ -374,55 +374,59 @@ export default {
|
|
|
{
|
|
|
title: '证件编号',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
+ //sorter: true,
|
|
|
dataIndex: 'cardNo',
|
|
|
scopedSlots: {customRender: 'cardNo'}
|
|
|
|
|
|
}, {
|
|
|
title: '客户名称',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
+ // sorter: true,
|
|
|
dataIndex: 'cardName'
|
|
|
// scopedSlots: {customRender: 'cardName'}
|
|
|
}, {
|
|
|
title: '创建人',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
+ // sorter: true,
|
|
|
+ sorter: (a, b) =>a.createBy.localeCompare(b.createBy),
|
|
|
dataIndex: 'createBy'
|
|
|
// scopedSlots: {customRender: 'createBy'}
|
|
|
}, {
|
|
|
title: '创建时间',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
+ //sorter: true,
|
|
|
+ sorter:(a, b) => { return a.createTime>= b.createTime? 1 : -1 },
|
|
|
width: 100,
|
|
|
dataIndex: 'createTime'
|
|
|
}, {
|
|
|
title: '创建人归属部门',
|
|
|
width: 100,
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
+ // sorter: (a, b) => a.businessAddress - b.businessAddress,
|
|
|
+ sorter: (a, b) =>a.businessAddress.localeCompare(b.businessAddress),
|
|
|
+ // sorter: true,
|
|
|
dataIndex: 'businessAddress'
|
|
|
//scopedSlots: {customRender: 'sysBusinessHall'}
|
|
|
|
|
|
},{
|
|
|
title: '上报时间',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
- dataIndex: 'upTime'
|
|
|
- //scopedSlots: {customRender: 'sysBusinessHall'}
|
|
|
+ dataIndex: 'upTime',
|
|
|
+ // sorter: (a, b) => a.upTime - b.upTime,
|
|
|
+ sorter:(a, b) => { return a.upTime> b.upTime? 1 : -1 },
|
|
|
+ //sorter: true,
|
|
|
+ scopedSlots: {customRender: 'upTime'}
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: '办理电话',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
width: 200,
|
|
|
dataIndex: 'newPhone',
|
|
|
scopedSlots: {customRender: 'newPhone'}
|
|
|
},{
|
|
|
title: '当前处理部门',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
dataIndex: 'currentDept',
|
|
|
// fixed: 'right',
|
|
|
|
|
|
@@ -432,7 +436,8 @@ export default {
|
|
|
{
|
|
|
title: '研判结果',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
+ // sorter: true,
|
|
|
+ sorter: (a, b) =>a.numberResults.localeCompare(b.numberResults),
|
|
|
dataIndex: 'numberResults',
|
|
|
scopedSlots: {customRender: 'numberResults'},
|
|
|
/*customRender: function (text, record, index) {
|
|
|
@@ -448,7 +453,8 @@ export default {
|
|
|
},{
|
|
|
title: '上报状态',
|
|
|
align: "center",
|
|
|
- sorter: true,
|
|
|
+ // sorter: true,
|
|
|
+ sorter: (a, b) => a.status - b.status,
|
|
|
dataIndex: 'status',
|
|
|
// fixed: 'right',
|
|
|
scopedSlots: {customRender: 'status'}
|
|
|
@@ -527,7 +533,7 @@ export default {
|
|
|
'1': 'yellow',
|
|
|
'0': 'gray',
|
|
|
}
|
|
|
- console.log(statusTypeMap[type])
|
|
|
+ console.log(statusTypeMap[type]+"aaa")
|
|
|
return statusTypeMap[type]
|
|
|
},
|
|
|
|
|
|
@@ -557,7 +563,7 @@ export default {
|
|
|
created() {
|
|
|
/**获取研判结果统计数*/
|
|
|
this.typeCount();
|
|
|
- this.getSysCompanyData();
|
|
|
+ //this.getSysCompanyData();
|
|
|
|
|
|
|
|
|
},
|