From abcf89c0931fc453f4fd8e1d4d48b8b469d0f3c7 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 07 May 2024 10:19:31 +0800
Subject: [PATCH] xxx

---
 src/views/allotment/transactionAccount.vue |   60 ++++++++++++++++++++++++++++++------------------------------
 1 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/src/views/allotment/transactionAccount.vue b/src/views/allotment/transactionAccount.vue
index 00475b3..ca7ae9b 100644
--- a/src/views/allotment/transactionAccount.vue
+++ b/src/views/allotment/transactionAccount.vue
@@ -18,7 +18,7 @@
                     icon="search"
                     style="margin-left: 8px"
                     @click=";(queryParam.pageNum = 1), getlist()"
-                    >查询
+                  >查询
                   </a-button>
 
                   <a-button type="primary" icon="plus" style="margin-left: 8px" @click="getaddjiaoyi">
@@ -113,35 +113,35 @@
   getTradingAccountList,
   getSecuritiesEnabledList,
   saveTradingAccount,
-  dealergetMaxNumber,
+  dealergetMaxNumber
 } from '@/api/allotment'
 import moment from 'moment'
 import pick from 'lodash.pick'
 export default {
   name: 'Setting',
-  data() {
+  data () {
     return {
       columns: [
         {
           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,18 +192,18 @@
         'accountName',
         'subaccountNumber',
         'status',
-        'remarks',
+        'remarks'
       ],
       currentDetails: '',
-      dealerList: [],
+      dealerList: []
     }
   },
-  created() {
+  created () {
     this.getlist()
     this.getDealerlist()
   },
   methods: {
-    getaddjiaoyi() {
+    getaddjiaoyi () {
       this.addUserdialog = true
       this.currentDetails = ''
       dealergetMaxNumber().then((res) => {
@@ -212,7 +212,7 @@
         }
       })
     },
-    getdealerchange(value, option) {
+    getdealerchange (value, option) {
       console.log(value, option)
       this.dealerInstitutionsId = option.key
       var index = this.dealerList.findIndex((item) => {
@@ -227,25 +227,25 @@
       )
       this.addUserform.setFieldsValue(pick({ accountName: this.dealerList[index].accountName }, this.fields))
     },
-    getDealerlist() {
+    getDealerlist () {
       getSecuritiesEnabledList().then((res) => {
         if (res.status == 0) {
           this.dealerList = res.data.data.list
         }
       })
     },
-    geteditbroker(val) {
+    geteditbroker (val) {
       this.currentDetails = val
       this.addUserdialog = true
       this.fields.forEach((v) => this.addUserform.getFieldDecorator(v))
       this.addUserform.setFieldsValue(pick(val, this.fields))
     },
-    CanceladdUserdialog() {
+    CanceladdUserdialog () {
       this.addUserdialog = false
       const form = this.$refs.addUserform.form
       form.resetFields()
     },
-    OkaddUserdialog() {
+    OkaddUserdialog () {
       const form = this.$refs.addUserform.form
       form.validateFields((errors, values) => {
         if (!errors) {
@@ -270,14 +270,14 @@
         }
       })
     },
-    getqueryParam() {
+    getqueryParam () {
       this.queryParam = {
         pageNum: 1,
         pageSize: 10,
-        keyword: '',
+        keyword: ''
       }
     },
-    getlist() {
+    getlist () {
       var that = this
       this.loading = true
       getTradingAccountList(this.queryParam).then((res) => {
@@ -288,15 +288,15 @@
         }, 500)
       })
     },
-    onPageChange(page, pageSize) {
+    onPageChange (page, pageSize) {
       this.queryParam.pageNum = page
       this.getlist()
     },
-    onSizeChange(current, pageSize) {
+    onSizeChange (current, pageSize) {
       this.queryParam.pageNum = current
       this.queryParam.pageSize = pageSize
       this.getlist()
-    },
-  },
+    }
+  }
 }
 </script>

--
Gitblit v1.9.3