Hwt hace 2 años
padre
commit
9e29986490

+ 0 - 3
operationSupport/src/config/env.development.js

@@ -8,9 +8,7 @@
 module.exports = {
     edition: 'development',
     Env: 'prod', // // 测试环境 dev |  正式环境 prod
-
     baseUrl: 'http://114.135.61.186:21020/czc-operation/', // 项目地址
-
     baseApi: 'http://192.168.110.4:8082/', // 本地api请求地址
     baseMapApi: 'http://114.135.61.187:38082', // arcgis API
     baseImgApi: 'http://192.168.110.4:8082/', // 图片api请求地址
@@ -20,7 +18,6 @@ module.exports = {
     warnDetailUrl: 'http://114.135.61.188:18093/dispatch/warnDetail', // 综合调度系统-系统管理-报警管理-报警详情界面
     taskManagementUrl: 'http://114.135.61.188:18093/maintenance/taskManagement', // 运维管理系统-巡检管理-任务管理界面
     eventHiddenDangerUrl: 'http://114.135.61.188:18093/maintenance/eventHiddenDanger', // 运维管理系统-工单管理-事件隐患界面
-
     upload: {
         imageSize: 5, // MB
         excelSize: 10 // MB

+ 4 - 4
operationSupport/src/views/businessManagement/InvestmentResources/index.js

@@ -12,12 +12,12 @@ export default {
                     width: '200px'
                 },
                 {
-                    label: '房东'
-                    // prop: 'assetNumber'
+                    label: '房东',
+                    prop: 'residentName'
                 },
                 {
                     label: '房东电话',
-                    prop: 'phone'
+                    prop: 'residentPhone'
                 },
                 {
                     label: '房屋类型',
@@ -57,7 +57,7 @@ export default {
                 // },
                 {
                     label: '招租人员',
-                    prop: 'username'
+                    prop: 'userName'
                 },
                 {
                     label: '发布状态',

+ 33 - 47
operationSupport/src/views/businessManagement/InvestmentResources/index.vue

@@ -1,3 +1,6 @@
+
+
+
 <template>
   <div class="content main">
     <!-- <organ-tree @organId="currentOrganId"></organ-tree> -->
@@ -5,10 +8,10 @@
     <div class="search">
       <el-input
         clearable
-        placeholder="商铺号/招商人员"
+        placeholder="房屋地址/房东/电话/招租人员"
         class="search-input"
         v-trim
-        v-model.trim="mixins_query.name"
+        v-model.trim="mixins_query.queryValue"
       ></el-input>
       <el-select
         v-model="mixins_query.communityId"
@@ -24,7 +27,7 @@
       </el-select>
 
       <el-select
-        v-model="mixins_query.salesType"
+        v-model="mixins_query.buildingType"
         placeholder="房屋类型"
         clearable
       >
@@ -52,24 +55,6 @@
           :value="1"
         ></el-option>
       </el-select>
-      <!-- <el-select
-        v-model="mixins_query.salesType"
-        placeholder="租售类型"
-        clearable
-      >
-        <el-option
-          label="可租可售"
-          :value="1"
-        ></el-option>
-        <el-option
-          label="只租"
-          :value="2"
-        ></el-option>
-        <el-option
-          label="只售"
-          :value="3"
-        ></el-option>
-      </el-select> -->
       <el-button
         class="search-btn"
         type="primary"
@@ -174,7 +159,7 @@
             <i
               v-if="scope.row.releaseStatus != 1"
               class="zoniot_font zoniot-icon-bianji"
-              @click="programme(scope.row)"
+              @click="add('edit',scope.row)"
             ></i>
             <i
               v-else
@@ -191,7 +176,7 @@
             <i
               v-if="scope.row.releaseStatus != 1"
               class="zoniot_font zoniot-icon-shanchu redText "
-              @click="deleteOne(scope.row.id)"
+              @click="deleteOne(scope.row.rentOutId)"
             ></i>
             <i
               v-else
@@ -206,7 +191,8 @@
 </template>
 
 <script>
-import list from '@/js/list.js';
+// import list from '@/js/list.js';
+import list from '@utils/list.js';
 import index from './index';
 export default {
   mixins: [list, index],
@@ -215,7 +201,8 @@ export default {
       currentId: '',
       thisLeftData: {},
       selectRow: [],
-      communityArr: []
+      communityArr: [],
+      mixins_post: 'post',
     };
   },
   methods: {
@@ -253,14 +240,14 @@ export default {
         this.$message.error('请选择房间');
         return;
       }
-      let ids = [];
+      let rentOutIds = [];
       this.selectRow.forEach((v) => {
-        ids.push(v.houseId);
+        rentOutIds.push(v.rentOutId);
       });
       this.$http
-        .post('/czc-community/merchants/release', ids)
+        .post('/czc-community/house/rent/out/release', rentOutIds)
         .then(({ status, msg }) => {
-          if (status == 0) {
+          if (status == 0 && msg != "发布失败!请先制定招商方案") {
             this.$message.success(msg);
             this.mixins_search();
           } else {
@@ -274,12 +261,12 @@ export default {
         this.$message.error('您尚未选择要下架的房间,请选择后再操作批量');
         return;
       }
-      let ids = [];
+      let rentOutIds = [];
       this.selectRow.forEach((v) => {
-        ids.push(v.houseId);
+        rentOutIds.push(v.rentOutId);
       });
       this.$http
-        .post('/czc-community/merchants/down', ids)
+        .post('/czc-community/house/rent/out/down', rentOutIds)
         .then(({ status, msg }) => {
           if (status == 0) {
             this.$message.success(msg);
@@ -325,26 +312,25 @@ export default {
       });
     },
     deleteOne (id) {
-      // this.$msgBox(`删除`, '删除后将无法恢复,请问是否继续?')
-      //   .then(() => {
-      //     this.$http.get('/czc-community/patrol/point/delete', { id: id }).then(({ status, data, msg }) => {
-      //       if (0 === status) {
-      //         this.$message({
-      //           type: 'success',
-      //           message: '删除成功!'
-      //         });
-      //         this.mixins_search();
-      //       }
-      //     });
-      //   })
-      //   .catch(() => { });
+      this.$msgBox(`删除`, '删除后将无法恢复,请问是否继续?')
+        .then(() => {
+          this.$http.get('/czc-community/house/rent/out/delete', { id: id }).then(({ status, data, msg }) => {
+            if (0 === status) {
+              this.$message({
+                type: 'success',
+                message: '删除成功!'
+              });
+              this.mixins_search();
+            }
+          });
+        })
+        .catch(() => { });
     },
     getorgTree () {
       this.$http
         .get('/czc-community/assets/community/list')
         .then((data) => {
           this.communityArr = data.data;
-          // this.$store.commit('setAreaSelect', data.data);
         })
 
         .catch(function () { });
@@ -374,7 +360,7 @@ export default {
   },
   created () {
     this.getorgTree();
-    this.mixins_dataUrl = '/czc-community/merchants/page'; // 分页查询接口
+    this.mixins_dataUrl = '/czc-community/house/rent/out/page'; // 分页查询接口
     this.mixins_search();
   }
 };

+ 171 - 93
operationSupport/src/views/businessManagement/InvestmentResources/stepPage/add.vue

@@ -4,76 +4,60 @@
       ref="formData"
       :model="formData"
       :rules="rules"
-      label-width="120px"
+      label-width="100px"
       class="demo-ruleForm"
     >
       <div class="formContent-item_title">房屋信息</div>
       <el-row>
-        <el-col :span="8">
+        <el-col :span="10">
           <el-form-item
             label="招租房屋"
-            prop="name"
-            class="show-required-icon-star"
+            prop="houseId"
           >
             <el-cascader
-              v-model="formData.name"
+              :props="props"
+              v-model="formData.houseId"
               :options="informTypes"
               @change="handleChange"
+              clearable
             ></el-cascader>
-            <!-- <template> -->
-            <!-- <el-select
-              placeholder="请选择"
-              v-model="formData.name"
-            >
-              <el-option
-                v-for="(item, index) in informTypes"
-                :key="index"
-                :label="item.label"
-                :value="item.value"
-              ></el-option>
-            </el-select> -->
-            <!-- </template> -->
-
           </el-form-item>
         </el-col>
 
       </el-row>
 
       <el-row
-        :gutter="100"
+        :gutter="60"
         class="ma_bot"
       >
         <el-col :span="24">
-          <el-col :span="8">租售类型:{{this.rentSaleType}}</el-col>
-          <el-col :span="8">房屋类型:{{this.houseType}}</el-col>
-          <el-col :span="8">楼层:{{this.floor}}</el-col>
+          <el-col :span="8">租售类型:{{this.rentSaleType || '-'}}</el-col>
+          <el-col :span="8">房屋类型:{{this.houseType || '-'}}</el-col>
+          <el-col :span="8">楼层:{{this.floor || '-'}} 层</el-col>
         </el-col>
       </el-row>
       <el-row
-        :gutter="100"
+        :gutter="60"
         class="ma_bot"
       >
         <el-col :span="24">
-          <el-col :span="8">朝向:{{this.orientation}}</el-col>
-          <el-col :span="8">户型:{{this.house}}</el-col>
-          <el-col :span="8">建筑面积:{{this.builtArea}}㎡</el-col>
+          <el-col :span="8">朝向:{{this.orientation || '-'}}</el-col>
+          <el-col :span="8">户型:{{this.house || '-室-厅-卫'}}</el-col>
+          <el-col :span="8">建筑面积:{{this.builtArea || '-'}}㎡</el-col>
         </el-col>
       </el-row>
 
       <div class="formContent-item_title">房屋配置</div>
-      <el-form-item
-        label="房屋配置"
-        class="show-required-icon-star"
-      >
+      <el-form-item label="房屋配置">
         <el-row>
           <el-col
             :span="6"
             v-for="(item,index) in houseConfiguration"
             :key="index"
           >
-            <el-checkbox-group v-model="formData.checkboxGroup1">
+            <el-checkbox-group v-model="formData.config">
               <el-checkbox-button
-                :label="item.value"
+                :label="item.label"
                 :key="item.value"
               >{{item.label}}</el-checkbox-button>
             </el-checkbox-group>
@@ -82,19 +66,16 @@
 
       </el-form-item>
 
-      <el-form-item
-        label="房屋亮点"
-        class="show-required-icon-star"
-      >
+      <el-form-item label="房屋亮点">
         <el-row>
           <el-col
             :span="6"
             v-for="(item,index) in houseHighlights"
             :key="index"
           >
-            <el-checkbox-group v-model="formData.checkboxGroup2">
+            <el-checkbox-group v-model="formData.highLights">
               <el-checkbox-button
-                :label="item.value"
+                :label="item.label"
                 :key="item.value"
               >{{item.label}}</el-checkbox-button>
             </el-checkbox-group>
@@ -103,19 +84,16 @@
         </el-row>
       </el-form-item>
 
-      <el-form-item
-        label="招租要求"
-        class="show-required-icon-star"
-      >
+      <el-form-item label="招租要求">
         <el-row>
           <el-col
             :span="6"
             v-for="(item,index) in rentalRequirements"
             :key="index"
           >
-            <el-checkbox-group v-model="formData.checkboxGroup3">
+            <el-checkbox-group v-model="formData.requirement">
               <el-checkbox-button
-                :label="item.value"
+                :label="item.label"
                 :key="item.value"
               >{{item.label}}</el-checkbox-button>
             </el-checkbox-group>
@@ -127,13 +105,12 @@
       <div class="formContent-item_title">招租信息</div>
       <el-form-item
         label="招租标题:"
-        prop="name"
-        class="show-required-icon-star"
+        prop="title"
       >
         <el-col :span="24">
           <el-input
             placeholder="请输入招租标题"
-            v-model="formData.name"
+            v-model="formData.title"
             clearable
           >
           </el-input>
@@ -144,10 +121,9 @@
         <el-col :span="8">
           <el-form-item
             label="租赁方式:"
-            prop="name"
-            class="show-required-icon-star"
+            prop="leaseType"
           >
-            <el-radio-group v-model="formData.resource">
+            <el-radio-group v-model="formData.leaseType">
               <el-radio label="1">整租</el-radio>
               <el-radio label="2">合租</el-radio>
             </el-radio-group>
@@ -156,27 +132,26 @@
         <el-col :span="8">
           <el-form-item
             label="月租金额(元):"
-            prop="name"
-            class="show-required-icon-star"
+            prop="amount"
+            label-width="120px"
           >
-            <el-input v-model="formData.name"></el-input>
+            <el-input v-model="formData.amount"></el-input>
           </el-form-item>
         </el-col>
         <el-col :span="8">
           <el-form-item
             label="收租周期:"
-            :prop="this.formData.name1 != '' ? 'name2' :'name1'"
-            class="show-required-icon-star"
+            :prop="this.formData.cyclePledge != '' ? 'cyclePress' :'cyclePledge'"
           >
             <el-input
-              v-model="formData.name1"
+              v-model="formData.cyclePledge"
               placeholder=""
               style="width: 47px; margin-right: 5px;"
             ></el-input>
             <el-input
-              v-model="formData.name2"
+              v-model="formData.cyclePress"
               placeholder=""
               style="width: 47px; margin-right: 5px;"
             ></el-input>
@@ -187,8 +162,7 @@
       <el-col :span="24">
         <el-form-item
           label="房屋图片:"
-          prop="businessLicense"
-          class="show-required-icon-star"
+          prop="imageUrl"
         >
           <bz-upload-img
             type="img"
@@ -201,8 +175,7 @@
       <el-col :span="24">
         <el-form-item
           label="房屋视频:"
-          prop="businessLicensed"
-          class="show-required-icon-star"
+          prop="videoUrl"
         >
           <bz-upload-img
             type="video"
@@ -216,7 +189,7 @@
 
         <el-form-item label="招商描述:">
           <tinymce
-            v-model="formData.description"
+            v-model="formData.introduce"
             ref="endit"
             :height="150"
           />
@@ -234,68 +207,99 @@
 import Tinymce from '@/components/Tinymce';
 export default {
   components: { Tinymce },
+  props: ['params'],
   data () {
     return {
+      props: { value: 'value', label: 'name', children: 'children', },
       token: {
         [localStorage.getItem('CZC_token') && 'Authorization']: 'Bearer ' + localStorage.getItem('CZC_token')
       },
       formData: {
-        name: '',
-        checkboxGroup1: [],
-        checkboxGroup2: [],
-        checkboxGroup3: [],
-        resource: '1',
-        name1: '',
-        name2: '',
-        businessLicense: '',
-        businessLicensed: '',
-        description: ''
+        houseId: '',
+        config: [],
+        highLights: [],
+        requirement: [],
+        title: '',
+        leaseType: '1',
+        cycle: '',
+        cyclePledge: '',
+        cyclePress: '',
+        amount: '',
+        imageUrl: '',
+        videoUrl: '',
+        introduce: '',
+        residentId: ''
       },
       pictureArr: [],//房屋图片
       pictureArred: [],//房屋视频
       informTypes: [],//招租房屋
-      rentSaleType: '可租',//租售类型
-      houseType: '商业',//房屋类型
-      floor: '2层/12层',//楼层
-      orientation: '东南',//朝向
-      house: '一室一厅一卫',//户型
-      builtArea: '70',//建筑面积
+      rentSaleType: '',//租售类型
+      houseType: '',//房屋类型
+      floor: '',//楼层
+      orientation: '',//朝向
+      house: '',//户型
+      builtArea: '',//建筑面积
       houseConfiguration: [],//房屋配置
       houseHighlights: [],//房屋亮点
       rentalRequirements: [],//招租要求
       rules: {
-        name: [
-          { required: true, message: '请输入名称', trigger: 'blur' },
+        houseId: [
+          { required: true, message: '请选择招租房屋', trigger: 'change' },
+        ],
+
+        title: [
+          { required: true, message: '请输入招租标题', trigger: 'blur' },
+        ],
+        leaseType: [
+          { required: true, message: '请选择租赁方式', trigger: 'change' },
         ],
-        name1: [
-          { required: true, message: '请输入名称1', trigger: 'blur' },
+        amount: [
+          { required: true, message: '请输入月租金额', trigger: 'blur' },
         ],
-        name2: [
-          { required: true, message: '请输入名称2', trigger: 'blur' },
+        cyclePledge: [
+          { required: true, message: '请输入收租周期', trigger: 'blur' },
         ],
-        businessLicense: [
-          { required: true, message: '请选择活动区域', trigger: 'change' }
+        cyclePress: [
+          { required: true, message: '请输入收租周期', trigger: 'blur' },
         ],
-        businessLicensed: [
-          { required: true, message: '请选择活动区域', trigger: 'change' }
+        imageUrl: [
+          { required: true, message: '请选择图片', trigger: 'change' }
+        ],
+        videoUrl: [
+          { required: true, message: '请选择视频', trigger: 'change' }
         ]
       }
     }
   },
   watch: {
     pictureArr (val) {
-      this.formData.businessLicense = val.join();
+      this.formData.imageUrl = val.join();
     },
     pictureArred (val) {
-      this.formData.businessLicensed = val.join();
+      this.formData.videoUrl = val.join();
     }
   },
   methods: {
-
     submit () {
       this.$refs.formData.validate((valid) => {
         if (valid) {
-
+          this.formData.houseId = this.formData.houseId[this.formData.houseId.length - 1];
+          this.formData.config = this.formData.config.toString();
+          this.formData.highLights = this.formData.highLights.toString();
+          this.formData.requirement = this.formData.requirement.toString();
+          this.formData.cycle = this.formData.cyclePledge + ':' + this.formData.cyclePress;
+          let url;
+          url = '/czc-community/house/rent/out/add'
+          if (this.params.title == 'edit') {
+            url = '/czc-community/house/rent/out/update'
+          }
+          this.$http.post(url, this.formData).then(({ status, data, msg }) => {
+            if (status == 0) {
+              this.$emit('close');
+              this.params.callback()
+              this.$message.success(msg);
+            }
+          })
         } else {
 
         }
@@ -341,12 +345,86 @@ export default {
       })
     },
     handleChange (value) {
+      if (value.length != 0) {
+        this.$http.get('/czc-community/assets/house/find/' + value[value.length - 1]).then(({ status, data, msg }) => {
+          if (status == 0) {
+            this.formData.residentId = data.residentId;
+            this.rentSaleType = data.salesType == 1 ? '可租可售' : data.salesType == 2 ? '只租' : '只售';
+            this.houseType = data.buildingType == 1 ? '住宅' : '商用';
+            this.floor = data.floorNumber;
+            this.orientation = data.orientationOfRoom == 1 ? '东' : data.orientationOfRoom == 2 ? '南' : data.orientationOfRoom == 3 ? '西' : data.orientationOfRoom == 4 ? '北' : data.orientationOfRoom == 5 ? '东南' : data.orientationOfRoom == 6 ? '西南' : data.orientationOfRoom == 7 ? '西北' : '东北';
+            if (data.housingType != null) {
+              let housingTypes = data.housingType.split(':');
+              this.house = (housingTypes[0] == '' ? '-' : housingTypes[0]) + '室' + (housingTypes[1] == '' ? '-' : housingTypes[1]) + '厅' + (housingTypes[2] == '' ? '-' : housingTypes[2]) + '卫'
+            } else {
+              this.house = '';
+            }
+            this.builtArea = data.buildingArea == null ? '-' : data.buildingArea;
+          }
+        })
+      } else {
+        this.rentSaleType = '';
+        this.houseType = '';
+        this.floor = '';
+        this.orientation = '';
+        this.house = '';
+        this.builtArea = '';
+      }
+
+
+    },
+    // 获取招租房屋
+    getOrgTreeList () {
+      this.$http.get('/czc-community/assets/tree/community/find', { buildingType: 1 }).then(({ status, data, msg }) => {
+        if (status == 0) {
+          this.informTypes = data;
+        }
+      })
+    },
+    houseRentFind () {
+      this.$http.post(`/czc-community/house/rent/out/find/${this.params.data.rentOutId}`).then(({ status, data, msg }) => {
+        if (status == 0) {
+          // debugger
+          var dataHouseId = data.houseId;
+          this.formData = data;
+
+          this.formData.config = (data.config).split(',');
+          this.formData.highLights = (data.highLights).split(',');
+          this.formData.requirement = (data.requirement).split(',');
+
+          this.formData.cycle = (data.cycle).split(':');
+          this.formData.cyclePledge = this.formData.cycle[0];
+          this.formData.cyclePress = this.formData.cycle[1];
+          this.formData.leaseType = this.formData.leaseType + '';
+
+          this.formData.houseId = [];
+          if (data.unitName != null) {
+            this.formData.houseId.push(data.communityId + '');
+            this.formData.houseId.push(data.buildingId + '');
+            this.formData.houseId.push(data.unitName);
+            this.formData.houseId.push(dataHouseId + '');
+            this.handleChange(this.formData.houseId);
+          } else {
+            this.formData.houseId.push(data.communityId + '');
+            this.formData.houseId.push(data.buildingId + '');
+            this.formData.houseId.push(dataHouseId + '');
+            this.handleChange(this.formData.houseId);
+          }
+          this.pictureArr = (this.formData.imageUrl).split(',');
+          this.pictureArred = (this.formData.videoUrl).split(',');
+        }
+      })
     }
   },
   created () {
+    this.getOrgTreeList();
     this.configuration();
     this.highlights();
     this.requirements();
+
+    if (this.params.title == "edit") {
+      this.houseRentFind();
+    }
   }
 }
 

+ 8 - 5
operationSupport/src/views/businessManagement/InvestmentResources/stepPage/distribution.vue

@@ -34,8 +34,9 @@ export default {
       },
       formData: {
         userId: '',
-        username: '',
-        houseIds: []
+        userName: '',
+        userPhone: '',
+        rentOutIds: [],
       },
       findUser: [],
       formRules: {
@@ -49,7 +50,7 @@ export default {
         if (valid) {
           var loading = this.$loading();
           this.$http
-            .post('/czc-community/merchants/distribute', this.formData)
+            .post('/czc-community/house/rent/out/distribute', this.formData)
             .then(({ status, msg }) => {
               if (status == 0) {
                 this.$message.success(msg);
@@ -73,13 +74,15 @@ export default {
     },
     findUserToggle () {
       let thisObj = this.$refs['userName'].getCheckedNodes()[0];
-      this.formData.username = thisObj.label;
+      this.formData.userName = thisObj.label;
     }
   },
   created () {
     this.getUserList();
     this.params.house.map((item) => {
-      this.formData.houseIds.push(item.houseId);
+      this.formData.rentOutIds.push(item.rentOutId);
+      this.formData.userPhone = item.residentPhone;
+
     });
   }
 };

+ 4 - 9
operationSupport/src/views/ownerManagement/landlordManagement/stepPage/add.vue

@@ -512,7 +512,6 @@ export default {
             //     houseInformation.push(data[i].path)
             //     this.shareScope = data[i].path[1]
             //   }
-
             // }
             // this.houseInformation[index].region = houseInformation
             // // scopeList
@@ -677,9 +676,6 @@ export default {
               })
             })
           }
-
-          console.log('this.houseInformation[index]', this.houseInformation[index])
-
         }
       })
     },
@@ -690,7 +686,6 @@ export default {
         var id = data[0].path[0];
         this.RescommunityRules(index, id);
       } else {
-
         this.houseInformation[index].billingRules = '';
         this.houseInformation[index].billing = [];
       }
@@ -770,7 +765,6 @@ export default {
                 houseList: []
               })
             } else if (this.houseInformation[i].choice == 2) {
-              console.log('777', this.shareScopeID[i][0] || this.shareScopeID[i][1])
               params.buildingList.push({
                 type: this.houseInformation[i].choice,
                 buildingId: this.shareScopeID[i][0] || this.shareScopeID[i][1],
@@ -924,7 +918,6 @@ export default {
             this.RescommunityRules(i, data.buildingList[i].communityId);
           }
           this.houseInformation = newHouse;
-          console.log('5555', this.houseInformation)
         }
       })
     }
@@ -932,7 +925,6 @@ export default {
   created () {
     this.getOrgTreeList();
     if (!this.isAdd) {
-      // this.params  用户的id
       this.getDetails();
     }
 
@@ -954,7 +946,7 @@ export default {
 
 
 
-<style lang="scss" >
+<style lang="scss" scoped >
 @import '../../style.scss';
 .landlord-title {
     margin-bottom: 20px;
@@ -999,7 +991,10 @@ export default {
     border-radius: 10px;
     background: #f4f7f9a8;
 }
+</style>
+
 
+<style lang="scss">
 .el-cascader-panel {
     .el-scrollbar:first-child {
         .el-checkbox {

+ 18 - 5
operationSupport/src/views/propertyManagement/phone.vue

@@ -29,12 +29,19 @@
         v-preventReClick
       >查询
       </el-button>
+
       <div class="add">
-        <img
-          src="../../assets/img/btn_tianjia@2x.png"
-          alt=""
-          @click="add('add')"
-        />
+        <el-tooltip
+          class="item"
+          effect="light"
+          placement="bottom"
+          content="新增"
+        >
+          <i
+            class="zoniot_font zoniot-icon-tianjia2"
+            @click="add('add')"
+          ></i>
+        </el-tooltip>
       </div>
     </div>
     <zz-table
@@ -188,4 +195,10 @@ export default {
 </script>
 <style lang="scss" scoped>
 @import './style.scss';
+.add {
+    .zoniot_font {
+        font-size: 30px !important;
+        line-height: 30px !important;
+    }
+}
 </style>