From 9c7c21e8eacda173feb418bdfe739f7f97358233 Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Sun, 29 Mar 2020 17:28:46 +0800
Subject: [PATCH] bug修复

---
 SunshineIns/src/page/UnderAgeList.jsx |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/SunshineIns/src/page/UnderAgeList.jsx b/SunshineIns/src/page/UnderAgeList.jsx
index 4cc1ae6..1dd453e 100644
--- a/SunshineIns/src/page/UnderAgeList.jsx
+++ b/SunshineIns/src/page/UnderAgeList.jsx
@@ -21,7 +21,7 @@
         companyName: '',
         companyLegal: '',
         companyTel: '',
-    },
+      },
       resetKey: Date.now(),
       closeKey: Date.now()
     };
@@ -45,7 +45,7 @@
       formData: data,
     });
     this.setState({ loading: true })
-    Fetch.socialCompany({...data})
+    Fetch.socialCompany({ ...data })
       .then(res => {
         for (var i = 0; i < res.length; i++) {
           res[i]['index'] = i + 1;
@@ -59,7 +59,7 @@
   getData = () => {
     const { formdata } = this.state;
     this.setState({ loading: true })
-    Fetch.socialCompany({formdata})
+    Fetch.socialCompany({ formdata })
       .then(res => {
         for (var i = 0; i < res.length; i++) {
           res[i]['index'] = i + 1;
@@ -224,6 +224,9 @@
 
       <div className="app-page">
         <HeadView history={this.props.history} />
+        <div style={{ marginLeft: '90%', marginBottom: '20px', marginTop: '20px' }}>
+          <Button type="primary" size='large' onClick={() => this.showModal('new')}>新增</Button>
+        </div>
         <div style={{ background: '#fff', margin: 20 }}>
           <CommonSearchForm
             {...this.props}

--
Gitblit v1.8.0