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/brokerMechanism.vue |   52 ++++++++++++++++++++++++++--------------------------
 1 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/src/views/allotment/brokerMechanism.vue b/src/views/allotment/brokerMechanism.vue
index 1dc7be0..49e9abf 100644
--- a/src/views/allotment/brokerMechanism.vue
+++ b/src/views/allotment/brokerMechanism.vue
@@ -22,7 +22,7 @@
                     icon="search"
                     style="margin-left: 8px"
                     @click=";(queryParam.pageNum = 1), getlist()"
-                    >查询
+                  >查询
                   </a-button>
 
                   <a-button
@@ -120,34 +120,34 @@
 import pick from 'lodash.pick'
 export default {
   name: 'Setting',
-  data() {
+  data () {
     return {
       columns: [
         {
           title: '券商ID',
           dataIndex: 'dealerNumber',
-          align: 'center',
+          align: 'center'
         },
         {
           title: '券商名称',
           dataIndex: 'dealerName',
-          align: 'center',
+          align: 'center'
         },
         {
           title: '客户端版本号',
           dataIndex: 'clientVersionNumber',
-          align: 'center',
+          align: 'center'
         },
         {
           title: '备注',
           dataIndex: 'remarks',
-          align: 'center',
+          align: 'center'
         },
         {
           title: '状态',
           dataIndex: 'status',
           align: 'center',
-          scopedSlots: { customRender: 'status' },
+          scopedSlots: { customRender: 'status' }
         },
         {
           title: '添加时间',
@@ -155,14 +155,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: {
@@ -172,13 +172,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,
@@ -186,32 +186,32 @@
       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: ['dealerNumber', 'dealerName', 'clientVersionNumber', 'remarks', 'status'],
-      currentDetails: '',
+      currentDetails: ''
     }
   },
-  created() {
+  created () {
     this.getlist()
   },
   methods: {
-    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) {
@@ -235,14 +235,14 @@
         }
       })
     },
-    getqueryParam() {
+    getqueryParam () {
       this.queryParam = {
         pageNum: 1,
         pageSize: 10,
-        keyword: '',
+        keyword: ''
       }
     },
-    getlist() {
+    getlist () {
       var that = this
       this.loading = true
       getDealerInstitutionsList(this.queryParam).then((res) => {
@@ -253,15 +253,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