wangmengwei 3 yıl önce
ebeveyn
işleme
1967dec6d5

+ 21 - 0
ruoyi-ui/src/api/system/config.js

@@ -36,6 +36,13 @@ export function listConfigname(query) {
 
 
 
+export function listConfigintegrationsieju(query) {
+  return request({
+    url: '/constructionEntry/entry/' + query,
+    method: 'get'
+    // params:query
+  })
+}
 
 export function listConfigthert(query) {
   return request({
@@ -221,6 +228,13 @@ export function addConfigsix(data) {
     data: data
   })
 }
+export function addConfigsixde(data) {
+  return request({
+    url: '/constructionEntry/entry',
+    method: 'post',
+    data: data
+  })
+}
 
 // 修改参数配置
 export function updateConfig(data) {
@@ -251,6 +265,13 @@ export function updateConfigntegration(data) {
     data: data
   })
 }
+export function updateConfigntegrationde(data) {
+  return request({
+    url: '/constructionEntry/entry',
+    method: 'put',
+    data: data
+  })
+}
 export function updateConfigtwo(data) {
   return request({
     url: '/projectPersion/persion',

+ 40 - 0
ruoyi-ui/src/api/system/signContract.js

@@ -39,6 +39,14 @@ export function delShareholder(id) {
     method: 'DELETE',
   })
 }
+
+// 股东构成-删除
+export function delShareholders(id) {
+  return request({
+    url: `/projectShareholder/shareholder/${id}`,
+    method: 'DELETE',
+  })
+}
 // 股东构成-新增
 export function addShareholder(data) {
   return request({
@@ -47,6 +55,14 @@ export function addShareholder(data) {
     data
   })
 }
+
+export function addShareholderde(data) {
+  return request({
+    url: `/projectShareholder/shareholder`,
+    method: 'post',
+    data
+  })
+}
 // 股东构成-修改
 export function setShareholder(data) {
   return request({
@@ -55,6 +71,14 @@ export function setShareholder(data) {
     data
   })
 }
+
+export function setShareholderde(data) {
+  return request({
+    url: `/projectShareholder/shareholder`,
+    method: 'put',
+    data
+  })
+}
 // 股东构成-查看
 export function getShareholder(id) {
   return request({
@@ -62,6 +86,14 @@ export function getShareholder(id) {
     method: 'GET',
   })
 }
+
+// 股东构成-查看
+export function getShareholders(id) {
+  return request({
+    url: `/projectShareholder/shareholder/${id}`,
+    method: 'GET',
+  })
+}
 // 股东构成-列表
 export function getShareholderList(query) {
   return request({
@@ -70,3 +102,11 @@ export function getShareholderList(query) {
     params: query
   })
 }
+// 股东构成-列表
+export function getShareholderListss(query) {
+  return request({
+    url: `/projectShareholder/shareholder/list`,
+    method: 'get',
+    params: query
+  })
+}

+ 333 - 46
ruoyi-ui/src/components/ProjectDec/SignContract.vue

@@ -82,32 +82,32 @@
             <el-col :span="18">
               <el-input type="number" :disabled="dis_flag" placeholder="请输入总投资额度" v-model="form.overseasInvestment"></el-input>
             </el-col>
-            <div class="dw_name">亿元</div>
+            <div class="dw_name">元</div>
           </el-form-item>
           <el-form-item label-width="182px" label="境内省外投资:" class="elItem" prop="jnswInvestm" :rules="[
       { required: true, message: '请输入境内省外投资', trigger: 'blur' }]">
             <el-col :span="18">
               <el-input type="number" :disabled="dis_flag" placeholder="请输入境内省外投资额度" v-model="form.jnswInvestm" ></el-input>
             </el-col>
-            <div class="dw_name">亿元</div>
+            <div class="dw_name">元</div>
           </el-form-item>
           <el-form-item label-width="182px" label="省内市外投资:" class="elItem" prop="snswInvestm":rules="[{ required: true, message: '请输入省内市外投资', trigger: 'blur' }]">
             <el-col :span="18">
               <el-input type="number" :disabled="dis_flag" placeholder="请输入省内市外投资额度" v-model="form.snswInvestm"></el-input>
             </el-col>
-            <div class="dw_name">亿元</div>
+            <div class="dw_name">元</div>
           </el-form-item>
           <el-form-item label-width="182px" label="市内县外投资:" class="elItem" prop="snxwInvestm" :rules="[{ required: true, message: '请输入市内县外投资', trigger: 'blur' }]">
             <el-col :span="18">
               <el-input type="number" :disabled="dis_flag" placeholder="请输入市内县外投资额度" v-model="form.snxwInvestm"></el-input>
             </el-col>
-            <div class="dw_name">亿元</div>
+            <div class="dw_name">元</div>
           </el-form-item>
           <el-form-item label-width="182px" label="县内投资:" class="elItem" prop="xnInvestm" :rules="[{ required: true, message: '请输入县内投资', trigger: 'blur' }]">
             <el-col :span="18">
               <el-input type="number" :disabled="dis_flag" placeholder="请输入县内投资额度" v-model="form.xnInvestm"></el-input>
             </el-col>
-            <div class="dw_name">亿元</div>
+            <div class="dw_name">元</div>
           </el-form-item>
         </el-col>
       </el-row>
@@ -139,8 +139,10 @@
 	  <el-row>
 		  <el-col :span="24">
 		    <el-form-item label-width="121px" label="土地证:" class="elItem" prop="landPhoto">
-		      <el-upload class="upload-demo" list-type="picture-card" :disabled="dis_flag" :file-list="fileListTdz" :on-remove="resetPhoto" :on-success="upl_fn" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
+		      <el-upload class="upload-demo" :before-upload= "beforeAvatarUpload"  :disabled="dis_flag" :file-list="fileListTdz" :on-remove="resetPhoto" :on-success="upl_fn" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
 		        <el-button size="small" type="primary">点击上传</el-button>
+            <div slot="tip" class="el-upload__tip">只能上传word/pdf格式,大小不超过10M(土地证须盖章)</div>
+            <!-- <div></div> -->
 		      </el-upload>
 		    </el-form-item>
 		  </el-col>
@@ -163,15 +165,17 @@
         <el-row>
         <el-col :span="12">
           <el-form-item label-width="121px" label="土地流转合同:" class="elItem" prop="circulationDoc">
-            <el-upload :disabled="dis_flag" class="upload-demo" list-type="picture-card" :on-preview="handlePreview" :on-remove="resetPhoto1" :file-list="fileListTdls" :on-success="upl_fn_lzht" :action="defaultSettings.urls+process+'/common/upload'">
+            <el-upload :before-upload= "beforeAvatarUpload" :disabled="dis_flag" class="upload-demo" :on-preview="handlePreview" :on-remove="resetPhoto1" :file-list="fileListTdls" :on-success="upl_fn_lzht" :action="defaultSettings.urls+process+'/common/upload'">
               <el-button size="small" type="primary">点击上传</el-button>
+              <div slot="tip" class="el-upload__tip">只能上传word/pdf格式,大小不超过10M(合同须盖章)</div>
             </el-upload>
           </el-form-item>
         </el-col>
         <el-col :span="12">
           <el-form-item label-width="121px" label="产权证:" class="elItem" prop="circulationPhoto">
-            <el-upload :disabled="dis_flag" class="upload-demo" list-type="picture-card" :on-remove="resetPhoto2" :file-list="fileListCqz" :on-success="upl_fn_cqz" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
+            <el-upload :before-upload= "beforeAvatarUpload" :disabled="dis_flag" class="upload-demo"  :on-remove="resetPhoto2" :file-list="fileListCqz" :on-success="upl_fn_cqz" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
               <el-button size="small" type="primary">点击上传</el-button>
+              <div slot="tip" class="el-upload__tip">只能上传word/pdf格式,大小不超过10M(产权证须盖章)</div>
             </el-upload>
           </el-form-item>
         </el-col>
@@ -194,15 +198,17 @@
         <el-row>
         <el-col :span="12">
           <el-form-item label-width="121px" label="租赁合同:" class="elItem" prop="leasePlantDoc">
-            <el-upload :disabled="dis_flag" class="upload-demo" list-type="picture-card" :on-remove="resetPhoto3" :file-list="fileListZht" :on-success="upl_fn_zlht" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
+            <el-upload :before-upload= "beforeAvatarUpload" :disabled="dis_flag" class="upload-demo"  :on-remove="resetPhoto3" :file-list="fileListZht" :on-success="upl_fn_zlht" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
               <el-button size="small" type="primary">点击上传</el-button>
+              <div slot="tip" class="el-upload__tip">只能上传word/pdf格式,大小不超过10M(合同须盖章)</div>
             </el-upload>
           </el-form-item>
         </el-col>
         <el-col :span="12">
           <el-form-item label-width="121px" label="产权证:" class="elItem" prop="leasePlantPhoto">
-            <el-upload :disabled="dis_flag" class="upload-demo" list-type="picture-card" :on-remove="resetPhoto4" :file-list="fileListZcq" :on-success="upl_fn_zlcqz" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
+            <el-upload :before-upload= "beforeAvatarUpload" :disabled="dis_flag" class="upload-demo"  :on-remove="resetPhoto4" :file-list="fileListZcq" :on-success="upl_fn_zlcqz" :on-preview="handlePreview" :action="defaultSettings.urls + process + '/common/upload'">
               <el-button size="small" type="primary">点击上传</el-button>
+              <div slot="tip" class="el-upload__tip">只能上传word/pdf格式,大小不超过10M(产权证须盖章)</div>
             </el-upload>
           </el-form-item>
         </el-col>
@@ -258,6 +264,11 @@
             <el-input placeholder="请输入签约人" :disabled="dis_flag" v-model="form.partner"></el-input>
           </el-form-item>
         </el-col>
+		<el-col :span="6">
+		  <el-form-item label-width="121px" label="职务:" class="elItem" prop="partnerJob">
+		    <el-input placeholder="请输入职务" :disabled="dis_flag" v-model="form.partnerJob"></el-input>
+		  </el-form-item>
+		</el-col>
       </el-row>
       <el-row>
         <el-col :span="6">
@@ -270,6 +281,11 @@
             <el-input placeholder="请输入签约人" :disabled="dis_flag" v-model="form.signUs"></el-input>
           </el-form-item>
         </el-col>
+		<el-col :span="6">
+		  <el-form-item label-width="121px" label="职务:" class="elItem" prop="usJob">
+		    <el-input placeholder="请输入职务" :disabled="dis_flag" v-model="form.usJob"></el-input>
+		  </el-form-item>
+		</el-col>
       </el-row>
       <el-row>
         <el-col :span="6">
@@ -282,17 +298,20 @@
             <el-input placeholder="请输入签约人" :disabled="dis_flag" v-model="form.third"></el-input>
           </el-form-item>
         </el-col>
+		<el-col :span="6">
+		  <el-form-item label-width="121px" label="职务:" class="elItem" prop="thirdJob">
+		    <el-input placeholder="请输入职务" :disabled="dis_flag" v-model="form.thirdJob"></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" :disabled="dis_flag" ref="upload" list-type="picture-card"  :file-list="flieListHt" :action="defaultSettings.urls + process + '/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-upload class="upload-demo" :disabled="dis_flag" ref="upload"   :file-list="flieListHt" :action="defaultSettings.urls + process + '/common/upload'" :on-preview="handlePreview"
+              :on-success="up_loat_htwb" :on-remove="handleRemove" :auto-upload="false" :before-upload= "beforeAvatarUpload">
+              <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>
+              <div slot="tip" class="el-upload__tip">只能上传word/pdf格式,大小不超过10M(合同须盖章)</div>
             </el-upload>
           </el-form-item>
         </el-col>
@@ -321,7 +340,7 @@
       </el-row>
       <el-row>
         <el-col :span="8">
-          <el-form-item label-width="141px" label="注册资本金:" class="elItem" prop="totMoney">
+          <el-form-item label-width="141px" label="注册资本金(万元):" class="elItem" prop="totMoney">
             <el-input :disabled="dis_flag" placeholder="请输入注册资本金" v-model="form.totMoney"></el-input>
           </el-form-item>
         </el-col>
@@ -339,18 +358,21 @@
         </el-col>
         <el-col :span="8">
           <el-form-item label-width="173px" label="营业执照复印件:" class="elItem" prop="bussinessUrl">
-            <el-upload :disabled="dis_flag" class="upload-demo" :on-remove='resetPhoto5'  list-type="picture-card" :on-preview="handlePreview" :file-list="flieListYzz" :on-success="upl_fn_zzfyj" :action="defaultSettings.urls + process + '/common/upload'">
+            <el-upload :before-upload= "beforeAvatarUpload" :disabled="dis_flag" class="upload-demo" :on-remove='resetPhoto5'  list-type="picture-card" :on-preview="handlePreview" :file-list="flieListYzz" :on-success="upl_fn_zzfyj" :action="defaultSettings.urls + process + '/common/upload'">
               <el-button size="small" type="primary">点击上传</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">企业股东构成<span>*</span></div>
+      <div class="sign_tit">企业股东构成</div>
       <el-row>
         <div class="ads_box" @click="addshareBtn">
           <img src="../../assets/images/icon_add@2x.png" alt="" class="add_icon" />
-          <span>添加企业股东构成</span>
-          <i style="color: red;">*</i>
+          <span>添加自然人</span>
+          <!-- <i style="color: red;">*</i> -->
         </div>
       </el-row>
       <el-row>
@@ -377,21 +399,60 @@
           <el-table-column label="操作" align="center">
             <!-- class-name="small-padding fixed-width" -->
             <template slot-scope="scope">
-              <el-button size="mini" :disabled="dis_flag" type="warning" @click="handleUpdate(scope.row)" v-hasPermi="['system:config:edit']">修改</el-button>
-              <el-button size="mini":disabled="dis_flag" type="danger" @click="handleDelete(scope.row.id)" v-hasPermi="['system:config:remove']">删除</el-button>
+              <el-button size="mini" :disabled="dis_flag" type="warning" @click="handleUpdate(scope.row)" v-hasPermi="['projectPersion:persion:edit']">修改</el-button>
+              <el-button size="mini":disabled="dis_flag" type="danger" @click="handleDelete(scope.row.id)" v-hasPermi="['projectPersion:persion: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>
+	  <el-row>
+	    <div class="ads_box" @click="addshareBtnde">
+	      <img src="../../assets/images/icon_add@2x.png" alt="" class="add_icon" />
+	      <span>添加企业股东</span>
+	      <!-- <i style="color: red;">*</i> -->
+	    </div>
+	  </el-row>
+	  <el-row>
+	    <el-table v-loading="loading" class="elItem" :data="shareholderLists">
+	      <!-- <el-table-column type="selection" width="55" align="center" /> -->
+	      <el-table-column label="企业名称" align="center" prop="companyName" />
+	      <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="companyCode" :show-overflow-tooltip="true" />
+	      <el-table-column label="企业股东营业执照" align="center" prop="businessPhoto">
+	        <template slot-scope="scope">
+	          <img @click="imgBtn(scope.row.businessPhoto)" :src="scope.row.businessPhoto" alt="" class="imgs" />
+	        </template>
+	      </el-table-column>
+	      <!-- <el-table-column label="身份证(反面)" align="center" prop="idcardBack">
+	        <template slot-scope="scope">
+	          <img @click="imgBtn(scope.row.idcardBack)" :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" :disabled="dis_flag" type="warning" @click="handleUpdates(scope.row)" v-hasPermi="['projectInvestor:investor:edit']">修改</el-button>
+	          <el-button size="mini":disabled="dis_flag" type="danger" @click="handleDeletes(scope.row.id)" v-hasPermi="['projectInvestor:investor:remove']">删除</el-button>
+	        </template>
+	      </el-table-column>
+	    </el-table>
+	    <pagination v-show="total > 0" :total="totals" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
+	      @pagination="getShareholderListss" />
+	  </el-row>
       <div class="sign_tit">企业备案信息</div>
       <el-row>
-        <el-col :span="8">
+        <!-- <el-col :span="8">
           <el-form-item label-width="121px" label="备案单位:" class="elItem" prop="recordName">
             <el-input placeholder="请输入备案单位" :disabled="dis_flag" v-model="form.recordName"></el-input>
           </el-form-item>
-        </el-col>
+        </el-col> -->
         <el-col :span="6">
           <el-form-item label-width="109px" label="备案文号:" class="elItem" prop="recordCode">
             <el-input placeholder="请输入备案文号" :disabled="dis_flag" v-model="form.recordCode"></el-input>
@@ -416,13 +477,11 @@
       <el-row>
         <el-col :span="18">
           <el-form-item label-width="121px" label="备案表:" class="elItem" prop="recordUrl">
-            <el-upload class="upload-demo" :disabled="dis_flag" ref="bAupload" list-type="picture-card" :file-list="flieListBa" :action="defaultSettings.urls + process + '/common/upload'" :on-preview="handlePreview"
+            <el-upload class="upload-demo" :disabled="dis_flag" ref="bAupload" :before-upload="beforeAvatarUpload" :file-list="flieListBa" :action="defaultSettings.urls + process + '/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 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>
+              <div slot="tip" class="el-upload__tip">只能上传word/pdf格式,大小不超过10M</div>
             </el-upload>
           </el-form-item>
         </el-col>
@@ -488,8 +547,48 @@
         <el-button @click="open = false">取 消</el-button>
       </div>
     </el-dialog>
+
+	<!-- 添加或修改岗位对话框 -->
+	<el-dialog :close-on-click-modal="false" :title="titles" :visible.sync="openss" width="600px" append-to-body>
+	  <el-form ref="forms" :model="sharData" :rules="sharRules" label-width="140px">
+	    <el-form-item label="企业名称" prop="companyName">
+	      <!-- <el-input v-model="sharData.name" placeholder="请输入企业名称" /> -->
+		  <el-autocomplete
+		    v-model="sharData.name"
+		    :fetch-suggestions="querySearchAsync"
+		    placeholder="请输入在潜注册公司名称"
+		    @select="handleSelecthueys"
+		    :trigger-on-focus="false"
+		    style="width: 100%;"
+		    :disabled="dis_flag"
+		  ></el-autocomplete>
+	    </el-form-item>
+	    <el-form-item label="股权比例" prop="equityRatio">
+	      <el-input-number :min="0" :max="100" style="width: 140px" v-model="sharData.equityRatio" /><span style="margin: 0 10px; font-size: 16px">%</span>
+	    </el-form-item>
+	    <el-form-item label="统一社会信用代码" prop="companyCode">
+	      <el-input v-model="sharData.companyCode" placeholder="请输入统一社会信用代码" />
+	    </el-form-item>
+	    <el-form-item label="企业股东营业执照" prop="businessPhoto">
+	      <el-upload class="upload-demo" :file-list="idcardFrontFlie" list-type="picture-card" :on-remove="upl_remove_sfzzms" :on-success="upl_fn_sfzzms"
+	        :action="defaultSettings.urls + process + '/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="submitFormss">确 定</el-button>
+	    <el-button @click="openss = false">取 消</el-button>
+	  </div>
+	</el-dialog>
+
+
+
      <el-dialog :visible.sync="dialogVisible">
-       <img width="100%" :src="dialogImageUrl" alt="">
+
+       <img width="100%" :src="dialogImageUrl" alt="" v-if="ndheuos">
+       <a :href="dialogImageUrl" target="view_window" v-if="!ndheuos"> {{dialogImagename}} <span style="color: red;">点击查看/下载</span> </a>
+
      </el-dialog>
 
     <BigPicture ref="BigPicture" :urls="pir_imgs"></BigPicture>
@@ -503,10 +602,15 @@
     getShareholder,
     delShareholder,
     addShareholder,
+	  addShareholderde,
     setShareholder,
+	  setShareholderde,
     setOrderinfo,
     addOrderinfo,
     getExamine,
+    getShareholderListss,
+    getShareholders,
+    delShareholders
   } from "@/api/system/signContract";
   import {
     addConfigbout,
@@ -536,6 +640,7 @@
         flieListBa: [],
         defaultSettings,
         title: "",
+        totals:0,
         // 是否显示弹出层
         open: false,
         configList: [],
@@ -578,6 +683,7 @@
           idcard: "",
           idcardFront: "",
           idcardBack: "",
+		  companyCode:'',
         },
         queryParams: {
           pageNum: 1,
@@ -585,7 +691,10 @@
           bmProjectId: "",
         },
         total: 0,
+		titles:'',
         shareholderList: [],
+        shareholderLists:[],
+		openss:false,
         // showSearch: true,
         loading: true,
         rules: {
@@ -599,6 +708,7 @@
             message: "请选择投资方式",
             trigger: "blur",
           }, ],
+          dialogImagename:'',
           totInvestment: [{
             required: true,
             message: "请输入总投资额度",
@@ -644,6 +754,21 @@
             message: "请输入对方合同签约人",
             trigger: "blur",
           }, ],
+		  partnerJob:[{
+			  required: true,
+			  message: "请输入信息",
+			  trigger: "blur",
+		  }],
+		  usJob:[{
+		  			  required: true,
+		  			  message: "请输入信息",
+		  			  trigger: "blur",
+		  }],
+		  thirdJob:[{
+		  			  required: true,
+		  			  message: "请输入信息",
+		  			  trigger: "blur",
+		  }],
           agreementUs: [{
             required: true,
             message: "请输入合同签约我方",
@@ -799,7 +924,8 @@
         pir_imgs: '',
         dialogImageUrl: '',
                 dialogVisible: false,
-        dkrou:{}
+        dkrou:{},
+        ndheuos:false
       };
     },
     mounted() {
@@ -808,6 +934,7 @@
       this.dis_flag = (this.$route.query.setrd!=3)
       this.getOrderinfo();
       this.getShareholderList();
+      this.getShareholderListss();
     },
     methods: {
       handlePictureCardPreview(file) {
@@ -977,9 +1104,20 @@
           return
         }
         this.reset();
-        this.title = "添加企业股东";
+        this.title = "添加自然人";
+		this.titles = '添加企业股东'
         this.open = true;
       },
+	  addshareBtnde() {
+
+	    if(this.dis_flag){
+	      return
+	    }
+	    this.reset();
+	    this.title = "添加自然人";
+	    this.titles = '添加企业股东'
+	    this.openss = true;
+	  },
       // 表单重置
       reset() {
         this.sharData = {
@@ -989,6 +1127,7 @@
           idcard: "",
           idcardFront: "",
           idcardBack: "",
+		  companyCode:'',
         };
         this.idcardFrontFlie = [];
         this.idcardBackFlie = [];
@@ -1046,6 +1185,26 @@
           }
         }
       },
+      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 < 10;
+        this.ndheuos = isJPG
+        // if (!isJPG) {
+        //   this.$message.error("图片只能是 JPG 格式! 或者 PNG 格式!");
+        // }
+        // if(!isPNG){
+        //   this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
+        // }
+        if (!isLt2M) {
+          this.$message.error("文件大小不能超过 10MB!");
+        }
+        return  isLt2M;
+      },
       resetPhoto4(file, fileList) {
         let urls = ""
         if(file.response){
@@ -1103,11 +1262,25 @@
           url: res.url,
         }, ];
         this.sharData.idcardFront = res.url;
+        this.sharData.businessPhoto = res.url
+      },
+      upl_fn_sfzzms(res, file){
+        this.idcardFrontFlie = [];
+        this.idcardFrontFlie = [{
+          name: res.url,
+          url: res.url,
+        }, ];
+        // this.sharData.idcardFront = res.url;
+        this.sharData.businessPhoto = res.url
       },
       upl_remove_sfzzm() {
         this.idcardFrontFlie = [];
         this.sharData.idcardFront = "";
       },
+      upl_remove_sfzzms() {
+        this.idcardFrontFlie = [];
+        this.sharData.businessPhoto = ''
+      },
       upl_remove_sfzfm() {
         this.idcardBackFlie = [];
         this.sharData.idcardBack = "";
@@ -1127,6 +1300,13 @@
           this.loading = false;
         });
       },
+      getShareholderListss() {
+        getShareholderListss(this.queryParams).then((res) => {
+          this.shareholderLists = res.rows;
+          this.totals = res.total;
+          this.loading = false;
+        });
+      },
       submitForms() {
         this.$refs["forms"].validate((valid) => {
           if (valid) {
@@ -1146,6 +1326,31 @@
           }
         });
       },
+	  submitFormss(){
+		  this.$refs["forms"].validate((valid) => {
+        // this.sharData
+		    if (valid) {
+          this.sharData.idcard = undefined
+          this.sharData.idcardBack = undefined
+          this.sharData.idcardFront = undefined
+          this.sharData.name = undefined
+		      if (this.sharData.id) {
+		        setShareholderde(this.sharData).then((res) => {
+		          this.open = false;
+		          this.msgSuccess("修改成功");
+		          this.getShareholderListss();
+		        });
+		      } else {
+
+		        addShareholderde(this.sharData).then((res) => {
+		          this.open = false;
+		          this.msgSuccess("新增成功");
+		          this.getShareholderListss();
+		        });
+		      }
+		    }
+		  });
+	  },
       submitForm() {
         this.$refs["form"].validate((valid) => {
           if (valid) {
@@ -1198,15 +1403,16 @@
           console.log(res);
           if (res.data) {
             let data = res.data
+            // data.circulationPhoto = defaultSettings.urls + this.process + data.circulationPhoto
             this.flieListHt = this.gshFn(data.agreementUrl)
             this.fileListTdls = this.gshFn(data.circulationDoc)
             this.flieListBa = this.gshFn(data.recordUrl)
             this.fileListTdz = this.gshFn(data.landPhoto)
-
-            this.flieListYzz = this.gshFn(data.bussinessUrl)
+            this.flieListYzz = this.gshFns(data.bussinessUrl)
             this.fileListZcq = this.gshFn(data.leasePlantPhoto)
             this.fileListZht = this.gshFn(data.leasePlantDoc)
-            this.fileListCqz = this.gshFn(data.circulationPhoto)
+            // this.fileListCqz = this.gshFn(data.circulationPhoto)
+            console.log(this.fileListCqz,234)
 
             if(data.circulationPhoto.length){
               data.circulationPhoto = data.circulationPhoto.split(',')
@@ -1253,11 +1459,24 @@
               data.circulationDoc = []
             }
             data.isOutInvestment = Boolean(data.isOutInvestment - 0)
+            console.log(data.circulationPhoto,defaultSettings.urls + this.process,654)
             this.form = data;
           }
         });
       },
       gshFn(arr){
+        let arrs = []
+        if(arr){
+          for(let item of arr.split(',')){
+            arrs.push({
+              name: item.substring(item.lastIndexOf("/")+1),
+              url: item  ,
+            })
+          }
+        }
+        return arrs
+      },
+      gshFns(arr){
         let arrs = []
         if(arr){
           for(let item of arr.split(',')){
@@ -1281,6 +1500,8 @@
         const id = row.id || this.ids;
         getShareholder(id).then((response) => {
           this.sharData = response.data;
+          this.idcardFrontFlie = []
+          this.idcardBackFlie = []
           this.idcardFrontFlie = [{
             name: response.data.idcardBack,
             url: response.data.idcardBack,
@@ -1290,9 +1511,30 @@
             url: response.data.idcardFront,
           }, ];
           this.open = true;
-          this.title = "修改股东信息";
+          this.title = "修改自然人";
         });
       },
+	  /** 修改按钮操作 */
+	  handleUpdates(row) {
+	    this.reset();
+	    const id = row.id || this.ids;
+	    getShareholders(id).then((response) => {
+	      this.sharData = response.data;
+        this.idcardFrontFlie = []
+        this.idcardBackFlie = []
+	      this.idcardFrontFlie = [{
+	        name: response.data.businessPhoto,
+	        url: response.data.businessPhoto,
+	      }, ];
+	      this.idcardBackFlie = [{
+	        name: response.data.businessPhoto,
+	        url: response.data.businessPhoto,
+	      }, ];
+	      this.openss = true;
+	      this.titles = "修改股东信息";
+	    });
+	  },
+
       /** 删除按钮操作 */
       handleDelete(id) {
         this.$confirm("是否确认删除该股东", "警告", {
@@ -1308,6 +1550,21 @@
             this.msgSuccess("删除成功");
           });
       },
+      /** 删除按钮操作 */
+      handleDeletes(id) {
+        this.$confirm("是否确认删除该股东", "警告", {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            type: "warning",
+          })
+          .then(function() {
+            return delShareholders(id);
+          })
+          .then(() => {
+            this.getShareholderListss();
+            this.msgSuccess("删除成功");
+          });
+      },
       handleRemove(file, fileList) {
         let urls = ""
         if(file.response){
@@ -1337,32 +1594,62 @@
       },
       handlePreview(file) {
         console.log(file, 22);
-        this.dialogImageUrl = file.url;
-        this.dialogVisible = true;
+        if(file.response !== undefined){
+          this.dialogImageUrl = file.response.url;
+          this.dialogVisible = true;
+          this.dialogImagename = file.name
+        }else{
+          this.dialogImageUrl = file.url;
+          this.dialogVisible = true;
+          this.dialogImagename = file.name
+        }
       },
       handleSelecthuey(item){
 
         console.log(item)
-        this.form.code = item.id
-        this.form.legalRep = item.labr
+        // this.form.code = item.id
+        // this.form.legalRep = item.labr
         for (let i = 0; i < this.resets.length; i++) {
          if(item.id == this.resets[i].CreditCode){
            // 企业名称
-           // this.form.companyName = this.resets[i].Name
+           this.form.companyName = this.resets[i].Name
+
            // 企业所在地
-           // this.form.companyAddress = this.resets[i].Name
+           this.form.companyAddress = this.resets[i].Name
            // 法人代表姓名
-           // this.form.companyLegal = this.resets[i].OperName
+           this.form.companyLegal = this.resets[i].OperName
            // 统一社会信用代码
-           // this.form.companyCode = item.id
+           this.form.companyCode = item.id
            // 联系方式
-           // this.form.companyName = this.resets[i].Name
+           this.form.companyName = this.resets[i].Name
          }
         }
 
 
          // console.log(3345)
       },
+	  handleSelecthueys(item){
+	    console.log(item)
+	    this.form.code = item.id
+	    this.form.legalRep = item.labr
+	    for (let i = 0; i < this.resets.length; i++) {
+	     if(item.id == this.resets[i].CreditCode){
+	       // 企业名称
+	       this.sharData.name = this.resets[i].Name
+	       // 企业所在地
+	       // this.form.companyAddress = this.resets[i].Name
+	       // 法人代表姓名
+	       // this.form.companyLegal = this.resets[i].OperName
+	       // 统一社会信用代码
+	       this.sharData.companyCode = this.resets[i].CreditCode
+	       // 联系方式
+	       // this.form.companyName = this.resets[i].Name
+	     }
+	    }
+
+
+	     // console.log(3345)
+	  },
       querySearchAsync(queryString, cb){
          console.log(queryString, cb)
          this.options = []

+ 247 - 98
ruoyi-ui/src/views/management/nstruction/index.vue

@@ -6,7 +6,7 @@
           type="primary"
           @click="submitCtion"
           v-hasPermi="['projectConstruction:construction:add']"
-          v-if="tab == 0 || tab == 3"
+          v-if="tab == 0 || tab == 3 || tab == 4"
           >提交</el-button>
           <!-- handleAudit -->
         <!-- <el-button
@@ -97,54 +97,34 @@
             v-show="showSearch"
             label-width="135px"
             label-position="center"
-            class="manager_form"
+            class="manager_form bhyeksu"
           >
             <el-form-item
-              label="施工许可证:"
+              label="施工许可证(请上传完整施工许可证):"
               prop="constructionCode"
               class="maget_ty"
               :rules="[{ required: true, message: '请上传施工许可证', trigger: 'blur' }]"
             >
-              <div class="forieu" style="width: 618px">
-                <div class="bure burert">
+              <div class="bgteu fre" style="width: 618px">
+                <div class="">
                   <el-upload
                     :action="defaultSettings.urls + process+'/common/upload'"
-                    :auto-upload="false"
+                    :auto-upload="true"
                     ref="uploadone"
                     :before-upload="beforeAvatarUpload"
-                    list-type="picture-card"
                     :on-preview="handlePictureCardPreview"
                     :on-remove="handleRemove"
                     :on-success="handleSuccpermit"
                     :multiple="true"
                     :disabled = "disfal"
                     :file-list="fileListther"
+                    style="display: flex;"
                   >
-                    <!-- <i slot="default" class="el-icon-plus"></i> -->
-
-                    <div class="ijeut">
-                      <el-button
-                        plain
-                        slot="trigger"
-                        size="small"
-                        type="primary"
-                        :disabled = "disfal"
-                        >选择图片</el-button
-                      >
-                      <!-- margin-top: 15%; transform: translateY(-50%); -->
+                    <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                      <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                      <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传word/pdf格式,大小不超过10M(许可证须盖章)</div>
                     </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"
-                      :disabled = "disfal"
-                      @click="submitUploaduccpermit"
-                      >开始上传</el-button
-                    >
-                  </div>
                 </div>
               </div>
             </el-form-item>
@@ -183,38 +163,41 @@
                 style="width: 335px"
               ></el-date-picker>
             </el-form-item>
-            <el-form-item label="施工合同:" prop="constructionDoc" class="maget_ty" :rules="[{ required: true, message: '请上传施工合同', trigger: 'blur' }]" >
-              <div class="forieu" style="width: 618px">
-                <div class="bure burert">
+            <el-form-item label="施工合同(请上传完整的施工合同):" prop="constructionDoc" class="maget_ty" :rules="[{ required: true, message: '请上传施工合同', trigger: 'blur' }]" >
+              <div class="bgteu fre" style="width: 618px">
+                <div class="">
                   <el-upload
                     :action="defaultSettings.urls + process+'/common/upload'"
-                    :auto-upload="false"
+                    :auto-upload="true"
                     ref="uploadtwo"
                     :before-upload="beforeAvatarUpload"
-                    list-type="picture-card"
                     :on-preview="handlePictureCardPreview"
                     :on-remove="handleRemove"
                     :multiple="true"
                     :on-success="handleSuccontract"
                     :file-list="fileListfour"
                     :disabled = "disfal"
+                    style="display: flex;"
                   >
-                    <!-- <i slot="default" class="el-icon-plus"></i> -->
+                    <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                      <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                      <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传word/pdf格式,大小不超过10M(合同须盖章)</div>
+                    </div>
 
-                    <div class="ijeut">
-                      <el-button
+                    <!-- <div class="ijeut"> -->
+                      <!-- <el-button
                         plain
                         slot="trigger"
                         size="small"
                         type="primary"
                         :disabled = "disfal"
                         >选择图片</el-button
-                      >
+                      > -->
                       <!-- margin-top: 15%; transform: translateY(-50%); -->
-                    </div>
-                    <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
+                    <!-- </div> -->
+
                   </el-upload>
-                  <div class="ijeut">
+                  <!-- <div class="ijeut">
                     <el-button
                       style="margin-left: 10px; height: 32px"
                       size="small"
@@ -223,16 +206,16 @@
                       @click="submitUploaduccontract"
                       >开始上传</el-button
                     >
-                  </div>
+                  </div> -->
                 </div>
               </div>
             </el-form-item>
             <el-form-item label="开工照片:" prop="constructionPhoto" class="maget_ty" :rules="[{ required: true, message: '请上传开工照片', trigger: 'blur' }]" >
-              <div class="forieu" style="width: 618px">
-                <div class="bure burert">
+              <div class="bgteu" style="width: 618px">
+                <div class="">
                   <el-upload
                     :action="defaultSettings.urls + process+'/common/upload'"
-                    :auto-upload="false"
+                    :auto-upload="true"
                     ref="upload"
                     :before-upload="beforeAvatarUpload"
                     list-type="picture-card"
@@ -242,10 +225,17 @@
                     :multiple="true"
                     :disabled = "disfal"
                     :file-list="fileListfive"
+                    style="display: flex;"
                   >
-                    <!-- <i slot="default" class="el-icon-plus"></i> -->
+                  <!-- <div class="nhyede" style="display: flex; width:;"> -->
+                    <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                      <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                      <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
+                    </div>
+                    <!-- </div> -->
 
-                    <div class="ijeut">
+
+                    <!-- <div class="ijeut">
                       <el-button
                         plain
                         slot="trigger"
@@ -253,12 +243,12 @@
                         type="primary"
                         :disabled = "disfal"
                         >选择图片</el-button
-                      >
+                      > -->
                       <!-- margin-top: 15%; transform: translateY(-50%); -->
-                    </div>
-                    <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
+                    <!-- </div> -->
+
                   </el-upload>
-                  <div class="ijeut">
+                 <!-- <div class="ijeut">
                     <el-button
                       style="margin-left: 10px; height: 32px"
                       size="small"
@@ -267,7 +257,7 @@
                       :disabled = "disfal"
                       >开始上传</el-button
                     >
-                  </div>
+                  </div> -->
                 </div>
               </div>
             </el-form-item>
@@ -304,7 +294,7 @@
                   size="mini"
                   type="danger"
                   @click="handleDelete(scope.row)"
-                  v-hasPermi="['system:config:remove']"
+                  v-hasPermi="['constructionRate:rate:remove']"
                   >删除</el-button
                 >
               </template>
@@ -352,7 +342,7 @@
                   size="mini"
                   type="danger"
                   @click="handleDeletetwo(scope.row)"
-                  v-hasPermi="['system:config:remove']"
+                  v-hasPermi="['constructionEq:constructionEq:remove']"
                   >删除</el-button
                 >
               </template>
@@ -401,7 +391,7 @@
                   size="mini"
                   type="danger"
                   @click="handleDeletether(scope.row)"
-                  v-hasPermi="['system:config:remove']"
+                  v-hasPermi="['constructionPay:pay:remove']"
                   >删除</el-button
                 >
               </template>
@@ -427,7 +417,7 @@
           label-position="center"
           class="manager_form"
         >
-          <el-form-item label=" 入统时间:" prop="statisticsDate" :rules="[{ required: true, message: '请选择入统时间', trigger: 'blur' }]">
+          <el-form-item label=" 入统时间:" prop="statisticsDate" >
             <el-date-picker
               type="date"
               :disabled = "disfal"
@@ -440,13 +430,13 @@
             label="入统截图:"
             prop="statisticsPhoto"
             class="maget_ty maget_tyty"
-            :rules="[{ required: true, message: '请上传入统截图', trigger: 'blur' }]"
+
           >
-            <div class="forieu" style="width: 618px">
-              <div class="bure burert">
+            <div class="bgteu" style="width: 618px">
+              <div class="">
                 <el-upload
                   :action="defaultSettings.urls + process+'/common/upload'"
-                  :auto-upload="false"
+                  :auto-upload="true"
                   ref="upload"
                   :before-upload="beforeAvatarUpload"
                   list-type="picture-card"
@@ -456,27 +446,62 @@
                   :multiple="true"
                   :disabled = "disfal"
                   :file-list="fileListthertwo"
+                  style="display: flex;"
                 >
-                  <!-- <i slot="default" class="el-icon-plus"></i> -->
-
-                  <div class="ijeut">
-                    <el-button plain slot="trigger" :disabled = "disfal" size="small" type="primary"
-                      >选择图片</el-button
-                    >
-                    <!-- margin-top: 15%; transform: translateY(-50%); -->
-                  </div>
-                  <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
+                <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                  <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                  <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
+                </div>
                 </el-upload>
-                <div class="ijeut">
-                  <el-button
-                    style="margin-left: 10px; height: 32px"
-                    size="small"
-                    type="primary"
-                    :disabled = "disfal"
-                    @click="submitUpload"
-                    >开始上传</el-button
-                  >
+              </div>
+            </div>
+          </el-form-item>
+        </el-form>
+      </div>
+      <div class="namjeu" v-if="tab == 4">
+        <el-form
+          :model="queryParamstheyrss"
+          ref="queryFormtwofr"
+          :inline="true"
+          v-show="showSearch"
+          label-width="135px"
+          label-position="center"
+          class="manager_form"
+        >
+          <el-form-item label=" 入规时间:"  >
+            <el-date-picker
+              type="date"
+              :disabled = "disfal"
+              placeholder="选择日期"
+              v-model="queryParamstheyrss.statisticsDate"
+              style="width: 335px"
+            ></el-date-picker>
+          </el-form-item>
+          <el-form-item
+            label="入规截图:"
+            class="maget_ty maget_tyty"
+          >
+            <div class="bgteu" style="width: 618px">
+              <div class="">
+                <el-upload
+                  :action="defaultSettings.urls + process+'/common/upload'"
+                  :auto-upload="true"
+                  ref="upload"
+                  :before-upload="beforeAvatarUpload"
+                  list-type="picture-card"
+                  :on-preview="handlePictureCardPreview"
+                  :on-remove="handleRemove"
+                  :on-success="handleSuccntry"
+                  :multiple="true"
+                  :disabled = "disfal"
+                  :file-list="fileListthertwo"
+                  style="display: flex;"
+                >
+                <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                  <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                  <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
                 </div>
+                </el-upload>
               </div>
             </div>
           </el-form-item>
@@ -485,8 +510,14 @@
     </div>
 
     <el-dialog :visible.sync="dialogVisible">
-      <img width="100%" :src="dialogImageUrl" alt="" />
+
+      <img width="100%" :src="dialogImageUrl" alt="" v-if="ndheuos">
+      <a :href="dialogImageUrl" target="view_window" v-if="!ndheuos"> {{dialogImagename}} <span style="color: red; margin-left: 10px;">点击查看/下载</span> </a>
+
     </el-dialog>
+
+
+
     <!-- 添加或修改参数配置对话框 -->
     <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body :close-on-click-modal="false">
       <el-form ref="form" :model="form" :rules="rules" label-width="150px">
@@ -721,11 +752,14 @@ import {
   addConfigtherction,
   addConfigsix,
   addConfigbout,
+  addConfigsixde,
   updateConfig,
   updateConfigatruction,
   updateConfigntegration,
+  updateConfigntegrationde,
   exportConfig,
   clearCache,
+  listConfigintegrationsieju
 } from "@/api/system/config";
   const defaultSettings = require("@/settings.js");
 import{
@@ -738,14 +772,16 @@ export default {
   data() {
     return {
       process: process.env.VUE_APP_BASE_API,
+      ndheuos:false,
       defaultSettings,
+      dialogImagename:'',
       disfal:false,
       // 遮罩层
       loading: true,
       //步骤条
       naueactive: 2,
       tab: 0,
-      tabNume: ["项目施工", "设备安装", "项目到资", "项目入统"],
+      tabNume: ["项目施工", "设备安装", "项目到资", "项目入统","项目入规"],
       // 选中数组
       ids: [],
       // 非单个禁用
@@ -806,6 +842,9 @@ export default {
         pageNum: 1,
         pageSize: 10,
       },
+      queryParamstheyrss:{
+         bmProjectId:0,
+      },
       // 表单参数
       form: {},
       formtwo: {},
@@ -842,10 +881,9 @@ export default {
       },
       //项目入统
       queryFormtwo:{
-       statisticsDate: [
-         { type: 'date', required: true, message: '请选择入统时间', trigger: 'change' }
-       ]
+
       },
+      queryFormtwofr:{},
       rulestwo: {},
       rulesther: {
         payForMoney: [
@@ -963,7 +1001,26 @@ export default {
       console.log(file, fileList)
     },
     beforeAvatarUpload(file) {
-      console.log(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 < 10;
+        this.ndheuos = isJPG
+        console.log(this.ndheuos,76)
+        // if (!isJPG) {
+        //   this.$message.error("图片只能是 JPG 格式! 或者 PNG 格式!");
+        // }
+        // if(!isPNG){
+        //   this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
+        // }
+        if (!isLt2M) {
+          this.$message.error("文件大小不能超过 10MB!");
+        }
+        return  isLt2M;
+      // },
     },
     submitUpload() {
       this.$refs.upload.submit();
@@ -1002,11 +1059,26 @@ export default {
     handleSuccntry(response, file, fileList) {
       // this.ontract = []
       this.ntry.push(file.response.url);
-      this.queryParamstheyr.statisticsPhoto = this.ntry.join(",");
+      if(this.tab == 3){
+        this.queryParamstheyr.statisticsPhoto = this.ntry.join(",");
+      }else if(this.tab == 4){
+        this.queryParamstheyrss.statisticsPhoto = this.ntry.join(",");
+      }
+
     },
     handlePictureCardPreview(file) {
-      this.dialogImageUrl = file.url;
-      this.dialogVisible = true;
+      if(file.response !== undefined){
+        this.dialogImageUrl = file.response.url;
+        this.dialogVisible = true;
+        this.dialogImagename = file.name
+      }else{
+        this.dialogImageUrl = file.url;
+        this.dialogVisible = true;
+        this.dialogImagename = file.name
+      }
+
+      console.log(file,345)
+
     },
     handleDownload(file) {
       console.log(file);
@@ -1018,11 +1090,11 @@ export default {
       console.log(file);
     },
     handleExceedtwo(files, fileList) {
-      this.$message.warning(
-        `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
-          files.length + fileList.length
-        } 个文件`
-      );
+      // this.$message.warning(
+      //   `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
+      //     files.length + fileList.length
+      //   } 个文件`
+      // );
     },
     beforeRemovetwo(file, fileList) {
       return this.$confirm(`确定移除 ${file.name}?`);
@@ -1065,7 +1137,6 @@ export default {
         this.fileListfour = [];
         this.fileListfive = [];
         // this.ermit = []
-
         if (response.data.id !== null) {
           //修改
           this.queryParamstwr = response.data;
@@ -1075,7 +1146,7 @@ export default {
             console.log(this.ermit, 90);
             for (var i = 0; i < this.ermit.length; i++) {
               this.fileListther.push({
-                name: this.ermit[i],
+                name:this.ermit[i].substring(this.ermit[i].lastIndexOf("/")+1),
                 url: this.ermit[i],
               });
             }
@@ -1085,13 +1156,14 @@ export default {
             console.log(this.ontractr, 80);
             for (var i = 0; i < this.ontractr.length; i++) {
               this.fileListfour.push({
-                name: this.ontractr[i],
+                name: this.ontractr[i].substring(this.ontractr[i].lastIndexOf("/")+1),
                 url: this.ontractr[i],
               });
             }
           }
           if (this.queryParamstwr.constructionPhoto !== null) {
             this.ruction = this.queryParamstwr.constructionPhoto.split(",");
+            // this.dialogImagename = this.queryParamstwr.constructionPhoto
             console.log(this.ruction, 70);
             for (var i = 0; i < this.ruction.length; i++) {
               this.fileListfive.push({
@@ -1124,6 +1196,7 @@ export default {
             poku = route.photo.split(",");
             route.photo = route.photo.split(",");
             route.phototwo = route.photo[0];
+            // this.dialogImagename = this.queryParamstwr.phototwo
             console.log(route.phototwo);
             console.log(route.photo);
             // route.photo = []
@@ -1147,6 +1220,7 @@ export default {
             poku = route.photo.split(",");
             route.photo = route.photo.split(",");
             route.phototwo = route.photo[0];
+            this.dialogImagename = route.phototwo
             console.log(route.phototwo);
             console.log(route.photo);
           }
@@ -1213,6 +1287,33 @@ export default {
         this.loading = false;
       });
     },
+
+    //项目入规查看接口
+    getListssijeu() {
+      this.loading = true;
+      listConfigintegrationsieju(this.bmProjectId).then((response) => {
+        this.fileListthertwo = [];
+        if (response.data !== undefined) {
+          //修改
+          this.udgment = 1;
+          this.queryParamstheyrss = response.data;
+          if (this.queryParamstheyrss.statisticsPhoto !== null) {
+            this.udgmentList = this.queryParamstheyrss.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);
@@ -1482,6 +1583,28 @@ export default {
             }
           }
         });
+      }else if(this.tab == 4){
+
+        if (this.udgment == 1) {
+          //修改
+          updateConfigntegrationde(this.queryParamstheyrss).then((response) => {
+            this.msgSuccess("修改成功");
+            this.open = false;
+            // this.getListtoi();
+            this.handleAudit()
+            this.$router.go(-1);
+          });
+        } else {
+          this.queryParamstheyrss.bmProjectId = this.bmProjectId;
+          console.log(this.queryParamstheyrss.bmProjectId,98)
+          addConfigsixde(this.queryParamstheyrss).then((response) => {
+            this.msgSuccess("新增成功");
+            this.opentwo = false;
+            this.handleAudit()
+            // this.getListther();
+            // this.$router.go(-1);
+          });
+        }
       }
     },
     /** 开工照片删除按钮操作 */
@@ -1568,6 +1691,8 @@ export default {
     //tab
     tabClid(index) {
       this.tab = index;
+      console.log(this.tab,78)
+      this.ntry = []
       if (this.tab == 1) {
         this.getListther();
       } else if (this.tab == 0) {
@@ -1578,7 +1703,10 @@ export default {
         this.getListfive();
       } else if (this.tab == 3) {
         this.getListsix();
+      }else if(this.tab == 4){
+         this.getListssijeu()
       }
+
       // this.$router.push('/tab');
     },
     //下一页点击
@@ -1623,6 +1751,22 @@ export default {
   },
 };
 </script>
+<style type="text/css" lang="scss">
+  .bhyeksu{
+    .el-form-item{
+      margin-bottom: 55px !important;
+    }
+
+  }
+  .fre{
+    .el-upload-list{
+      width: 80%;
+    }
+  }
+</style>
+
+
+
 <style rel="stylesheet/scss" lang="scss" scoped>
 .roiyy {
   position: fixed;
@@ -1786,9 +1930,9 @@ export default {
       padding: 0 10px;
       margin-bottom: 30px;
       p {
-        font-size: 12px;
+        font-size: 14px;
         font-family: PingFang SC;
-        font-weight: 400;
+        font-weight: 700;
         color: #343434;
         padding: 11px 15px;
         margin: 0;
@@ -1911,4 +2055,9 @@ export default {
   font-weight: 500;
   color: #666666;
 }
+.bgteu{
+   border: 1px solid #dcdfe6;
+      border-radius: 4px;
+      padding: 10px ;
+}
 </style>

+ 122 - 23
ruoyi-ui/src/views/management/roduction/index.vue

@@ -61,7 +61,7 @@
               :inline="true"
               label-width="135px"
               label-position="center"
-              class="manager_form"
+              class="manager_form bhyeksu"
             >
               <el-form-item label=" 已完成投资额:" prop="totInvestment">
                 <el-input
@@ -93,18 +93,22 @@
                 ></el-date-picker>
               </el-form-item>
               <el-form-item label="投产图片:" prop="productPhoto" class="maget_ty" :rules="[{ required: true, message: '请上传投产图片', trigger: 'blur' }]" >
-                <div class="forieu" style="width: 618px">
-                  <div class="bure burert">
+                <div class="bgteu " style="width: 618px">
+                  <div class="">
                     <el-upload
                       :action="defaultSettings.urls + process+'/common/upload'"
                       list-type="picture-card"
                       :on-preview="handlePictureCardPreview"
                       :on-remove="handleRemove"
                       :on-success="handleOnsuccess"
+                      :before-upload="beforeAvatarUpload"
                       :file-list="productPhotoList"
                        :disabled = "disfal"
                     >
-                      <i class="el-icon-plus"></i>
+                      <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                        <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                        <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
+                      </div>
                       <!-- <el-button slot="trigger" size="small" type="primary"
                         >选取文件</el-button
                       >
@@ -123,18 +127,21 @@
                 </div>
               </el-form-item>
               <el-form-item label="设备订购合同:" prop="orderContractPhoto" class="maget_ty" :rules="[{ required: true, message: '请上传设备订购合同', trigger: 'blur' }]">
-                <div class="forieu" style="width: 618px">
-                  <div class="bure burert">
+                <div class="bgteu fre" style="width: 618px">
+                  <div class="">
                     <el-upload
                       :action="defaultSettings.urls + process+'/common/upload'"
-                      list-type="picture-card"
                       :on-preview="handlePictureCardPreview"
+                      :before-upload="beforeAvatarUpload"
                       :on-remove="handleRemove3"
                       :on-success="handleOnsuccess3"
                       :file-list="orderContractPhotoList"
                        :disabled = "disfal"
                     >
-                      <i class="el-icon-plus"></i>
+                      <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                        <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                        <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传word/pdf格式,大小不超过10M(合同须盖章)</div>
+                      </div>
                       <!-- <el-button slot="trigger" size="small" type="primary"
                         >选取文件</el-button
                       >
@@ -153,18 +160,21 @@
                 </div>
               </el-form-item>
               <el-form-item label="到资清单:" prop="arrivalListPhoto" class="maget_ty" :rules="[{ required: true, message: '请上传到资清单', trigger: 'blur' }]">
-                <div class="forieu" style="width: 618px">
-                  <div class="bure burert">
+                <div class="bgteu fre" style="width: 618px">
+                  <div class="">
                     <el-upload
                       :action="defaultSettings.urls + process+'/common/upload'"
-                      list-type="picture-card"
                       :on-preview="handlePictureCardPreview"
                       :on-remove="handleRemove2"
                       :on-success="handleOnsuccess2"
                       :file-list="arrivalListPhotoList"
+                      :before-upload="beforeAvatarUpload"
                        :disabled = "disfal"
                     >
-                      <i class="el-icon-plus"></i>
+                      <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                        <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                        <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传word/pdf格式,大小不超过10M</div>
+                      </div>
                       <!-- <el-button slot="trigger" size="small" type="primary"
                         >选取文件</el-button
                       >
@@ -190,7 +200,7 @@
                   clearable
                   size="small"
                   :disabled = "disfal"
-                  style="width: 335px"
+                  style="width: 235px"
                 >
                   <el-option
                     v-for="dict in typeOptions"
@@ -206,9 +216,43 @@
                   :disabled = "disfal"
                   placeholder="选择项目入规时间"
                   v-model="form.okDate"
-                  style="width: 335px"
+                  style="width: 235px"
                 ></el-date-picker>
               </el-form-item>
+              <el-form-item label="入规截图:" prop="entryPhoto" class="maget_ty">
+                <div class="bgteu " style="width: 618px">
+                  <div class="">
+                    <el-upload
+                      :action="defaultSettings.urls + process+'/common/upload'"
+                      list-type="picture-card"
+                      :on-preview="handlePictureCardPreview"
+                      :on-remove="handleRemove4"
+                      :on-success="handleOnsuccess4"
+                      :before-upload="beforeAvatarUpload"
+                      :file-list="orderContractPhotoLists"
+                       :disabled = "disfal"
+                    >
+                      <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                        <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                        <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
+                      </div>
+                      <!-- <el-button slot="trigger" size="small" type="primary"
+                        >选取文件</el-button
+                      >
+                      <el-button
+                        style="margin-left: 10px"
+                        size="small"
+                        type="primary"
+                        @click="submitUpload"
+                        >上传到服务器</el-button
+                      > -->
+                    </el-upload>
+                    <el-dialog :visible.sync="dialogVisible">
+                      <img width="100%" :src="dialogImageUrl" alt="" />
+                    </el-dialog>
+                  </div>
+                </div>
+              </el-form-item>
             </el-form>
           </div>
         </div>
@@ -216,7 +260,10 @@
     </div>
 
     <el-dialog :visible.sync="dialogVisible">
-      <img width="100%" :src="dialogImageUrl" alt="" />
+
+      <img width="100%" :src="dialogImageUrl" alt="" v-if="ndheuos">
+      <a :href="dialogImageUrl" target="view_window" v-if="!ndheuos"> {{dialogImagename}} <span style="color: red; margin-left: 10px;">点击查看/下载</span> </a>
+
     </el-dialog>
   </div>
 </template>
@@ -250,10 +297,13 @@ export default {
       disabled: false,
       dialogVisible: false,
       dialogImageUrl: false,
+      dialogImagename:'',
 
       productPhotoList: [],
       arrivalListPhotoList: [],
       orderContractPhotoList: [],
+      orderContractPhotoLists:[],
+      ndheuos:false,
 
       //数据字典
       typeOptions: {},
@@ -270,12 +320,6 @@ export default {
         productDate: [
           { required: true, message: "请选择投产时间", trigger: "blur" },
         ],
-        isOk: [
-          { required: true, message: "请选择项目入规(限)", trigger: "blur" },
-        ],
-        okDate: [
-          { required: true, message: "请选择项目入规时间", trigger: "blur" },
-        ],
       },
     };
   },
@@ -298,6 +342,7 @@ export default {
         that.form = response.data;
         //  投产图片
         if (that.form.productPhoto.length > 0) {
+          
           this.productPhotoList = JSON.parse(that.form.productPhoto);
         }
         //  到资清单
@@ -308,6 +353,10 @@ export default {
         if (that.form.orderContractPhoto.length > 0) {
           this.orderContractPhotoList = JSON.parse(that.form.orderContractPhoto);
         }
+        //入规截图
+        if (that.form.entryPhoto.length > 0) {
+          this.orderContractPhotoLists = JSON.parse(that.form.entryPhoto);
+        }
       }
     });
   },
@@ -354,6 +403,7 @@ export default {
       this.productPhotoList = [];
       this.arrivalListPhotoList = [];
       this.orderContractPhotoList = [];
+      this.orderContractPhotoLists= []
     },
     //上传图片
     handleSuccpermit(response, file, fileList) {
@@ -432,6 +482,15 @@ export default {
         tmp[index] = obj;
       });
       this.form.orderContractPhoto = JSON.stringify(tmp);
+      this.orderContractPhotoLists.forEach((item, index) => {
+        var obj = {};
+        obj.name = item.response.fileName;
+        obj.uid = item.uid;
+        obj.url = item.response.url;
+        tmp[index] = obj;
+      });
+      this.form.entryPhoto = JSON.stringify(tmp);
+
 
       this.$refs["form"].validate((valid) => {
         if (valid) {
@@ -473,12 +532,25 @@ export default {
     handleOnsuccess3(response, file, fileList) {
       this.orderContractPhotoList = fileList;
     },
+    handleOnsuccess4(response, file, fileList){
+     this.orderContractPhotoLists = fileList;
+    },
     handleRemove3(file, fileList) {
       this.orderContractPhotoList = fileList;
     },
+    handleRemove4(file, fileList) {
+      this.orderContractPhotoLists = fileList;
+    },
     handlePictureCardPreview(file) {
-      this.dialogImageUrl = file.url;
-      this.dialogVisible = true;
+      if(file.response !== undefined){
+        this.dialogImageUrl = file.response.url;
+        this.dialogVisible = true;
+        this.dialogImagename = file.name
+      }else{
+        this.dialogImageUrl = file.url;
+        this.dialogVisible = true;
+        this.dialogImagename = file.name
+      }
     },
     handleDownload(file) {
       console.log(file);
@@ -520,6 +592,28 @@ export default {
           this.msgSuccess("审核成功");
         });
     },
+    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 < 10;
+        this.ndheuos = isJPG
+        console.log(this.ndheuos,76)
+        // if (!isJPG) {
+        //   this.$message.error("图片只能是 JPG 格式! 或者 PNG 格式!");
+        // }
+        // if(!isPNG){
+        //   this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
+        // }
+        if (!isLt2M) {
+          this.$message.error("文件大小不能超过 10MB!");
+        }
+        return  isLt2M;
+      // },
+    },
     //驳回
     backBtn() {
       var that = this;
@@ -858,4 +952,9 @@ export default {
   font-weight: 500;
   color: #666666;
 }
+.bgteu{
+   border: 1px solid #dcdfe6;
+      border-radius: 4px;
+      padding: 10px ;
+}
 </style>

+ 3 - 2
ruoyi-ui/src/views/tab/index.vue

@@ -54,13 +54,14 @@ export default {
     padding: 0 10px;
     margin-bottom: 30px;
     p{
-      font-size: 12px;
+      font-size: 16px;
       font-family: PingFang SC;
-      font-weight: 400;
+      font-weight: 700;
       color: #343434;
       padding: 11px 15px;
       margin: 0;
       cursor: pointer;
+
     }
     .p{
       border-bottom: 2px solid #1C84C6;

+ 49 - 34
ruoyi-ui/src/views/under/index.vue

@@ -86,7 +86,7 @@
               type="warning"
               :disabled="disfal"
               @click="handleUpdate(scope.row)"
-              v-hasPermi="['system:config:edit']"
+              v-hasPermi="['projectInvestor:investor:edit']"
               >修改</el-button
             >
             <el-button
@@ -94,7 +94,7 @@
               type="danger"
               :disabled="disfal"
               @click="handleDelete(scope.row)"
-              v-hasPermi="['system:config:remove']"
+              v-hasPermi="['projectInvestor:investor:remove']"
               >删除</el-button
             >
           </template>
@@ -131,7 +131,7 @@
               :disabled="disfal"
               type="warning"
               @click="handleUpdatetwo(scope.row)"
-              v-hasPermi="['system:config:edit']"
+              v-hasPermi="['projectInvestor:investor:edit']"
               >修改</el-button
             >
             <el-button
@@ -139,7 +139,7 @@
               type="danger"
               :disabled="disfal"
               @click="handleDeletetwo(scope.row)"
-              v-hasPermi="['system:config:remove']"
+              v-hasPermi="['projectInvestor:investor:remove']"
               >删除</el-button
             >
           </template>
@@ -565,15 +565,14 @@
             />
           </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-form-item label="添加附件:" prop="configType" class="maget_ty" style="margin-bottom: 50px;">
+          <div class="bgteu fre" style="width: 618px">
+            <div class="">
               <el-upload
                 :action="defaultSettings.urls + process + '/common/upload'"
-                :auto-upload="false"
+                :auto-upload="true"
                 ref="upload"
                 :before-upload="beforeAvatarUpload"
-                list-type="picture-card"
                 :on-preview="handlePictureCardPreview"
                 :on-remove="handleRemove"
                 :on-success="handleSuccntry"
@@ -581,17 +580,13 @@
                 :file-list="fileList"
                 :disabled="disfal"
               >
-                <!-- <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 style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
+                  <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
+                  <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
                 </div>
-                <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
+
               </el-upload>
-              <div class="ijeut">
+             <!-- <div class="ijeut">
                 <el-button
                   style="margin-left: 10px; height: 32px"
                   size="small"
@@ -599,7 +594,7 @@
                   @click="submitUpload"
                   >开始上传</el-button
                 >
-              </div>
+              </div> -->
             </div>
           </div>
         </el-form-item>
@@ -761,7 +756,8 @@
       </div>
     </el-dialog>
     <el-dialog :visible.sync="dialogVisible">
-      <img width="100%" :src="dialogImageUrl" alt="" />
+      <!-- <img width="100%" :src="dialogImageUrl" alt="" /> -->
+      <a :href="dialogImageUrl" target="view_window" > {{dialogImagename}} <span style="color: red;">点击查看/下载</span></a>
     </el-dialog>
   </div>
 </template>
@@ -862,6 +858,7 @@ export default {
         ],
       },
       dialogImageUrl: "",
+      dialogImagename:'',
       dialogVisible: false,
       disabled: false,
       bmProjectId: 0,
@@ -1096,8 +1093,16 @@ export default {
       console.log(file, 87);
     },
     handlePictureCardPreview(file) {
-      this.dialogImageUrl = file.url;
-      this.dialogVisible = true;
+      if(file.response !== undefined){
+        this.dialogImageUrl = file.response.url;
+        this.dialogVisible = true;
+        this.dialogImagename = file.name
+      }else{
+        this.dialogImageUrl = file.url;
+        this.dialogVisible = true;
+        this.dialogImagename = file.name
+      }
+      console.log(file,345)
     },
     handleDownload(file) {
       console.log(file);
@@ -1109,23 +1114,23 @@ export default {
     },
     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;
+      // 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 < 10;
 
-      if (!isJPG) {
-        this.$message.error("图片只能是 JPG 格式! 或者 PNG 格式!");
-      }
+      // if (!isJPG) {
+      //   this.$message.error("图片只能是 JPG 格式! 或者 PNG 格式!");
+      // }
       // if(!isPNG){
       //   this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
       // }
       if (!isLt2M) {
-        this.$message.error("图片大小不能超过 2MB!");
+        this.$message.error("文件大小不能超过 10MB!");
       }
-      return isJPG && isLt2M;
+      return  isLt2M;
     },
     /** 查询参数列表 */
     getList() {
@@ -1238,7 +1243,7 @@ export default {
             this.fileListhye = this.queryParams.attachment.split(",");
             for (var i = 0; i < this.fileListhye.length; i++) {
               this.fileList.push({
-                name: this.fileListhye[i],
+                name: this.fileListhye[i].substring(this.fileListhye[i].lastIndexOf("/")+1),
                 url: this.fileListhye[i],
               });
             }
@@ -1673,6 +1678,11 @@ export default {
 };
 </script>
 <style  lang="scss"  >
+  .fre{
+    .el-upload-list{
+      width: 80%;
+    }
+  }
   .yiuejg{
     .el-form-item__label{
       width: 125px !important;
@@ -1993,4 +2003,9 @@ export default {
   font-weight: 500;
   color: #666666;
 }
+.bgteu{
+   border: 1px solid #dcdfe6;
+      border-radius: 4px;
+      padding: 10px ;
+}
 </style>