Эх сурвалжийг харах

修复多个页面的按钮逻辑

zhl 4 жил өмнө
parent
commit
d28e3a6e8c

+ 1246 - 651
ruoyi-ui/src/components/ProjectDec/SignContract.vue

@@ -1,33 +1,82 @@
 <template>
   <div class="sign_box">
-    <el-form label-position="right" ref="form" :rules="rules" :model="form" label-width="80px">
+    <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 :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">
-          <el-button type="primary" v-hasPermi="['system:config:edit']" @click="submitForm">暂存</el-button>
+        <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-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>
+      <div class="sign_tit">项目签约信息</div>
       <el-row>
-        <el-form-item label-width="120px" label="签约日期:" class="elItem" prop="date1">
+        <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-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-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-radio-group v-model="form.resource" style="width: 100%">
                 <el-col :span="12">
                   <el-radio label="1">独资</el-radio>
                 </el-col>
@@ -50,9 +99,18 @@
       </el-row>
       <el-row>
         <el-col :span="7">
-          <el-form-item label-width="120px" label="总投资额度:" class="elItem" prop="je">
+          <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-input
+                type="number"
+                placeholder="请输入总投资额度"
+                v-model="form.totInvestment"
+              ></el-input>
             </el-col>
             <div class="dw_name">万元</div>
           </el-form-item>
@@ -63,33 +121,78 @@
           <div class="qz_name">其中</div>
         </el-col>
         <el-col :span="10">
-          <el-form-item label-width="182px" label="境外投资(含港澳台投资):" class="elItem" prop="je">
+          <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-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-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-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-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-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-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-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-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-input
+                type="number"
+                placeholder="请输入县内投资额度"
+                v-model="form.xnInvestm"
+              ></el-input>
             </el-col>
             <div class="dw_name">万元</div>
           </el-form-item>
@@ -97,7 +200,12 @@
       </el-row>
       <el-row>
         <el-col :span="5">
-          <el-form-item label-width="121px" label="是否独立供地:" class="elItem" prop="je">
+          <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>
@@ -105,21 +213,47 @@
           </el-form-item>
         </el-col>
         <el-col :span="6">
-          <el-form-item label-width="93px" label="供地面积:" class="elItem" prop="je">
+          <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-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
+            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-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>
@@ -127,7 +261,12 @@
       </el-row>
       <el-row>
         <el-col :span="6">
-          <el-form-item label-width="121px" label="流转土地面积:" class="elItem" prop="je">
+          <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>
@@ -135,20 +274,48 @@
           </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
+            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-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-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>
@@ -156,7 +323,12 @@
       </el-row>
       <el-row>
         <el-col :span="7">
-          <el-form-item label-width="121px" label="租赁厂房面积:" class="elItem" prop="je">
+          <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>
@@ -164,20 +336,48 @@
           </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
+            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-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-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>
@@ -185,7 +385,12 @@
       </el-row>
       <el-row>
         <el-col :span="8">
-          <el-form-item label-width="121px" label="合同约定产值:" class="elItem" prop="je">
+          <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>
@@ -193,7 +398,12 @@
           </el-form-item>
         </el-col>
         <el-col :span="8">
-          <el-form-item label-width="121px" label="合同约定税收:" class="elItem" prop="je">
+          <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>
@@ -201,123 +411,250 @@
           </el-form-item>
         </el-col>
       </el-row>
-      <el-row style="margin-left: -10px;">
+      <el-row style="margin-left: -10px">
         <el-col :span="8">
-          <el-form-item label-width="131px" label="合同约定开工时间:" class="elItem" prop="je">
+          <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-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-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-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
+          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-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-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-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-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-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-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-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>
+      <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
+            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
+            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
+            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
+            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
+            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-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>
+      <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">
+          <img
+            src="../../assets/images/icon_add@2x.png"
+            alt=""
+            class="add_icon"
+          />
           <span>添加企业股东构成</span>
         </div>
       </el-row>
@@ -325,690 +662,948 @@
         <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">
+          <el-table-column
+            label="股权比例"
+            align="center"
+            prop="equityRatio"
+            :show-overflow-tooltip="true"
+          >
             <template slot-scope="scope">
-              <span>{{scope.row.equityRatio}}%</span>
+              <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">
+          <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">
+              <img :src="scope.row.idcardFront" alt="" class="imgs" />
             </template>
           </el-table-column>
-          <el-table-column label="身份证(反面)" align="center" prop="idcardBack">
+          <el-table-column
+            label="身份证(反面)"
+            align="center"
+            prop="idcardBack"
+          >
             <template slot-scope="scope">
-              <img :src="scope.row.idcardBack" alt="" class="imgs">
+              <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>
+              <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" />
+        <pagination
+          v-show="total > 0"
+          :total="total"
+          :page.sync="queryParams.pageNum"
+          :limit.sync="queryParams.pageSize"
+          @pagination="getShareholderList"
+        />
       </el-row>
-      <div class="sign_tit">
-        企业备案信息
-      </div>
+      <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
+            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
+            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-form-item
+            label-width="121px"
+            label="备案总投资额:"
+            class="elItem"
+            prop="recordTot"
+          >
             <el-col :span="18">
-              <el-input placeholder="请输入备案总投资额" v-model="form.recordTot"></el-input>
+              <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
+            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-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>
+      <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
+            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
+            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
+            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
+            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
+            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
+        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-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-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-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>
+        <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,
-        configList:[],
-        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("提交成功");
-        })
-      },
-      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
+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,
+      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",
+          },
+        ],
       },
-      upl_fn_zlcqz(res, file) {
-        this.form.leasePlantPhoto = res.url
+      sharData: {
+        bmProjectId: this.$route.query.setid,
+        name: "",
+        equityRatio: 0,
+        idcard: "",
+        idcardFront: "",
+        idcardBack: "",
       },
-      up_loat_htwb(res, file) {
-        this.form.agreementUrl.push(res.url)
+      queryParams: {
+        pageNum: 1,
+        pageSize: 10,
+        bmProjectId: "",
       },
-      up_loat_bab(res, file) {
-        this.form.recordUrl.push(res.url)
+      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",
+          },
+        ],
       },
-      upl_fn_zzfyj(res, file) {
-        this.form.bussinessUrl = res.url
+      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: "", //责任人联系方式
       },
-      upl_fn_sfzzm(res, file) {
-        this.idcardFrontFlie = []
-        this.idcardFrontFlie = [{
+      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() {
+      this.$confirm("是否确认审核", "提醒", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
+          return setExamine({
+            code: 3,
+            bmProjectId: scrop.id,
+          });
+        })
+        .then(() => {
+          this.getList();
+          this.msgSuccess("审核成功");
+        });
+    },
+    //驳回
+    backBtn() {
+      this.$confirm("是否确认驳回", "提醒", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
+          return setReject({
+            code: 2,
+            bmProjectId: scrop.id,
+          });
+        })
+        .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 = [{
+        },
+      ];
+      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()
-              })
-            }
+        },
+      ];
+      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',
-                });
-              })
-            }
+        }
+      });
+    },
+    submitForm() {
+      this.$refs["form"].validate((valid) => {
+        if (valid) {
+          if (this.total == 0) {
+            this.msgError("企业股东不能为空,请上传企业股东");
+            return;
           }
-        })
-      },
-      getOrderinfo() {
-        getOrderinfo(this.queryParams.bmProjectId).then(res => {
-          console.log(res)
-          if (res.data){
-            this.form = res.data
+          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",
+              });
+            });
           }
-        })
-      },
-      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 = [{
+        }
+      });
+    },
+    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 = [{
+            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() {
+            url: response.data.idcardFront,
+          },
+        ];
+        this.open = true;
+        this.title = "修改股东信息";
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(id) {
+      this.$confirm("是否确认删除该股东", "警告", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
           return delShareholder(id);
-        }).then(() => {
+        })
+        .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(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);
-          }
+      }
+    },
+    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);
       }
-    }
-  }
+    },
+    handlePreview(file) {
+      console.log(file, 22);
+    },
+  },
+};
 </script>
 
 <style lang="scss" scoped>
-  .imgs {
-    width: 100px;
-    height: 100px;
-    object-fit: cover;
-  }
+.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;
-  }
+.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;
+.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;
-    }
+  .add_icon {
+    margin-right: 6px;
+    width: 15px;
+    height: 15px;
   }
-  .sign_box {
-    padding: 26px 23px;
+}
+.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;
-      }
-    }
+  .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;
 
-    .elItem {
-      margin: 15px 0;
+    span {
+      color: #df0024;
+      margin-left: 10px;
     }
   }
 
-  .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%;
+  .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%;
+}
 </style>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 546 - 299
ruoyi-ui/src/views/management/nstruction/index.vue


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

@@ -320,39 +320,39 @@ export default {
           this.msgSuccess("提交成功");
         });
     },
-    applyBtn(){
+    applyBtn() {
       this.$confirm("是否确认审核", "提醒", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning",
-        })
-          .then(function () {
-            return setExamine({
-              code: 3,
-              bmProjectId: scrop.id,
-            });
-          })
-          .then(() => {
-            this.getList();
-            this.msgSuccess("审核成功");
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
+          return setExamine({
+            code: 3,
+            bmProjectId: scrop.id,
           });
-    },
-    backBtn(){
-       this.$confirm("是否确认驳回", "提醒", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning",
         })
-          .then(function () {
-            return setReject({
-              code: 2,
-              bmProjectId: scrop.id,
-            });
-          })
-          .then(() => {
-            this.getList();
-            this.msgSuccess("驳回成功");
+        .then(() => {
+          this.getList();
+          this.msgSuccess("审核成功");
+        });
+    },
+    backBtn() {
+      this.$confirm("是否确认驳回", "提醒", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
+          return setReject({
+            code: 2,
+            bmProjectId: scrop.id,
           });
+        })
+        .then(() => {
+          this.getList();
+          this.msgSuccess("驳回成功");
+        });
     },
     // 取消按钮
     cancel() {

+ 294 - 283
ruoyi-ui/src/views/management/row/index.vue

@@ -1,53 +1,48 @@
 <template>
-
   <div class="app-container">
-<!--    <div class="header">
+    <!--    <div class="header">
       <span>
         项目详情 >
       </span>
     </div> -->
-  <div style="height: 85px;"></div>
-
+    <div style="height: 85px"></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>
+    <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>
+          </el-steps>
+        </div>
       </div>
-    </div>
-    <!-- //tab栏 -->
-    <!-- <div class="naue_tab">
+      <!-- //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>
+        <keep-alive>
+          <component :is="currentContent"> </component>
+        </keep-alive>
+      </my-tabs>
 
+      <!-- 内容的显示隐藏 -->
 
+      <!-- 在建项目 -->
+    </div>
 
     <!-- 添加或修改参数配置对话框 -->
     <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
@@ -67,14 +62,18 @@
               v-for="dict in typeOptions"
               :key="dict.dictValue"
               :label="dict.dictValue"
-            >{{dict.dictLabel}}</el-radio>
+              >{{ dict.dictLabel }}</el-radio
+            >
           </el-radio-group>
         </el-form-item>
         <el-form-item label="统一社会信用代码" prop="remark">
-          <el-input v-model="form.remark"  placeholder="请输入统一社会信用代码" />
+          <el-input
+            v-model="form.remark"
+            placeholder="请输入统一社会信用代码"
+          />
         </el-form-item>
         <el-form-item label="联系方式" prop="remark">
-          <el-input v-model="form.remark"  placeholder="请输入联系方式" />
+          <el-input v-model="form.remark" placeholder="请输入联系方式" />
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
@@ -86,53 +85,62 @@
 </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'
+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
-},
+    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'
-              }
-            ],
+      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:['线索信息','签约信息','在建信息','投产信息'],
+      naueactive: 0,
+      tab: 1,
+      tabNume: ["线索信息", "签约信息", "在建信息", "投产信息"],
       // 选中数组
       ids: [],
       // 非单个禁用
@@ -166,26 +174,26 @@ export default {
       // 表单校验
       rules: {
         configName: [
-          { required: true, message: "参数名称不能为空", trigger: "blur" }
+          { required: true, message: "参数名称不能为空", trigger: "blur" },
         ],
         configKey: [
-          { required: true, message: "参数键名不能为空", trigger: "blur" }
+          { required: true, message: "参数键名不能为空", trigger: "blur" },
         ],
         configValue: [
-          { required: true, message: "参数键值不能为空", trigger: "blur" }
-        ]
-      }
+          { 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
+    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)
+    console.log(this.naueactive);
     this.getList();
-    this.getDicts("sys_yes_no").then(response => {
+    this.getDicts("sys_yes_no").then((response) => {
       this.typeOptions = response.data;
     });
   },
@@ -193,13 +201,12 @@ export default {
     /** 查询参数列表 */
     getList() {
       this.loading = true;
-      listConfigther().then(response => {
-        console.log(response)
-          this.configList = response.data;
-          // this.total = response.total;
-          this.loading = false;
-        }
-      );
+      listConfigther().then((response) => {
+        console.log(response);
+        this.configList = response.data;
+        // this.total = response.total;
+        this.loading = false;
+      });
     },
     // 参数系统内置字典翻译
     typeFormat(row, column) {
@@ -218,7 +225,7 @@ export default {
         configKey: undefined,
         configValue: undefined,
         configType: "Y",
-        remark: undefined
+        remark: undefined,
       };
       this.resetForm("form");
     },
@@ -235,39 +242,39 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd() {
-      console.log(this.queryParams)
+      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
+      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 => {
+      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 => {
+    submitForm: function () {
+      this.$refs["form"].validate((valid) => {
         if (valid) {
           if (this.form.configId != undefined) {
-            updateConfig(this.form).then(response => {
+            updateConfig(this.form).then((response) => {
               this.msgSuccess("修改成功");
               this.open = false;
               this.getList();
             });
           } else {
-            addConfig(this.form).then(response => {
+            addConfig(this.form).then((response) => {
               this.msgSuccess("新增成功");
               this.open = false;
               this.getList();
@@ -279,176 +286,184 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const configIds = row.configId || this.ids;
-      this.$confirm('是否确认删除参数编号为"' + configIds + '"的数据项?', "警告", {
+      this.$confirm(
+        '是否确认删除参数编号为"' + configIds + '"的数据项?',
+        "警告",
+        {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
+          type: "warning",
+        }
+      )
+        .then(function () {
           return delConfig(configIds);
-        }).then(() => {
+        })
+        .then(() => {
           this.getList();
           this.msgSuccess("删除成功");
-        })
+        });
     },
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有参数数据项?', "警告", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        }).then(function() {
+      this.$confirm("是否确认导出所有参数数据项?", "警告", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(function () {
           return exportConfig(queryParams);
-        }).then(response => {
-          this.download(response.msg);
         })
+        .then((response) => {
+          this.download(response.msg);
+        });
     },
     /** 清理缓存按钮操作 */
     handleClearCache() {
-      clearCache().then(response => {
+      clearCache().then((response) => {
         this.msgSuccess("清理成功");
       });
     },
     //tab
-    changeTab(index){
-      console.log(34)
-    this.tabIndex = index.index
-    this.currentContent = index.component
-    // this.$router.push('/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;
-      }
+.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%;
-      }
+  }
+  .maneg_lar {
+    position: relative;
+    .el-form-item__label {
+      width: 134px !important;
     }
-    .manager_labtwo{
-      .el-form-item__label{
-        width: 244px !important;
-      }
+    span {
+      position: absolute;
+      left: -95%;
     }
-    .manager_labthre{
-      // .el-form-item{
-        .el-form-item__label{
-          width: 130px !important;
-        }
-        margin-right: 40px !important;
-      // }
+  }
+  .manager_labtwo {
+    .el-form-item__label {
+      width: 244px !important;
     }
-    .ieuyr{
-      .el-textarea__inner{
-        height: 80px !important;
-      }
+  }
+  .manager_labthre {
+    // .el-form-item{
+    .el-form-item__label {
+      width: 130px !important;
     }
-    .mage_ter{
-      .el-form-item__label{
-        width: 513px !important;
-      }
+    margin-right: 40px !important;
+    // }
+  }
+  .ieuyr {
+    .el-textarea__inner {
+      height: 80px !important;
     }
-    .maget_ty{
-      .el-form-item__label{
-        width: 135px !important;
-      }
+  }
+  .mage_ter {
+    .el-form-item__label {
+      width: 513px !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%);
-     }
+  }
+  .maget_ty {
+    .el-form-item__label {
+      width: 135px !important;
     }
   }
-  .lage_div{
-    padding-left: 15px;
-    display: flex;
-    align-items: center;
-    margin-bottom: 22px;
-    .el-form-item{
-      margin-bottom: 0 !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%);
     }
   }
-.app-container{
+}
+.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;
+  .header {
+    padding-top: 20px;
     padding-bottom: 90px;
     position: fixed;
     z-index: 99;
     width: calc(100% - 240px);
     background-color: #fff;
 
-    span{
+    span {
       display: block;
       line-height: 45px;
       padding-left: 22px;
       color: #343434;
       font-size: 18px;
-      background-color: #F1F1F1;
+      background-color: #f1f1f1;
     }
   }
-  .naue{
-    border: 1px solid #DADADA;
-    padding:  20px;
+  .naue {
+    border: 1px solid #dadada;
+    padding: 20px;
     margin-top: 40px;
-    .nuae_wtu{
+    .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;
-     }
+      .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;
+    .naue_tab {
+      border-bottom: 1px solid #cdcdcd;
       display: flex;
       margin-top: 30px;
       padding: 0 10px;
       margin-bottom: 30px;
-      p{
+      p {
         font-size: 12px;
         font-family: PingFang SC;
         font-weight: 400;
@@ -456,23 +471,22 @@ export default {
         padding: 11px 15px;
         margin: 0;
       }
-      .p{
-        border-bottom: 2px solid #1C84C6;
+      .p {
+        border-bottom: 2px solid #1c84c6;
         margin-bottom: -1px;
       }
     }
-    .mation{
-
-      .enterprise{
+    .mation {
+      .enterprise {
         font-size: 14px;
         font-family: PingFang SC;
         font-weight: bold;
-        color: #1C84C6;
+        color: #1c84c6;
         margin-top: 25px;
         margin-bottom: 20px;
       }
-      .enterprise_tw{
-        i{
+      .enterprise_tw {
+        i {
           margin-right: 5px;
         }
         font-size: 14px;
@@ -481,26 +495,25 @@ export default {
         color: #666666;
       }
     }
-
   }
-  .nvestor{
+  .nvestor {
     margin-bottom: 10px;
-    p{
-      margin:0;
+    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;
+      border-left: 3px solid #1c84c6;
       padding-left: 13px;
-      i{
+      i {
         color: red;
       }
     }
   }
-  .souu{
+  .souu {
     font-size: 14px;
     font-family: PingFang SC;
     font-weight: 400;
@@ -509,69 +522,67 @@ export default {
   }
 }
 //在建项目
-.nstruction{
+.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){
+  .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;
-   }
-
- }
+      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{
+.kaieu {
   padding-left: 60px;
   font-size: 14px;
   font-family: PingFang SC;
   font-weight: 800;
   color: #343434;
 }
-.kaieu_tw{
+.kaieu_tw {
   padding-left: 60px;
   font-size: 14px;
   font-family: PingFang SC;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 546 - 421
ruoyi-ui/src/views/under/index.vue


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно