|
|
|
@ -85,68 +85,68 @@ const columns = [ |
|
|
|
|
dataIndex: 'user', |
|
|
|
|
width: '170px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
scopedSlots: { customRender: 'user' }, |
|
|
|
|
scopedSlots: { customRender: 'user' } |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '真实姓名', |
|
|
|
|
dataIndex: 'username', |
|
|
|
|
width: '100px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
ellipsis: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '手机号', |
|
|
|
|
dataIndex: 'mobile', |
|
|
|
|
width: '150px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
ellipsis: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '身份证号', |
|
|
|
|
dataIndex: 'card_no', |
|
|
|
|
width: '180px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
ellipsis: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '公司名称', |
|
|
|
|
dataIndex: 'company_name', |
|
|
|
|
width: '220px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
ellipsis: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '社会信用代码', |
|
|
|
|
dataIndex: 'credit_code', |
|
|
|
|
width: '200px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
ellipsis: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '经营地址', |
|
|
|
|
width: '120px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
scopedSlots: { customRender: 'region' }, |
|
|
|
|
scopedSlots: { customRender: 'region' } |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '经营类目', |
|
|
|
|
dataIndex: 'business', |
|
|
|
|
width: '200px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
ellipsis: true |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '申请时间', |
|
|
|
|
width: '180px', |
|
|
|
|
ellipsis: true, |
|
|
|
|
dataIndex: 'create_time', |
|
|
|
|
dataIndex: 'create_time' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '状态', |
|
|
|
|
width: '80px', |
|
|
|
|
dataIndex: 'status_text', |
|
|
|
|
dataIndex: 'status_text' |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
title: '操作', |
|
|
|
|
width: '100px', |
|
|
|
|
fixed: 'right', |
|
|
|
|
scopedSlots: { customRender: 'action' }, |
|
|
|
|
}, |
|
|
|
|
scopedSlots: { customRender: 'action' } |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
@ -154,7 +154,7 @@ export default { |
|
|
|
|
components: { |
|
|
|
|
ContentHeader, |
|
|
|
|
STable, |
|
|
|
|
UserItem, |
|
|
|
|
UserItem |
|
|
|
|
}, |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
@ -169,7 +169,7 @@ export default { |
|
|
|
|
mobile: '', |
|
|
|
|
status: '0', |
|
|
|
|
page: 1, |
|
|
|
|
pageSize: 15, |
|
|
|
|
pageSize: 15 |
|
|
|
|
}, |
|
|
|
|
pageSizeOptions: ['15', '30', '50'], |
|
|
|
|
showTotal: (total) => `共 ${total} 条记录`, // 显示总数 |
|
|
|
@ -181,7 +181,7 @@ export default { |
|
|
|
|
// 选择的元素 |
|
|
|
|
selectedRowKeys: [], |
|
|
|
|
// 加载数据方法 必须为 Promise 对象 |
|
|
|
|
list: [], |
|
|
|
|
list: [] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
created () { |
|
|
|
@ -196,9 +196,9 @@ export default { |
|
|
|
|
rowSelection () { |
|
|
|
|
return { |
|
|
|
|
selectedRowKeys: this.selectedRowKeys, |
|
|
|
|
onChange: this.onSelectChange, |
|
|
|
|
onChange: this.onSelectChange |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 选中项发生变化时的回调 |
|
|
|
@ -263,8 +263,8 @@ export default { |
|
|
|
|
handleRefresh (bool = false) { |
|
|
|
|
this.selectedRowKeys = [] |
|
|
|
|
this.fetchData() |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
<style lang="less" scoped> |
|
|
|
|