| | |
| | | { |
| | | title: '证券机构名称', |
| | | dataIndex: 'dealerInstitutionsName', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '证券营业部', |
| | | dataIndex: 'salesDepartment', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '证券账户', |
| | | dataIndex: 'accountName', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '交易通账户', |
| | | dataIndex: 'transactAccount', |
| | | align: 'center', |
| | | align: 'center' |
| | | }, |
| | | { |
| | | title: '状态', |
| | | dataIndex: 'status', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'status' }, |
| | | scopedSlots: { customRender: 'status' } |
| | | }, |
| | | { |
| | | title: '添加时间', |
| | |
| | | align: 'center', |
| | | customRender: (text, row, index) => { |
| | | return text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : '' |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | title: '操作', |
| | | key: 'action', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'action' }, |
| | | }, |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | ], |
| | | // 表头 |
| | | pagination: { |
| | |
| | | pageSizeOptions: ['10', '20', '50', '100'], // 每页中显示的数据 |
| | | onShowSizeChange: (current, pageSize) => this.onSizeChange(current, pageSize), // 改变每页数量时更新显示 |
| | | onChange: (page, pageSize) => this.onPageChange(page, pageSize), // 点击页码事件 |
| | | showTotal: (total) => `共有 ${total} 条数据`, // 分页中显示总的数据 |
| | | showTotal: (total) => `共有 ${total} 条数据` // 分页中显示总的数据 |
| | | }, |
| | | loading: false, |
| | | queryParam: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | keyword: '', |
| | | keyword: '' |
| | | }, |
| | | datalist: [], |
| | | addUserdialog: false, |
| | |
| | | addUserform: this.$form.createForm(this), |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 7 }, |
| | | sm: { span: 7 } |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 13 }, |
| | | sm: { span: 13 } |
| | | }, |
| | | fields: [ |
| | | 'dealerInstitutionsName', |
| | |
| | | 'communicationPassword', |
| | | 'commissionRatio', |
| | | 'minimumCommissions', |
| | | 'status', |
| | | 'status' |
| | | ], |
| | | currentDetails: '', |
| | | dealerList: [], |
| | | dealerInstitutionsId: '', |
| | | dealerInstitutionsId: '' |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | this.queryParam = { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | keyword: '', |
| | | keyword: '' |
| | | } |
| | | }, |
| | | getlist() { |
| | |
| | | this.queryParam.pageNum = current |
| | | this.queryParam.pageSize = pageSize |
| | | this.getlist() |
| | | }, |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |