大宝管理后台代码
xxx
dcc
2024-05-07 abcf89c0931fc453f4fd8e1d4d48b8b469d0f3c7
src/views/allotment/transactionAccount.vue
@@ -113,7 +113,7 @@
  getTradingAccountList,
  getSecuritiesEnabledList,
  saveTradingAccount,
  dealergetMaxNumber,
  dealergetMaxNumber
} from '@/api/allotment'
import moment from 'moment'
import pick from 'lodash.pick'
@@ -125,23 +125,23 @@
        {
          title: '证券机构名称',
          dataIndex: 'dealerInstitutionsName',
          align: 'center',
          align: 'center'
        },
        {
          title: '证券账户名',
          dataIndex: 'accountName',
          align: 'center',
          align: 'center'
        },
        {
          title: '子账户名称',
          dataIndex: 'subaccountNumber',
          align: 'center',
          align: 'center'
        },
        {
          title: '状态',
          dataIndex: 'status',
          align: 'center',
          scopedSlots: { customRender: 'status' },
          scopedSlots: { customRender: 'status' }
        },
        {
          title: '添加时间',
@@ -149,14 +149,14 @@
          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: {
@@ -166,13 +166,13 @@
        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,
@@ -180,11 +180,11 @@
      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: [
        'dealerInstitutionsId',
@@ -192,10 +192,10 @@
        'accountName',
        'subaccountNumber',
        'status',
        'remarks',
        'remarks'
      ],
      currentDetails: '',
      dealerList: [],
      dealerList: []
    }
  },
  created() {
@@ -274,7 +274,7 @@
      this.queryParam = {
        pageNum: 1,
        pageSize: 10,
        keyword: '',
        keyword: ''
      }
    },
    getlist() {
@@ -296,7 +296,7 @@
      this.queryParam.pageNum = current
      this.queryParam.pageSize = pageSize
      this.getlist()
    },
  },
    }
  }
}
</script>