yrik 4 سال پیش
والد
کامیت
d0285d80d8

+ 1 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BmProjectPersionController.java

@@ -1,5 +1,6 @@
 package com.ruoyi.web.controller.project;
 
+import java.util.ArrayList;
 import java.util.List;
 
 import com.ruoyi.common.utils.poi.ExcelUtil;

+ 1 - 1
ruoyi-common/src/main/java/com/ruoyi/common/utils/file/FileUploadUtils.java

@@ -23,7 +23,7 @@ public class FileUploadUtils
     /**
      * 默认大小 50M
      */
-    public static final long DEFAULT_MAX_SIZE = 50 * 1024 * 1024;
+    public static final long DEFAULT_MAX_SIZE = 1 * 1024 * 1024;
 
     /**
      * 默认的文件名最大长度 100

+ 20 - 25
ruoyi-system/src/main/java/com/ruoyi/system/domain/project/BmCompanyShareholder.java

@@ -27,9 +27,9 @@ public class BmCompanyShareholder extends BaseEntity
     @Excel(name = "姓名*")
     private String name;
 
-    /** 地址* */
-    @Excel(name = "地址*")
-    private String address;
+    /** 股权比例* */
+    @Excel(name = "股权比例*")
+    private String equityRatio;
 
     /** 身份证号* */
     @Excel(name = "身份证号*")
@@ -71,15 +71,7 @@ public class BmCompanyShareholder extends BaseEntity
     {
         return name;
     }
-    public void setAddress(String address) 
-    {
-        this.address = address;
-    }
 
-    public String getAddress() 
-    {
-        return address;
-    }
     public void setIdcard(String idcard) 
     {
         this.idcard = idcard;
@@ -108,21 +100,24 @@ public class BmCompanyShareholder extends BaseEntity
         return idcardBack;
     }
 
+    public String getEquityRatio() {
+        return equityRatio;
+    }
+
+    public void setEquityRatio(String equityRatio) {
+        this.equityRatio = equityRatio;
+    }
+
     @Override
     public String toString() {
-        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
-            .append("id", getId())
-            .append("bmProjectId", getBmProjectId())
-            .append("createBy", getCreateBy())
-            .append("createTime", getCreateTime())
-            .append("updateBy", getUpdateBy())
-            .append("updateTime", getUpdateTime())
-            .append("isDel", getIsDel())
-            .append("name", getName())
-            .append("address", getAddress())
-            .append("idcard", getIdcard())
-            .append("idcardFront", getIdcardFront())
-            .append("idcardBack", getIdcardBack())
-            .toString();
+        return "BmCompanyShareholder{" +
+                "id=" + id +
+                ", bmProjectId=" + bmProjectId +
+                ", name='" + name + '\'' +
+                ", equityRatio='" + equityRatio + '\'' +
+                ", idcard='" + idcard + '\'' +
+                ", idcardFront='" + idcardFront + '\'' +
+                ", idcardBack='" + idcardBack + '\'' +
+                '}';
     }
 }

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/project/BmProject.java

@@ -8,6 +8,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
 import com.ruoyi.common.annotation.Excel;
 import com.ruoyi.common.core.domain.BaseEntity;
 
+import javax.validation.constraints.NotNull;
+
 /**
  * 项目(添加线索)对象 bm_project
  * 

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/system/domain/project/BmProjectOrderinfo.java

@@ -28,7 +28,7 @@ public class BmProjectOrderinfo extends BaseEntity
 
     /** 签约日期* */
     @Excel(name = "签约日期*")
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @JsonFormat(pattern = "yyyy-MM-dd")
     private Date orderDate;
 
     /** 投资方式* */

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/project/BmProjectPersion.java

@@ -5,6 +5,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
 import com.ruoyi.common.annotation.Excel;
 import com.ruoyi.common.core.domain.BaseEntity;
 
+import javax.validation.constraints.NotNull;
+
 /**
  * 项目投资方-自然人对象 bm_project_persion
  * 

+ 2 - 2
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/project/BmCompanyShareholderServiceImpl.java

@@ -54,7 +54,7 @@ public class BmCompanyShareholderServiceImpl implements IBmCompanyShareholderSer
     public int insertBmCompanyShareholder(BmCompanyShareholder bmCompanyShareholder)
     {
         bmCompanyShareholder.setCreateTime(DateUtils.getNowDate());
-        //bmCompanyShareholder.setCreateBy(SecurityUtils.getUsername());
+        bmCompanyShareholder.setCreateBy(SecurityUtils.getUsername());
         return bmCompanyShareholderMapper.insertBmCompanyShareholder(bmCompanyShareholder);
     }
 
@@ -68,7 +68,7 @@ public class BmCompanyShareholderServiceImpl implements IBmCompanyShareholderSer
     public int updateBmCompanyShareholder(BmCompanyShareholder bmCompanyShareholder)
     {
         bmCompanyShareholder.setUpdateTime(DateUtils.getNowDate());
-        //bmCompanyShareholder.setUpdateBy(SecurityUtils.getUsername());
+        bmCompanyShareholder.setUpdateBy(SecurityUtils.getUsername());
         return bmCompanyShareholderMapper.updateBmCompanyShareholder(bmCompanyShareholder);
     }
 

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/project/BmProjectInfoServiceImpl.java

@@ -65,6 +65,8 @@ public class BmProjectInfoServiceImpl implements IBmProjectInfoService
         List<BmProjectReferral> referralList = bmProjectInfo.getReferralList();
         if (referralList != null && referralList.size()> 0){
             for (BmProjectReferral bmProjectReferral : referralList) {
+                bmProjectReferral.setCreateBy(SecurityUtils.getUsername());
+                bmProjectReferral.setCreateTime(DateUtils.getNowDate());
                 bmProjectReferralMapper.insertBmProjectReferral(bmProjectReferral);
             }
         }

+ 6 - 6
ruoyi-system/src/main/resources/mapper/system/project/BmCompanyShareholderMapper.xml

@@ -13,14 +13,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="updateTime"    column="update_time"    />
         <result property="isDel"    column="is_del"    />
         <result property="name"    column="name"    />
-        <result property="address"    column="address"    />
+        <result property="equityRatio"    column="equity_ratio"    />
         <result property="idcard"    column="idcard"    />
         <result property="idcardFront"    column="idcard_front"    />
         <result property="idcardBack"    column="idcard_back"    />
     </resultMap>
 
     <sql id="selectBmCompanyShareholderVo">
-        select id, bm_project_id, create_by, create_time, update_by, update_time, is_del, name, address, idcard, idcard_front, idcard_back from bm_company_shareholder
+        select id, bm_project_id, create_by, create_time, update_by, update_time, is_del, name, equity_ratio, idcard, idcard_front, idcard_back from bm_company_shareholder
     </sql>
 
     <select id="selectBmCompanyShareholderList" parameterType="BmCompanyShareholder" resultMap="BmCompanyShareholderResult">
@@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="bmProjectId != null "> and bm_project_id = #{bmProjectId}</if>
             <if test="isDel != null "> and is_del = #{isDel}</if>
             <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
-            <if test="address != null  and address != ''"> and address = #{address}</if>
+            <if test="equityRatio != null  and equityRatio != ''"> and equity_ratio = #{equityRatio}</if>
             <if test="idcard != null  and idcard != ''"> and idcard = #{idcard}</if>
             <if test="idcardFront != null  and idcardFront != ''"> and idcard_front = #{idcardFront}</if>
             <if test="idcardBack != null  and idcardBack != ''"> and idcard_back = #{idcardBack}</if>
@@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null">update_time,</if>
             <if test="isDel != null">is_del,</if>
             <if test="name != null">name,</if>
-            <if test="address != null">address,</if>
+            <if test="equityRatio != null">equity_ratio,</if>
             <if test="idcard != null">idcard,</if>
             <if test="idcardFront != null">idcard_front,</if>
             <if test="idcardBack != null">idcard_back,</if>
@@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null">#{updateTime},</if>
             <if test="isDel != null">#{isDel},</if>
             <if test="name != null">#{name},</if>
-            <if test="address != null">#{address},</if>
+            <if test="equityRatio != null">#{equityRatio},</if>
             <if test="idcard != null">#{idcard},</if>
             <if test="idcardFront != null">#{idcardFront},</if>
             <if test="idcardBack != null">#{idcardBack},</if>
@@ -83,7 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="updateTime != null">update_time = #{updateTime},</if>
             <if test="isDel != null">is_del = #{isDel},</if>
             <if test="name != null">name = #{name},</if>
-            <if test="address != null">address = #{address},</if>
+            <if test="equityRatio != null">equity_ratio = #{equityRatio},</if>
             <if test="idcard != null">idcard = #{idcard},</if>
             <if test="idcardFront != null">idcard_front = #{idcardFront},</if>
             <if test="idcardBack != null">idcard_back = #{idcardBack},</if>

+ 10 - 9
ruoyi-ui/src/api/index.js

@@ -1,46 +1,47 @@
 import request  from '@/utils/request'
-
+
 // 首页-柱状图
 export function getIndexEharts(query) {
   return request({
     url: '/constructionPay/pay/indexEharts',
-    method: 'get',
+    method: 'get',
     params: query
   })
-}
+}
 // 获取用户详细信息
 export function toBeReviewedList() {
   return request({
     url: '/bmProject/project/toBeReviewedList',
     method: 'get'
   })
-}
+}
 // 审核/提交
 export function setExamine() {
   return request({
     url: '/bmProject/project/examine',
     method: 'post'
   })
-}
+}
+
 // 驳回项目
 export function setReject() {
   return request({
     url: '/bmProject/project/reject',
     method: 'post'
   })
-}
-
+}
+
 // 首页-单位榜单-资金
 export function getUnitAmountList() {
   return request({
     url: '/deptPlan/plan/unitAmountList',
     method: 'post'
   })
-}
+}
 // 首页-单位榜单-任务
 export function getUnitList() {
   return request({
     url: '/deptPlan/plan/unitList',
     method: 'post'
   })
-}
+}

+ 1612 - 1008
ruoyi-ui/src/components/ProjectDec/SignContract.vue

@@ -1,1011 +1,1615 @@
-<template>
-  <div class="sign_box">
-    <el-form label-position="right" ref="form" :rules="rules" :model="form" label-width="80px">
-      <el-row :gutter="10" class="mb8 roiyy">
-        <el-col :span="1.5">
-          <el-button type="primary" v-hasPermi="['system:config:add']" @click="upBtn">提交</el-button>
-        </el-col>
-        <el-col :span="1.5">
-          <el-button type="primary" v-hasPermi="['system:config:edit']" @click="submitForm">暂存</el-button>
-        </el-col>
-        <el-col :span="1.5">
-          <el-button type="primary" v-hasPermi="['system:config:edit']" @click="goBtn">取消</el-button>
-        </el-col>
-        <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
-      </el-row>
-      <div class="sign_tit">
-        项目签约信息
-      </div>
-      <el-row>
-        <el-form-item label-width="120px" label="活动名称:" class="elItem" prop="date1">
-          <el-col :span="6">
-            <el-date-picker value-format="yyyy-MM-dd" type="date" placeholder="请选择签约日期" v-model="form.orderDate" style="width: 100%;"></el-date-picker>
-          </el-col>
-        </el-form-item>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="120px" label="投资方式:" class="elItem" prop="tz">
-            <el-col :span="24">
-              <el-radio-group v-model="form.resource" style="width: 100%;">
-                <el-col :span="12">
-                  <el-radio label="1">独资</el-radio>
-                </el-col>
-                <el-col :span="12">
-                  <el-radio label="2">合资</el-radio>
-                </el-col>
-              </el-radio-group>
-            </el-col>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="是否外资:" class="elItem" prop="tz1">
-            <el-col :span="6">
-              <el-checkbox-group v-model="form.isOutInvestment">
-                <el-checkbox :label="1" name="type">外资</el-checkbox>
-              </el-checkbox-group>
-            </el-col>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="7">
-          <el-form-item label-width="120px" label="总投资额度:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input type="number" placeholder="请输入总投资额度" v-model="form.je"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="1">
-          <div class="qz_name">其中</div>
-        </el-col>
-        <el-col :span="10">
-          <el-form-item label-width="182px" label="境外投资(含港澳台投资):" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input type="number" placeholder="请输入总投资额度" v-model="form.je"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-          <el-form-item label-width="182px" label="境内省外投资:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input type="number" placeholder="请输入境内省外投资额度" v-model="form.je"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-          <el-form-item label-width="182px" label="省内市外投资:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input type="number" placeholder="请输入省内市外投资额度" v-model="form.je"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-          <el-form-item label-width="182px" label="市内县外投资:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input type="number" placeholder="请输入市内县外投资额度" v-model="form.je"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-          <el-form-item label-width="182px" label="县内投资:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input type="number" placeholder="请输入县内投资额度" v-model="form.je"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="5">
-          <el-form-item label-width="121px" label="是否独立供地:" class="elItem" prop="je">
-            <el-select v-model="form.region" placeholder="请选择">
-              <el-option label="是" value="shanghai"></el-option>
-              <el-option label="否" value="beijing"></el-option>
-            </el-select>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="93px" label="供地面积:" class="elItem" prop="je">
-            <el-col :span="20">
-              <el-input placeholder="请输入供地面积" v-model="form.gdmj"></el-input>
-            </el-col>
-            <div class="dw_name">亩</div>
-          </el-form-item>
-        </el-col>
-        <el-col :span="9">
-          <el-form-item label-width="93px" label="供地位置:" class="elItem" prop="je">
-            <el-input placeholder="请输入供地位置" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="4">
-          <el-form-item label-width="82px" label="土地证:" class="elItem" prop="landPhoto">
-            <el-upload class="upload-demo" :limit="1" :on-success="upl_fn" :action="defaultSettings.urls + '/common/upload'">
-              <el-button size="small" type="primary">点击上传</el-button>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="流转土地面积:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
-            </el-col>
-            <div class="dw_name">亩</div>
-          </el-form-item>
-        </el-col>
-        <el-col :span="10">
-          <el-form-item label-width="111px" label="流转土地位置:" class="elItem" prop="je">
-            <el-input placeholder="请输入流转土地位置" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="4">
-          <el-form-item label-width="119px" label="土地流转合同:" class="elItem" prop="circulationDoc">
-            <el-upload class="upload-demo" :limit="1" :on-success="upl_fn_lzht" :action="defaultSettings.urls + '/common/upload'">
-              <el-button size="small" type="primary">点击上传</el-button>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-        <el-col :span="4">
-          <el-form-item label-width="94px" label="产权证:" class="elItem" prop="circulationPhoto">
-            <el-upload class="upload-demo" :limit="1" :on-success="upl_fn_cqz" :action="defaultSettings.urls + '/common/upload'">
-              <el-button size="small" type="primary">点击上传</el-button>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="7">
-          <el-form-item label-width="121px" label="租赁厂房面积:" class="elItem" prop="je">
-            <el-col :span="16">
-              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
-            </el-col>
-            <div class="dw_name">平方米</div>
-          </el-form-item>
-        </el-col>
-        <el-col :span="10">
-          <el-form-item label-width="111px" label="租赁厂房位置:" class="elItem" prop="je">
-            <el-input placeholder="请输入租赁厂房位置" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="3">
-          <el-form-item label-width="94px" label="租赁合同:" class="elItem" prop="leasePlantDoc">
-            <el-upload class="upload-demo" :limit="1" :on-success="upl_fn_zlht" :action="defaultSettings.urls + '/common/upload'">
-              <el-button size="small" type="primary">点击上传</el-button>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-        <el-col :span="4">
-          <el-form-item label-width="94px" label="产权证:" class="elItem" prop="leasePlantPhoto">
-            <el-upload class="upload-demo" :limit="1" :on-success="upl_fn_zlcqz" :action="defaultSettings.urls + '/common/upload'">
-              <el-button size="small" type="primary">点击上传</el-button>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="8">
-          <el-form-item label-width="121px" label="合同约定产值:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-        </el-col>
-        <el-col :span="8">
-          <el-form-item label-width="121px" label="合同约定税收:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row style="margin-left: -10px;">
-        <el-col :span="8">
-          <el-form-item label-width="131px" label="合同约定开工时间:" class="elItem" prop="je">
-            <el-col :span="18">
-              <el-date-picker value-format="yyyy-MM-dd" type="date" placeholder="请选择开工时间" v-model="form.agreementStartdate"
-                style="width: 100%;"></el-date-picker>
-            </el-col>
-          </el-form-item>
-        </el-col>
-        <el-col :span="8">
-          <el-form-item label-width="141px" label="合同约定竣工时间:" class="elItem" prop="agreementEnddate">
-            <el-col :span="18">
-              <el-date-picker value-format="yyyy-MM-dd" type="date" placeholder="请选择竣工时间" v-model="form.agreementEnddate"
-                style="width: 100%;"></el-date-picker>
-            </el-col>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-form-item label-width="121px" label="合同签约方:" class="elItem" prop="je">
-        </el-form-item>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="对方:" class="elItem" prop="je">
-            <el-input placeholder="请输入对方" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="签约人:" class="elItem" prop="je">
-            <el-input placeholder="请输入签约人" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="我方:" class="elItem" prop="je">
-            <el-input placeholder="请输入我方" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="签约人:" class="elItem" prop="je">
-            <el-input placeholder="请输入签约人" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="第三方:" class="elItem" prop="je">
-            <el-input placeholder="请输入第三方" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="签约人:" class="elItem" prop="je">
-            <el-input placeholder="请输入签约人" v-model="form.gdmj"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="18">
-          <el-form-item label-width="121px" label="合同文本:" class="elItem" prop="agreementUrl">
-            <el-upload class="upload-demo" ref="upload" :action="defaultSettings.urls + '/common/upload'" :on-preview="handlePreview"
-              :on-success="up_loat_htwb" :on-remove="handleRemove" :auto-upload="false">
-              <el-button slot="trigger" size="small" type="primary">选择图片</el-button>
-              <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">开始上传</el-button>
-              <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <div class="sign_tit">
-        企业注册信息
-      </div>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="141px" label="在潜注册公司名称:" class="elItem" prop="name">
-            <el-input placeholder="请输入在潜注册公司名称" v-model="form.name"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="109px" label="法定代表人:" class="elItem" prop="legalRep">
-            <el-input placeholder="请输入法定代表人" v-model="form.legalRep"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="141px" label="注册资本金:" class="elItem" prop="totMoney">
-            <el-input placeholder="请输入注册资本金" v-model="form.totMoney"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="8">
-          <el-form-item label-width="109px" label="注册地址:" class="elItem" prop="address">
-            <el-input placeholder="请输入注册地址" v-model="form.address"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="141px" label="统一社会信用代码:" class="elItem" prop="code">
-            <el-input placeholder="请输入注册资本金" v-model="form.code"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="8">
-          <el-form-item label-width="173px" label="营业执照复印件:" class="elItem" prop="bussinessUrl">
-            <el-upload class="upload-demo" :limit="1" :on-success="upl_fn_zzfyj" :action="defaultSettings.urls + '/common/upload'">
-              <el-button size="small" type="primary">点击上传</el-button>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <div class="sign_tit">
-        企业股东构成<span>*</span>
-      </div>
-      <el-row>
-        <div class="ads_box" @click="addshareBtn">
-          <img src="../../assets/images/icon_add@2x.png" alt="" class="add_icon">
-          <span>添加企业股东构成</span>
-        </div>
-      </el-row>
-      <el-row>
-        <el-table v-loading="loading" class="elItem" :data="configList">
-          <!-- <el-table-column type="selection" width="55" align="center" /> -->
-          <el-table-column label="姓名" align="center" prop="name" />
-          <el-table-column label="股权比例" align="center" prop="equityRatio" :show-overflow-tooltip="true">
-            <template slot-scope="scope">
-              <span>{{scope.row.equityRatio}}%</span>
-            </template>
-          </el-table-column>
-          <el-table-column label="身份证号码" align="center" prop="idcard" :show-overflow-tooltip="true" />
-          <el-table-column label="身份证(正面)" align="center" prop="idcardFront">
-            <template slot-scope="scope">
-              <img :src="scope.row.idcardFront" alt="" class="imgs">
-            </template>
-          </el-table-column>
-          <el-table-column label="身份证(反面)" align="center" prop="idcardBack">
-            <template slot-scope="scope">
-              <img :src="scope.row.idcardBack" alt="" class="imgs">
-            </template>
-          </el-table-column>
-          <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
-          <el-table-column label="操作" align="center">
-            <!-- class-name="small-padding fixed-width" -->
-            <template slot-scope="scope">
-              <el-button size="mini" type="warning" @click="handleUpdate(scope.row)" v-hasPermi="['system:config:edit']">修改</el-button>
-              <el-button size="mini" type="danger" @click="handleDelete(scope.row.id)" v-hasPermi="['system:config:remove']">删除</el-button>
-            </template>
-          </el-table-column>
-        </el-table>
-        <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
-          @pagination="getShareholderList" />
-      </el-row>
-      <div class="sign_tit">
-        企业备案信息
-      </div>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="备案单位:" class="elItem" prop="recordName">
-            <el-input placeholder="请输入备案单位" v-model="form.recordName"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="109px" label="备案文号:" class="elItem" prop="recordCode">
-            <el-input placeholder="请输入备案文号" v-model="form.recordCode"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="6">
-          <el-form-item label-width="121px" label="备案总投资额:" class="elItem" prop="recordTot">
-            <el-col :span="18">
-              <el-input placeholder="请输入备案总投资额" v-model="form.recordTot"></el-input>
-            </el-col>
-            <div class="dw_name">万元</div>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="139px" label="备案建设周期:" class="elItem" prop="recordTime">
-            <el-input placeholder="请输入备案建设周期" v-model="form.recordTime"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="18">
-          <el-form-item label-width="121px" label="备案表:" class="elItem" prop="recordUrl">
-            <el-upload class="upload-demo" ref="bAupload" :action="defaultSettings.urls + '/common/upload'" :on-preview="handlePreview"
-              :on-success="up_loat_bab" :on-remove="handleRemove_bab" :auto-upload="false">
-              <el-button slot="trigger" size="small" type="primary">选择图片</el-button>
-              <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload_bab">开始上传</el-button>
-              <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
-            </el-upload>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <div class="sign_tit">
-        企业包保服务
-      </div>
-      <el-row>
-        <el-col :span="8">
-          <el-form-item label-width="122px" label="联系领导:" class="elItem" prop="contactLeader">
-            <el-input placeholder="请输入联系领导" v-model="form.contactLeader"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="98px" label="联系方式:" class="elItem" prop="contactPhone">
-            <el-input placeholder="请输入联系方式" v-model="form.contactPhone"></el-input>
-          </el-form-item>
-        </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="8">
-          <el-form-item label-width="122px" label="责任单位:" class="elItem" prop="contactCompany">
-            <el-input placeholder="请输入责任单位" v-model="form.contactCompany"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="98px" label="责任人:" class="elItem" prop="contactPerson">
-            <el-input placeholder="请输入责任人" v-model="form.contactPerson"></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label-width="98px" label="联系方式:" class="elItem" prop="contactPersonPhone">
-            <el-input placeholder="请输入联系方式" v-model="form.contactPersonPhone"></el-input>
-          </el-form-item>
-        </el-col>
-
-      </el-row>
-    </el-form>
-    <!-- 添加或修改岗位对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
-      <el-form ref="forms" :model="sharData" :rules="sharRules" label-width="120px">
-        <el-form-item label="姓名" prop="name">
-          <el-input v-model="sharData.name" placeholder="请输入姓名" />
-        </el-form-item>
-        <el-form-item label="股权比例" prop="equityRatio">
-          <el-input-number style="width: 140px;" v-model="sharData.equityRatio" /><span style="margin: 0 10px;font-size: 16px;">%</span>
-        </el-form-item>
-        <el-form-item label="身份证号码" prop="idcard">
-          <el-input v-model="sharData.idcard" placeholder="请输入身份证号码" />
-        </el-form-item>
-        <el-form-item label="身份证(正面)" prop="idcardFront">
-          <el-upload class="upload-demo" :file-list="idcardFrontFlie" :on-remove="upl_remove_sfzzm" :on-success="upl_fn_sfzzm"
-            :action="defaultSettings.urls + '/common/upload'">
-            <el-button size="small" type="primary">点击上传</el-button>
-          </el-upload>
-        </el-form-item>
-        <el-form-item label="身份证(反面)" prop="idcardBack">
-          <el-upload class="upload-demo" :file-list="idcardBackFlie" :on-remove="upl_remove_sfzfm" :on-success="upl_fn_sfzfm"
-            :action="defaultSettings.urls + '/common/upload'">
-            <el-button size="small" type="primary">点击上传</el-button>
-          </el-upload>
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForms">确 定</el-button>
-        <el-button @click="open=false">取 消</el-button>
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-  import {
-    getOrderinfo,
-    getShareholderList,
-    getShareholder,
-    delShareholder,
-    addShareholder,
-    setShareholder,
-    setOrderinfo,
-    addOrderinfo
-  } from '@/api/system/signContract'
-  const defaultSettings = require('@/settings.js')
-  export default {
-    data() {
-      return {
-        defaultSettings,
-        title: "",
-        // 是否显示弹出层
-        open: false,
-        sharRules: {
-          name: [{
-            required: true,
-            message: '请输入姓名',
-            trigger: 'blur'
-          }],
-          equityRatio: [{
-            required: true,
-            message: '请输入股权比例',
-            trigger: 'blur'
-          }],
-          idcard: [{
-            required: true,
-            message: '请输入身份证号',
-            trigger: 'blur'
-          }],
-          idcardFront: [{
-            required: true,
-            message: '请上传身份证正面',
-            trigger: 'blur'
-          }],
-          idcardBack: [{
-            required: true,
-            message: '请上传身份证反面',
-            trigger: 'blur'
-          }],
-        },
-        sharData: {
-          bmProjectId: this.$route.query.setid,
-          name: '',
-          equityRatio: 0,
-          idcard: '',
-          idcardFront: '',
-          idcardBack: '',
-        },
-        queryParams: {
-          pageNum: 1,
-          pageSize: 10,
-          bmProjectId: ''
-        },
-        total: 0,
-        shareholderList: [],
-        // showSearch: true,
-        loading: true,
-        rules: {
-          orderDate: [{
-            required: true,
-            message: '请选择签约日期',
-            trigger: 'blur'
-          }],
-          investmentType: [{
-            required: true,
-            message: '请选择投资方式',
-            trigger: 'blur'
-          }],
-          totInvestment: [{
-            required: true,
-            message: '请输入总投资额度',
-            trigger: 'blur'
-          }],
-          overseasInvestment: [{
-            required: true,
-            message: '请输入境外投资',
-            trigger: 'blur'
-          }],
-          isIndependentLan: [{
-            required: true,
-            message: '请选择是否独立供地',
-            trigger: 'blur'
-          }],
-          agreementTot: [{
-            required: true,
-            message: '请输入合同约定产值',
-            trigger: 'blur'
-          }],
-          agreementTax: [{
-            required: true,
-            message: '请输入合同约定税收',
-            trigger: 'blur'
-          }],
-          agreementStartdate: [{
-            required: true,
-            message: '请选择合同约定开工时间',
-            trigger: 'blur'
-          }],
-          agreementEnddate: [{
-            required: true,
-            message: '请选择合同约定竣工时间',
-            trigger: 'blur'
-          }],
-          agreementPartner: [{
-            required: true,
-            message: '请输入合同签约对方',
-            trigger: 'blur'
-          }],
-          partner: [{
-            required: true,
-            message: '请输入对方合同签约人',
-            trigger: 'blur'
-          }],
-          agreementUs: [{
-            required: true,
-            message: '请输入合同签约我方',
-            trigger: 'blur'
-          }],
-          signUs: [{
-            required: true,
-            message: '请输入我方合同签约人',
-            trigger: 'blur'
-          }],
-          agreementUrl: [{
-            required: true,
-            message: '请上传合同文本',
-            trigger: 'blur'
-          }],
-          name: [{
-            required: true,
-            message: '请输入在潜注册公司名称',
-            trigger: 'blur'
-          }],
-          legalRep: [{
-            required: true,
-            message: '请输入法定代表人',
-            trigger: 'blur'
-          }],
-          totMoney: [{
-            required: true,
-            message: '请输入注册资本金',
-            trigger: 'blur'
-          }],
-          address: [{
-            required: true,
-            message: '请输入注册地址',
-            trigger: 'blur'
-          }],
-          code: [{
-            required: true,
-            message: '请输入统一社会信用代码',
-            trigger: 'blur'
-          }],
-          bussinessUrl: [{
-            required: true,
-            message: '请上传营业执照',
-            trigger: 'blur'
-          }],
-          recordName: [{
-            required: true,
-            message: '请输入备案单位',
-            trigger: 'blur'
-          }],
-          recordCode: [{
-            required: true,
-            message: '请输入备案文号',
-            trigger: 'blur'
-          }],
-          recordTot: [{
-            required: true,
-            message: '请输入备案总投资额',
-            trigger: 'blur'
-          }],
-          recordTime: [{
-            required: true,
-            message: '请输入备案建设周期',
-            trigger: 'blur'
-          }],
-          recordUrl: [{
-            required: true,
-            message: '请上传备案表信息',
-            trigger: 'blur'
-          }],
-          contactLeader: [{
-            required: true,
-            message: '请输入联系领导',
-            trigger: 'blur'
-          }],
-          contactPhone: [{
-            required: true,
-            message: '请输入联系方式',
-            trigger: 'blur'
-          }],
-          contactCompany: [{
-            required: true,
-            message: '请输入责任单位',
-            trigger: 'blur'
-          }],
-          contactPerson: [{
-            required: true,
-            message: '请输入责任人',
-            trigger: 'blur'
-          }],
-          contactPersonPhone: [{
-            required: true,
-            message: '请输入责任人联系方式',
-            trigger: 'blur'
-          }],
-        },
-        form: {
-          bmProjectId: this.$route.query.setid,
-          id: -1,
-          orderDate: "", //签约日期
-          investmentType: "", //投资方式
-          isOutInvestment: "", // 是否外资(N:Y)
-          totInvestment: "", //总投资额度
-          fixedAssets: "", //固定资产投资额度
-          overseasInvestment: "", //境外投资
-          jnswInvestm: "", //境内省外投资
-          snswInvestm: "", //省内市外投资
-          snxwInvestm: "", //市内县外投资
-          xnInvestm: "", //县内投资
-          isIndependentLan: "", //是否独立供地(N:Y)
-          landArea: "", //供地面积
-          landAddress: "", //供地位置
-          landPhoto: "", //土地证ur
-          circulationLand: "", //流转土地面积
-          circulationAddres: "", //流转土地位置
-          circulationDoc: "", //土地流转合同
-          circulationPhoto: "", //产权证
-          leasePlantArea: "", //租赁厂房面积
-          leasePlantAddress: "", //租赁厂房位置
-          leasePlantDoc: "", //租赁合同
-          leasePlantPhoto: "", //租赁产权证
-          agreementTot: "", //租赁产权证
-          agreementTax: "", // 合同约定税收
-          agreementStartdate: "", // 合同约定开工时间
-          agreementEnddate: "", //合同约定竣工时间
-          agreementPartner: "", //合同签约对方
-          partner: "", //对方合同签约人
-          agreementUs: "", //合同签约我方
-          signUs: "", //我方合同签约人
-          agreementThird: "", //第三方
-          third: "", //第三方签约人
-          agreementUrl: [], //合同url
-          name: "", //在潜注册公司名称
-          legalRep: "", //法定代表人
-          totMoney: "", //注册资本金
-          address: "", //注册地址
-          code: "", //统一社会信用代码
-          bussinessUrl: "", //营业执照图片url
-          recordName: "", //备案单位
-          recordCode: "", //备案文号
-          recordTot: "", //备案总投资额
-          recordTime: "", //备案建设周期
-          recordUrl: [], //备案表url
-          contactLeader: "", //企业包服务-联系领导
-          contactPhone: "", //联系方式
-          contactCompany: "", //责任单位
-          contactPerson: "", //责任人
-          contactPersonPhone: "", //责任人联系方式
-
-        },
-        idcardFrontFlie: [],
-        idcardBackFlie: [],
-        fileList: []
-      }
-    },
-    mounted() {
-      console.log(defaultSettings.urls)
-      this.queryParams.bmProjectId = this.$route.query.setid
-      this.getOrderinfo()
-      this.getShareholderList()
-    },
-    methods: {
-      upBtn() {
-        getExamine({
-          code: 1,
-          bmProjectId: this.$route.query.setid
-        }).then(res => {
-          this.msgSuccess("提交成功");
-        })
+<template>
+  <div class="sign_box">
+    <el-form
+      label-position="right"
+      ref="form"
+      :rules="rules"
+      :model="form"
+      label-width="80px"
+    >
+      <el-row :gutter="10" class="mb8 roiyy">
+        <el-col :span="1.5" v-if="setrd % 2 == 1">
+          <el-button
+            type="primary"
+            v-hasPermi="['system:config:add']"
+            @click="upBtn"
+            >提交</el-button
+          >
+        </el-col>
+        <el-col :span="1.5" v-if="setrd % 2 == 1">
+          <el-button
+            type="primary"
+            v-hasPermi="['system:config:edit']"
+            @click="submitForm"
+            >暂存</el-button
+          >
+        </el-col>
+        <el-col :span="1.5">
+          <el-button
+            type="primary"
+            v-hasPermi="['system:config:edit']"
+            @click="goBtn"
+            >取消</el-button
+          >
+        </el-col>
+        <el-col :span="1.5" :offset="18" v-if="setrd % 2 == 0">
+          <el-button
+            type="danger"
+            @click="applyBtn"
+            v-hasPermi="['bmProject:project:pass']"
+            >审核</el-button
+          >
+          <el-button
+            type="danger"
+            @click="backBtn"
+            v-hasPermi="['bmProject:project:reject']"
+            >驳回</el-button
+          >
+        </el-col>
+        <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
+      </el-row>
+      <div class="sign_tit">项目签约信息</div>
+      <el-row>
+        <el-form-item
+          label-width="120px"
+          label="签约日期:"
+          class="elItem"
+          prop="date1"
+        >
+          <el-col :span="6">
+            <el-date-picker
+              value-format="yyyy-MM-dd"
+              type="date"
+              placeholder="请选择签约日期"
+              v-model="form.orderDate"
+              style="width: 100%"
+            ></el-date-picker>
+          </el-col>
+        </el-form-item>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="120px"
+            label="投资方式:"
+            class="elItem"
+            prop="tz"
+          >
+            <el-col :span="24">
+              <el-radio-group v-model="form.resource" style="width: 100%">
+                <el-col :span="12">
+                  <el-radio label="1">独资</el-radio>
+                </el-col>
+                <el-col :span="12">
+                  <el-radio label="2">合资</el-radio>
+                </el-col>
+              </el-radio-group>
+            </el-col>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item label="是否外资:" class="elItem" prop="tz1">
+            <el-col :span="6">
+              <el-checkbox-group v-model="form.isOutInvestment">
+                <el-checkbox :label="1" name="type">外资</el-checkbox>
+              </el-checkbox-group>
+            </el-col>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="7">
+          <el-form-item
+            label-width="120px"
+            label="总投资额度:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input
+                type="number"
+                placeholder="请输入总投资额度"
+                v-model="form.totInvestment"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="1">
+          <div class="qz_name">其中</div>
+        </el-col>
+        <el-col :span="10">
+          <el-form-item
+            label-width="182px"
+            label="境外投资(含港澳台投资):"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input
+                type="number"
+                placeholder="请输入总投资额度"
+                v-model="form.overseasInvestment"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+          <el-form-item
+            label-width="182px"
+            label="境内省外投资:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input
+                type="number"
+                placeholder="请输入境内省外投资额度"
+                v-model="form.jnswInvestm"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+          <el-form-item
+            label-width="182px"
+            label="省内市外投资:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input
+                type="number"
+                placeholder="请输入省内市外投资额度"
+                v-model="form.snswInvestm"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+          <el-form-item
+            label-width="182px"
+            label="市内县外投资:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input
+                type="number"
+                placeholder="请输入市内县外投资额度"
+                v-model="form.snxwInvestm"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+          <el-form-item
+            label-width="182px"
+            label="县内投资:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input
+                type="number"
+                placeholder="请输入县内投资额度"
+                v-model="form.xnInvestm"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="5">
+          <el-form-item
+            label-width="121px"
+            label="是否独立供地:"
+            class="elItem"
+            prop="je"
+          >
+            <el-select v-model="form.region" placeholder="请选择">
+              <el-option label="是" value="shanghai"></el-option>
+              <el-option label="否" value="beijing"></el-option>
+            </el-select>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="93px"
+            label="供地面积:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="20">
+              <el-input
+                placeholder="请输入供地面积"
+                v-model="form.gdmj"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">亩</div>
+          </el-form-item>
+        </el-col>
+        <el-col :span="9">
+          <el-form-item
+            label-width="93px"
+            label="供地位置:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input
+              placeholder="请输入供地位置"
+              v-model="form.gdmj"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="4">
+          <el-form-item
+            label-width="82px"
+            label="土地证:"
+            class="elItem"
+            prop="landPhoto"
+          >
+            <el-upload
+              class="upload-demo"
+              :limit="1"
+              :on-success="upl_fn"
+              :action="defaultSettings.urls + '/common/upload'"
+            >
+              <el-button size="small" type="primary">点击上传</el-button>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="流转土地面积:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
+            </el-col>
+            <div class="dw_name">亩</div>
+          </el-form-item>
+        </el-col>
+        <el-col :span="10">
+          <el-form-item
+            label-width="111px"
+            label="流转土地位置:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input
+              placeholder="请输入流转土地位置"
+              v-model="form.gdmj"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="4">
+          <el-form-item
+            label-width="119px"
+            label="土地流转合同:"
+            class="elItem"
+            prop="circulationDoc"
+          >
+            <el-upload
+              class="upload-demo"
+              :limit="1"
+              :on-success="upl_fn_lzht"
+              :action="defaultSettings.urls + '/common/upload'"
+            >
+              <el-button size="small" type="primary">点击上传</el-button>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+        <el-col :span="4">
+          <el-form-item
+            label-width="94px"
+            label="产权证:"
+            class="elItem"
+            prop="circulationPhoto"
+          >
+            <el-upload
+              class="upload-demo"
+              :limit="1"
+              :on-success="upl_fn_cqz"
+              :action="defaultSettings.urls + '/common/upload'"
+            >
+              <el-button size="small" type="primary">点击上传</el-button>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="7">
+          <el-form-item
+            label-width="121px"
+            label="租赁厂房面积:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="16">
+              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
+            </el-col>
+            <div class="dw_name">平方米</div>
+          </el-form-item>
+        </el-col>
+        <el-col :span="10">
+          <el-form-item
+            label-width="111px"
+            label="租赁厂房位置:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input
+              placeholder="请输入租赁厂房位置"
+              v-model="form.gdmj"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="3">
+          <el-form-item
+            label-width="94px"
+            label="租赁合同:"
+            class="elItem"
+            prop="leasePlantDoc"
+          >
+            <el-upload
+              class="upload-demo"
+              :limit="1"
+              :on-success="upl_fn_zlht"
+              :action="defaultSettings.urls + '/common/upload'"
+            >
+              <el-button size="small" type="primary">点击上传</el-button>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+        <el-col :span="4">
+          <el-form-item
+            label-width="94px"
+            label="产权证:"
+            class="elItem"
+            prop="leasePlantPhoto"
+          >
+            <el-upload
+              class="upload-demo"
+              :limit="1"
+              :on-success="upl_fn_zlcqz"
+              :action="defaultSettings.urls + '/common/upload'"
+            >
+              <el-button size="small" type="primary">点击上传</el-button>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="8">
+          <el-form-item
+            label-width="121px"
+            label="合同约定产值:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+        </el-col>
+        <el-col :span="8">
+          <el-form-item
+            label-width="121px"
+            label="合同约定税收:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-input placeholder="请输入" v-model="form.gdmj"></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row style="margin-left: -10px">
+        <el-col :span="8">
+          <el-form-item
+            label-width="131px"
+            label="合同约定开工时间:"
+            class="elItem"
+            prop="je"
+          >
+            <el-col :span="18">
+              <el-date-picker
+                value-format="yyyy-MM-dd"
+                type="date"
+                placeholder="请选择开工时间"
+                v-model="form.agreementStartdate"
+                style="width: 100%"
+              ></el-date-picker>
+            </el-col>
+          </el-form-item>
+        </el-col>
+        <el-col :span="8">
+          <el-form-item
+            label-width="141px"
+            label="合同约定竣工时间:"
+            class="elItem"
+            prop="agreementEnddate"
+          >
+            <el-col :span="18">
+              <el-date-picker
+                value-format="yyyy-MM-dd"
+                type="date"
+                placeholder="请选择竣工时间"
+                v-model="form.agreementEnddate"
+                style="width: 100%"
+              ></el-date-picker>
+            </el-col>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-form-item
+          label-width="121px"
+          label="合同签约方:"
+          class="elItem"
+          prop="je"
+        >
+        </el-form-item>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="对方:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input placeholder="请输入对方" v-model="form.gdmj"></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="签约人:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input placeholder="请输入签约人" v-model="form.gdmj"></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="我方:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input placeholder="请输入我方" v-model="form.gdmj"></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="签约人:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input placeholder="请输入签约人" v-model="form.gdmj"></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="第三方:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input placeholder="请输入第三方" v-model="form.gdmj"></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="签约人:"
+            class="elItem"
+            prop="je"
+          >
+            <el-input placeholder="请输入签约人" v-model="form.gdmj"></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="18">
+          <el-form-item
+            label-width="121px"
+            label="合同文本:"
+            class="elItem"
+            prop="agreementUrl"
+          >
+            <el-upload
+              class="upload-demo"
+              ref="upload"
+              :action="defaultSettings.urls + '/common/upload'"
+              :on-preview="handlePreview"
+              :on-success="up_loat_htwb"
+              :on-remove="handleRemove"
+              :auto-upload="false"
+            >
+              <el-button slot="trigger" size="small" type="primary"
+                >选择图片</el-button
+              >
+              <el-button
+                style="margin-left: 10px"
+                size="small"
+                type="success"
+                @click="submitUpload"
+                >开始上传</el-button
+              >
+              <div slot="tip" class="el-upload__tip">
+                只能上传jpg/png文件,且不超过500kb
+              </div>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <div class="sign_tit">企业注册信息</div>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="141px"
+            label="在潜注册公司名称:"
+            class="elItem"
+            prop="name"
+          >
+            <el-input
+              placeholder="请输入在潜注册公司名称"
+              v-model="form.name"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="109px"
+            label="法定代表人:"
+            class="elItem"
+            prop="legalRep"
+          >
+            <el-input
+              placeholder="请输入法定代表人"
+              v-model="form.legalRep"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="141px"
+            label="注册资本金:"
+            class="elItem"
+            prop="totMoney"
+          >
+            <el-input
+              placeholder="请输入注册资本金"
+              v-model="form.totMoney"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="8">
+          <el-form-item
+            label-width="109px"
+            label="注册地址:"
+            class="elItem"
+            prop="address"
+          >
+            <el-input
+              placeholder="请输入注册地址"
+              v-model="form.address"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="141px"
+            label="统一社会信用代码:"
+            class="elItem"
+            prop="code"
+          >
+            <el-input
+              placeholder="请输入注册资本金"
+              v-model="form.code"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="8">
+          <el-form-item
+            label-width="173px"
+            label="营业执照复印件:"
+            class="elItem"
+            prop="bussinessUrl"
+          >
+            <el-upload
+              class="upload-demo"
+              :limit="1"
+              :on-success="upl_fn_zzfyj"
+              :action="defaultSettings.urls + '/common/upload'"
+            >
+              <el-button size="small" type="primary">点击上传</el-button>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <div class="sign_tit">企业股东构成<span>*</span></div>
+      <el-row>
+        <div class="ads_box" @click="addshareBtn">
+          <img
+            src="../../assets/images/icon_add@2x.png"
+            alt=""
+            class="add_icon"
+          />
+          <span>添加企业股东构成</span>
+        </div>
+      </el-row>
+      <el-row>
+        <el-table v-loading="loading" class="elItem" :data="configList">
+          <!-- <el-table-column type="selection" width="55" align="center" /> -->
+          <el-table-column label="姓名" align="center" prop="name" />
+          <el-table-column
+            label="股权比例"
+            align="center"
+            prop="equityRatio"
+            :show-overflow-tooltip="true"
+          >
+            <template slot-scope="scope">
+              <span>{{ scope.row.equityRatio }}%</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="身份证号码"
+            align="center"
+            prop="idcard"
+            :show-overflow-tooltip="true"
+          />
+          <el-table-column
+            label="身份证(正面)"
+            align="center"
+            prop="idcardFront"
+          >
+            <template slot-scope="scope">
+              <img :src="scope.row.idcardFront" alt="" class="imgs" />
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="身份证(反面)"
+            align="center"
+            prop="idcardBack"
+          >
+            <template slot-scope="scope">
+              <img :src="scope.row.idcardBack" alt="" class="imgs" />
+            </template>
+          </el-table-column>
+          <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
+          <el-table-column label="操作" align="center">
+            <!-- class-name="small-padding fixed-width" -->
+            <template slot-scope="scope">
+              <el-button
+                size="mini"
+                type="warning"
+                @click="handleUpdate(scope.row)"
+                v-hasPermi="['system:config:edit']"
+                >修改</el-button
+              >
+              <el-button
+                size="mini"
+                type="danger"
+                @click="handleDelete(scope.row.id)"
+                v-hasPermi="['system:config:remove']"
+                >删除</el-button
+              >
+            </template>
+          </el-table-column>
+        </el-table>
+        <pagination
+          v-show="total > 0"
+          :total="total"
+          :page.sync="queryParams.pageNum"
+          :limit.sync="queryParams.pageSize"
+          @pagination="getShareholderList"
+        />
+      </el-row>
+      <div class="sign_tit">企业备案信息</div>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="备案单位:"
+            class="elItem"
+            prop="recordName"
+          >
+            <el-input
+              placeholder="请输入备案单位"
+              v-model="form.recordName"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="109px"
+            label="备案文号:"
+            class="elItem"
+            prop="recordCode"
+          >
+            <el-input
+              placeholder="请输入备案文号"
+              v-model="form.recordCode"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="6">
+          <el-form-item
+            label-width="121px"
+            label="备案总投资额:"
+            class="elItem"
+            prop="recordTot"
+          >
+            <el-col :span="18">
+              <el-input
+                placeholder="请输入备案总投资额"
+                v-model="form.recordTot"
+              ></el-input>
+            </el-col>
+            <div class="dw_name">万元</div>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="139px"
+            label="备案建设周期:"
+            class="elItem"
+            prop="recordTime"
+          >
+            <el-input
+              placeholder="请输入备案建设周期"
+              v-model="form.recordTime"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="18">
+          <el-form-item
+            label-width="121px"
+            label="备案表:"
+            class="elItem"
+            prop="recordUrl"
+          >
+            <el-upload
+              class="upload-demo"
+              ref="bAupload"
+              :action="defaultSettings.urls + '/common/upload'"
+              :on-preview="handlePreview"
+              :on-success="up_loat_bab"
+              :on-remove="handleRemove_bab"
+              :auto-upload="false"
+            >
+              <el-button slot="trigger" size="small" type="primary"
+                >选择图片</el-button
+              >
+              <el-button
+                style="margin-left: 10px"
+                size="small"
+                type="success"
+                @click="submitUpload_bab"
+                >开始上传</el-button
+              >
+              <div slot="tip" class="el-upload__tip">
+                只能上传jpg/png文件,且不超过500kb
+              </div>
+            </el-upload>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <div class="sign_tit">企业包保服务</div>
+      <el-row>
+        <el-col :span="8">
+          <el-form-item
+            label-width="122px"
+            label="联系领导:"
+            class="elItem"
+            prop="contactLeader"
+          >
+            <el-input
+              placeholder="请输入联系领导"
+              v-model="form.contactLeader"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="98px"
+            label="联系方式:"
+            class="elItem"
+            prop="contactPhone"
+          >
+            <el-input
+              placeholder="请输入联系方式"
+              v-model="form.contactPhone"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+      <el-row>
+        <el-col :span="8">
+          <el-form-item
+            label-width="122px"
+            label="责任单位:"
+            class="elItem"
+            prop="contactCompany"
+          >
+            <el-input
+              placeholder="请输入责任单位"
+              v-model="form.contactCompany"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="98px"
+            label="责任人:"
+            class="elItem"
+            prop="contactPerson"
+          >
+            <el-input
+              placeholder="请输入责任人"
+              v-model="form.contactPerson"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+          <el-form-item
+            label-width="98px"
+            label="联系方式:"
+            class="elItem"
+            prop="contactPersonPhone"
+          >
+            <el-input
+              placeholder="请输入联系方式"
+              v-model="form.contactPersonPhone"
+            ></el-input>
+          </el-form-item>
+        </el-col>
+      </el-row>
+    </el-form>
+    <!-- 添加或修改岗位对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
+      <el-form
+        ref="forms"
+        :model="sharData"
+        :rules="sharRules"
+        label-width="120px"
+      >
+        <el-form-item label="姓名" prop="name">
+          <el-input v-model="sharData.name" placeholder="请输入姓名" />
+        </el-form-item>
+        <el-form-item label="股权比例" prop="equityRatio">
+          <el-input-number
+            style="width: 140px"
+            v-model="sharData.equityRatio"
+          /><span style="margin: 0 10px; font-size: 16px">%</span>
+        </el-form-item>
+        <el-form-item label="身份证号码" prop="idcard">
+          <el-input v-model="sharData.idcard" placeholder="请输入身份证号码" />
+        </el-form-item>
+        <el-form-item label="身份证(正面)" prop="idcardFront">
+          <el-upload
+            class="upload-demo"
+            :file-list="idcardFrontFlie"
+            :on-remove="upl_remove_sfzzm"
+            :on-success="upl_fn_sfzzm"
+            :action="defaultSettings.urls + '/common/upload'"
+          >
+            <el-button size="small" type="primary">点击上传</el-button>
+          </el-upload>
+        </el-form-item>
+        <el-form-item label="身份证(反面)" prop="idcardBack">
+          <el-upload
+            class="upload-demo"
+            :file-list="idcardBackFlie"
+            :on-remove="upl_remove_sfzfm"
+            :on-success="upl_fn_sfzfm"
+            :action="defaultSettings.urls + '/common/upload'"
+          >
+            <el-button size="small" type="primary">点击上传</el-button>
+          </el-upload>
+        </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForms">确 定</el-button>
+        <el-button @click="open = false">取 消</el-button>
+      </div>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+import {
+  getOrderinfo,
+  getShareholderList,
+  getShareholder,
+  delShareholder,
+  addShareholder,
+  setShareholder,
+  setOrderinfo,
+  addOrderinfo,
+} from "@/api/system/signContract";
+import{
+  setExamine,
+  setReject
+} from "@/api/projectInfo/info.js";
+const defaultSettings = require("@/settings.js");
+export default {
+  data() {
+    return {
+      defaultSettings,
+      title: "",
+      // 是否显示弹出层
+      open: false,
+      configList: [],
+      setrd: 0,
+      sharRules: {
+        name: [
+          {
+            required: true,
+            message: "请输入姓名",
+            trigger: "blur",
+          },
+        ],
+        equityRatio: [
+          {
+            required: true,
+            message: "请输入股权比例",
+            trigger: "blur",
+          },
+        ],
+        idcard: [
+          {
+            required: true,
+            message: "请输入身份证号",
+            trigger: "blur",
+          },
+        ],
+        idcardFront: [
+          {
+            required: true,
+            message: "请上传身份证正面",
+            trigger: "blur",
+          },
+        ],
+        idcardBack: [
+          {
+            required: true,
+            message: "请上传身份证反面",
+            trigger: "blur",
+          },
+        ],
+      },
+      sharData: {
+        bmProjectId: this.$route.query.setid,
+        name: "",
+        equityRatio: 0,
+        idcard: "",
+        idcardFront: "",
+        idcardBack: "",
+      },
+      queryParams: {
+        pageNum: 1,
+        pageSize: 10,
+        bmProjectId: "",
       },
-      goBtn() {
-        this.$router.go(-1)
-      },
-      addshareBtn() {
-        this.reset();
-        this.title = "添加企业股东";
-        this.open = true
-      },
-      // 表单重置
-      reset() {
-        this.sharData = {
-          bmProjectId: this.$route.query.setid,
-          name: '',
-          equityRatio: 0,
-          idcard: '',
-          idcardFront: '',
-          idcardBack: '',
-        };
-        this.idcardFrontFlie = []
-        this.idcardBackFlie = []
-        this.resetForm("forms");
-      },
-      upl_fn(res, file) {
-        this.form.landPhoto = res.url
-      },
-      upl_fn_lzht(res, file) {
-        this.form.circulationDoc = res.url
-      },
-      upl_fn_cqz(res, file) {
-        this.form.circulationPhoto = res.url
-      },
-      upl_fn_zlht(res, file) {
-        this.form.leasePlantDoc = res.url
-      },
-      upl_fn_zlcqz(res, file) {
-        this.form.leasePlantPhoto = res.url
-      },
-      up_loat_htwb(res, file) {
-        this.form.agreementUrl.push(res.url)
-      },
-      up_loat_bab(res, file) {
-        this.form.recordUrl.push(res.url)
-      },
-      upl_fn_zzfyj(res, file) {
-        this.form.bussinessUrl = res.url
-      },
-      upl_fn_sfzzm(res, file) {
-        this.idcardFrontFlie = []
-        this.idcardFrontFlie = [{
-          name: res.url,
-          url: res.url,
-        }]
-        this.sharData.idcardFront = res.url
-      },
-      upl_remove_sfzzm() {
-        this.idcardFrontFlie = []
-        this.sharData.idcardFront = ''
-      },
-      upl_remove_sfzfm() {
-        this.idcardBackFlie = []
-        this.sharData.idcardBack = ''
-      },
-      upl_fn_sfzfm(res, file) {
-        this.idcardBackFlie = []
-        this.idcardBackFlie = [{
-          name: res.url,
-          url: res.url,
-        }]
-        this.sharData.idcardBack = res.url
-      },
-      getShareholderList() {
-        getShareholderList(this.queryParams).then(res => {
-          this.shareholderList = res.rows;
-          this.total = res.total;
-          this.loading = false;
-        })
-      },
-      submitForms() {
-        this.$refs["forms"].validate(valid => {
-          if (valid) {
-            if (this.sharData.id) {
-              setShareholder(this.sharData).then(res => {
-                this.open = false
-                this.msgSuccess("修改成功");
-                this.getShareholderList()
-              })
-            } else {
-              addShareholder(this.sharData).then(res => {
-                this.open = false
-                this.msgSuccess("新增成功");
-                this.getShareholderList()
-              })
-            }
-          }
-        })
-      },
-      submitForm() {
-        this.$refs["form"].validate(valid => {
-          if (valid) {
-            if (this.total == 0) {
-              this.msgError('企业股东不能为空,请上传企业股东')
-              return
-            }
-            let data = JSON.parse(JSON.stringify(this.form))
-            data.agreementUrl = data.agreementUrl.join(',')
-            data.recordUrl = data.recordUrl.join(',')
-            if (this.form.id) {
-              // 修改
-              setOrderinfo(JSON.stringify(data)).then(res => {
-                this.msgSuccess('修改成功')
-                this.$router.push({
-                  path: '/management/info/index',
-                });
+      total: 0,
+      shareholderList: [],
+      // showSearch: true,
+      loading: true,
+      rules: {
+        orderDate: [
+          {
+            required: true,
+            message: "请选择签约日期",
+            trigger: "blur",
+          },
+        ],
+        investmentType: [
+          {
+            required: true,
+            message: "请选择投资方式",
+            trigger: "blur",
+          },
+        ],
+        totInvestment: [
+          {
+            required: true,
+            message: "请输入总投资额度",
+            trigger: "blur",
+          },
+        ],
+        overseasInvestment: [
+          {
+            required: true,
+            message: "请输入境外投资",
+            trigger: "blur",
+          },
+        ],
+        isIndependentLan: [
+          {
+            required: true,
+            message: "请选择是否独立供地",
+            trigger: "blur",
+          },
+        ],
+        agreementTot: [
+          {
+            required: true,
+            message: "请输入合同约定产值",
+            trigger: "blur",
+          },
+        ],
+        agreementTax: [
+          {
+            required: true,
+            message: "请输入合同约定税收",
+            trigger: "blur",
+          },
+        ],
+        agreementStartdate: [
+          {
+            required: true,
+            message: "请选择合同约定开工时间",
+            trigger: "blur",
+          },
+        ],
+        agreementEnddate: [
+          {
+            required: true,
+            message: "请选择合同约定竣工时间",
+            trigger: "blur",
+          },
+        ],
+        agreementPartner: [
+          {
+            required: true,
+            message: "请输入合同签约对方",
+            trigger: "blur",
+          },
+        ],
+        partner: [
+          {
+            required: true,
+            message: "请输入对方合同签约人",
+            trigger: "blur",
+          },
+        ],
+        agreementUs: [
+          {
+            required: true,
+            message: "请输入合同签约我方",
+            trigger: "blur",
+          },
+        ],
+        signUs: [
+          {
+            required: true,
+            message: "请输入我方合同签约人",
+            trigger: "blur",
+          },
+        ],
+        agreementUrl: [
+          {
+            required: true,
+            message: "请上传合同文本",
+            trigger: "blur",
+          },
+        ],
+        name: [
+          {
+            required: true,
+            message: "请输入在潜注册公司名称",
+            trigger: "blur",
+          },
+        ],
+        legalRep: [
+          {
+            required: true,
+            message: "请输入法定代表人",
+            trigger: "blur",
+          },
+        ],
+        totMoney: [
+          {
+            required: true,
+            message: "请输入注册资本金",
+            trigger: "blur",
+          },
+        ],
+        address: [
+          {
+            required: true,
+            message: "请输入注册地址",
+            trigger: "blur",
+          },
+        ],
+        code: [
+          {
+            required: true,
+            message: "请输入统一社会信用代码",
+            trigger: "blur",
+          },
+        ],
+        bussinessUrl: [
+          {
+            required: true,
+            message: "请上传营业执照",
+            trigger: "blur",
+          },
+        ],
+        recordName: [
+          {
+            required: true,
+            message: "请输入备案单位",
+            trigger: "blur",
+          },
+        ],
+        recordCode: [
+          {
+            required: true,
+            message: "请输入备案文号",
+            trigger: "blur",
+          },
+        ],
+        recordTot: [
+          {
+            required: true,
+            message: "请输入备案总投资额",
+            trigger: "blur",
+          },
+        ],
+        recordTime: [
+          {
+            required: true,
+            message: "请输入备案建设周期",
+            trigger: "blur",
+          },
+        ],
+        recordUrl: [
+          {
+            required: true,
+            message: "请上传备案表信息",
+            trigger: "blur",
+          },
+        ],
+        contactLeader: [
+          {
+            required: true,
+            message: "请输入联系领导",
+            trigger: "blur",
+          },
+        ],
+        contactPhone: [
+          {
+            required: true,
+            message: "请输入联系方式",
+            trigger: "blur",
+          },
+        ],
+        contactCompany: [
+          {
+            required: true,
+            message: "请输入责任单位",
+            trigger: "blur",
+          },
+        ],
+        contactPerson: [
+          {
+            required: true,
+            message: "请输入责任人",
+            trigger: "blur",
+          },
+        ],
+        contactPersonPhone: [
+          {
+            required: true,
+            message: "请输入责任人联系方式",
+            trigger: "blur",
+          },
+        ],
+      },
+      form: {
+        bmProjectId: this.$route.query.setid,
+        id: -1,
+        orderDate: "", //签约日期
+        investmentType: "", //投资方式
+        isOutInvestment: "", // 是否外资(N:Y)
+        totInvestment: "", //总投资额度
+        fixedAssets: "", //固定资产投资额度
+        overseasInvestment: "", //境外投资
+        jnswInvestm: "", //境内省外投资
+        snswInvestm: "", //省内市外投资
+        snxwInvestm: "", //市内县外投资
+        xnInvestm: "", //县内投资
+        isIndependentLan: "", //是否独立供地(N:Y)
+        landArea: "", //供地面积
+        landAddress: "", //供地位置
+        landPhoto: "", //土地证ur
+        circulationLand: "", //流转土地面积
+        circulationAddres: "", //流转土地位置
+        circulationDoc: "", //土地流转合同
+        circulationPhoto: "", //产权证
+        leasePlantArea: "", //租赁厂房面积
+        leasePlantAddress: "", //租赁厂房位置
+        leasePlantDoc: "", //租赁合同
+        leasePlantPhoto: "", //租赁产权证
+        agreementTot: "", //租赁产权证
+        agreementTax: "", // 合同约定税收
+        agreementStartdate: "", // 合同约定开工时间
+        agreementEnddate: "", //合同约定竣工时间
+        agreementPartner: "", //合同签约对方
+        partner: "", //对方合同签约人
+        agreementUs: "", //合同签约我方
+        signUs: "", //我方合同签约人
+        agreementThird: "", //第三方
+        third: "", //第三方签约人
+        agreementUrl: [], //合同url
+        name: "", //在潜注册公司名称
+        legalRep: "", //法定代表人
+        totMoney: "", //注册资本金
+        address: "", //注册地址
+        code: "", //统一社会信用代码
+        bussinessUrl: "", //营业执照图片url
+        recordName: "", //备案单位
+        recordCode: "", //备案文号
+        recordTot: "", //备案总投资额
+        recordTime: "", //备案建设周期
+        recordUrl: [], //备案表url
+        contactLeader: "", //企业包服务-联系领导
+        contactPhone: "", //联系方式
+        contactCompany: "", //责任单位
+        contactPerson: "", //责任人
+        contactPersonPhone: "", //责任人联系方式
+      },
+      idcardFrontFlie: [],
+      idcardBackFlie: [],
+      fileList: [],
+    };
+  },
+  mounted() {
+    console.log(defaultSettings.urls);
+    this.queryParams.bmProjectId = this.$route.query.setid;
+    this.setrd = that.$route.query.setrd;
+    this.getOrderinfo();
+    this.getShareholderList();
+  },
+  methods: {
+    //审核
+    applyBtn() {
+      var that=this
+      this.$confirm("是否确认审核", "提醒", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
+          return setExamine({
+            code: 3,
+            bmProjectId: that.queryParams.bmProjectId,
+          });
+        })
+        .then(() => {
+          this.getList();
+          this.msgSuccess("审核成功");
+        });
+    },
+    //驳回
+    backBtn() {
+      var that=this
+      this.$confirm("是否确认驳回", "提醒", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
+          return setReject({
+            code: 2,
+            bmProjectId: that.queryParams.bmProjectId,
+          });
+        })
+        .then(() => {
+          this.getList();
+          this.msgSuccess("驳回成功");
+        });
+    },
+    upBtn() {
+      getExamine({
+        code: 1,
+        bmProjectId: this.$route.query.setid,
+      }).then((res) => {
+        this.msgSuccess("提交成功");
+      });
+    },
+    goBtn() {
+      this.$router.go(-1);
+    },
+    addshareBtn() {
+      this.reset();
+      this.title = "添加企业股东";
+      this.open = true;
+    },
+    // 表单重置
+    reset() {
+      this.sharData = {
+        bmProjectId: this.$route.query.setid,
+        name: "",
+        equityRatio: 0,
+        idcard: "",
+        idcardFront: "",
+        idcardBack: "",
+      };
+      this.idcardFrontFlie = [];
+      this.idcardBackFlie = [];
+      this.resetForm("forms");
+    },
+    upl_fn(res, file) {
+      this.form.landPhoto = res.url;
+    },
+    upl_fn_lzht(res, file) {
+      this.form.circulationDoc = res.url;
+    },
+    upl_fn_cqz(res, file) {
+      this.form.circulationPhoto = res.url;
+    },
+    upl_fn_zlht(res, file) {
+      this.form.leasePlantDoc = res.url;
+    },
+    upl_fn_zlcqz(res, file) {
+      this.form.leasePlantPhoto = res.url;
+    },
+    up_loat_htwb(res, file) {
+      this.form.agreementUrl.push(res.url);
+    },
+    up_loat_bab(res, file) {
+      this.form.recordUrl.push(res.url);
+    },
+    upl_fn_zzfyj(res, file) {
+      this.form.bussinessUrl = res.url;
+    },
+    upl_fn_sfzzm(res, file) {
+      this.idcardFrontFlie = [];
+      this.idcardFrontFlie = [
+        {
+          name: res.url,
+          url: res.url,
+        },
+      ];
+      this.sharData.idcardFront = res.url;
+    },
+    upl_remove_sfzzm() {
+      this.idcardFrontFlie = [];
+      this.sharData.idcardFront = "";
+    },
+    upl_remove_sfzfm() {
+      this.idcardBackFlie = [];
+      this.sharData.idcardBack = "";
+    },
+    upl_fn_sfzfm(res, file) {
+      this.idcardBackFlie = [];
+      this.idcardBackFlie = [
+        {
+          name: res.url,
+          url: res.url,
+        },
+      ];
+      this.sharData.idcardBack = res.url;
+    },
+    getShareholderList() {
+      getShareholderList(this.queryParams).then((res) => {
+        this.shareholderList = res.rows;
+        this.total = res.total;
+        this.loading = false;
+      });
+    },
+    submitForms() {
+      this.$refs["forms"].validate((valid) => {
+        if (valid) {
+          if (this.sharData.id) {
+            setShareholder(this.sharData).then((res) => {
+              this.open = false;
+              this.msgSuccess("修改成功");
+              this.getShareholderList();
+            });
+          } else {
+            addShareholder(this.sharData).then((res) => {
+              this.open = false;
+              this.msgSuccess("新增成功");
+              this.getShareholderList();
+            });
+          }
+        }
+      });
+    },
+    submitForm() {
+      this.$refs["form"].validate((valid) => {
+        if (valid) {
+          if (this.total == 0) {
+            this.msgError("企业股东不能为空,请上传企业股东");
+            return;
+          }
+          let data = JSON.parse(JSON.stringify(this.form));
+          data.agreementUrl = data.agreementUrl.join(",");
+          data.recordUrl = data.recordUrl.join(",");
+          if (this.form.id) {
+            // 修改
+            setOrderinfo(JSON.stringify(data)).then((res) => {
+              this.msgSuccess("修改成功");
+              this.$router.push({
+                path: "/management/info/index",
+              });
+            });
+          } else {
+            // 新增
+            addOrderinfo(JSON.stringify(data)).then((res) => {
+              this.msgSuccess("缓存成功");
+              this.$router.push({
+                path: "/management/info/index",
+              });
+            });
+          }
+        }
+      });
+    },
+    getOrderinfo() {
+      getOrderinfo(this.queryParams.bmProjectId).then((res) => {
+        console.log(res);
+        if (res.data) {
+          this.form = res.data;
+        }
+      });
+    },
+    submitUpload_bab() {
+      this.$refs.bAupload.submit();
+    },
+    submitUpload() {
+      this.$refs.upload.submit();
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids;
+      getShareholder(id).then((response) => {
+        this.sharData = response.data;
+        this.idcardFrontFlie = [
+          {
+            name: response.data.idcardBack,
+            url: response.data.idcardBack,
+          },
+        ];
+        this.idcardBackFlie = [
+          {
+            name: response.data.idcardFront,
+            url: response.data.idcardFront,
+          },
+        ];
+        this.open = true;
+        this.title = "修改股东信息";
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(id) {
+      this.$confirm("是否确认删除该股东", "警告", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
+          return delShareholder(id);
+        })
+        .then(() => {
+          this.getShareholderList();
+          this.msgSuccess("删除成功");
+        });
+    },
+    handleRemove(file, fileList) {
+      for (let i = this.form.agreementUrl.length - 1; i >= 0; i--) {
+        if (this.form.agreementUrl[i] == file.response.url) {
+          this.form.agreementUrl.splice(i, 1);
+        }
+      }
+    },
+    handleRemove_bab(file, fileList) {
+      for (let i = this.form.recordUrl.length - 1; i >= 0; i--) {
+        if (this.form.recordUrl[i] == file.response.url) {
+          this.form.recordUrl.splice(i, 1);
+        }
+      }
+    },
+    handlePreview(file) {
+      console.log(file, 22);
+    },
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.imgs {
+  width: 100px;
+  height: 100px;
+  object-fit: cover;
+}
+
+.roiyy {
+  position: fixed;
+  top: 180px;
+  left: 0;
+  width: 100%;
+  padding-left: 230px;
+  padding-right: 30px;
+  box-sizing: border-box;
+  z-index: 100;
+}
+
+.ads_box {
+  margin: 18px 0;
+  font-size: 14px;
+  color: #666;
+  width: 140px;
+  display: flex;
+  align-items: center;
+  cursor: pointer;
+
+  .add_icon {
+    margin-right: 6px;
+    width: 15px;
+    height: 15px;
+  }
+}
+.sign_box {
+  padding: 26px 23px;
+
+  .sign_tit {
+    font-size: 14px;
+    border-left: 3px solid #1c84c6;
+    padding: 5px 0 5px 13px;
+    color: #343434;
+    line-height: 1;
+    margin: 8px 0;
+    font-weight: bold;
+
+    span {
+      color: #df0024;
+      margin-left: 10px;
+    }
+  }
+
+  .elItem {
+    margin: 15px 0;
+  }
+}
 
-              })
-            } else {
-              // 新增
-              addOrderinfo(JSON.stringify(data)).then(res => {
-                this.msgSuccess('缓存成功')
-                this.$router.push({
-                  path: '/management/info/index',
-                });
-              })
-            }
-          }
-        })
-      },
-      getOrderinfo() {
-        getOrderinfo(this.queryParams.bmProjectId).then(res => {
-          console.log(res)
-          this.form = res.data
-        })
-      },
-      submitUpload_bab() {
-        this.$refs.bAupload.submit();
-      },
-      submitUpload() {
-        this.$refs.upload.submit();
-      },
-      /** 修改按钮操作 */
-      handleUpdate(row) {
-        this.reset();
-        const id = row.id || this.ids
-        getShareholder(id).then(response => {
-          this.sharData = response.data;
-          this.idcardFrontFlie = [{
-            name: response.data.idcardBack,
-            url: response.data.idcardBack
-          }]
-          this.idcardBackFlie = [{
-            name: response.data.idcardFront,
-            url: response.data.idcardFront
-          }]
-          this.open = true;
-          this.title = "修改股东信息";
-        });
-      },
-      /** 删除按钮操作 */
-      handleDelete(id) {
-        this.$confirm('是否确认删除该股东', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delShareholder(id);
-        }).then(() => {
-          this.getShareholderList();
-          this.msgSuccess("删除成功");
-        })
-      },
-      handleRemove(file, fileList) {
-        for (let i = this.form.agreementUrl.length - 1; i >= 0; i--) {
-          if (this.form.agreementUrl[i] == file.response.url) {
-            this.form.agreementUrl.splice(i, 1);
-          }
-        }
-      },
-      handleRemove_bab(file, fileList) {
-        for (let i = this.form.recordUrl.length - 1; i >= 0; i--) {
-          if (this.form.recordUrl[i] == file.response.url) {
-            this.form.recordUrl.splice(i, 1);
-          }
-        }
-      },
-      handlePreview(file) {
-        console.log(file, 22);
-      }
-    }
-  }
-</script>
-
-<style lang="scss" scoped>
-  .imgs {
-    width: 100px;
-    height: 100px;
-    object-fit: cover;
-  }
-
-  .roiyy {
-    position: fixed;
-    top: 180px;
-    left: 0;
-    width: 100%;
-    padding-left: 230px;
-    padding-right: 30px;
-    box-sizing: border-box;
-    z-index: 100;
-  }
-
-  .ads_box {
-    margin: 18px 0;
-    font-size: 14px;
-    color: #666;
-    width: 140px;
-    display: flex;
-    align-items: center;
-    cursor: pointer;
-
-    .add_icon {
-      margin-right: 6px;
-      width: 15px;
-      height: 15px;
-    }
-  }
-  .sign_box {
-    padding: 26px 23px;
-
-    .sign_tit {
-      font-size: 14px;
-      border-left: 3px solid #1C84C6;
-      padding: 5px 0 5px 13px;
-      color: #343434;
-      line-height: 1;
-      margin: 8px 0;
-      font-weight: bold;
-
-      span {
-        color: #DF0024;
-        margin-left: 10px;
-      }
-    }
-
-    .elItem {
-      margin: 15px 0;
-    }
-  }
-
-  .qz_name {
-    font-size: 14px;
-    color: #606266;
-    display: inline-block;
-    margin: 15px 0 15px;
-    font-weight: bold;
-    text-align: right;
-    line-height: 36px;
-    width: 100%;
-  }
+.qz_name {
+  font-size: 14px;
+  color: #606266;
+  display: inline-block;
+  margin: 15px 0 15px;
+  font-weight: bold;
+  text-align: right;
+  line-height: 36px;
+  width: 100%;
+}
 </style>

+ 501 - 501
ruoyi-ui/src/views/management/info/index.vue

@@ -1,501 +1,501 @@
-<template>
-  <div class="app-container">
-    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
-      <el-form-item label="填报单位" prop="deptName">
-        <el-input v-model="queryParams.deptName" placeholder="请输入填报单位" clearable size="small" @keyup.enter.native="handleQuery" />
-      </el-form-item>
-      <el-form-item label="项目名称" prop="name">
-        <el-input v-model="queryParams.name" placeholder="请输入项目名称" clearable size="small" @keyup.enter.native="handleQuery" />
-      </el-form-item>
-      <el-form-item label="填报日期" prop="addtime">
-        <el-date-picker value-format="yyyy-MM-dd" @change="tiemsChange" v-model="times" type="daterange"
-          range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
-        </el-date-picker>
-      </el-form-item>
-      <el-form-item label="状态" prop="projectStatus">
-        <el-select v-model="queryParams.projectStatus" placeholder="请选择状态" clearable size="small">
-          <el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
-        </el-select>
-      </el-form-item>
-
-      <el-form-item>
-        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
-        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
-      </el-form-item>
-    </el-form>
-
-    <el-row :gutter="10" class="mb8">
-      <el-col :span="1.5">
-        <el-button type="primary" plain style="background-color: #1C84C6;color: #fff;border: none;" size="mini" @click="handleAdd"
-          v-hasPermi="['projectInfo:info:add']">添加线索</el-button>
-      </el-col>
-      <!-- <el-col :span="1.5">
-        <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
-          v-hasPermi="['projectInfo:info:edit']">修改</el-button>
-      </el-col> -->
-      <el-col :span="1.5">
-        <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
-          v-hasPermi="['projectInfo:info:remove']">销号</el-button>
-      </el-col>
-      <!-- <el-col :span="1.5">
-        <el-button
-          type="warning"
-          plain
-          icon="el-icon-download"
-          size="mini"
-          @click="handleExport"
-          v-hasPermi="['projectInfo:info:export']"
-        >导出</el-button>
-      </el-col> -->
-      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
-    </el-row>
-    <el-table v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="项目名称" align="center" prop="name" />
-      <el-table-column label="总投资金额(万)" align="center" prop="totAmt" />
-      <el-table-column label="填报单位" align="center" prop="deptName" />
-      <el-table-column label="审核情况" align="center" prop="remark" />
-      <el-table-column label="状态" align="center" prop="dictLabel" />
-      <el-table-column label="填报日期" width="180" align="center" prop="createTime" />
-      <el-table-column label="操作" width="280" align="center" class-name="small-padding fixed-width">
-        <template slot-scope="scope">
-          <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;"  v-hasPermi="['projectInfo:info:edit']" @click="chei(scope.row)" >查看/审核</el-button>
-          <el-button size="mini" type="text" style="background: #3FBCEF;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-            @click="infoBtn(scope.row)">{{scope.row.projectStatus%2==1?'提交审核':'驳回'}}</el-button>
-          <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']">修改</el-button>
-          <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" @click="handleDelete(scope.row)"
-            v-hasPermi="['projectInfo:info:remove']">销号</el-button>
-        </template>
-      </el-table-column>
-    </el-table>
-
-    <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
-      @pagination="getList" />
-    <el-dialog title="添加线索" :visible.sync="flags" append-to-body>
-      <el-form ref="forms" :model="xs_form" :rules="xs_rules" label-width="100px">
-        <el-form-item label="名称:" prop="name">
-          <el-input v-model="xs_form.name" placeholder="请输入项目名称" />
-        </el-form-item>
-        <el-form-item label="产品类别:" prop="industryCategory">
-          <el-checkbox-group v-model="xs_form.industryCategory">
-            <el-checkbox label="首位产业" name="type"></el-checkbox>
-            <el-checkbox label="战略新兴" name="type"></el-checkbox>
-          </el-checkbox-group>
-        </el-form-item>
-        <el-form-item label="所属行业:" prop="industry">
-          <el-radio-group v-model="xs_form.industry">
-            <el-radio :label="item.dictValue" v-for="(item,index) in industryOptions" :key="index">
-              {{item.dictLabel}}
-            </el-radio>
-          </el-radio-group>
-        </el-form-item>
-        <el-form-item label="状态:" prop="isBackbussiness">
-          <el-select v-model="xs_form.isBackbussiness" placeholder="请选择状态" clearable size="small">
-            <el-option label="是" value="Y" />
-            <el-option label="否" value="N" />
-          </el-select>
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="xs_submit">确 定</el-button>
-        <el-button @click="flags=false">取 消</el-button>
-      </div>
-    </el-dialog>
-    <!-- 添加或修改项目-线索信息对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
-      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
-        <el-form-item label="项目id*" prop="bmProjectId">
-          <el-input v-model="form.bmProjectId" placeholder="请输入项目id*" />
-        </el-form-item>
-        <el-form-item label="项目名称*" prop="name">
-          <el-input v-model="form.name" placeholder="请输入项目名称*" />
-        </el-form-item>
-        <el-form-item label="是否删除(0未删除、1已删除)" prop="isDel">
-          <el-input v-model="form.isDel" placeholder="请输入是否删除(0未删除、1已删除)" />
-        </el-form-item>
-        <el-form-item label="投资方联系人*" prop="contactor">
-          <el-input v-model="form.contactor" placeholder="请输入投资方联系人*" />
-        </el-form-item>
-        <el-form-item label="投资方联系方式*" prop="phone">
-          <el-input v-model="form.phone" placeholder="请输入投资方联系方式*" />
-        </el-form-item>
-        <el-form-item label="预计投资额*" prop="needAmt">
-          <el-input v-model="form.needAmt" placeholder="请输入预计投资额*" />
-        </el-form-item>
-        <el-form-item label="固定资产投资*" prop="fixedAssets">
-          <el-input v-model="form.fixedAssets" placeholder="请输入固定资产投资*" />
-        </el-form-item>
-        <el-form-item label="产品名称*" prop="productName">
-          <el-input v-model="form.productName" placeholder="请输入产品名称*" />
-        </el-form-item>
-        <el-form-item label="设计产能*" prop="productQty">
-          <el-input v-model="form.productQty" placeholder="请输入设计产能*" />
-        </el-form-item>
-        <el-form-item label="预计产值*" prop="productPrice">
-          <el-input v-model="form.productPrice" placeholder="请输入预计产值*" />
-        </el-form-item>
-        <el-form-item label="预计税收*" prop="productTax">
-          <el-input v-model="form.productTax" placeholder="请输入预计税收*" />
-        </el-form-item>
-        <el-form-item label="预计用工*" prop="productEmp">
-          <el-input v-model="form.productEmp" placeholder="请输入预计用工*" />
-        </el-form-item>
-        <el-form-item label="项目计划用地" prop="plannedLand">
-          <el-input v-model="form.plannedLand" placeholder="请输入项目计划用地" />
-        </el-form-item>
-        <el-form-item label="独立供地" prop="independentLand">
-          <el-input v-model="form.independentLand" placeholder="请输入独立供地" />
-        </el-form-item>
-        <el-form-item label="流转土地" prop="circulationLan">
-          <el-input v-model="form.circulationLan" placeholder="请输入流转土地" />
-        </el-form-item>
-        <el-form-item label="计划租赁用房" prop="needRoom">
-          <el-input v-model="form.needRoom" placeholder="请输入计划租赁用房" />
-        </el-form-item>
-        <el-form-item label="计划租赁厂房" prop="needFactoryRoom">
-          <el-input v-model="form.needFactoryRoom" placeholder="请输入计划租赁厂房" />
-        </el-form-item>
-        <el-form-item label="计划租赁办公生活用房" prop="needBusRoom">
-          <el-input v-model="form.needBusRoom" placeholder="请输入计划租赁办公生活用房" />
-        </el-form-item>
-        <el-form-item label="其他需求" prop="other">
-          <el-input v-model="form.other" placeholder="请输入其他需求" />
-        </el-form-item>
-        <el-form-item label="拟落户地点*" prop="address">
-          <el-input v-model="form.address" placeholder="请输入拟落户地点*" />
-        </el-form-item>
-        <el-form-item label="是否签订框架协议* Y/N" prop="isFrameorder">
-          <el-input v-model="form.isFrameorder" placeholder="请输入是否签订框架协议* Y/N" />
-        </el-form-item>
-        <el-form-item label="框架协议附件url(框架协议为是,需要上传)" prop="attachment">
-          <el-input v-model="form.attachment" type="textarea" placeholder="请输入内容" />
-        </el-form-item>
-        <el-form-item label="备注" prop="description">
-          <el-input v-model="form.description" type="textarea" placeholder="请输入内容" />
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-  import {
-    setReject,
-    setExamine,
-    listInfo,
-    getInfo,
-    delInfo,
-    addInfo,
-    updateInfo,
-    listProject,
-    exportInfo
-  } from "@/api/projectInfo/info";
-  let vm = ''
-
-  export default {
-    name: "Info",
-    components: {},
-    data() {
-      vm = this
-      return {
-        xs_form: {
-          industryCategory: []
-        },
-        flags: false,
-        xs_rules: {
-          name: [{
-            required: true,
-            message: "名称不能为空",
-            trigger: "blur"
-          }],
-          industryCategory: [{
-            required: true,
-            message: "请选择产品类别",
-            trigger: "blur"
-          }],
-          industry: [{
-            required: true,
-            message: "请选择所属行业",
-            trigger: "blur"
-          }],
-          isBackbussiness: [{
-            required: true,
-            message: "状态不能为空",
-            trigger: "blur"
-          }],
-        },
-        times: '',
-        industryOptions: [],
-        statusOptions: [],
-        // 遮罩层
-        loading: true,
-        // 选中数组
-        ids: [],
-        // 非单个禁用
-        single: true,
-        // 非多个禁用
-        multiple: true,
-        // 显示搜索条件
-        showSearch: true,
-        // 总条数
-        total: 0,
-        // 项目-线索信息表格数据
-        infoList: [],
-        // 弹出层标题
-        title: "",
-        // 是否显示弹出层
-        open: false,
-        // 查询参数
-        queryParams: {
-          pageNum: 1,
-          pageSize: 10,
-          bmProjectId: null,
-          name: null,
-          isDel: null,
-          contactor: null,
-          phone: null,
-          needAmt: null,
-          fixedAssets: null,
-          productName: null,
-          productQty: null,
-          productPrice: null,
-          productTax: null,
-          productEmp: null,
-          plannedLand: null,
-          independentLand: null,
-          circulationLan: null,
-          needRoom: null,
-          needFactoryRoom: null,
-          needBusRoom: null,
-          other: null,
-          address: null,
-          isFrameorder: null,
-          attachment: null,
-          description: null
-        },
-        // 表单参数
-        form: {},
-        // 表单校验
-        rules: {}
-      };
-    },
-    created() {
-      this.getDicts('project_status').then(res => {
-        this.statusOptions = res.data
-      })
-      this.getDicts('project_industry').then(res => {
-        this.industryOptions = res.data
-      })
-      this.getList();
-    },
-    filters: {
-      dictStatus(e) {
-        let is = ''
-        for (let item of vm.statusOptions) {
-          if (e == item.dictValue) {
-            is = item.dictLabel
-          }
-        }
-        return is
-      }
-    },
-    methods: {
-      infoBtn(scrop) {
-        console.log()
-        if (scrop.projectStatus % 2 == 1) {
-          this.$confirm('是否确认提交审核', "提醒", {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
-            type: "warning"
-          }).then(function() {
-            return setExamine({
-              code: 1,
-              bmProjectId: scrop.id
-            });
-          }).then(() => {
-            this.getList();
-            this.msgSuccess("提交成功");
-          })
-        } else {
-          this.$confirm('是否确认驳回', "提醒", {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
-            type: "warning"
-          }).then(function() {
-            return setReject({
-              code: 2,
-              bmProjectId: scrop.id
-            });
-          }).then(() => {
-            this.getList();
-            this.msgSuccess("提交成功");
-          })
-        }
-      },
-      xs_submit() {
-        this.$refs["forms"].validate(valid => {
-          if (valid) {
-            let data = JSON.parse(JSON.stringify(this.xs_form))
-            data.industryCategory = data.industryCategory.join(',')
-            listProject(data).then(res => {
-              this.msgSuccess("添加成功");
-              this.flags = false;
-              this.getList();
-            })
-          }
-        });
-      },
-      tiemsChange(e) {
-        console.log(e, this.times)
-        if (this.times) {
-          this.queryParams.beginTime = this.times[0]
-          this.queryParams.endTime = this.times[1]
-        } else {
-          this.queryParams.beginTime = ''
-          this.queryParams.endTime = ''
-        }
-
-      },
-      /** 查询项目-线索信息列表 */
-      getList() {
-        this.loading = true;
-        listInfo(this.queryParams).then(response => {
-          this.infoList = response.rows;
-          this.total = response.total;
-          this.loading = false;
-        });
-      },
-      // 取消按钮
-      cancel() {
-        this.open = false;
-        this.reset();
-      },
-      // 表单重置
-      reset() {
-        this.form = {
-          id: null,
-          bmProjectId: null,
-          createBy: null,
-          createTime: null,
-          updateBy: null,
-          updateTime: null,
-          name: null,
-          isDel: null,
-          contactor: null,
-          phone: null,
-          needAmt: null,
-          fixedAssets: null,
-          productName: null,
-          productQty: null,
-          productPrice: null,
-          productTax: null,
-          productEmp: null,
-          plannedLand: null,
-          independentLand: null,
-          circulationLan: null,
-          needRoom: null,
-          needFactoryRoom: null,
-          needBusRoom: null,
-          other: null,
-          address: null,
-          isFrameorder: null,
-          attachment: null,
-          description: null
-        };
-        this.resetForm("form");
-      },
-      /** 搜索按钮操作 */
-      handleQuery() {
-        this.queryParams.pageNum = 1;
-        this.getList();
-      },
-      /** 重置按钮操作 */
-      resetQuery() {
-        this.resetForm("queryForm");
-        this.handleQuery();
-      },
-      // 多选框选中数据
-      handleSelectionChange(selection) {
-        this.ids = selection.map(item => item.id)
-        this.single = selection.length !== 1
-        this.multiple = !selection.length
-      },
-      /** 新增按钮操作 */
-      handleAdd() {
-        this.reset();
-        this.flags = true;
-      },
-      /** 修改按钮操作 */
-      handleUpdate(row) {
-        this.reset();
-        const id = row.id || this.ids
-        getInfo(id).then(response => {
-          this.form = response.data;
-          this.open = true;
-          this.title = "修改项目-线索信息";
-        });
-      },
-      /** 提交按钮 */
-      submitForm() {
-        this.$refs["form"].validate(valid => {
-          if (valid) {
-            if (this.form.id != null) {
-              updateInfo(this.form).then(response => {
-                this.msgSuccess("修改成功");
-                this.open = false;
-                this.getList();
-              });
-            } else {
-              addInfo(this.form).then(response => {
-                this.msgSuccess("新增成功");
-                this.open = false;
-                this.getList();
-              });
-            }
-          }
-        });
-      },
-      /** 删除按钮操作 */
-      handleDelete(row) {
-        const ids = row.id || this.ids;
-        this.$confirm('是否确认删除项目-线索信息编号为"' + ids + '"的数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delInfo(ids);
-        }).then(() => {
-          this.getList();
-          this.msgSuccess("删除成功");
-        })
-      },
-      /** 导出按钮操作 */
-      handleExport() {
-        const queryParams = this.queryParams;
-        this.$confirm('是否确认导出所有项目-线索信息数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return exportInfo(queryParams);
-        }).then(response => {
-          this.download(response.msg);
-        })
-      },
-      //查看
-      chei(row) {
-        this.$router.push({
-          path: '/management/row/index',
-          query: {
-            setid: row.id,
-            setrd: row.projectStatus
-          },
-        })
-      }
-    }
-  };
-</script>
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="填报单位" prop="deptName">
+        <el-input v-model="queryParams.deptName" placeholder="请输入填报单位" clearable size="small" @keyup.enter.native="handleQuery" />
+      </el-form-item>
+      <el-form-item label="项目名称" prop="name">
+        <el-input v-model="queryParams.name" placeholder="请输入项目名称" clearable size="small" @keyup.enter.native="handleQuery" />
+      </el-form-item>
+      <el-form-item label="填报日期" prop="addtime">
+        <el-date-picker value-format="yyyy-MM-dd" @change="tiemsChange" v-model="times" type="daterange"
+          range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="状态" prop="projectStatus">
+        <el-select v-model="queryParams.projectStatus" placeholder="请选择状态" clearable size="small">
+          <el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+        </el-select>
+      </el-form-item>
+
+      <el-form-item>
+        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button type="primary" plain style="background-color: #1C84C6;color: #fff;border: none;" size="mini" @click="handleAdd"
+          v-hasPermi="['projectInfo:info:add']">添加线索</el-button>
+      </el-col>
+      <!-- <el-col :span="1.5">
+        <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
+          v-hasPermi="['projectInfo:info:edit']">修改</el-button>
+      </el-col> -->
+      <el-col :span="1.5">
+        <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
+          v-hasPermi="['projectInfo:info:remove']">销号</el-button>
+      </el-col>
+      <!-- <el-col :span="1.5">
+        <el-button
+          type="warning"
+          plain
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['projectInfo:info:export']"
+        >导出</el-button>
+      </el-col> -->
+      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+    <el-table v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="项目名称" align="center" prop="name" />
+      <el-table-column label="总投资金额(万)" align="center" prop="totAmt" />
+      <el-table-column label="填报单位" align="center" prop="deptName" />
+      <el-table-column label="审核情况" align="center" prop="remark" />
+      <el-table-column label="状态" align="center" prop="dictLabel" />
+      <el-table-column label="填报日期" width="180" align="center" prop="createTime" />
+      <el-table-column label="操作" width="280" align="center" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;"  v-hasPermi="['projectInfo:info:edit']" @click="chei(scope.row)" >查看/审核</el-button>
+          <el-button size="mini" type="text" style="background: #3FBCEF;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+            @click="infoBtn(scope.row)">{{scope.row.projectStatus%2==1?'提交审核':'驳回'}}</el-button>
+          <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']">修改</el-button>
+          <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" @click="handleDelete(scope.row)"
+            v-hasPermi="['projectInfo:info:remove']">销号</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+
+    <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
+      @pagination="getList" />
+    <el-dialog title="添加线索" :visible.sync="flags" append-to-body>
+      <el-form ref="forms" :model="xs_form" :rules="xs_rules" label-width="100px">
+        <el-form-item label="名称:" prop="name">
+          <el-input v-model="xs_form.name" placeholder="请输入项目名称" />
+        </el-form-item>
+        <el-form-item label="产品类别:" prop="industryCategory">
+          <el-checkbox-group v-model="xs_form.industryCategory">
+            <el-checkbox label="首位产业" name="type"></el-checkbox>
+            <el-checkbox label="战略新兴" name="type"></el-checkbox>
+          </el-checkbox-group>
+        </el-form-item>
+        <el-form-item label="所属行业:" prop="industry">
+          <el-radio-group v-model="xs_form.industry">
+            <el-radio :label="item.dictValue" v-for="(item,index) in industryOptions" :key="index">
+              {{item.dictLabel}}
+            </el-radio>
+          </el-radio-group>
+        </el-form-item>
+        <el-form-item label="状态:" prop="isBackbussiness">
+          <el-select v-model="xs_form.isBackbussiness" placeholder="请选择状态" clearable size="small">
+            <el-option label="是" value="Y" />
+            <el-option label="否" value="N" />
+          </el-select>
+        </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="xs_submit">确 定</el-button>
+        <el-button @click="flags=false">取 消</el-button>
+      </div>
+    </el-dialog>
+    <!-- 添加或修改项目-线索信息对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+        <el-form-item label="项目id*" prop="bmProjectId">
+          <el-input v-model="form.bmProjectId" placeholder="请输入项目id*" />
+        </el-form-item>
+        <el-form-item label="项目名称*" prop="name">
+          <el-input v-model="form.name" placeholder="请输入项目名称*" />
+        </el-form-item>
+        <el-form-item label="是否删除(0未删除、1已删除)" prop="isDel">
+          <el-input v-model="form.isDel" placeholder="请输入是否删除(0未删除、1已删除)" />
+        </el-form-item>
+        <el-form-item label="投资方联系人*" prop="contactor">
+          <el-input v-model="form.contactor" placeholder="请输入投资方联系人*" />
+        </el-form-item>
+        <el-form-item label="投资方联系方式*" prop="phone">
+          <el-input v-model="form.phone" placeholder="请输入投资方联系方式*" />
+        </el-form-item>
+        <el-form-item label="预计投资额*" prop="needAmt">
+          <el-input v-model="form.needAmt" placeholder="请输入预计投资额*" />
+        </el-form-item>
+        <el-form-item label="固定资产投资*" prop="fixedAssets">
+          <el-input v-model="form.fixedAssets" placeholder="请输入固定资产投资*" />
+        </el-form-item>
+        <el-form-item label="产品名称*" prop="productName">
+          <el-input v-model="form.productName" placeholder="请输入产品名称*" />
+        </el-form-item>
+        <el-form-item label="设计产能*" prop="productQty">
+          <el-input v-model="form.productQty" placeholder="请输入设计产能*" />
+        </el-form-item>
+        <el-form-item label="预计产值*" prop="productPrice">
+          <el-input v-model="form.productPrice" placeholder="请输入预计产值*" />
+        </el-form-item>
+        <el-form-item label="预计税收*" prop="productTax">
+          <el-input v-model="form.productTax" placeholder="请输入预计税收*" />
+        </el-form-item>
+        <el-form-item label="预计用工*" prop="productEmp">
+          <el-input v-model="form.productEmp" placeholder="请输入预计用工*" />
+        </el-form-item>
+        <el-form-item label="项目计划用地" prop="plannedLand">
+          <el-input v-model="form.plannedLand" placeholder="请输入项目计划用地" />
+        </el-form-item>
+        <el-form-item label="独立供地" prop="independentLand">
+          <el-input v-model="form.independentLand" placeholder="请输入独立供地" />
+        </el-form-item>
+        <el-form-item label="流转土地" prop="circulationLan">
+          <el-input v-model="form.circulationLan" placeholder="请输入流转土地" />
+        </el-form-item>
+        <el-form-item label="计划租赁用房" prop="needRoom">
+          <el-input v-model="form.needRoom" placeholder="请输入计划租赁用房" />
+        </el-form-item>
+        <el-form-item label="计划租赁厂房" prop="needFactoryRoom">
+          <el-input v-model="form.needFactoryRoom" placeholder="请输入计划租赁厂房" />
+        </el-form-item>
+        <el-form-item label="计划租赁办公生活用房" prop="needBusRoom">
+          <el-input v-model="form.needBusRoom" placeholder="请输入计划租赁办公生活用房" />
+        </el-form-item>
+        <el-form-item label="其他需求" prop="other">
+          <el-input v-model="form.other" placeholder="请输入其他需求" />
+        </el-form-item>
+        <el-form-item label="拟落户地点*" prop="address">
+          <el-input v-model="form.address" placeholder="请输入拟落户地点*" />
+        </el-form-item>
+        <el-form-item label="是否签订框架协议* Y/N" prop="isFrameorder">
+          <el-input v-model="form.isFrameorder" placeholder="请输入是否签订框架协议* Y/N" />
+        </el-form-item>
+        <el-form-item label="框架协议附件url(框架协议为是,需要上传)" prop="attachment">
+          <el-input v-model="form.attachment" type="textarea" placeholder="请输入内容" />
+        </el-form-item>
+        <el-form-item label="备注" prop="description">
+          <el-input v-model="form.description" type="textarea" placeholder="请输入内容" />
+        </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+  import {
+    setReject,
+    setExamine,
+    listInfo,
+    getInfo,
+    delInfo,
+    addInfo,
+    updateInfo,
+    listProject,
+    exportInfo
+  } from "@/api/projectInfo/info";
+  let vm = ''
+
+  export default {
+    name: "Info",
+    components: {},
+    data() {
+      vm = this
+      return {
+        xs_form: {
+          industryCategory: []
+        },
+        flags: false,
+        xs_rules: {
+          name: [{
+            required: true,
+            message: "名称不能为空",
+            trigger: "blur"
+          }],
+          industryCategory: [{
+            required: true,
+            message: "请选择产品类别",
+            trigger: "blur"
+          }],
+          industry: [{
+            required: true,
+            message: "请选择所属行业",
+            trigger: "blur"
+          }],
+          isBackbussiness: [{
+            required: true,
+            message: "状态不能为空",
+            trigger: "blur"
+          }],
+        },
+        times: '',
+        industryOptions: [],
+        statusOptions: [],
+        // 遮罩层
+        loading: true,
+        // 选中数组
+        ids: [],
+        // 非单个禁用
+        single: true,
+        // 非多个禁用
+        multiple: true,
+        // 显示搜索条件
+        showSearch: true,
+        // 总条数
+        total: 0,
+        // 项目-线索信息表格数据
+        infoList: [],
+        // 弹出层标题
+        title: "",
+        // 是否显示弹出层
+        open: false,
+        // 查询参数
+        queryParams: {
+          pageNum: 1,
+          pageSize: 10,
+          bmProjectId: null,
+          name: null,
+          isDel: null,
+          contactor: null,
+          phone: null,
+          needAmt: null,
+          fixedAssets: null,
+          productName: null,
+          productQty: null,
+          productPrice: null,
+          productTax: null,
+          productEmp: null,
+          plannedLand: null,
+          independentLand: null,
+          circulationLan: null,
+          needRoom: null,
+          needFactoryRoom: null,
+          needBusRoom: null,
+          other: null,
+          address: null,
+          isFrameorder: null,
+          attachment: null,
+          description: null
+        },
+        // 表单参数
+        form: {},
+        // 表单校验
+        rules: {}
+      };
+    },
+    created() {
+      this.getDicts('project_status').then(res => {
+        this.statusOptions = res.data
+      })
+      this.getDicts('project_industry').then(res => {
+        this.industryOptions = res.data
+      })
+      this.getList();
+    },
+    filters: {
+      dictStatus(e) {
+        let is = ''
+        for (let item of vm.statusOptions) {
+          if (e == item.dictValue) {
+            is = item.dictLabel
+          }
+        }
+        return is
+      }
+    },
+    methods: {
+      infoBtn(scrop) {
+        console.log()
+        if (scrop.projectStatus % 2 == 1) {
+          this.$confirm('是否确认提交审核', "提醒", {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            type: "warning"
+          }).then(function() {
+            return setExamine({
+              code: 1,
+              bmProjectId: scrop.id
+            });
+          }).then(() => {
+            this.getList();
+            this.msgSuccess("提交成功");
+          })
+        } else {
+          this.$confirm('是否确认驳回', "提醒", {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            type: "warning"
+          }).then(function() {
+            return setReject({
+              code: 2,
+              bmProjectId: scrop.id
+            });
+          }).then(() => {
+            this.getList();
+            this.msgSuccess("提交成功");
+          })
+        }
+      },
+      xs_submit() {
+        this.$refs["forms"].validate(valid => {
+          if (valid) {
+            let data = JSON.parse(JSON.stringify(this.xs_form))
+            data.industryCategory = data.industryCategory.join(',')
+            listProject(data).then(res => {
+              this.msgSuccess("添加成功");
+              this.flags = false;
+              this.getList();
+            })
+          }
+        });
+      },
+      tiemsChange(e) {
+        console.log(e, this.times)
+        if (this.times) {
+          this.queryParams.beginTime = this.times[0]
+          this.queryParams.endTime = this.times[1]
+        } else {
+          this.queryParams.beginTime = ''
+          this.queryParams.endTime = ''
+        }
+
+      },
+      /** 查询项目-线索信息列表 */
+      getList() {
+        this.loading = true;
+        listInfo(this.queryParams).then(response => {
+          this.infoList = response.rows;
+          this.total = response.total;
+          this.loading = false;
+        });
+      },
+      // 取消按钮
+      cancel() {
+        this.open = false;
+        this.reset();
+      },
+      // 表单重置
+      reset() {
+        this.form = {
+          id: null,
+          bmProjectId: null,
+          createBy: null,
+          createTime: null,
+          updateBy: null,
+          updateTime: null,
+          name: null,
+          isDel: null,
+          contactor: null,
+          phone: null,
+          needAmt: null,
+          fixedAssets: null,
+          productName: null,
+          productQty: null,
+          productPrice: null,
+          productTax: null,
+          productEmp: null,
+          plannedLand: null,
+          independentLand: null,
+          circulationLan: null,
+          needRoom: null,
+          needFactoryRoom: null,
+          needBusRoom: null,
+          other: null,
+          address: null,
+          isFrameorder: null,
+          attachment: null,
+          description: null
+        };
+        this.resetForm("form");
+      },
+      /** 搜索按钮操作 */
+      handleQuery() {
+        this.queryParams.pageNum = 1;
+        this.getList();
+      },
+      /** 重置按钮操作 */
+      resetQuery() {
+        this.resetForm("queryForm");
+        this.handleQuery();
+      },
+      // 多选框选中数据
+      handleSelectionChange(selection) {
+        this.ids = selection.map(item => item.id)
+        this.single = selection.length !== 1
+        this.multiple = !selection.length
+      },
+      /** 新增按钮操作 */
+      handleAdd() {
+        this.reset();
+        this.flags = true;
+      },
+      /** 修改按钮操作 */
+      handleUpdate(row) {
+        this.reset();
+        const id = row.id || this.ids
+        getInfo(id).then(response => {
+          this.form = response.data;
+          this.open = true;
+          this.title = "修改项目-线索信息";
+        });
+      },
+      /** 提交按钮 */
+      submitForm() {
+        this.$refs["form"].validate(valid => {
+          if (valid) {
+            if (this.form.id != null) {
+              updateInfo(this.form).then(response => {
+                this.msgSuccess("修改成功");
+                this.open = false;
+                this.getList();
+              });
+            } else {
+              addInfo(this.form).then(response => {
+                this.msgSuccess("新增成功");
+                this.open = false;
+                this.getList();
+              });
+            }
+          }
+        });
+      },
+      /** 删除按钮操作 */
+      handleDelete(row) {
+        const ids = row.id || this.ids;
+        this.$confirm('是否确认删除项目-线索信息编号为"' + ids + '"的数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delInfo(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+      },
+      /** 导出按钮操作 */
+      handleExport() {
+        const queryParams = this.queryParams;
+        this.$confirm('是否确认导出所有项目-线索信息数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportInfo(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+      },
+      //查看
+      chei(row) {
+        this.$router.push({
+          path: '/management/row/index',
+          query: {
+            setid: row.id,
+            setrd: row.projectStatus
+          },
+        })
+      }
+    }
+  };
+</script>

+ 0 - 1386
ruoyi-ui/src/views/management/nstruction/index.vue

@@ -1,1386 +0,0 @@
-<template>
-  <div class="app-conta">
- <el-row :gutter="10" class="mb8 roiyy">
-    <el-col :span="1.5">
-      <el-button
-        type="primary"
-        @click="submitCtion"
-        v-hasPermi="['projectConstruction:construction:add']"
-         v-if="tab == 0 || tab == 3"
-      >暂存</el-button>
-    </el-col>
-    <el-col :span="1.5">
-      <el-button
-        type="primary"
-        @click="handleUpdatex"
-      >取消</el-button>
-    </el-col>
-    <el-col :span="1.5">
-      <el-button
-        type="primary"
-        @click="nextYg"
-        v-if="tab == 1 || tab == 2"
-      >下一页</el-button>
-    </el-col>
-    <el-col :span="1.5" :offset="18">
-    <el-button
-        type="danger"
-        @click="handleAudit"
-        v-hasPermi="['bmProject:project:pass']"
-         v-if="tab == 0 || tab == 3"
-      >确认审核</el-button>
-        </el-col>
-  </el-row>
-
-  <div class="nauer">
-
-
-
-     <!-- 在建项目 -->
-     <div>
-       <div class="nstruction">
-          <div class="nstruction_nav">
-            <p>
-              <span>*</span>
-              <span>合同约定开工时间:</span>
-            </p>
-            <p>{{queryParamstwr.orderBeginTime}}</p>
-          </div>
-          <div class="nstruction_navne">
-            <p>
-              <span>*</span>
-              <span> 合同约定竣工时间:</span>
-            </p>
-            <p>{{queryParamstwr.orderEndTime}}</p>
-          </div>
-
-       </div>
-       <div class="naue_tab">
-        <p @click="tabClid(index)" v-for="(item,index) in tabNume"  :key="index" :class="[tab == index? 'p' : '']">{{item}}</p>
-       </div>
-       <!-- 内容 -->
-       <div class="namjeu" v-if="tab == 0">
-         <el-form :model="queryParamstwr" ref="queryForm" :inline="true" v-show="showSearch" label-width="135px" label-position="center" class="manager_form">
-          <el-form-item label="施工许可证:" prop="constructionCode" class="maget_ty">
-              <div class="forieu" style="width: 618px;">
-               <div class="bure burert">
-                 <el-upload
-                   action="http://192.168.101.11:8080/common/upload"
-                   :auto-upload="false"
-                   ref="uploadone"
-                   :before-upload="beforeAvatarUpload"
-                   list-type="picture-card"
-                   :on-preview="handlePictureCardPreview"
-                   :on-remove="handleRemove"
-                   :on-success="handleSuccpermit"
-                   :multiple="true"
-                   :file-list="fileListther">
-                      <!-- <i slot="default" class="el-icon-plus"></i> -->
-
-                   <div class="ijeut">
-                     <el-button plain slot="trigger" size="small" type="primary" >选择图片</el-button>
-                      <!-- margin-top: 15%; transform: translateY(-50%); -->
-
-                   </div>
-                   <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
-                 </el-upload>
-                 <div class="ijeut"><el-button style="margin-left: 10px; height: 32px;" size="small" type="primary" @click="submitUploaduccpermit">开始上传</el-button></div>
-
-               </div>
-              </div>
-            </el-form-item>
-            <el-form-item label="是否开工建设:" prop="isConstruction">
-              <el-select v-model="queryParamstwr.isConstruction" placeholder="系统内置" clearable size="small" style="width: 458px">
-                <el-option
-                  v-for="dict in typeOptions"
-                  :key="dict.dictValue"
-                  :label="dict.dictLabel"
-                  :value="dict.dictValue"
-                />
-              </el-select>
-            </el-form-item>
-             <el-form-item label=" 开工日期:">
-                  <el-date-picker type="date" placeholder="选择日期" v-model="queryParamstwr.constructionStartdate" style="width: 335px"></el-date-picker>
-              </el-form-item>
-              <el-form-item label="预计完工日期:">
-                   <el-date-picker type="date" placeholder="选择日期" v-model="queryParamstwr.constructionEnddate" style="width: 335px"></el-date-picker>
-               </el-form-item>
-               <el-form-item label="施工合同:" prop="configType" class="maget_ty">
-                   <div class="forieu" style="width: 618px;">
-                    <div class="bure burert">
-                      <el-upload
-                        action="http://192.168.101.11:8080/common/upload"
-                        :auto-upload="false"
-                        ref="uploadtwo"
-                        :before-upload="beforeAvatarUpload"
-                        list-type="picture-card"
-                        :on-preview="handlePictureCardPreview"
-                        :on-remove="handleRemove"
-                        :multiple="true"
-                        :on-success="handleSuccontract"
-                        :file-list="fileListfour">
-                           <!-- <i slot="default" class="el-icon-plus"></i> -->
-
-                        <div class="ijeut">
-                          <el-button plain slot="trigger" size="small" type="primary" >选择图片</el-button>
-                           <!-- margin-top: 15%; transform: translateY(-50%); -->
-
-                        </div>
-                        <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
-                      </el-upload>
-                      <div class="ijeut"><el-button style="margin-left: 10px; height: 32px;" size="small" type="primary" @click="submitUploaduccontract">开始上传</el-button></div>
-
-                    </div>
-                   </div>
-                 </el-form-item>
-                 <el-form-item label="开工照片:" prop="configType" class="maget_ty">
-                     <div class="forieu" style="width: 618px;">
-                      <div class="bure burert">
-                        <el-upload
-                          action="http://192.168.101.11:8080/common/upload"
-                          :auto-upload="false"
-                          ref="upload"
-                          :before-upload="beforeAvatarUpload"
-                          list-type="picture-card"
-                          :on-preview="handlePictureCardPreview"
-                          :on-remove="handleRemove"
-                          :on-success="handleSucc"
-                          :multiple="true"
-                          :file-list="fileListfive">
-                             <!-- <i slot="default" class="el-icon-plus"></i> -->
-
-                          <div class="ijeut">
-                            <el-button plain slot="trigger" size="small" type="primary" >选择图片</el-button>
-                             <!-- margin-top: 15%; transform: translateY(-50%); -->
-
-                          </div>
-                          <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
-                        </el-upload>
-                        <div class="ijeut"><el-button style="margin-left: 10px; height: 32px;" size="small" type="primary" @click="submitUpload">开始上传</el-button></div>
-
-                      </div>
-                     </div>
-                   </el-form-item>
-          </el-form>
-          <p class="kaieu_tw" @click="handleAdd(0)"><i class="el-icon-circle-plus-outline"></i> 添加开工照片</p>
-          <el-table v-loading="loading" :data="configList" >
-            <!-- <el-table-column type="selection" width="55" align="center" /> -->
-            <el-table-column label="时间" align="center" prop="createTime" />
-            <el-table-column label="进度" align="center" prop="rateTypeName" :show-overflow-tooltip="true" />
-            <el-table-column label="照片" align="center"  prop="photo">
-              <!-- class-name="small-padding fixed-width" -->
-              <template slot-scope="scope"   >
-                <div class="demo-image__preview">
-                  <el-image
-                    style="width: 100px; height: 100px"
-                    :src="scope.row.phototwo"
-                    :preview-src-list="scope.row.photo">
-                  </el-image>
-                </div>
-              </template>
-            </el-table-column>
-            <el-table-column label="操作" align="center" >
-              <!-- class-name="small-padding fixed-width" -->
-              <template slot-scope="scope">
-                <el-button
-                  size="mini"
-                  type="danger"
-                  @click="handleDelete(scope.row)"
-                  v-hasPermi="['system:config:remove']"
-                >删除</el-button>
-              </template>
-            </el-table-column>
-          </el-table>
-          <pagination
-            v-if="totaltwo>0 && tab==0"
-            :total="totaltwo"
-            :page.sync="queryParamstwrction.pageNum"
-            :limit.sync="queryParamstwrction.pageSize"
-            @pagination="getListtoi"
-          />
-
-       </div>
-
-       <div class="equipment" v-if="tab == 1">
-            <p class="kaieu_tw" @click="quipment(1)"><i class="el-icon-circle-plus-outline"></i> 添加设备安装信息</p>
-          <el-table v-loading="loading" :data="configListher" >
-            <!-- <el-table-column type="selection" width="55" align="center" /> -->
-            <el-table-column label="时间" align="center" prop="createTime" />
-            <el-table-column label="进度" align="center" prop="eqTypeName" :show-overflow-tooltip="true" />
-            <el-table-column label="照片" align="center" >
-              <!-- class-name="small-padding fixed-width" -->
-             <template slot-scope="scope"   >
-              <div class="demo-image__preview">
-                <el-image
-                  style="width: 100px; height: 100px"
-                  :src="scope.row.phototwo"
-                  :preview-src-list="scope.row.photo">
-                </el-image>
-              </div>
-             </template>
-            </el-table-column>
-            <el-table-column label="操作" align="center" >
-              <!-- class-name="small-padding fixed-width" -->
-              <template slot-scope="scope">
-                <el-button
-                  size="mini"
-                  type="danger"
-                  @click="handleDeletetwo(scope.row)"
-                  v-hasPermi="['system:config:remove']"
-                >删除</el-button>
-              </template>
-            </el-table-column>
-          </el-table>
-          <pagination
-            v-if="totalth>0 "
-            :total="totalth"
-            :page.sync="queryParamsstallation.pageNum"
-            :limit.sync="queryParamsstallation.pageSize"
-            @pagination="getListther"
-          />
-
-       </div>
-
-     <div class="funding" v-if="tab == 2">
-        <p class="kaieu">到资金额合计: {{queryParamstwo}}  万元</p>
-        <p class="kaieu_tw" @click="handleAdd(2)"><i class="el-icon-circle-plus-outline"></i> 添加设备安装信息</p>
-        <el-table v-loading="loading" :data="configLisfour" >
-          <!-- <el-table-column type="selection" width="55" align="center" /> -->
-          <el-table-column label="到资类型" align="center" prop="payForTypeName" :show-overflow-tooltip="true" />
-          <el-table-column label="金额" align="center" prop="payForMoney" />
-          <el-table-column label="到资证明" align="center" prop="photo">
-            <!-- class-name="small-padding fixed-width" -->
-           <template slot-scope="scope"   >
-             <div class="demo-image__preview">
-               <el-image
-                 style="width: 100px; height: 100px"
-                 :src="scope.row.phototwo"
-                 :preview-src-list="scope.row.photo">
-               </el-image>
-             </div>
-           </template>
-          </el-table-column>
-          <el-table-column label="操作" align="center" >
-            <!-- class-name="small-padding fixed-width" -->
-            <template slot-scope="scope">
-              <el-button
-                size="mini"
-                type="danger"
-                @click="handleDeletether(scope.row)"
-                v-hasPermi="['system:config:remove']"
-              >删除</el-button>
-            </template>
-          </el-table-column>
-        </el-table>
-        <pagination
-          v-if="total>0 && tab==2"
-          :total="total"
-          :page.sync="queryParams.pageNum"
-          :limit.sync="queryParams.pageSize"
-          @pagination="getListfour"
-        />
-
-     </div>
-     </div>
-     <div class="namjeu" v-if="tab == 3">
-       <el-form :model="queryParamstheyr" ref="queryFormtwo" :rules="queryFormtwo" :inline="true" v-show="showSearch" label-width="135px" label-position="center" class="manager_form">
-           <el-form-item label=" 入统时间:">
-                <el-date-picker type="date" placeholder="选择日期" v-model="queryParamstheyr.statisticsDate" style="width: 335px"></el-date-picker>
-            </el-form-item>
-             <el-form-item label="入统截图:" prop="configType" class="maget_ty maget_tyty">
-                 <div class="forieu" style="width: 618px;">
-                  <div class="bure burert">
-                   <el-upload
-                     action="http://192.168.101.11:8080/common/upload"
-                     :auto-upload="false"
-                     ref="upload"
-                     :before-upload="beforeAvatarUpload"
-                     list-type="picture-card"
-                     :on-preview="handlePictureCardPreview"
-                     :on-remove="handleRemove"
-                     :on-success="handleSuccntry"
-                     :multiple="true"
-                     :file-list="fileListthertwo">
-                        <!-- <i slot="default" class="el-icon-plus"></i> -->
-
-                     <div class="ijeut">
-                       <el-button plain slot="trigger" size="small" type="primary" >选择图片</el-button>
-                        <!-- margin-top: 15%; transform: translateY(-50%); -->
-
-                     </div>
-                     <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
-                   </el-upload>
-                   <div class="ijeut"><el-button style="margin-left: 10px; height: 32px;" size="small" type="primary" @click="submitUpload">开始上传</el-button></div>
-                  </div>
-                 </div>
-               </el-form-item>
-        </el-form>
-
-
-     </div>
-
-
-  </div>
-
-
-<el-dialog :visible.sync="dialogVisible">
-                     <img width="100%" :src="dialogImageUrl" alt="">
-                   </el-dialog>
-    <!-- 添加或修改参数配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
-      <el-form ref="form" :model="form" :rules="rules" label-width="150px">
-        <!-- <el-form-item label="时间" prop="configName">
-          <el-date-picker type="date" placeholder="选择日期" v-model="form.createTime" style="width: 335px"></el-date-picker>
-        </el-form-item> -->
-        <el-form-item label="进度" prop="configKey">
-          <el-select v-model="form.rateType" placeholder="系统内置" clearable size="small" style="width: 458px">
-            <el-option
-              v-for="dict in typeOptionstwo"
-              :key="dict.dictValue"
-              :label="dict.dictLabel"
-              :value="dict.dictValue"
-            />
-          </el-select>
-        </el-form-item>
-        <el-form-item label="图片" prop="configValue">
-         <el-upload class="upload-demo" ref="upload" action="http://192.168.101.11:8080/common/upload"
-           :on-preview="handlePreviewther" :on-remove="handleRemovether" :on-success="handleSuccther" :file-list="fileListtherrt" :auto-upload="false" :multiple="true">
-           <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
-           <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUploadther">上传到服务器</el-button>
-           <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
-         </el-upload>
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
-      </div>
-    </el-dialog>
-    <!-- //设备安装 -->
-    <el-dialog :title="titletwo" :visible.sync="opentwo" width="800px" append-to-body>
-      <el-form ref="formtwo" :model="formtwo" :rules="rulestwo" label-width="150px">
-        <!-- <el-form-item label="时间" prop="configName">
-          <el-date-picker type="date" placeholder="选择日期" v-model="form.createTime" style="width: 335px"></el-date-picker>
-        </el-form-item> -->
-        <el-form-item label="进度" prop="configKey">
-          <el-select v-model="formtwo.eqType" placeholder="系统内置" clearable size="small" style="width: 458px">
-            <el-option
-              v-for="dict in typeOptionsther"
-              :key="dict.dictValue"
-              :label="dict.dictLabel"
-              :value="dict.dictValue"
-            />
-          </el-select>
-        </el-form-item>
-        <el-form-item label="图片" prop="configValue">
-         <el-upload class="upload-demo" ref="upload" action="http://192.168.101.11:8080/common/upload"
-           :on-preview="handlePreviewther" :on-remove="handleRemovether" :on-success="handleSuccther" :file-list="fileListtherrt" :auto-upload="false" :multiple="true">
-           <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
-           <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUploadther">上传到服务器</el-button>
-           <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
-         </el-upload>
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
-      </div>
-    </el-dialog>
-    <!-- 项目到资 -->
-  <el-dialog :title="titlether" :visible.sync="openther" width="800px" append-to-body>
-      <el-form ref="formther" :model="formther" :rules="rulesther" label-width="150px">
-        <el-form-item label="到资类型" prop="payForType">
-          <el-select v-model="formther.payForType" placeholder="系统内置" clearable size="small" style="width: 458px">
-            <el-option
-              v-for="dict in typeOptionsfour"
-              :key="dict.dictValue"
-              :label="dict.dictLabel"
-              :value="dict.dictValue"
-            />
-          </el-select>
-        </el-form-item>
-        <el-form-item label="到资金额" prop="payForMoney">
-          <el-input
-            v-model="formther.payForMoney"
-            placeholder="输入数字"
-            clearable
-            size="small"
-            style="width: 458px"
-            @keyup.enter.native="handleQuery"
-          />
-        </el-form-item>
-        <el-form-item label="图片" prop="photo">
-         <el-upload class="upload-demo" ref="upload" action="http://192.168.101.11:8080/common/upload"
-           :on-preview="handlePreviewther" :on-remove="handleRemovether" :on-success="handleSuccther" :file-list="fileListtherrt" :auto-upload="false" :multiple="true">
-           <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
-           <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUploadther">上传到服务器</el-button>
-           <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
-         </el-upload>
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-import { listConfig, listConfigfive, listConfigsix, listConfigserve, listConfigfunding, listConfigarrival, listConfigintegration, getConfig, delConfig, delConfigther, delConfigfour, delConfigfive, addConfig, addConfigther, addConfigfour, addConfigfiv, addConfigtherction, addConfigsix, addConfigbout, updateConfig, updateConfigatruction, updateConfigntegration, exportConfig, clearCache } from "@/api/system/config";
-export default {
-  name: "Config",
-  data() {
-    return {
-      // 遮罩层
-      loading: true,
-      //步骤条
-      naueactive:2,
-      tab:0,
-      tabNume:['项目施工','设备安装','项目到资','项目入统'],
-      // 选中数组
-      ids: [],
-      // 非单个禁用
-      single: true,
-      // 非多个禁用
-      multiple: true,
-      // 显示搜索条件
-      showSearch: true,
-      // 总条数
-      total: 0,
-      totaltwo:0,
-      totalth:0,
-      open:false,
-      opentwo:false,
-      openther:false,
-      typeOptions:[],
-      typeOptionstwo:[],
-      typeOptionsther:[],
-      typeOptionsfour:[],
-      // 参数表格数据
-      configList: [],
-      configListwo:[],
-      configListher:[],
-      configLisfour:[],
-      fileListtherrt:[],//弹框里的
-      fileListfour:[],
-      fileListfive:[],
-      fileListthertwo:[],
-      fileList:[{name:'',url:''}],
-      fileListther:[],
-      // 弹出层标题
-      title: "",
-      titletwo: "",
-      titlether:'',
-      dialogImageUrl: '',
-      dialogVisible: false,
-      disabled: false,
-      // 查询参数
-      queryParams: {
-        pageNum: 1,
-        pageSize: 10,
-        configName: undefined,
-        configKey: undefined,
-        configType: undefined
-      },
-      queryParamstwo:0,
-      queryParamstheyr:{},
-      queryParamstwr:{},
-      queryParamstwrction:{
-        pageNum: 1,
-        pageSize: 10,
-      },
-      queryParamsstallation:{
-        pageNum: 1,
-        pageSize: 10,
-      },
-      // 表单参数
-      form: {},
-      formtwo:{},
-      formther:{},
-      bmProjectId:0,
-      bmjdeu:{
-        'bmProjectId':0
-      },
-      imagese:[],
-      numhu:0,//判断
-      // 表单校验
-      rules: {
-        // configName: [
-        //   { required: true, message: "参数名称不能为空", trigger: "blur" }
-        // ],
-        // configKey: [
-        //   { required: true, message: "参数键名不能为空", trigger: "blur" }
-        // ],
-        // configValue: [
-        //   { required: true, message: "参数键值不能为空", trigger: "blur" }
-        // ]
-      },
-      rulestwo:{},
-      rulesther:{},
-      //开工照片
-      onstruction:[],
-      permit:[],
-      ontract:[],
-      ntry:[],
-      modify:0,  //判断是修改还是新增   新增0   修改  1
-      ermit:[],
-      ontractr:[],
-      ruction:[],
-      queryFormhye:{},
-      udgment:0  ,//项目入统判断是新增  还是修改   新增0   修改1
-      udgmentList:[]
-    };
-  },
-  created() {
-    this.bmProjectId = this.$route.query.setid
-    this.bmjdeu.bmProjectId = this.$route.query.setid
-    console.log(this.bmjdeu)
-    this.getList();
-    this.getListtoi()
-    // this.getListther()
-    // this.getListfour()
-    // this.getListfive()
-    // this.getListsix()
-    this.getDicts("sys_yes_no").then(response => {
-    this.typeOptions = response.data;
-    });
-    this.getDicts("project_rate").then(response => {
-    this.typeOptionstwo = response.data;
-    });
-    this.getDicts("project_schedule").then(response => {
-    this.typeOptionsther = response.data;
-    });
-    this.getDicts("project_pay").then(response => {
-    this.typeOptionsfour = response.data;
-    });
-  },
-  methods: {
-    beforeAvatarUpload(file){
-     console.log(file)
-    },
-    submitUpload() {
-      this.$refs.upload.submit();
-    },
-    //施工许可证
-    submitUploaduccpermit(){
-      console.log(34)
-     this.$refs.uploadone.submit();
-    },
-    //施工合同
-    submitUploaduccontract(){
-     this.$refs.uploadtwo.submit();
-    },
-    handleRemove(file) {
-           console.log(file);
-         },
-    //开工合同
-    handleSucc(response, file, fileList){
-      console.log(file.response.url)
-      this.onstruction = []
-      this.onstruction.push(file.response.url)
-      this.queryParamstwr.constructionPhoto = this.onstruction.join(',')
-
-    },
-    //施工许可证照片
-    handleSuccpermit(response, file, fileList){
-     console.log(file.response.url)
-     this.permit.push(file.response.url)
-     this.queryParamstwr.constructionCode = this.permit.join(',')
-    },
-    //施工合同
-    handleSuccontract(response, file, fileList){
-      // this.ontract = []
-     this.ontract.push(file.response.url)
-     this.queryParamstwr.constructionDoc = this.ontract.join(',')
-    },
-    // 入统截图
-    handleSuccntry(response, file, fileList){
-     // this.ontract = []
-     this.ntry.push(file.response.url)
-     this.queryParamstheyr.statisticsPhoto = this.ntry.join(',')
-    },
-    handlePictureCardPreview(file) {
-           this.dialogImageUrl = file.url;
-           this.dialogVisible = true;
-    },
-    handleDownload(file) {
-           console.log(file);
-    },
-    handleRemovetwo(file, fileList) {
-                 console.log(file, fileList);
-    },
-    handlePreviewtwo(file) {
-                 console.log(file);
-    },
-    handleExceedtwo(files, fileList) {
-                 this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
-    },
-    beforeRemovetwo(file, fileList) {
-                 return this.$confirm(`确定移除 ${ file.name }?`);
-    },
-    submitUploadther() {
-
-      this.$refs.upload.submit();
-    },
-    handleRemovether(file, fileList) {
-      // console.log(file, fileList);
-
-    },
-    handlePreviewther(file) {
-      console.log(file,45);
-    },
-    handleSuccther(response, file, fileList){
-      // let imges = []
-
-      this.imagese.push(file.response.url)
-      console.log(this.imagese.join(','), 345)
-      if(this.numhu == 0){
-        this.form.photo = this.imagese.join(',')
-      }else if(this.numhu ==1 ){
-        this.formtwo.photo = this.imagese.join(',')
-      }else if(this.numhu ==2){
-        this.formther.photo = this.imagese.join(',')
-      }
-
-      console.log(this.form.photo)
-      if(file.response.code == 200){
-        this.msgSuccess("上传成功");
-      }
-
-      console.log(response.url, file, fileList);
-    },
-    /** 查询参数列表 */
-    getList() {
-      this.loading = true;
-      listConfigfive(this.bmProjectId).then(response => {
-
-          this.fileListther = []
-          this.fileListfour = []
-          this.fileListfive = []
-          // this.ermit = []
-
-
-          if(response.data !== undefined){
-            //修改
-            this.queryParamstwr = response.data;
-            this.modify = 1
-            if(this.queryParamstwr.constructionCode !== null){
-              this.ermit = this.queryParamstwr.constructionCode.split(',')
-              console.log(this.ermit,90)
-              for(var i = 0 ; i < this.ermit.length; i++){
-                this.fileListther.push({name:this.ermit[i],url:this.ermit[i]})
-              }
-            }
-             if(this.queryParamstwr.constructionDoc !== null){
-              this.ontractr = this.queryParamstwr.constructionDoc.split(',')
-               console.log(this.ontractr,80)
-              for(var i = 0; i < this.ontractr.length; i++){
-                this.fileListfour.push({name:this.ontractr[i],url:this.ontractr[i]})
-              }
-            }
-             if(this.queryParamstwr.constructionPhoto !== null){
-              this.ruction = this.queryParamstwr.constructionPhoto.split(',')
-              console.log(this.ruction,70)
-              for(var i=0; i < this.ruction.length; i++ ){
-                 this.fileListfive.push({name:this.ruction[i],url:this.ruction[i]})
-              }
-            }
-          }else {
-            //新增
-            this.queryParamstwr = {}
-            this.modify = 0
-          }
-
-          this.total = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    //开工图片列表
-    getListtoi() {
-      this.loading = true;
-      listConfigsix(this.queryParamstwrction).then(response => {
-          this.configList = response.rows;
-          this.configList.filter(route => {
-              if(route.photo !== null){
-                let poku = []
-                 poku = route.photo.split(",")
-                 route.photo = route.photo.split(",")
-                 route.phototwo = route.photo[0]
-                console.log(route.phototwo)
-                console.log( route.photo)
-                // route.photo = []
-                // for(var i = 0; i < poku.length; i++){
-                //   route.photo.push({name:poku[i],ulr:poku[i]})
-                // }
-              }
-
-               })
-          this.totaltwo = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    //设备安装接口
-    getListther() {
-      this.loading = true;
-      listConfigserve(this.queryParamsstallation).then(response => {
-          this.configListher = response.rows;
-          this.configListher.filter(route => {
-              if(route.photo !== null){
-                let poku = []
-                poku = route.photo.split(",")
-                 route.photo = route.photo.split(",")
-                 route.phototwo = route.photo[0]
-                console.log(route.phototwo)
-                console.log( route.photo)
-              }
-
-               })
-          this.totalth = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    //项目到资列表接口
-    getListfour() {
-      this.loading = true;
-      listConfigfunding().then(response => {
-          this.configLisfour = response.rows;
-          this.configLisfour.filter(route => {
-              if(route.photo !== null){
-                let poku = []
-              poku = route.photo.split(",")
-               route.photo = route.photo.split(",")
-               route.phototwo = route.photo[0]
-              console.log(route.phototwo)
-              console.log( route.photo)
-              }
-
-               })
-          this.total = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    //项目到资查看接口
-    getListfive() {
-      this.loading = true;
-      listConfigarrival(this.bmjdeu).then(response => {
-        if(response.data !== undefined){
-
-          this.queryParamstwo = response.data
-        }else{
-
-        }
-
-          this.loading = false;
-        }
-      );
-    },
-    //项目入统查看接口
-    getListsix() {
-      this.loading = true;
-      listConfigintegration(this.bmProjectId).then(response => {
-        this.fileListthertwo = []
-         if(response.data !== undefined){
-           //修改
-           this.udgment = 1
-           this.queryParamstheyr = response.data
-
-           if(this.queryParamstheyr.statisticsPhoto !== null){
-             this.udgmentList = this.queryParamstheyr.statisticsPhoto.split(',')
-             for(var i = 0 ; i < this.udgmentList.length; i++){
-               this.fileListthertwo.push({name:this.udgmentList[i],url:this.udgmentList[i]})
-             }
-           }
-
-         }else {
-           //新增
-           this.udgment = 0
-         }
-
-          this.loading = false;
-        }
-      );
-    },
-    // 参数系统内置字典翻译
-    typeFormat(row, column) {
-      return this.selectDictLabel(this.typeOptions, row.configType);
-    },
-    // 取消按钮
-    cancel() {
-      this.open = false;
-      this.opentwo = false
-      this.openther = false
-      this.reset();
-    },
-    // 表单重置
-    reset() {
-      this.form = {
-        configId: undefined,
-        configName: undefined,
-        configKey: undefined,
-        configValue: undefined,
-        configType: "Y",
-        remark: undefined
-      };
-      this.resetForm("form");
-    },
-    resettwo() {
-      this.form = {
-        // configId: undefined,
-        // configName: undefined,
-        // configKey: undefined,
-        // configValue: undefined,
-        // configType: "Y",
-        // remark: undefined
-      };
-      this.resetForm("formtwo");
-    },
-    /** 搜索按钮操作 */
-    handleQuery() {
-      this.queryParams.pageNum = 1;
-      this.getList();
-    },
-    /** 重置按钮操作 */
-    resetQuery() {
-      this.dateRange = [];
-      this.resetForm("queryForm");
-      this.handleQuery();
-    },
-    /** 新增按钮操作 */
-    handleAdd(index) {
-      this.numhu = index
-      this.fileListtherrt = []
-      this.reset();
-      if(this.numhu==0){
-        this.open = true;
-      }else if(this.numhu == 2){
-        this.openther = true
-      }
-
-      this.title = "添加参数";
-    },
-    // 多选框选中数据
-    handleSelectionChange(selection) {
-      this.ids = selection.map(item => item.configId)
-      this.single = selection.length!=1
-      this.multiple = !selection.length
-    },
-    /** 修改按钮操作 */
-    handleUpdate(row) {
-      this.reset();
-      const configId = row.configId || this.ids
-      getConfig(configId).then(response => {
-        this.form = response.data;
-        this.open = true;
-        this.title = "修改参数";
-      });
-    },
-    /** 提交按钮 */
-    submitForm: function() {
-      this.form.bmProjectId = this.bmProjectId
-      this.formtwo.bmProjectId = this.bmProjectId
-      this.formther.bmProjectId = this.bmProjectId
-      console.log(this.numhu)
-      if(this.numhu == 0){
-        this.$refs["form"].validate(valid => {
-          if (valid) {
-              addConfigther(this.form).then(response => {
-                this.msgSuccess("新增成功");
-                this.open = false;
-                this.getListtoi();
-              });
-          }
-        });
-      }else if(this.numhu == 1){
-        this.$refs["formtwo"].validate(valid => {
-          if (valid) {
-              addConfigfour(this.formtwo).then(response => {
-                this.msgSuccess("新增成功");
-                this.opentwo = false;
-                this.getListther();
-              });
-          }
-        });
-      }else if(this.numhu == 2){
-        console.log("步骤3")
-          this.$refs["formther"].validate(valid => {
-            if (valid) {
-              console.log('步骤5')
-                console.log('步骤4')
-                addConfigfiv(this.formther).then(response => {
-                  this.msgSuccess("新增成功");
-                  this.openther = false;
-                  this.getListfour();
-                });
-            }
-          });
-      }
-
-    },
-    //项目施工提交按钮
-    submitCtion(){
-
-       // this.queryParamstheyr.bmProjectId = this.bmProjectId
-       // this.formther.bmProjectId = this.bmProjectId
-       console.log(this.numhu)
-       if(this.tab == 0){
-         this.$refs["queryForm"].validate(valid => {
-           if (valid) {
-             if(this.modify == 1){
-               //修改
-               updateConfigatruction(this.queryParamstwr).then(response => {
-                 this.msgSuccess("修改成功");
-                 this.open = false;
-                 this.getListtoi();
-                 this.$router.go(-1)
-               });
-             }else if(this.modify == 0){
-               //新增
-               this.queryParamstwr.bmProjectId = this.bmProjectId
-               addConfigtherction(this.queryParamstwr).then(response => {
-                 this.msgSuccess("新增成功");
-                 this.open = false;
-                 this.getListtoi();
-                 this.$router.go(-1)
-               });
-             }
-
-           }
-         });
-       }else if(this.tab == 3){
-         this.$refs["queryFormtwo"].validate(valid => {
-           if (valid) {
-             if(this.udgment == 1){
-               //修改
-               updateConfigntegration(this.queryParamstheyr).then(response => {
-                 this.msgSuccess("修改成功");
-                 this.open = false;
-                 // this.getListtoi();
-                 this.$router.go(-1)
-               });
-             }else{
-               this.queryParamstheyr.bmProjectId = this.bmProjectId
-               addConfigsix(this.queryParamstheyr).then(response => {
-                 this.msgSuccess("新增成功");
-                 this.opentwo = false;
-                 // this.getListther();
-                  this.$router.go(-1)
-               });
-             }
-
-           }
-         });
-       }
-    },
-    /** 开工照片删除按钮操作 */
-    handleDelete(row) {
-      const configIds = row.id ;
-      this.$confirm('是否确认删除参数编号为"' + configIds + '"的数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delConfigther(configIds);
-        }).then(() => {
-          this.getListtoi();
-          this.msgSuccess("删除成功");
-        })
-    },
-    //设备安装删除
-    handleDeletetwo(row) {
-      const configIds = row.id ;
-      this.$confirm('是否确认删除参数编号为"' + configIds + '"的数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delConfigfour(configIds);
-        }).then(() => {
-          this.getListther();
-          this.msgSuccess("删除成功");
-        })
-    },
-    //项目到资删除
-    handleDeletether(row) {
-      const configIds = row.id ;
-      this.$confirm('是否确认删除参数编号为"' + configIds + '"的数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delConfigfive(configIds);
-        }).then(() => {
-          this.getListfour();
-          this.msgSuccess("删除成功");
-        })
-    },
-    /** 导出按钮操作 */
-    handleExport() {
-      const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有参数数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return exportConfig(queryParams);
-        }).then(response => {
-          this.download(response.msg);
-        })
-    },
-    /** 清理缓存按钮操作 */
-    handleClearCache() {
-      clearCache().then(response => {
-        this.msgSuccess("清理成功");
-      });
-    },
-    //tab
-    tabClid(index){
-    this.tab = index
-    if(this.tab == 1){
-      this.getListther()
-    }else if(this.tab == 0){
-      this.getList();
-      this.getListtoi()
-    }else if(this.tab == 2){
-      this.getListfour()
-      this.getListfive()
-    }else if(this.tab == 3){
-     this.getListsix()
-    }
-    // this.$router.push('/tab');
-    },
-    //下一页点击
-    nextYg(){
-      this.tab = this.tab + 1
-      if(this.tab == 2){
-        this.getListfour()
-        this.getListfive()
-      }else if(this.tab == 3){
-       this.getListsix()
-      }
-    },
-    quipment(index){
-      this.resettwo();
-      this.fileListtherrt = []
-      this.numhu = index
-      this.opentwo = true;
-      this.titletwo = "添加参数";
-    },
-    //取消
-    handleUpdatex(){
-      this.$router.go(-1)
-    },
-    //确认审核
-    handleAudit(){
-      this.queryFormhye.code =  1
-      this.queryFormhye.bmProjectId =  this.bmProjectId
-       addConfigbout(this.queryFormhye).then(response => {
-         console.log(response)
-         this.msgSuccess("提交成功");
-         this.$router.go(-1)
-          // 就可以回到上一页。
-         // this.open = false;
-         // this.getListtwo();
-       });
-      // console.log(this.queryParams)
-    }
-  }
-};
-</script>
-<style rel="stylesheet/scss" lang="scss" scoped>
-  .roiyy{
-    position: fixed;
-    top:95px;
-    left:0;
-    width: 100%;
-    padding-left: 230px;
-    padding-right: 30px;
-    box-sizing: border-box;
-    z-index: 100;
-  }
-  .buiy{
-    // width: 75px !important;
-    // height: 30px !important;
-    // line-height: 30px !important;
-  }
-  .ijeut{
-    display: flex;
-    height: 78px;
-    align-items: center;
-  }
-
-  .burert{
-    .el-upload--picture-card{
-      height: 78px;
-      line-height: 78px;
-      width: 80px;
-      vertical-align:center;
-      border: 0 !important;
-      background-color: #fff;
-    }
-    .el-upload-list--picture-card .el-upload-list__item{
-      height: 78px !important;
-      width: 78px !important;
-    }
-  }
-
-  .manager_form{
-    .manager_lab{
-      .el-form-item__label{
-        width: 145px !important;
-      }
-    }
-    .maneg_lar{
-      position: relative;
-      .el-form-item__label{
-        width: 134px !important;
-      }
-      span{
-        position: absolute;
-        left: -95%;
-      }
-    }
-    .manager_labtwo{
-      .el-form-item__label{
-        width: 244px !important;
-      }
-    }
-    .manager_labthre{
-      // .el-form-item{
-        .el-form-item__label{
-          width: 130px !important;
-        }
-        margin-right: 40px !important;
-      // }
-    }
-    .ieuyr{
-      .el-textarea__inner{
-        height: 80px !important;
-      }
-    }
-    .mage_ter{
-      .el-form-item__label{
-        width: 513px !important;
-      }
-    }
-    .maget_ty{
-      .el-form-item__label{
-        width: 140px !important;
-      }
-    }
-    .forieu{
-     border: 1px solid #DCDFE6;
-     border-radius: 4px;
-     width: 480px;
-     height: 100px !important;
-     position: relative;
-
-     .bure{
-       display: flex;
-       // position: absolute;
-       // height: 100%;
-       // right: 20px;
-       // top: 50%;
-       // transform: translateY(-50%);
-       padding: 10px 0;
-     }
-     .burert{
-       display: flex;
-       position: absolute;
-       height: 100%;
-       left: 20px;
-       top: 50%;
-       transform: translateY(-50%);
-     }
-    }
-  }
-  .lage_div{
-    padding-left: 15px;
-    display: flex;
-    align-items: center;
-    margin-bottom: 22px;
-    .el-form-item{
-      margin-bottom: 0 !important;
-    }
-  }
-.app-conta{
-  .header{
-    padding-left: 22px;
-    height: 45px;
-    line-height: 40px;
-    background-color: #F1F1F1;
-    font-size: 18px;
-    color: #343434;
-    margin-bottom: 40px;
-  }
-  .nauer{
-    .nuae_wtu{
-      display: flex;
-      justify-content: center;
-      align-content: center;
-     .naue_one{
-       width: 30%;
-       p{
-         font-size: 12px;
-         font-family: PingFang SC;
-         font-weight: 400;
-         color: #343434;
-       }
-       .naue_name{
-         font-size: 14px;
-         font-family: PingFang SC;
-         font-weight: bold;
-         color: #0669B2;
-         margin-bottom: 30px;
-       }
-     }
-     .naue_two{
-       flex: 1;
-       padding-top: 20px;
-       // display: flex;
-       // align-items: center;
-       // justify-content: center;
-     }
-    }
-    //tab
-    .naue_tab{
-      border-bottom: 1px solid #CDCDCD;
-      display: flex;
-      margin-top: 30px;
-      padding: 0 10px;
-      margin-bottom: 30px;
-      p{
-        font-size: 12px;
-        font-family: PingFang SC;
-        font-weight: 400;
-        color: #343434;
-        padding: 11px 15px;
-        margin: 0;
-      }
-      .p{
-        border-bottom: 2px solid #1C84C6;
-        margin-bottom: -1px;
-      }
-    }
-    .mation{
-
-      .enterprise{
-        font-size: 14px;
-        font-family: PingFang SC;
-        font-weight: bold;
-        color: #1C84C6;
-        margin-top: 25px;
-        margin-bottom: 20px;
-      }
-      .enterprise_tw{
-        i{
-          margin-right: 5px;
-        }
-        font-size: 14px;
-        font-family: PingFang SC;
-        font-weight: 600;
-        color: #666666;
-      }
-    }
-
-  }
-  .nvestor{
-    margin-bottom: 10px;
-    p{
-      margin:0;
-      font-size: 14px;
-      font-family: PingFang SC;
-      font-weight: bold;
-      color: #343434;
-      height: 24px;
-      line-height: 24px;
-      border-left: 3px solid #1C84C6;
-      padding-left: 13px;
-      i{
-        color: red;
-      }
-    }
-  }
-  .souu{
-    font-size: 14px;
-    font-family: PingFang SC;
-    font-weight: 400;
-    color: #343434;
-    margin-left: 5px;
-  }
-}
-//在建项目
-.nstruction{
-  display: flex;
-  align-items: center;
- .nstruction_nav{
-   display: flex;
-   align-items: center;
-   p:nth-child(1){
-     margin-right: 10px;
-     span{
-       font-size: 14px;
-       font-family: PingFang SC;
-       font-weight: bold;
-       color: #343434;
-     }
-     span:nth-child(1){
-       color: #DF0024;
-     }
-   }
-   p:nth-child(2){
-     width: 233px;
-     height: 30px;
-     line-height: 30px;
-     border: 1px solid #CDCDCD;
-     border-radius: 3px;
-     padding-left: 14px;
-   }
-
- }
- .nstruction_navne{
-   margin-left: 50px;
-   display: flex;
-   align-items: center;
-   p:nth-child(1){
-      margin-right: 10px;
-     span{
-       font-size: 14px;
-       font-family: PingFang SC;
-       font-weight: bold;
-       color: #343434;
-     }
-     span:nth-child(1){
-       color: #DF0024;
-     }
-   }
-   p:nth-child(2){
-     width: 233px;
-     height: 30px;
-     line-height: 30px;
-     border: 1px solid #CDCDCD;
-     border-radius: 3px;
-     padding-left: 14px;
-   }
-
- }
-}
-.kaieu{
-  padding-left: 60px;
-  font-size: 14px;
-  font-family: PingFang SC;
-  font-weight: 800;
-  color: #343434;
-}
-.kaieu_tw{
-  padding-left: 60px;
-  font-size: 14px;
-  font-family: PingFang SC;
-  font-weight: 500;
-  color: #666666;
-}
-</style>

+ 0 - 581
ruoyi-ui/src/views/management/row/index.vue

@@ -1,581 +0,0 @@
-<template>
-
-  <div class="app-container">
-<!--    <div class="header">
-      <span>
-        项目详情 >
-      </span>
-    </div> -->
-  <div style="height: 15px;"></div>
-
-
-  <div class="naue">
-    <!-- //步骤条 -->
-    <div class="nuae_wtu">
-      <div class="naue_one">
-       <p class="naue_name">项目名称:电子类企业</p>
-       <p>返乡创业:是</p>
-       <p>所属产业:电子产业</p>
-      </div>
-      <div class="naue_two">
-        <el-steps :active="naueactive" align-center finish-status="success">
-          <el-step v-for="(item,index) in configList" :key="index" :title="item.dictLabel"></el-step>
-          <!-- <el-step title="线索审核成功"></el-step>
-          <el-step title="签约审核成功"></el-step>
-          <el-step title="在建审核成功"></el-step>
-          <el-step title="结束"></el-step> -->
-        </el-steps>
-      </div>
-    </div>
-    <!-- //tab栏 -->
-    <!-- <div class="naue_tab">
-     <p @click="tabClid(index)" v-for="(item,index) in tabNume"  :key="index" :class="[tab == index? 'p' : '']">{{item}}</p>
-    </div> -->
-      <my-tabs :tabList="tabList" :tabIndex="tabIndex" @changeTab="changeTab">
-          <keep-alive>
-            <component :is="currentContent">
-            </component>
-          </keep-alive>
-        </my-tabs>
-
-    <!-- 内容的显示隐藏 -->
-
-
-
-     <!-- 在建项目 -->
-
-
-  </div>
-
-
-
-    <!-- 添加或修改参数配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
-      <el-form ref="form" :model="form" :rules="rules" label-width="150px">
-        <el-form-item label="企业名称" prop="configName">
-          <el-input v-model="form.configName" placeholder="请输入企业名称" />
-        </el-form-item>
-        <el-form-item label="企业所在地" prop="configKey">
-          <el-input v-model="form.configKey" placeholder="请输入参数键名" />
-        </el-form-item>
-        <el-form-item label="法人代表姓名" prop="configValue">
-          <el-input v-model="form.configValue" placeholder="请输入参数键值" />
-        </el-form-item>
-        <el-form-item label="系统内置" prop="configType">
-          <el-radio-group v-model="form.configType">
-            <el-radio
-              v-for="dict in typeOptions"
-              :key="dict.dictValue"
-              :label="dict.dictValue"
-            >{{dict.dictLabel}}</el-radio>
-          </el-radio-group>
-        </el-form-item>
-        <el-form-item label="统一社会信用代码" prop="remark">
-          <el-input v-model="form.remark"  placeholder="请输入统一社会信用代码" />
-        </el-form-item>
-        <el-form-item label="联系方式" prop="remark">
-          <el-input v-model="form.remark"  placeholder="请输入联系方式" />
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-import { listConfig, listConfigther ,getConfig, delConfig, addConfig, updateConfig, exportConfig, clearCache } from "@/api/system/config";
-import myTabs from '../../tab/index.vue'
-import One from '../../under/index.vue'
-import Two from '../nstruction/index.vue'
-import Three from '../roduction/index.vue'
-import Four from '../../../components/ProjectDec/SignContract.vue'
-export default {
-  name: "Config",
-  components: {
-      myTabs,
-      'one': One,
-      'two': Two,
-      'three':Three,
-      'four':Four
-},
-  data() {
-    return {
-      tabIndex: 0,
-            currentContent: 'one',
-            tabList: [
-              {
-                index: 0,
-                name: '线索信息',
-                component: 'one'
-              },
-              {
-                index: 2,
-                name: '签约信息',
-                component: 'four'
-              },
-              {
-                index: 3,
-                name: '在建信息',
-                component: 'two'
-              },
-              {
-                index: 4,
-                name: '投产信息',
-                component: 'three'
-              }
-            ],
-      // 遮罩层
-      loading: true,
-      //步骤条
-      naueactive:0,
-      tab:1,
-      tabNume:['线索信息','签约信息','在建信息','投产信息'],
-      // 选中数组
-      ids: [],
-      // 非单个禁用
-      single: true,
-      // 非多个禁用
-      multiple: true,
-      // 显示搜索条件
-      showSearch: true,
-      // 总条数
-      total: 0,
-      // 参数表格数据
-      configList: [],
-      // 弹出层标题
-      title: "",
-      // 是否显示弹出层
-      open: false,
-      // 类型数据字典
-      typeOptions: [],
-      // 日期范围
-      dateRange: [],
-      // 查询参数
-      queryParams: {
-        // pageNum: 1,
-        // pageSize: 10,
-        // configName: undefined,
-        // configKey: undefined,
-        // configType: undefined
-      },
-      // 表单参数
-      form: {},
-      // 表单校验
-      rules: {
-        configName: [
-          { required: true, message: "参数名称不能为空", trigger: "blur" }
-        ],
-        configKey: [
-          { required: true, message: "参数键名不能为空", trigger: "blur" }
-        ],
-        configValue: [
-          { required: true, message: "参数键值不能为空", trigger: "blur" }
-        ]
-      }
-    };
-  },
-  created() {
-    if(this.$route.query.setrd == 0){
-      this.naueactive = this.$route.query.setrd - 0
-    }else {
-      this.naueactive = this.$route.query.setrd - 0 - 1
-    }
-    console.log(this.naueactive)
-    this.getList();
-    this.getDicts("sys_yes_no").then(response => {
-      this.typeOptions = response.data;
-    });
-  },
-  methods: {
-    /** 查询参数列表 */
-    getList() {
-      this.loading = true;
-      listConfigther().then(response => {
-        console.log(response)
-          this.configList = response.data;
-          // this.total = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    // 参数系统内置字典翻译
-    typeFormat(row, column) {
-      return this.selectDictLabel(this.typeOptions, row.configType);
-    },
-    // 取消按钮
-    cancel() {
-      this.open = false;
-      this.reset();
-    },
-    // 表单重置
-    reset() {
-      this.form = {
-        configId: undefined,
-        configName: undefined,
-        configKey: undefined,
-        configValue: undefined,
-        configType: "Y",
-        remark: undefined
-      };
-      this.resetForm("form");
-    },
-    /** 搜索按钮操作 */
-    handleQuery() {
-      this.queryParams.pageNum = 1;
-      this.getList();
-    },
-    /** 重置按钮操作 */
-    resetQuery() {
-      this.dateRange = [];
-      this.resetForm("queryForm");
-      this.handleQuery();
-    },
-    /** 新增按钮操作 */
-    handleAdd() {
-      console.log(this.queryParams)
-      // this.reset();
-      // this.open = true;
-      // this.title = "添加参数";
-    },
-    // 多选框选中数据
-    handleSelectionChange(selection) {
-      this.ids = selection.map(item => item.configId)
-      this.single = selection.length!=1
-      this.multiple = !selection.length
-    },
-    /** 修改按钮操作 */
-    handleUpdate(row) {
-      this.reset();
-      const configId = row.configId || this.ids
-      getConfig(configId).then(response => {
-        this.form = response.data;
-        this.open = true;
-        this.title = "修改参数";
-      });
-    },
-    /** 提交按钮 */
-    submitForm: function() {
-      this.$refs["form"].validate(valid => {
-        if (valid) {
-          if (this.form.configId != undefined) {
-            updateConfig(this.form).then(response => {
-              this.msgSuccess("修改成功");
-              this.open = false;
-              this.getList();
-            });
-          } else {
-            addConfig(this.form).then(response => {
-              this.msgSuccess("新增成功");
-              this.open = false;
-              this.getList();
-            });
-          }
-        }
-      });
-    },
-    /** 删除按钮操作 */
-    handleDelete(row) {
-      const configIds = row.configId || this.ids;
-      this.$confirm('是否确认删除参数编号为"' + configIds + '"的数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delConfig(configIds);
-        }).then(() => {
-          this.getList();
-          this.msgSuccess("删除成功");
-        })
-    },
-    /** 导出按钮操作 */
-    handleExport() {
-      const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有参数数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return exportConfig(queryParams);
-        }).then(response => {
-          this.download(response.msg);
-        })
-    },
-    /** 清理缓存按钮操作 */
-    handleClearCache() {
-      clearCache().then(response => {
-        this.msgSuccess("清理成功");
-      });
-    },
-    //tab
-    changeTab(index){
-      console.log(34)
-    this.tabIndex = index.index
-    this.currentContent = index.component
-    // this.$router.push('/tab');
-    }
-  }
-};
-</script>
-<style rel="stylesheet/scss" lang="scss" scoped>
-  .manager_form{
-    .manager_lab{
-      .el-form-item__label{
-        width: 145px !important;
-      }
-    }
-    .maneg_lar{
-      position: relative;
-      .el-form-item__label{
-        width: 134px !important;
-      }
-      span{
-        position: absolute;
-        left: -95%;
-      }
-    }
-    .manager_labtwo{
-      .el-form-item__label{
-        width: 244px !important;
-      }
-    }
-    .manager_labthre{
-      // .el-form-item{
-        .el-form-item__label{
-          width: 130px !important;
-        }
-        margin-right: 40px !important;
-      // }
-    }
-    .ieuyr{
-      .el-textarea__inner{
-        height: 80px !important;
-      }
-    }
-    .mage_ter{
-      .el-form-item__label{
-        width: 513px !important;
-      }
-    }
-    .maget_ty{
-      .el-form-item__label{
-        width: 135px !important;
-      }
-    }
-    .forieu{
-     border: 1px solid #DCDFE6;
-     border-radius: 4px;
-     width: 480px;
-     height: 90px;
-     position: relative;
-     .bure{
-       position: absolute;
-       right: 20px;
-       top: 50%;
-       transform: translateY(-50%);
-     }
-    }
-  }
-  .lage_div{
-    padding-left: 15px;
-    display: flex;
-    align-items: center;
-    margin-bottom: 22px;
-    .el-form-item{
-      margin-bottom: 0 !important;
-    }
-  }
-.app-container{
-  height: calc(100vh - 84px);
-  overflow-y: auto;
-  padding: 0 20px 20px;
-
-  .header{
-   padding-top: 20px;
-    padding-bottom: 90px;
-    position: fixed;
-    z-index: 99;
-    width: calc(100% - 240px);
-    background-color: #fff;
-
-    span{
-      display: block;
-      line-height: 45px;
-      padding-left: 22px;
-      color: #343434;
-      font-size: 18px;
-      background-color: #F1F1F1;
-    }
-  }
-  .naue{
-    border: 1px solid #DADADA;
-    padding:  20px;
-    margin-top: 40px;
-    .nuae_wtu{
-      display: flex;
-      justify-content: center;
-      align-content: center;
-     .naue_one{
-       width: 30%;
-       p{
-         font-size: 12px;
-         font-family: PingFang SC;
-         font-weight: 400;
-         color: #343434;
-       }
-       .naue_name{
-         font-size: 14px;
-         font-family: PingFang SC;
-         font-weight: bold;
-         color: #0669B2;
-         margin-bottom: 30px;
-       }
-     }
-     .naue_two{
-       flex: 1;
-       padding-top: 20px;
-       // display: flex;
-       // align-items: center;
-       // justify-content: center;
-     }
-    }
-    //tab
-    .naue_tab{
-      border-bottom: 1px solid #CDCDCD;
-      display: flex;
-      margin-top: 30px;
-      padding: 0 10px;
-      margin-bottom: 30px;
-      p{
-        font-size: 12px;
-        font-family: PingFang SC;
-        font-weight: 400;
-        color: #343434;
-        padding: 11px 15px;
-        margin: 0;
-      }
-      .p{
-        border-bottom: 2px solid #1C84C6;
-        margin-bottom: -1px;
-      }
-    }
-    .mation{
-
-      .enterprise{
-        font-size: 14px;
-        font-family: PingFang SC;
-        font-weight: bold;
-        color: #1C84C6;
-        margin-top: 25px;
-        margin-bottom: 20px;
-      }
-      .enterprise_tw{
-        i{
-          margin-right: 5px;
-        }
-        font-size: 14px;
-        font-family: PingFang SC;
-        font-weight: 600;
-        color: #666666;
-      }
-    }
-
-  }
-  .nvestor{
-    margin-bottom: 10px;
-    p{
-      margin:0;
-      font-size: 14px;
-      font-family: PingFang SC;
-      font-weight: bold;
-      color: #343434;
-      height: 24px;
-      line-height: 24px;
-      border-left: 3px solid #1C84C6;
-      padding-left: 13px;
-      i{
-        color: red;
-      }
-    }
-  }
-  .souu{
-    font-size: 14px;
-    font-family: PingFang SC;
-    font-weight: 400;
-    color: #343434;
-    margin-left: 5px;
-  }
-}
-//在建项目
-.nstruction{
-  display: flex;
-  align-items: center;
- .nstruction_nav{
-   display: flex;
-   align-items: center;
-   p:nth-child(1){
-     margin-right: 10px;
-     span{
-       font-size: 14px;
-       font-family: PingFang SC;
-       font-weight: bold;
-       color: #343434;
-     }
-     span:nth-child(1){
-       color: #DF0024;
-     }
-   }
-   p:nth-child(2){
-     width: 233px;
-     height: 30px;
-     line-height: 30px;
-     border: 1px solid #CDCDCD;
-     border-radius: 3px;
-     padding-left: 14px;
-   }
-
- }
- .nstruction_navne{
-   margin-left: 50px;
-   display: flex;
-   align-items: center;
-   p:nth-child(1){
-      margin-right: 10px;
-     span{
-       font-size: 14px;
-       font-family: PingFang SC;
-       font-weight: bold;
-       color: #343434;
-     }
-     span:nth-child(1){
-       color: #DF0024;
-     }
-   }
-   p:nth-child(2){
-     width: 233px;
-     height: 30px;
-     line-height: 30px;
-     border: 1px solid #CDCDCD;
-     border-radius: 3px;
-     padding-left: 14px;
-   }
-
- }
-}
-.kaieu{
-  padding-left: 60px;
-  font-size: 14px;
-  font-family: PingFang SC;
-  font-weight: 800;
-  color: #343434;
-}
-.kaieu_tw{
-  padding-left: 60px;
-  font-size: 14px;
-  font-family: PingFang SC;
-  font-weight: 500;
-  color: #666666;
-}
-</style>

+ 0 - 63
ruoyi-ui/src/views/management/row/tab.vue

@@ -1,63 +0,0 @@
-<template>
-  <div>
-    <!-- //tab栏 -->
-    <div class="naue_tab">
-     <p @click="tabClid(index)" v-for="(item,index) in tabNume"  :key="index" :class="[tab == index? 'p' : '']">{{item}}</p>
-    </div>
-    <div>
-         <slot></slot>
-    </div>
-  </div>
-</template>
-
-<script>
-export default {
-  name: "Config",
-  data() {
-    return {
-      // 遮罩层
-      loading: true,
-      //步骤条
-      naueactive:2,
-      tab:1,
-      tabNume:['线索信息','签约信息','在建信息','投产信息'],
-      // 选中数组
-      ids: [],
-      // 非单个禁用
-      single: true,
-      // 非多个禁用
-    };
-  },
-  created() {
-  },
-  methods: {
-    //tab
-    tabClid(index){
-    this.tab = index
-    }
-  }
-};
-</script>
-
-<style rel="stylesheet/scss" lang="scss">
-  //tab
-  .naue_tab{
-    border-bottom: 1px solid #CDCDCD;
-    display: flex;
-    margin-top: 30px;
-    padding: 0 10px;
-    margin-bottom: 30px;
-    p{
-      font-size: 12px;
-      font-family: PingFang SC;
-      font-weight: 400;
-      color: #343434;
-      padding: 11px 15px;
-      margin: 0;
-    }
-    .p{
-      border-bottom: 2px solid #1C84C6;
-      margin-bottom: -1px;
-    }
-  }
-</style>

+ 282 - 282
ruoyi-ui/src/views/statistical/sign/index.vue

@@ -1,283 +1,283 @@
-<template>
-  <div class="in_box">
-    <el-row>
-      <el-col :span="19">
-        <div class="in_left">
-          <div class="toReviewed">
-            <el-table v-loading="loading" style="max-height: 695px;overflow-y: auto;" :data="infoList">
-              <el-table-column label="项目名称" align="center" prop="name" />
-              <el-table-column label="时间" align="center" prop="createTime" />
-              <el-table-column label="操作" width="280" align="center" class-name="small-padding fixed-width">
-                <template slot-scope="scope">
-                  <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-                    @click="dec_btn(scope.row)">查看详情</el-button>
-                  <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-                    @click="infoBtn(scope.row)">{{scope.row.projectStatus%2==1?'提交审核':'驳回'}}</el-button>
-                  <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
-                    @click="bh_brn(scope.row)">销号</el-button>
-                </template>
-              </el-table-column>
-            </el-table>
-          </div>
-          <div class="exl_box">
-            <div class="exl_title">
-              <span>招资引资项目到资金额</span>
-              <el-date-picker v-model="lb_value" style="width: 100px;" type="year" value-format="yyyy" @change="picher_fn"
-                placeholder="选择年">
-              </el-date-picker>
-            </div>
-            <echarts :echartData="echartData" :ehaersList="ehaersList" v-if="flags"></echarts>
-          </div>
-        </div>
-      </el-col>
-      <el-col :span="5" style="padding: 24px 12px 24px 0 ;">
-        <div class="in_right">
-          <div class="rig_title">
-            单位榜单
-          </div>
-          <div class="rig_tab_top">
-            <div class="rig_tab_item">
-              单位名称
-            </div>
-            <div class="rig_tab_item">
-              目标任务
-            </div>
-            <div class="rig_tab_item">
-              已完成任务
-            </div>
-          </div>
-          <div class="rig_cont">
-            <div class="rig_items" v-for="(item,index) in unitList" :key="index">
-              <span>{{item.deptName}}</span>
-              <span>{{item.targetInvestmentNum?item.targetInvestmentNum:0}}个</span>
-              <span>{{item.successMission?item.successMission:0}}个</span>
-            </div>
-          </div>
-          <div class="rig_tab_top" style="background-color: #1C84C6;">
-            <div class="rig_tab_item">
-              单位名称
-            </div>
-            <div class="rig_tab_item">
-              目标合同金额
-            </div>
-            <div class="rig_tab_item">
-              实际合同金额
-            </div>
-          </div>
-          <div class="rig_cont">
-            <div class="rig_items" v-for="(item,index) in zjList" :key="index">
-              <span>{{item.deptName}}</span>
-              <span>{{item.targetContractAmount}}万</span>
-              <span>{{item.totAmt}}万</span>
-            </div>
-          </div>
-        </div>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-<script>
-  import echarts from '@/components/Echarts/indexTwo.vue'
-  import {
-    toBeReviewedList,
-    getStatisticst,
-    getTotAmtList,
-    setExamine,
-    setReject,
-    getUnitList,
-    getUnitAmountList,
-    getProjectContractEharts
-  } from '@/api/statistical/index.js'
-  export default {
-    data() {
-      return {
-        infoList: [],
-        echartData: {
-          name: '签约数及合同金额柱状图',
-          numName: ['签约项目个数', '合同金额'],
-          numNameArr: ['签约项目个数', '合同金额']
-        },
-        zjList: [],
-        ehaersList: {},
-        loading: false,
-        unitList: [],
-        flags: false,
-        lb_value: '2021', // 柱状图类别
-      }
-    },
-    components: {
-      echarts
-    },
-    mounted() {
-      this.getList()
-      this.bd_btn()
-      this.zj_btn()
-      this.eharts_fn()
-    },
-    methods: {
-      picher_fn() {
-        this.eharts_fn()
-      },
-      eharts_fn(val) {
-        getProjectContractEharts({
-          year: this.lb_value
-        }).then(res => {
-          this.ehaersList = res.data
-          this.flags = true
-        })
-      },
-      zj_btn() {
-        getTotAmtList().then(res => {
-          this.zjList = res.rows
-        })
-      },
-      bd_btn() {
-        getUnitAmountList().then(res => {
-          this.unitList = res.rows
-        })
-      },
-      dec_btn() {
-
-      },
-      bh_brn(scope) {
-        this.$confirm('是否确认销号', "提醒", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          delProject(scope.id).then(() => {
-            this.getList();
-            this.msgSuccess("提交成功");
-          })
-        })
-      },
-      infoBtn(scope) {
-        if (scope.projectStatus % 2 == 1) {
-          this.$confirm('是否确认提交审核', "提醒", {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
-            type: "warning"
-          }).then(function() {
-            return setExamine({
-              code: 1,
-              bmProjectId: scope.id
-            });
-          }).then(() => {
-            this.getList();
-            this.msgSuccess("提交成功");
-          })
-        } else {
-          this.$confirm('是否确认驳回', "提醒", {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
-            type: "warning"
-          }).then(function() {
-            return setReject({
-              code: 2,
-              bmProjectId: scope.id
-            });
-          }).then(() => {
-            this.getList();
-            this.msgSuccess("提交成功");
-          })
-        }
-
-      },
-      getList() {
-        getStatisticst('4,5').then(res => {
-          this.infoList = res.rows
-        })
-      },
-    }
-  }
-</script>
-<style lang="scss" scoped>
-  .rig_tab_top {
-    display: flex;
-    background: #6DCEF6;
-    line-height: 36px;
-    color: #fff;
-
-    .rig_tab_item {
-      font-size: 14px;
-      flex: 1;
-      text-align: center;
-    }
-  }
-
-  .rig_cont {
-    border: 1px solid #CDCDCD;
-    box-sizing: border-box;
-    margin-bottom: 31px;
-    max-height: 270px;
-    overflow-y: auto;
-    scrollbar-width: none;
-    /* firefox */
-    -ms-overflow-style: none;
-
-    /* IE 10+ */
-    &::-webkit-scrollbar {
-      display: none;
-      /* Chrome Safari */
-    }
-
-    .rig_items {
-      line-height: 36px;
-      color: #343434;
-      font-size: 12px;
-      display: flex;
-
-      span {
-        flex: 1;
-        text-align: center;
-      }
-    }
-  }
-
-  .in_right {
-    padding: 15px 15px 0;
-    border: 1px solid #DADADA;
-    box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
-
-    .rig_title {
-      color: #1C84C6;
-      font-size: 18px;
-      line-height: 36px;
-      margin-bottom: 15px;
-    }
-  }
-
-  .in_left {
-    padding: 24px 20px 40px;
-
-    .toReviewed {
-      padding: 19px 16px;
-      border: 1px solid #DADADA;
-      box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
-      margin-bottom: 38px;
-
-      .rev_title {
-        margin-bottom: 23px;
-      }
-    }
-
-    .exl_box {
-      border: 1px solid #DADADA;
-      box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
-      padding: 20px;
-      box-sizing: border-box;
-
-      .exl_title {
-        display: flex;
-        justify-content: space-between;
-
-        span {
-          color: #1C84C6;
-          font-size: 18px;
-          line-height: 36px;
-        }
-
-      }
-    }
-  }
+<template>
+  <div class="in_box">
+    <el-row>
+      <el-col :span="19">
+        <div class="in_left">
+          <div class="toReviewed">
+            <el-table v-loading="loading" style="max-height: 695px;overflow-y: auto;" :data="infoList">
+              <el-table-column label="项目名称" align="center" prop="name" />
+              <el-table-column label="时间" align="center" prop="createTime" />
+              <el-table-column label="操作" width="280" align="center" class-name="small-padding fixed-width">
+                <template slot-scope="scope">
+                  <el-button size="mini" type="text" style="background: #F5A40C;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+                    @click="dec_btn(scope.row)">查看详情</el-button>
+                  <el-button size="mini" type="text" style="background: #0669B2;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+                    @click="infoBtn(scope.row)">{{scope.row.projectStatus%2==1?'提交审核':'驳回'}}</el-button>
+                  <el-button size="mini" type="text" style="background: #DE1939;color: #FFF;padding: 7px;" v-hasPermi="['projectInfo:info:edit']"
+                    @click="bh_brn(scope.row)">销号</el-button>
+                </template>
+              </el-table-column>
+            </el-table>
+          </div>
+          <div class="exl_box">
+            <div class="exl_title">
+              <span>招资引资项目到资金额</span>
+              <el-date-picker v-model="lb_value" style="width: 100px;" type="year" value-format="yyyy" @change="picher_fn"
+                placeholder="选择年">
+              </el-date-picker>
+            </div>
+            <echarts :echartData="echartData" :ehaersList="ehaersList" v-if="flags"></echarts>
+          </div>
+        </div>
+      </el-col>
+      <el-col :span="5" style="padding: 24px 12px 24px 0 ;">
+        <div class="in_right">
+          <div class="rig_title">
+            单位榜单
+          </div>
+          <div class="rig_tab_top">
+            <div class="rig_tab_item">
+              单位名称
+            </div>
+            <div class="rig_tab_item">
+              目标任务
+            </div>
+            <div class="rig_tab_item">
+              已完成任务
+            </div>
+          </div>
+          <div class="rig_cont">
+            <div class="rig_items" v-for="(item,index) in unitList" :key="index">
+              <span>{{item.deptName}}</span>
+              <span>{{item.targetInvestmentNum?item.targetInvestmentNum:0}}个</span>
+              <span>{{item.successMission?item.successMission:0}}个</span>
+            </div>
+          </div>
+          <div class="rig_tab_top" style="background-color: #1C84C6;">
+            <div class="rig_tab_item">
+              单位名称
+            </div>
+            <div class="rig_tab_item">
+              目标合同金额
+            </div>
+            <div class="rig_tab_item">
+              实际合同金额
+            </div>
+          </div>
+          <div class="rig_cont">
+            <div class="rig_items" v-for="(item,index) in zjList" :key="index">
+              <span>{{item.deptName}}</span>
+              <span>{{item.targetContractAmount}}万</span>
+              <span>{{item.totAmt}}万</span>
+            </div>
+          </div>
+        </div>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+<script>
+  import echarts from '@/components/Echarts/indexTwo.vue'
+  import {
+    toBeReviewedList,
+    getStatisticst,
+    getTotAmtList,
+    setExamine,
+    setReject,
+    getUnitList,
+    getUnitAmountList,
+    getProjectContractEharts
+  } from '@/api/statistical/index.js'
+  export default {
+    data() {
+      return {
+        infoList: [],
+        echartData: {
+          name: '签约数及合同金额柱状图',
+          numName: ['签约项目个数', '合同金额'],
+          numNameArr: ['签约项目个数', '合同金额']
+        },
+        zjList: [],
+        ehaersList: {},
+        loading: false,
+        unitList: [],
+        flags: false,
+        lb_value: '2021', // 柱状图类别
+      }
+    },
+    components: {
+      echarts
+    },
+    mounted() {
+      this.getList()
+      this.bd_btn()
+      this.zj_btn()
+      this.eharts_fn()
+    },
+    methods: {
+      picher_fn() {
+        this.eharts_fn()
+      },
+      eharts_fn(val) {
+        getProjectContractEharts({
+          year: this.lb_value
+        }).then(res => {
+          this.ehaersList = res.data
+          this.flags = true
+        })
+      },
+      zj_btn() {
+        getTotAmtList().then(res => {
+          this.zjList = res.rows
+        })
+      },
+      bd_btn() {
+        getUnitAmountList().then(res => {
+          this.unitList = res.rows
+        })
+      },
+      dec_btn() {
+
+      },
+      bh_brn(scope) {
+        this.$confirm('是否确认销号', "提醒", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          delProject(scope.id).then(() => {
+            this.getList();
+            this.msgSuccess("提交成功");
+          })
+        })
+      },
+      infoBtn(scope) {
+        if (scope.projectStatus % 2 == 1) {
+          this.$confirm('是否确认提交审核', "提醒", {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            type: "warning"
+          }).then(function() {
+            return setExamine({
+              code: 1,
+              bmProjectId: scope.id
+            });
+          }).then(() => {
+            this.getList();
+            this.msgSuccess("提交成功");
+          })
+        } else {
+          this.$confirm('是否确认驳回', "提醒", {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            type: "warning"
+          }).then(function() {
+            return setReject({
+              code: 2,
+              bmProjectId: scope.id
+            });
+          }).then(() => {
+            this.getList();
+            this.msgSuccess("提交成功");
+          })
+        }
+
+      },
+      getList() {
+        getStatisticst('4,5').then(res => {
+          this.infoList = res.rows
+        })
+      },
+    }
+  }
+</script>
+<style lang="scss" scoped>
+  .rig_tab_top {
+    display: flex;
+    background: #6DCEF6;
+    line-height: 36px;
+    color: #fff;
+
+    .rig_tab_item {
+      font-size: 14px;
+      flex: 1;
+      text-align: center;
+    }
+  }
+
+  .rig_cont {
+    border: 1px solid #CDCDCD;
+    box-sizing: border-box;
+    margin-bottom: 31px;
+    max-height: 270px;
+    overflow-y: auto;
+    scrollbar-width: none;
+    /* firefox */
+    -ms-overflow-style: none;
+
+    /* IE 10+ */
+    &::-webkit-scrollbar {
+      display: none;
+      /* Chrome Safari */
+    }
+
+    .rig_items {
+      line-height: 36px;
+      color: #343434;
+      font-size: 12px;
+      display: flex;
+
+      span {
+        flex: 1;
+        text-align: center;
+      }
+    }
+  }
+
+  .in_right {
+    padding: 15px 15px 0;
+    border: 1px solid #DADADA;
+    box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
+
+    .rig_title {
+      color: #1C84C6;
+      font-size: 18px;
+      line-height: 36px;
+      margin-bottom: 15px;
+    }
+  }
+
+  .in_left {
+    padding: 24px 20px 40px;
+
+    .toReviewed {
+      padding: 19px 16px;
+      border: 1px solid #DADADA;
+      box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
+      margin-bottom: 38px;
+
+      .rev_title {
+        margin-bottom: 23px;
+      }
+    }
+
+    .exl_box {
+      border: 1px solid #DADADA;
+      box-shadow: 0px 7px 9px 2px rgba(201, 201, 201, 0.36);
+      padding: 20px;
+      box-sizing: border-box;
+
+      .exl_title {
+        display: flex;
+        justify-content: space-between;
+
+        span {
+          color: #1C84C6;
+          font-size: 18px;
+          line-height: 36px;
+        }
+
+      }
+    }
+  }
 </style>

+ 0 - 1349
ruoyi-ui/src/views/under/index.vue

@@ -1,1349 +0,0 @@
-<template>
-
-  <div class="app-conta">
-    <el-row :gutter="10" class="mb8 roiyy">
-       <el-col :span="1.5">
-         <el-button
-           type="primary"
-           @click="submitCtion"
-           v-hasPermi="['bmProject:projec:examine']"
-         >提交</el-button>
-       </el-col>
-       <el-col :span="1.5">
-         <el-button
-           type="primary"
-           @click="emporary"
-           v-hasPermi="['projectInfo:info:add']"
-         >暂存</el-button>
-       </el-col>
-     </el-row>
-    <!-- 内容的显示隐藏 -->
-<div class="mation" >
-       <div class="nvestor">
-         <p>投资方 <i>*</i></p>
-       </div>
-       <p class="enterprise">企业</p>
-       <p class="enterprise_tw" @click="handleAdd"><i class="el-icon-circle-plus-outline"></i>添加企业</p>
-       <el-table v-loading="loading" :data="configList" >
-         <!-- <el-table-column type="selection" width="55" align="center" /> -->
-         <el-table-column label="企业名称" align="center" prop="companyName" />
-         <el-table-column label="企业所在地" align="center" prop="companyAddress" :show-overflow-tooltip="true" />
-         <el-table-column label="法人代表姓名" align="center" prop="companyLegal" :show-overflow-tooltip="true" />
-         <el-table-column label="统一社会信用代码" align="center" prop="companyCode" />
-         <el-table-column label="联系方式" align="center" prop="phone"  />
-        <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
-         <el-table-column label="操作" align="center" >
-           <!-- class-name="small-padding fixed-width" -->
-           <template slot-scope="scope">
-             <el-button
-               size="mini"
-               type="warning"
-               @click="handleUpdate(scope.row)"
-               v-hasPermi="['system:config:edit']"
-             >修改</el-button>
-             <el-button
-               size="mini"
-               type="danger"
-               @click="handleDelete(scope.row)"
-               v-hasPermi="['system:config:remove']"
-             >删除</el-button>
-           </template>
-         </el-table-column>
-       </el-table>
-       <p class="enterprise">自然人</p>
-       <p class="enterprise_tw" @click="handleAddtwo"><i class="el-icon-circle-plus-outline"></i>添加自然人</p>
-  <el-table v-loading="loading" :data="configListtwoL" >
-   <!-- <el-table-column type="selection" width="55" align="center" /> -->
-   <el-table-column label="姓名" align="center" prop="name" />
-   <el-table-column label="自然人所在地" align="center" prop="address" :show-overflow-tooltip="true" />
-   <el-table-column label="身份证号码" align="center" prop="idCode" :show-overflow-tooltip="true" />
-   <el-table-column label="联系方式" align="center" prop="phone" />
-   <!-- <el-table-column label="联系方式" align="center" prop="configType" :formatter="typeFormat" /> -->
-  <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
-   <el-table-column label="操作" align="center" >
-     <!-- class-name="small-padding fixed-width" -->
-     <template slot-scope="scope">
-       <el-button
-         size="mini"
-         type="warning"
-         @click="handleUpdatetwo(scope.row)"
-         v-hasPermi="['system:config:edit']"
-       >修改</el-button>
-       <el-button
-         size="mini"
-         type="danger"
-         @click="handleDeletetwo(scope.row)"
-         v-hasPermi="['system:config:remove']"
-       >删除</el-button>
-     </template>
-   </el-table-column>
- </el-table>
-       <el-form :model="queryParams" :rules="queryForm" ref="queryParams" :inline="true" v-show="showSearch" label-width="115px" label-position="center" class="manager_form">
-       <!-- <el-form ref="queryForm" :model="queryParams" :rules="queryForm" label-width="115px" label-position="center" class="manager_form"> -->
-         <el-form-item label="投资方联系人" prop="contactor">
-           <el-input
-             v-model="queryParams.contactor"
-             placeholder="请输入投资方联系人"
-             clearable
-             size="small"
-             style="width: 223px"
-           />
-         </el-form-item>
-         <el-form-item label="投资方联系方式:" prop="phone" class="weiru">
-           <el-input
-             v-model.number="queryParams.phone"
-             placeholder="请输入联系方式"
-             clearable
-             size="small"
-             style="width: 233px"
-           />
-         </el-form-item>
-         <div class="nvestor">
-           <p>引荐方 <i>*</i></p>
-         </div>
-         <div v-for="(item,index) in queryParams.referralList " :key="index" v-if="queryParams.referralList !== null">
-           <el-form-item label="引荐单位:" prop="sysdeptId">
-             <el-select v-model="item.sysdeptId" placeholder="系统内置" clearable size="small" style="width: 188px">
-               <el-option
-                 v-for="dict in typeOptionstwo"
-                 :key="dict.deptId"
-                 :label="dict.deptName"
-                 :value="dict.deptId"
-               />
-             </el-select>
-           </el-form-item>
-           <el-form-item label="投资分配额:" prop="investmentAllcocation">
-             <el-input
-               v-model.number="item.investmentAllcocation"
-               placeholder="输入数字"
-               clearable
-               size="small"
-               style="width: 98px"
-               @keyup.enter.native="handleQuery"
-             />
-             <span class="souu">%</span>
-           </el-form-item>
-           <el-form-item label="引荐方联系人:" prop="referral">
-             <el-input
-               v-model="item.referral"
-               placeholder="请输入"
-               clearable
-               size="small"
-               style="width: 98px"
-               @keyup.enter.native="handleQuery"
-             />
-           </el-form-item>
-
-           <el-form-item label="引荐方联系方式:" prop="referralPhone">
-             <el-input
-               v-model="item.referralPhone"
-               placeholder="请输入联系方式"
-               clearable
-               size="small"
-               style="width: 153px"
-               @keyup.enter.native="handleQuery"
-             />
-           </el-form-item>
-         </div>
-         <div v-if="queryParams.referralList == null">
-           <el-form-item label="引荐单位:" prop="sysdeptId">
-             <el-select v-model="queryParams.referralList[0].sysdeptId" placeholder="系统内置" clearable size="small" style="width: 188px">
-               <el-option
-                 v-for="dict in typeOptionstwo"
-                 :key="dict.deptId"
-                 :label="dict.deptName"
-                 :value="dict.deptId"
-               />
-             </el-select>
-           </el-form-item>
-           <el-form-item label="投资分配额:" prop="investmentAllcocation">
-             <el-input
-               v-model="queryParams.referralList[0].investmentAllcocation"
-               placeholder="输入数字"
-               clearable
-               size="small"
-               style="width: 98px"
-               @keyup.enter.native="handleQuery"
-             />
-             <span class="souu">%</span>
-           </el-form-item>
-           <el-form-item label="引荐方联系人:" prop="referral">
-             <el-input
-               v-model="queryParams.referralList[0].referral"
-               placeholder="请输入"
-               clearable
-               size="small"
-               style="width: 98px"
-               @keyup.enter.native="handleQuery"
-             />
-           </el-form-item>
-
-           <el-form-item label="引荐方联系方式:" prop="referralPhone">
-             <el-input
-               v-model="queryParams.referralList[0].referralPhone"
-               placeholder="请输入联系方式"
-               clearable
-               size="small"
-               style="width: 153px"
-               @keyup.enter.native="handleQuery"
-             />
-           </el-form-item>
-           <el-form-item label="引荐单位:" prop="sysdeptId">
-             <el-select v-model="queryParams.referralList[1].sysdeptId" placeholder="系统内置" clearable size="small" style="width: 188px">
-               <el-option
-                 v-for="dict in typeOptionstwo"
-                 :key="dict.deptId"
-                 :label="dict.deptName"
-                 :value="dict.deptId"
-               />
-             </el-select>
-           </el-form-item>
-           <el-form-item label="投资分配额:" prop="investmentAllcocation">
-             <el-input
-               v-model="queryParams.referralList[0].investmentAllcocation"
-               placeholder="输入数字"
-               clearable
-               size="small"
-               style="width: 98px"
-               @keyup.enter.native="handleQuery"
-             />
-             <span class="souu">%</span>
-           </el-form-item>
-           <el-form-item label="引荐方联系人:" prop="referral">
-             <el-input
-               v-model="queryParams.referralList[0].referral"
-               placeholder="请输入"
-               clearable
-               size="small"
-               style="width: 98px"
-               @keyup.enter.native="handleQuery"
-             />
-           </el-form-item>
-
-           <el-form-item label="引荐方联系方式:" prop="referralPhone">
-             <el-input
-               v-model="queryParams.referralList[1].referralPhone"
-               placeholder="请输入联系方式"
-               clearable
-               size="small"
-               style="width: 153px"
-               @keyup.enter.native="handleQuery"
-             />
-           </el-form-item>
-        </div>
-         <div class="nvestor">
-           <p>项目基本信息 <i>*</i></p>
-         </div>
-         <el-form-item label="预计投资额" prop="needAmt">
-           <el-input
-             v-model.number="queryParams.needAmt"
-             placeholder="请输入预计投资额"
-             clearable
-             size="small"
-             style="width: 223px"
-             @keyup.enter.native="handleQuery"
-           />
-         </el-form-item>
-         <el-form-item label="其中 固定资产投资:" prop="fixedAssets" class="manager_lab" >
-           <el-input
-             v-model.number="queryParams.fixedAssets"
-             placeholder="请输入"
-             clearable
-             size="small"
-             style="width: 223px"
-             @keyup.enter.native="handleQuery"
-           />
-         </el-form-item>
-         <div class="lage_div">
-           <span>项目主营产品</span>
-           <el-form-item label="产品名称:" prop="productName"  class="maneg_lar">
-
-             <el-input
-               v-model="queryParams.productName"
-               placeholder="请输入产品名称"
-               clearable
-               size="small"
-               style="width: 470px"
-               @keyup.enter.native="handleQuery"
-             />
-
-           </el-form-item>
-         </div>
-         <el-form-item label="设计产能:" prop="productQty" class="manager_labtwo" >
-           <el-input
-             v-model="queryParams.productQty"
-             placeholder="请输入设计产能"
-             clearable
-             size="small"
-             style="width: 470px"
-             @keyup.enter.native="handleQuery"
-           />
-
-         </el-form-item>
-         <div class="lage_div">
-           <span>项目预计收益</span>
-           <el-form-item label="预计产值:" prop="productPrice"  class="maneg_lar">
-
-             <el-input
-               v-model.number="queryParams.productPrice"
-               placeholder="请输入预计产值"
-               clearable
-               size="small"
-               style="width: 470px"
-               @keyup.enter.native="handleQuery"
-             />
-
-           </el-form-item>
-         </div>
-         <el-form-item label="预计税收:" prop="productTax" class="manager_labtwo" >
-           <el-input
-             v-model.number="queryParams.productTax"
-             placeholder="请输入预计税收"
-             clearable
-             size="small"
-             style="width: 470px"
-             @keyup.enter.native="handleQuery"
-           />
-
-         </el-form-item>
-         <el-form-item label="预计用工:" prop="productEmp" class="manager_labtwo" >
-           <el-input
-             v-model="queryParams.productEmp"
-             placeholder="请输入预计用工"
-             size="small"
-             style="width: 470px"
-           />
-         </el-form-item>
-         <div class="nvestor">
-           <p>项目基本需求 </p>
-         </div>
-         <el-form-item label="项目计划用地:" prop="plannedLand" class="manager_labthre">
-           <el-input
-             v-model="queryParams.plannedLand"
-             placeholder="请输入"
-             clearable
-             size="small"
-             style="width: 207px"
-             @keyup.enter.native="handleQuery"
-           />
-           <span class="souu">亩</span>
-         </el-form-item>
-         <el-form-item label="其中 独立供地:" prop="independentLand">
-           <el-input
-             v-model="queryParams.independentLand"
-             placeholder="请输入"
-             clearable
-             size="small"
-             style="width: 207px"
-             @keyup.enter.native="handleQuery"
-           />
-           <span class="souu">亩</span>
-         </el-form-item>
-        <el-form-item label="流转土地:" prop="circulationLan" class="mage_ter">
-          <el-input
-            v-model="queryParams.circulationLan"
-            placeholder="请输入"
-            clearable
-            size="small"
-            style="width: 207px"
-            @keyup.enter.native="handleQuery"
-          />
-          <span class="souu">亩</span>
-        </el-form-item>
-        <el-form-item label="项目计划租赁用房:" prop="needRoom" class="manager_labthre">
-           <el-input
-             v-model="queryParams.needRoom"
-             placeholder="请输入"
-             clearable
-             size="small"
-             style="width: 207px"
-             @keyup.enter.native="handleQuery"
-           />
-           <span class="souu">亩</span>
-         </el-form-item>
-         <el-form-item label="其中 厂房:" prop="needFactoryRoom">
-           <el-input
-             v-model="queryParams.needFactoryRoom"
-             placeholder="请输入"
-             clearable
-             size="small"
-             style="width: 207px"
-             @keyup.enter.native="handleQuery"
-           />
-           <span class="souu">亩</span>
-         </el-form-item>
-        <el-form-item label="办公生活用房:" prop="needBusRoom" class="mage_ter">
-          <el-input
-            v-model="queryParams.needBusRoom"
-            placeholder="请输入"
-            clearable
-            size="small"
-            style="width: 207px"
-            @keyup.enter.native="handleQuery"
-          />
-          <span class="souu">亩</span>
-        </el-form-item>
-        <el-form-item label="其他需求:" prop="other" class="maget_ty">
-          <el-input
-            v-model="queryParams.other"
-            placeholder="请输入项目概况"
-            clearable
-            type="textarea"
-            size="small"
-            style="width: 480px;height: 78px;"
-            class="ieuyr"
-            @keyup.enter.native="handleQuery"
-          />
-        </el-form-item>
-       <el-form-item label="拟落户地点:" prop="address">
-           <el-input
-             v-model="queryParams.address"
-             placeholder="请输入拟落户地点"
-             size="small"
-             style="width: 188px"
-           />
-         </el-form-item>
-         <el-form-item label="是否签订框架协议:" prop="isFrameorder" class="maget_tyty">
-             <el-select v-model="queryParams.isFrameorder" placeholder="系统内置" clearable size="small" style="width: 298px">
-               <el-option
-                 v-for="dict in typeOptions"
-                 :key="dict.dictValue"
-                 :label="dict.dictLabel"
-                 :value="dict.dictValue"
-               />
-             </el-select>
-           </el-form-item>
-          <el-form-item label="添加附件:" prop="configType" class="maget_ty">
-              <div class="forieu" style="width: 618px;">
-               <div class="bure burert">
-                 <el-upload
-                   action="http://192.168.101.11:8080/common/upload"
-                   :auto-upload="false"
-                   ref="upload"
-                   :before-upload="beforeAvatarUpload"
-                   list-type="picture-card"
-                   :on-preview="handlePictureCardPreview"
-                   :on-remove="handleRemove"
-                   :on-success="handleSuccntry"
-                   :multiple="true"
-                   :file-list="fileList">
-                      <!-- <i slot="default" class="el-icon-plus"></i> -->
-
-                   <div class="ijeut">
-                     <el-button plain slot="trigger" size="small" type="primary" >选择图片</el-button>
-                      <!-- margin-top: 15%; transform: translateY(-50%); -->
-
-                   </div>
-                   <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
-                 </el-upload>
-                 <div class="ijeut"><el-button style="margin-left: 10px; height: 32px;" size="small" type="primary" @click="submitUpload">开始上传</el-button></div>
-
-               </div>
-              </div>
-            </el-form-item>
-         <el-form-item label="备注:" prop="description" class="maget_ty">
-           <el-input
-             v-model="queryParams.description"
-             placeholder="请输入备注"
-             clearable
-             type="textarea"
-             size="small"
-             style="width: 480px;height: 78px;"
-             class="ieuyr"
-             @keyup.enter.native="handleQuery"
-           />
-         </el-form-item>
-       </el-form>
-     </div>
-
-
-
-  <!-- </div> -->
-
-
-
-    <!-- 添加或修改参数配置对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
-      <el-form ref="form" :model="form" :rules="rules" label-width="150px">
-        <el-form-item label="企业名称" prop="companyName">
-          <el-input v-model="form.companyName" placeholder="请输入企业名称" />
-        </el-form-item>
-        <el-form-item label="企业所在地" prop="companyAddress">
-          <el-input v-model="form.companyAddress" placeholder="请输入参数键名" />
-        </el-form-item>
-        <el-form-item label="法人代表姓名" prop="companyLegal">
-          <el-input v-model="form.companyLegal" placeholder="请输入参数键值" />
-        </el-form-item>
-       <!-- <el-form-item label="系统内置" prop="configType">
-          <el-radio-group v-model="form.configType">
-            <el-radio
-              v-for="dict in typeOptions"
-              :key="dict.dictValue"
-              :label="dict.dictValue"
-            >{{dict.dictLabel}}</el-radio>
-          </el-radio-group>
-        </el-form-item> -->
-        <el-form-item label="统一社会信用代码" prop="companyCode">
-          <el-input v-model="form.companyCode"  placeholder="请输入统一社会信用代码" />
-        </el-form-item>
-        <el-form-item label="联系方式" prop="phone">
-          <el-input v-model.number="form.phone"   placeholder="请输入联系方式" />
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitForm">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
-      </div>
-    </el-dialog>
-    <el-dialog :title="titletwo" :visible.sync="opentwo" width="800px" append-to-body>
-      <el-form ref="formtwo" :model="formtwo" :rules="rulestwo" label-width="150px">
-        <el-form-item label="姓名" prop="name">
-          <el-input v-model="formtwo.name" placeholder="请输入企业名称" />
-        </el-form-item>
-        <el-form-item label="自然人所在地" prop="address">
-          <el-input v-model="formtwo.address" placeholder="请输入参数键名" />
-        </el-form-item>
-        <el-form-item label="身份证号码" prop="idcode">
-          <el-input v-model="formtwo.idcode" placeholder="请输入参数键值" />
-        </el-form-item>
-  <!--      <el-form-item label="系统内置" prop="configType">
-          <el-radio-group v-model="form.configType">
-            <el-radio
-              v-for="dict in typeOptions"
-              :key="dict.dictValue"
-              :label="dict.dictValue"
-            >{{dict.dictLabel}}</el-radio>
-          </el-radio-group>
-        </el-form-item> -->
-        <el-form-item label="联系方式" prop="phone">
-          <el-input v-model.number="formtwo.phone" type="number"  placeholder="请输入联系方式" />
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="submitFormtwo">确 定</el-button>
-        <el-button @click="cancel">取 消</el-button>
-      </div>
-    </el-dialog>
-         <el-dialog :visible.sync="dialogVisible">
-           <img width="100%" :src="dialogImageUrl" alt="">
-         </el-dialog>
-  </div>
-</template>
-
-<script>
-import { listConfig, listConfigtwo, listConfigthert, listConfigfour, listConfigfieu, getConfig, getConfigKeytwo, delConfig, delConfigtwo, addConfig, addConfigtwo, addConfigalking, addConfigbout, updateConfig, updateConfigtwo, updateConfigalking, exportConfig, clearCache } from "@/api/system/config";
-export default {
-  name: "Config",
-  props:{
-    // queryParams: Object,
-    tabIndex: Number
-  },
-  data() {
-    return {
-      // 遮罩层
-      loading: true,
-      //步骤条
-      naueactive:2,
-      tab:1,
-      tabNume:['线索信息','签约信息','在建信息','投产信息'],
-      // 选中数组
-      ids: [],
-      // 非单个禁用
-      single: true,
-      // 非多个禁用
-      multiple: true,
-      // 显示搜索条件
-      showSearch: true,
-      // 总条数
-      total: 0,
-      // 参数表格数据
-      configList: [],
-      configListtwoL:[],
-      // 弹出层标题
-      title: "",
-      titletwo:'',
-      // 是否显示弹出层
-      open: false,
-      opentwo:false,
-      // 类型数据字典
-      typeOptions: [],
-      typeOptionstwo:[],
-      // 日期范围
-      dateRange: [],
-      // 查询参数
-      queryParams: {
-        'contactor':'',
-        'phone':'',
-        referralList:[
-          {
-          "bmProjectId":'',
-          "sysdeptId":'',
-          "investmentAllcocation":'',
-          "referral":"",
-          "referralPhone":""
-        },
-        {
-          "bmProjectId":'',
-          "sysdeptId":'',
-          "investmentAllcocation":'',
-          "referral":"",
-          "referralPhone":""
-        }
-        ]
-      },
-      dialogImageUrl: '',
-      dialogVisible: false,
-      disabled: false,
-      bmProjectId:0,
-      // 表单参数
-      form: {},
-      formtwo:{},
-      queryFormhye:{},
-      fileList:[],
-      fileListhye:[],
-      // 表单校验
-      rules: {
-        companyName: [
-          { required: true, message: "企业名称不能为空", trigger: "blur" }
-        ],
-        companyAddress: [
-          { required: true, message: "企业所在地不能为空", trigger: "blur" }
-        ],
-        companyLegal: [
-          { required: true, message: "法人代表姓名不能为空", trigger: "blur" }
-        ],
-        companyCode: [
-          { required: true, message: "统一社会信用代码不能为空", trigger: "blur" }
-        ],
-        phone: [
-          { required: true, message: "联系方式不能为空", trigger: "blur" },
-          { type: 'number', message: '联系方式必须为数字值'}
-        ]
-      },
-      rulestwo: {
-        name: [
-          { required: true, message: "姓名不能为空", trigger: "blur" }
-        ],
-        address: [
-          { required: true, message: "所在地不能为空", trigger: "blur" }
-        ],
-        idcode: [
-          { required: true, message: "身份证号码不能为空", trigger: "blur" }
-        ],
-        phone: [
-          { required: true, message: "联系方式不能为空", trigger: "blur" },
-          { type: 'number', message: '联系方式必须为数字值'}
-        ]
-      },
-
-      queryForm:{
-        contactor: [
-          { required: true, message: "投资方联系人不能为空", trigger: "blur" }
-        ],
-        phone: [
-          { required: true, message: "投资方联系方式不能为空", trigger: "blur" }
-        ],
-        needAmt: [
-          { required: true, message: "预计投资额不能为空", trigger: "blur" },
-          { type: 'number', message: '预计投资额必须为数字值'}
-        ],
-        fixedAssets: [
-          { required: true, message: "固定资产投资不能为空", trigger: "blur" },
-          { type: 'number', message: '固定资产投资必须为数字值'}
-        ],
-        productName: [
-          { required: true, message: "产品名称不能为空", trigger: "blur" }
-        ],
-        productQty: [
-          { required: true, message: "设计产能不能为空", trigger: "blur" }
-        ],
-        productPrice: [
-          { required: true, message: "预计产值不能为空", trigger: "blur" },
-          { type: 'number', message: '预计产值必须为数字值'}
-        ],
-        productTax: [
-          { required: true, message: "预计税收不能为空", trigger: "blur" },
-          { type: 'number', message: '预计税收必须为数字值'}
-        ],
-        productEmp: [
-          { required: true, message: "预计用工不能为空", trigger: "blur" }
-        ],
-        address: [
-          { required: true, message: "拟落户地点不能为空", trigger: "blur" }
-        ],
-        isFrameorder: [
-          { required: true, message: "请选择是否签订框架协议", trigger: "blur" }
-        ]
-      },
-      ntry:[],
-      // 判断是修改还是增加
-      sbuen:0,//0  新增   1  修改
-      // id:0
-    };
-  },
-  created() {
-    this.bmProjectId = this.$route.query.setid
-    // this.id = this.$route.query.setrd
-    console.log(this.bmProjectId)
-    this.getList();
-    this.getListtwo();
-    this.getListther();
-    this.getDicts("sys_yes_no").then(response => {
-      this.typeOptions = response.data;
-    });
-    this.getListthuy()
-   console.log( this.queryParams)
-  },
-  methods: {
-    submitUpload() {
-      this.$refs.upload.submit();
-    },
-    handleRemove(file) {
-           console.log(file,87);
-    },
-    handlePictureCardPreview(file) {
-           this.dialogImageUrl = file.url;
-           this.dialogVisible = true;
-    },
-    handleDownload(file) {
-           console.log(file);
-    },
-    handleSuccntry(response, file, fileList){
-     // this.ontract = []
-     this.ntry.push(file.response.url)
-     this.queryParams.attachment = this.ntry.join(',')
-    },
-     beforeAvatarUpload(file) {
-       console.log(file.type)
-            const isJPG = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/jpg';
-            const isPNG = file.type === 'image/png';
-            const isLt2M = file.size / 1024 / 1024 < 2;
-
-            if (!isJPG) {
-              this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
-            }
-            // if(!isPNG){
-            //   this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
-            // }
-            if (!isLt2M) {
-              this.$message.error('图片大小不能超过 2MB!');
-            }
-            return isJPG && isLt2M;
-    },
-    /** 查询参数列表 */
-    getList() {
-      this.loading = true;
-      listConfigtwo(this.bmProjectId).then(response => {
-        console.log(response)
-        if(response.data == undefined){
-          console.log(876)
-          //新增
-          this.sbuen = 0
-          this.queryParams = {
-            referralList:[
-              {
-              "bmProjectId":this.bmProjectId,
-              "sysdeptId":'',
-              "investmentAllcocation":'',
-              "referral":"",
-              "referralPhone":""
-            },
-            {
-              "bmProjectId":this.bmProjectId,
-              "sysdeptId":'',
-              "investmentAllcocation":'',
-              "referral":"",
-              "referralPhone":""
-            },
-            ]
-          },
-          this.queryParams.bmProjectId = this.bmProjectId
-        }else if(response.data !== undefined){
-          //修改
-          this.sbuen = 1
-          this.queryParams = response.data;
-          if(this.queryParams.referralList == null){
-            this.queryParams.referralList =
-            [
-              {
-                "bmProjectId":this.bmProjectId,
-                "sysdeptId":'',
-                "investmentAllcocation":'',
-                "referral":"",
-                "referralPhone":""
-              },
-              {
-                "bmProjectId":this.bmProjectId,
-                "sysdeptId":'',
-                "investmentAllcocation":'',
-                "referral":"",
-                "referralPhone":""
-              },
-            ]
-
-            // }
-          }
-          // this.queryParams.phone = 987
-          console.log(this.queryParams,98755)
-          // this.queryParams = this.queryParams.bmProjectId
-           this.fileListhye = this.queryParams.attachment.split(',')
-           for(var i = 0 ; i < this.fileListhye.length; i++){
-             this.fileList.push({name:this.fileListhye[i],url:this.fileListhye[i]})
-           }
-           // this.fileList.push({name:this.queryParams.attachment,url:this.queryParams.attachment})
-        }
-
-
-          // this.fileList =  this.queryParams.attachment
-          // this.total = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    //企业列表
-    getListtwo() {
-      this.loading = true;
-      listConfigthert().then(response => {
-        console.log(response)
-          this.configList = response.rows;
-          // this.fileList =  this.queryParams.attachment
-          // this.total = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    //自然人列表
-    getListther() {
-      this.loading = true;
-      listConfigfour(this.bmProjectId).then(response => {
-        console.log(response.rows)
-          this.configListtwoL = response.rows;
-          // this.fileList =  this.queryParams.attachment
-          // this.total = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    //部门列表
-    getListthuy() {
-      this.loading = true;
-      listConfigfieu().then(response => {
-        console.log(response)
-          this.typeOptionstwo = response.data;
-          // this.fileList =  this.queryParams.attachment
-          // this.total = response.total;
-          this.loading = false;
-        }
-      );
-    },
-    // 参数系统内置字典翻译
-    typeFormat(row, column) {
-      return this.selectDictLabel(this.typeOptions, row.configType);
-    },
-    // 取消按钮
-    cancel() {
-      this.open = false;
-      this.opentwo = false
-      this.reset();
-    },
-    // 表单重置
-    reset() {
-      this.form = {
-        // configId: undefined,
-        // configName: undefined,
-        // configKey: undefined,
-        // configValue: undefined,
-        // configType: "Y",
-        // remark: undefined
-      };
-      this.resetForm("form");
-    },
-    resettwo() {
-      this.formtwo = {
-        // configId: undefined,
-        // configName: undefined,
-        // configKey: undefined,
-        // configValue: undefined,
-        // configType: "Y",
-        // remark: undefined
-      };
-      this.resetForm("form");
-    },
-    /** 搜索按钮操作 */
-    handleQuery() {
-      this.queryParams.pageNum = 1;
-      this.getList();
-    },
-    /** 重置按钮操作 */
-    resetQuery() {
-      this.dateRange = [];
-      this.resetForm("queryForm");
-      this.handleQuery();
-    },
-    /** 新增按钮操作 */
-    handleAdd() {
-      this.reset();
-      this.open = true;
-      // this.opentwo =  true
-      this.title = "添加参数";
-      // this.titletwo = "添加参数";
-
-    },
-    handleAddtwo() {
-      this.resettwo();
-      // this.open = true;
-      this.opentwo =  true
-      // this.title = "添加参数";
-      this.titletwo = "添加参数";
-
-    },
-    // 多选框选中数据
-    handleSelectionChange(selection) {
-      this.ids = selection.map(item => item.configId)
-      this.single = selection.length!=1
-      this.multiple = !selection.length
-    },
-    /** 修改按钮操作 */
-    handleUpdate(row) {
-      this.reset();
-      const id = row.id
-      this.open = true;
-      getConfig(id).then(response => {
-        console.log(345)
-        this.form = response.data;
-
-        // this.opentwo = true
-        this.title = "修改参数";
-        // this.titletwo = "修改参数";
-
-      });
-    },
-    handleUpdatetwo(row) {
-      this.reset();
-      const id = row.id
-      getConfigKeytwo(id).then(response => {
-        console.log(345)
-        this.formtwo = response.data;
-        // this.open = true;
-        this.opentwo = true
-        // this.title = "修改参数";
-        this.titletwo = "修改参数";
-
-      });
-    },
-    /** 提交按钮 */
-    submitForm: function() {
-      this.$refs["form"].validate(valid => {
-        if (valid) {
-          if ( this.form.id != undefined ) {
-            updateConfig(this.form).then(response => {
-              this.msgSuccess("修改成功");
-              this.open = false;
-              this.getListtwo();
-            });
-          } else {
-            this.form.bmProjectId = this.bmProjectId
-            addConfig(this.form).then(response => {
-              this.msgSuccess("新增成功");
-              this.open = false;
-              this.getListtwo();
-            });
-          }
-        }
-      });
-    },
-    /** 提交按钮 */
-    submitFormtwo: function() {
-      this.$refs["formtwo"].validate(valid => {
-        if (valid) {
-          if (this.formtwo.id != undefined) {
-            updateConfigtwo(this.formtwo).then(response => {
-              this.msgSuccess("修改成功");
-              this.opentwo = false;
-              this.getListther();
-            });
-          } else {
-            this.formtwo.bmProjectId = this.bmProjectId
-            addConfigtwo(this.formtwo).then(response => {
-              this.msgSuccess("新增成功");
-              this.opentwo = false;
-              this.getListther();
-            });
-          }
-        }
-      });
-    },
-    // 暂存接口
-    emporary(){
-     this.$refs["queryParams"].validate(valid => {
-       if (valid) {
-         if ( this.sbuen ==1 ) {
-           updateConfigalking(this.queryParams).then(response => {
-             this.msgSuccess("修改成功");
-             this.open = false;
-             this.getListtwo();
-             this.$router.go(-1)
-           });
-         } else {
-           // this.queryParams.bmProjectId = this.bmProjectId
-           console.log(this.queryParams,87)
-           addConfigalking(this.queryParams).then(response => {
-             console.log(response)
-             this.msgSuccess("新增成功");
-             this.open = false;
-             this.getListtwo();
-             this.$router.go(-1)
-           });
-         }
-       }
-     });
-    },
-    submitCtion(){
-      this.queryFormhye.code =  1
-      this.queryFormhye.bmProjectId =  this.bmProjectId
-      addConfigbout(this.queryFormhye).then(response => {
-        console.log(response)
-        this.msgSuccess("提交成功");
-        this.$router.go(-1)
-         // 就可以回到上一页。
-        // this.open = false;
-        // this.getListtwo();
-      });
-     console.log(this.queryParams)
-    },
-    /** 删除按钮操作 */
-    handleDelete(row) {
-      const configIds = row.id ;
-      this.$confirm('是否确认删除"' + row.companyName + '"的数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delConfig(configIds);
-        }).then(() => {
-          this.getListtwo();
-          this.msgSuccess("删除成功");
-        })
-    },
-    handleDeletetwo(row) {
-      const configIds = row.id ;
-      this.$confirm('是否确认删除"' + row.name + '"的数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return delConfigtwo(configIds);
-        }).then(() => {
-          this.getListther();
-          this.msgSuccess("删除成功");
-        })
-    },
-    /** 导出按钮操作 */
-    handleExport() {
-      const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有参数数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
-          return exportConfig(queryParams);
-        }).then(response => {
-          this.download(response.msg);
-        })
-    },
-    /** 清理缓存按钮操作 */
-    handleClearCache() {
-      clearCache().then(response => {
-        this.msgSuccess("清理成功");
-      });
-    },
-    //tab
-   changeTab(index){
-     this.$emit('changeTab', index)
-   // this.tab = index
-   }
-  }
-};
-</script>
-<style  lang="scss"  >
-  .roiyy{
-    position: fixed;
-    top:95px;
-    left:0;
-    width: 100%;
-    padding-left: 230px;
-    padding-right: 30px;
-    box-sizing: border-box;
-    z-index: 999;
-  }
-  .weiru{
-    .el-form-item__label{
-      width: 130px !important;
-    }
-  }
-  .manager_form{
-    .manager_lab{
-      .el-form-item__label{
-        width: 145px !important;
-      }
-    }
-    .maneg_lar{
-      position: relative;
-      .el-form-item__label{
-        width: 134px !important;
-      }
-      span{
-        position: absolute;
-        left: -95%;
-      }
-    }
-    .manager_labtwo{
-      .el-form-item__label{
-        width: 244px !important;
-      }
-    }
-    .manager_labthre{
-      // .el-form-item{
-        .el-form-item__label{
-          width: 130px !important;
-        }
-        margin-right: 40px !important;
-      // }
-    }
-    .ieuyr{
-      .el-textarea__inner{
-        height: 80px !important;
-      }
-    }
-    .mage_ter{
-      .el-form-item__label{
-        width: 513px !important;
-      }
-    }
-    .maget_ty{
-      .el-form-item__label{
-        width: 140px !important;
-      }
-    }
-    .maget_tyty{
-      .el-form-item__label{
-        width: 140px !important;
-      }
-    }
-    .forieu{
-     border: 1px solid #DCDFE6;
-     border-radius: 4px;
-     width: 480px;
-     height: 90px;
-     position: relative;
-     .bure{
-       position: absolute;
-       right: 20px;
-       top: 50%;
-       transform: translateY(-50%);
-     }
-     .burert{
-       .el-upload--picture-card{
-         height: 78px;
-         line-height: 78px;
-         width: 80px;
-         vertical-align:center;
-         border: 0 !important;
-         background-color: #fff;
-       }
-       .el-upload-list--picture-card .el-upload-list__item{
-         height: 78px !important;
-         width: 78px !important;
-       }
-     }
-    }
-  }
-  .lage_div{
-    padding-left: 15px;
-    display: flex;
-    align-items: center;
-    margin-bottom: 22px;
-    .el-form-item{
-      margin-bottom: 0 !important;
-    }
-  }
-.app-conta{
-  .header{
-    padding-left: 22px;
-    height: 45px;
-    line-height: 40px;
-    background-color: #F1F1F1;
-    font-size: 18px;
-    color: #343434;
-    margin-bottom: 40px;
-  }
-  // .naue{
-    // border: 1px solid #DADADA;
-    // padding:  20px;
-    // margin-top: 40px;
-    .nuae_wtu{
-      display: flex;
-      justify-content: center;
-      align-content: center;
-     .naue_one{
-       width: 30%;
-       p{
-         font-size: 12px;
-         font-family: PingFang SC;
-         font-weight: 400;
-         color: #343434;
-       }
-       .naue_name{
-         font-size: 14px;
-         font-family: PingFang SC;
-         font-weight: bold;
-         color: #0669B2;
-         margin-bottom: 30px;
-       }
-     }
-     .naue_two{
-       flex: 1;
-       padding-top: 20px;
-       // display: flex;
-       // align-items: center;
-       // justify-content: center;
-     }
-    }
-    //tab
-    .naue_tab{
-      border-bottom: 1px solid #CDCDCD;
-      display: flex;
-      margin-top: 30px;
-      padding: 0 10px;
-      margin-bottom: 30px;
-      p{
-        font-size: 12px;
-        font-family: PingFang SC;
-        font-weight: 400;
-        color: #343434;
-        padding: 11px 15px;
-        margin: 0;
-      }
-      .p{
-        border-bottom: 2px solid #1C84C6;
-        margin-bottom: -1px;
-      }
-    }
-    .mation{
-
-      .enterprise{
-        font-size: 14px;
-        font-family: PingFang SC;
-        font-weight: bold;
-        color: #1C84C6;
-        margin-top: 25px;
-        margin-bottom: 20px;
-      }
-      .enterprise_tw{
-        i{
-          margin-right: 5px;
-        }
-        font-size: 14px;
-        font-family: PingFang SC;
-        font-weight: 600;
-        color: #666666;
-      }
-    }
-
-  // }
-  .nvestor{
-    margin-bottom: 10px;
-    p{
-      margin:0;
-      font-size: 14px;
-      font-family: PingFang SC;
-      font-weight: bold;
-      color: #343434;
-      height: 24px;
-      line-height: 24px;
-      border-left: 3px solid #1C84C6;
-      padding-left: 13px;
-      i{
-        color: red;
-      }
-    }
-  }
-  .souu{
-    font-size: 14px;
-    font-family: PingFang SC;
-    font-weight: 400;
-    color: #343434;
-    margin-left: 5px;
-  }
-}
-//在建项目
-.nstruction{
-  display: flex;
-  align-items: center;
- .nstruction_nav{
-   display: flex;
-   align-items: center;
-   p:nth-child(1){
-     margin-right: 10px;
-     span{
-       font-size: 14px;
-       font-family: PingFang SC;
-       font-weight: bold;
-       color: #343434;
-     }
-     span:nth-child(1){
-       color: #DF0024;
-     }
-   }
-   p:nth-child(2){
-     width: 233px;
-     height: 30px;
-     line-height: 30px;
-     border: 1px solid #CDCDCD;
-     border-radius: 3px;
-     padding-left: 14px;
-   }
-
- }
- .nstruction_navne{
-   margin-left: 50px;
-   display: flex;
-   align-items: center;
-   p:nth-child(1){
-      margin-right: 10px;
-     span{
-       font-size: 14px;
-       font-family: PingFang SC;
-       font-weight: bold;
-       color: #343434;
-     }
-     span:nth-child(1){
-       color: #DF0024;
-     }
-   }
-   p:nth-child(2){
-     width: 233px;
-     height: 30px;
-     line-height: 30px;
-     border: 1px solid #CDCDCD;
-     border-radius: 3px;
-     padding-left: 14px;
-   }
-
- }
-}
-.kaieu{
-  padding-left: 60px;
-  font-size: 14px;
-  font-family: PingFang SC;
-  font-weight: 800;
-  color: #343434;
-}
-.kaieu_tw{
-  padding-left: 60px;
-  font-size: 14px;
-  font-family: PingFang SC;
-  font-weight: 500;
-  color: #666666;
-}
-</style>