From 55424ae85fe3b97a0fa383e00515e5edc4e9a75b Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Sun, 07 Jul 2024 10:15:18 +0800
Subject: [PATCH] 7.6更改的东西

---
 src/views/newshares/dazonglist.vue |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/src/views/newshares/dazonglist.vue b/src/views/newshares/dazonglist.vue
index 92b7dd3..7f19967 100644
--- a/src/views/newshares/dazonglist.vue
+++ b/src/views/newshares/dazonglist.vue
@@ -143,6 +143,16 @@
             </a-form-item>
           </a-col>
         </a-row>
+        <a-row :gutter="48">
+          <a-col :md="12" :lg="12" :sm="12">
+            <a-form-item label="周期(天)" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <a-input
+                placeholder="请输入周期"
+                v-decorator="['period', { rules: [{ required: true, message: '请输入周期' }] }]"
+              />
+            </a-form-item>
+          </a-col>
+        </a-row>
       </a-form>
     </a-modal>
   </page-header-wrapper>
@@ -163,12 +173,17 @@
         },
         {
           title: '新股代码',
-          dataIndex: 'stockCode',
+          dataIndex: 'stockSpell',
           align: 'center',
         },
         {
           title: '最小购买数量',
           dataIndex: 'stockNum',
+          align: 'center',
+        },
+        {
+          title: '周期(天)',
+          dataIndex: 'period',
           align: 'center',
         },
         {
@@ -198,6 +213,7 @@
             return text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : '- -'
           },
         },
+
         {
           title: '操作',
           key: 'action',
@@ -236,7 +252,7 @@
       addUserform: this.$form.createForm(this),
       addUserdialog: false,
       addUserDialogloading: false,
-      fields: ['stockCode', 'stockNum', 'password', 'startTime', 'endTime', 'discount'],
+      fields: ['stockCode', 'stockNum', 'password', 'startTime', 'endTime', 'discount', 'period'],
       currentdetail: '',
       startTime: '',
       endTime: '',
@@ -343,6 +359,7 @@
     getlist() {
       this.loading = true
       getDzListByAdmin(this.queryParam).then((res) => {
+        console.log(res.data)
         this.datalist = res.data
         // this.pagination.total = res.data.total
         this.loading = false
@@ -355,7 +372,7 @@
     },
     onSizeChange(current, pageSize) {
       this.queryParam.pageNum = current
-      this.pagination.current = page
+
       this.queryParam.pageSize = pageSize
       this.getlist()
     },

--
Gitblit v1.9.3