From 2745021c7eaa1df7684457fe1346588d4eb2d7a3 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 14 Aug 2021 15:59:00 +0800
Subject: [PATCH] 加上附件上传 改保安单位字段

---
 src/views/resource/attachCopy.vue |   12 ++++
 src/views/securityUnit/index.vue  |    5 -
 src/views/securityUnit/data.js    |  106 ++++++++++++++++++++--------------
 3 files changed, 76 insertions(+), 47 deletions(-)

diff --git a/src/views/resource/attachCopy.vue b/src/views/resource/attachCopy.vue
index 1bc1fde..1f9aac7 100644
--- a/src/views/resource/attachCopy.vue
+++ b/src/views/resource/attachCopy.vue
@@ -161,6 +161,18 @@
             ],
           },
           {
+            label: "附件预览",
+            prop: "link",
+            type: "img",
+            // rules: [
+            //   {
+            //     required: true,
+            //     message: "请输入附件拓展名",
+            //     trigger: "blur",
+            //   },
+            // ],
+          },
+          {
             label: "所属公司",
             prop: "enterprisename",
             rules: [
diff --git a/src/views/securityUnit/data.js b/src/views/securityUnit/data.js
index 4f3d31f..fd16b73 100644
--- a/src/views/securityUnit/data.js
+++ b/src/views/securityUnit/data.js
@@ -90,6 +90,15 @@
         searchSpan: 4,
         searchLabelWidth: 100
     },
+    {
+        label: "代表人电话",
+        labelWidth: 160,
+        prop: "representativecell",
+        width: 98,
+        // search: true,
+        searchSpan: 4,
+        searchLabelWidth: 100
+    },
     // {
     //     label: "登记状态",
     //     prop: "regstsat",
@@ -137,61 +146,70 @@
         // // }],
     },
     {
-        label: "注册资本(万元人民币)",
+        label: "注册资本",
         prop: "registeredcapital",
         labelWidth: 160,
         // search: true,
-        width: 140,
+        width: 80,
         // overHidden: true
     },
     {
-        label: "实缴资本(万元人民币)",
-        prop: "capital",
+        label: "联系人",
+        prop: "contacts",
         labelWidth: 160,
-        // width: 85,
-        hide: true,
+        width: 85,
+        // hide: true,
+        // search: true,
+        // searchSpan: 4,
+        // overHidden: true
+    }, {
+        label: "联系电话",
+        prop: "contactscell",
+        labelWidth: 160,
+        width: 95,
+        // hide: true,
         // search: true,
         // searchSpan: 4,
         // overHidden: true
     },
-    {
-        label: "组织机构代码",
-        labelWidth: 160,
-        prop: "organizationcode",
-        // width: 110,
-        // search: true,
-        // searchSpan: 4,
-    },
-    {
-        label: "工商注册号",
-        prop: "registrationnumber",
-        labelWidth: 160,
-        width: 120,
-        // search: true,
-        // searchSpan: 4,
-    },
-    {
-        label: "纳税人识别号",
-        prop: "identificationnumber",
-        labelWidth: 160,
-        width: 140,
-        // addDisplay: true,
-        // editDisplay: true,
-        // viewDisplay: true,
-        // searchSpan: 4,
-        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsNatureType",
-        // props: {
-        //     label: "dictValue",
-        //     value: "dictKey"
-        // },
-        // // search: true,
-        // type: "select",
-        // // rules: [{
-        // //     required: false,
-        // //     message: "请选择单位规模",
-        // //     trigger: "blur"
-        // // }],
-    },
+    // {
+    //     label: "组织机构代码",
+    //     labelWidth: 160,
+    //     prop: "organizationcode",
+    //     // width: 110,
+    //     // search: true,
+    //     // searchSpan: 4,
+    // },
+    // {
+    //     label: "工商注册号",
+    //     prop: "registrationnumber",
+    //     labelWidth: 160,
+    //     width: 120,
+    //     // search: true,
+    //     // searchSpan: 4,
+    // },
+    // {
+    //     label: "纳税人识别号",
+    //     prop: "identificationnumber",
+    //     labelWidth: 160,
+    //     width: 140,
+    //     // addDisplay: true,
+    //     // editDisplay: true,
+    //     // viewDisplay: true,
+    //     // searchSpan: 4,
+    //     // dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsNatureType",
+    //     // props: {
+    //     //     label: "dictValue",
+    //     //     value: "dictKey"
+    //     // },
+    //     // // search: true,
+    //     // type: "select",
+    //     // // rules: [{
+    //     // //     required: false,
+    //     // //     message: "请选择单位规模",
+    //     // //     trigger: "blur"
+    //     // // }],
+    // },
     // {
     //     label: "企业类型",
     //     prop: "stats",
diff --git a/src/views/securityUnit/index.vue b/src/views/securityUnit/index.vue
index aa0a674..6cb8c77 100644
--- a/src/views/securityUnit/index.vue
+++ b/src/views/securityUnit/index.vue
@@ -19,12 +19,11 @@
       >
         <template slot-scope="{ type, size, row }" slot="menu">
           <el-button
-            style="display:none"
             :size="size"
             :type="type"
             @click="handleUploadPage(row)"
             icon="el-icon-circle-check"
-            >单位装备清单附件上传
+            >附件上传
           </el-button>
         </template>
         <template slot="menuLeft">
@@ -286,7 +285,7 @@
         searchSize: "mini",
         searchMenuSpan: 6,
         height: 583,
-        menuWidth: 160,
+        menuWidth: 220,
         align: "center",
         selection: true,
         column: column,

--
Gitblit v1.9.3