<template>

  <div class="app-cont">
  <!-- <div class="naue"> -->
    <!-- 内容的显示隐藏 -->
<div class="mation" >
       <div class="nvestor">
         <p>投资方 <i>*</i></p>
       </div>
       <p class="enterprise">企业</p>
       <p class="enterprise_tw" @click="handleAdd"><i class="el-icon-circle-plus-outline"></i>添加企业</p>
       <el-table v-loading="loading" :data="configList" >
         <!-- <el-table-column type="selection" width="55" align="center" /> -->
         <el-table-column label="企业名称" align="center" prop="companyName" />
         <el-table-column label="企业所在地" align="center" prop="companyAddress" :show-overflow-tooltip="true" />
         <el-table-column label="法人代表姓名" align="center" prop="companyLegal" :show-overflow-tooltip="true" />
         <el-table-column label="统一社会信用代码" align="center" prop="companyCode" />
         <el-table-column label="联系方式" align="center" prop="phone"  />
        <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
         <el-table-column label="操作" align="center" >
           <!-- class-name="small-padding fixed-width" -->
           <template slot-scope="scope">
             <el-button
               size="mini"
               type="warning"
               @click="handleUpdate(scope.row)"
               v-hasPermi="['system:config:edit']"
             >修改</el-button>
             <el-button
               size="mini"
               type="danger"
               @click="handleDelete(scope.row)"
               v-hasPermi="['system:config:remove']"
             >删除</el-button>
           </template>
         </el-table-column>
       </el-table>
       <p class="enterprise">自然人</p>
       <p class="enterprise_tw" @click="handleAddtwo"><i class="el-icon-circle-plus-outline"></i>添加自然人</p>
  <el-table v-loading="loading" :data="configListtwoL" >
   <!-- <el-table-column type="selection" width="55" align="center" /> -->
   <el-table-column label="姓名" align="center" prop="name" />
   <el-table-column label="自然人所在地" align="center" prop="address" :show-overflow-tooltip="true" />
   <el-table-column label="身份证号码" align="center" prop="idCode" :show-overflow-tooltip="true" />
   <el-table-column label="联系方式" align="center" prop="phone" />
   <!-- <el-table-column label="联系方式" align="center" prop="configType" :formatter="typeFormat" /> -->
  <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
   <el-table-column label="操作" align="center" >
     <!-- class-name="small-padding fixed-width" -->
     <template slot-scope="scope">
       <el-button
         size="mini"
         type="warning"
         @click="handleUpdatetwo(scope.row)"
         v-hasPermi="['system:config:edit']"
       >修改</el-button>
       <el-button
         size="mini"
         type="danger"
         @click="handleDeletetwo(scope.row)"
         v-hasPermi="['system:config:remove']"
       >删除</el-button>
     </template>
   </el-table-column>
 </el-table>
       <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="115px" label-position="center" class="manager_form">
         <el-form-item label="投资方联系人" prop="contactor">
           <el-input
             v-model="queryParams.contactor"
             placeholder="请输入投资方联系人"
             clearable
             size="small"
             style="width: 223px"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
         <el-form-item label="投资方联系方式:" prop="phone">
           <el-input
             v-model="queryParams.phone"
             placeholder="请输入联系方式"
             clearable
             size="small"
             style="width: 223px"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
         <div class="nvestor">
           <p>引荐方 <i>*</i></p>
         </div>
         <div v-for="(item,index) in queryParams.referralList " :key="index">
           <el-form-item label="引荐单位:" prop="item.sysdeptId">
             <el-select v-model="item.sysdeptId" placeholder="系统内置" clearable size="small" style="width: 188px">
               <el-option
                 v-for="dict in typeOptions"
                 :key="dict.dictValue"
                 :label="dict.dictLabel"
                 :value="dict.dictValue"
               />
             </el-select>
           </el-form-item>
           <el-form-item label="投资分配额:" prop="item.investmentAllcocation">
             <el-input
               v-model="item.investmentAllcocation"
               placeholder="输入数字"
               clearable
               size="small"
               style="width: 98px"
               @keyup.enter.native="handleQuery"
             />
             <span class="souu">%</span>
           </el-form-item>
           <el-form-item label="引荐方联系人:" prop="item.referral">
             <el-input
               v-model="item.referral"
               placeholder="请输入"
               clearable
               size="small"
               style="width: 98px"
               @keyup.enter.native="handleQuery"
             />
           </el-form-item>

           <el-form-item label="引荐方联系方式:" prop="item.referralPhone">
             <el-input
               v-model="item.referralPhone"
               placeholder="请输入联系方式"
               clearable
               size="small"
               style="width: 153px"
               @keyup.enter.native="handleQuery"
             />
           </el-form-item>
         </div>
         <el-form-item label="引荐单位:" prop="configType">
           <el-select v-model="queryParams.configType" placeholder="系统内置" clearable size="small" style="width: 188px">
             <el-option
               v-for="dict in typeOptions"
               :key="dict.dictValue"
               :label="dict.dictLabel"
               :value="dict.dictValue"
             />
           </el-select>
         </el-form-item>
         <el-form-item label="投资分配额:" prop="investmentAllcocation">
           <el-input
             v-model="queryParams.investmentAllcocation"
             placeholder="输入数字"
             clearable
             size="small"
             style="width: 98px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">%</span>
         </el-form-item>
         <el-form-item label="引荐方联系人:" prop="configName">
           <el-input
             v-model="queryParams.configName"
             placeholder="请输入"
             clearable
             size="small"
             style="width: 98px"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>

         <el-form-item label="引荐方联系方式:" prop="configName">
           <el-input
             v-model="queryParams.configName"
             placeholder="请输入联系方式"
             clearable
             size="small"
             style="width: 153px"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
         <div class="nvestor">
           <p>项目基本信息 <i>*</i></p>
         </div>
         <el-form-item label="预计投资额" prop="needAmt">
           <el-input
             v-model="queryParams.needAmt"
             placeholder="请输入预计投资额"
             clearable
             size="small"
             style="width: 223px"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
         <el-form-item label="其中 固定资产投资:" prop="fixedAssets" class="manager_lab" >
           <el-input
             v-model="queryParams.fixedAssets"
             placeholder="请输入"
             clearable
             size="small"
             style="width: 223px"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
         <div class="lage_div">
           <span>项目主营产品</span>
           <el-form-item label="产品名称:" prop="productName"  class="maneg_lar">

             <el-input
               v-model="queryParams.productName"
               placeholder="请输入产品名称"
               clearable
               size="small"
               style="width: 470px"
               @keyup.enter.native="handleQuery"
             />

           </el-form-item>
         </div>
         <el-form-item label="设计产能:" prop="productQty" class="manager_labtwo" >
           <el-input
             v-model="queryParams.productQty"
             placeholder="请输入设计产能"
             clearable
             size="small"
             style="width: 470px"
             @keyup.enter.native="handleQuery"
           />

         </el-form-item>
         <div class="lage_div">
           <span>项目预计收益</span>
           <el-form-item label="预计产值:" prop="productPrice"  class="maneg_lar">

             <el-input
               v-model="queryParams.productPrice"
               placeholder="请输入预计产值"
               clearable
               size="small"
               style="width: 470px"
               @keyup.enter.native="handleQuery"
             />

           </el-form-item>
         </div>
         <el-form-item label="预计税收:" prop="productTax" class="manager_labtwo" >
           <el-input
             v-model="queryParams.productTax"
             placeholder="请输入预计税收"
             clearable
             size="small"
             style="width: 470px"
             @keyup.enter.native="handleQuery"
           />

         </el-form-item>
         <el-form-item label="预计用工:" prop="productEmp" class="manager_labtwo" >
           <el-input
             v-model="queryParams.productEmp"
             placeholder="请输入预计用工"
             clearable
             size="small"
             style="width: 470px"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
         <div class="nvestor">
           <p>项目基本需求 </p>
         </div>
         <el-form-item label="项目计划用地:" prop="plannedLand" class="manager_labthre">
           <el-input
             v-model="queryParams.plannedLand"
             placeholder="请输入"
             clearable
             size="small"
             style="width: 207px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">亩</span>
         </el-form-item>
         <el-form-item label="其中 独立供地:" prop="independentLand">
           <el-input
             v-model="queryParams.independentLand"
             placeholder="请输入"
             clearable
             size="small"
             style="width: 207px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">亩</span>
         </el-form-item>
        <el-form-item label="流转土地:" prop="circulationLan" class="mage_ter">
          <el-input
            v-model="queryParams.circulationLan"
            placeholder="请输入"
            clearable
            size="small"
            style="width: 207px"
            @keyup.enter.native="handleQuery"
          />
          <span class="souu">亩</span>
        </el-form-item>
        <el-form-item label="项目计划租赁用房:" prop="needRoom" class="manager_labthre">
           <el-input
             v-model="queryParams.needRoom"
             placeholder="请输入"
             clearable
             size="small"
             style="width: 207px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">亩</span>
         </el-form-item>
         <el-form-item label="其中 厂房:" prop="needFactoryRoom">
           <el-input
             v-model="queryParams.needFactoryRoom"
             placeholder="请输入"
             clearable
             size="small"
             style="width: 207px"
             @keyup.enter.native="handleQuery"
           />
           <span class="souu">亩</span>
         </el-form-item>
        <el-form-item label="办公生活用房:" prop="needBusRoom" class="mage_ter">
          <el-input
            v-model="queryParams.needBusRoom"
            placeholder="请输入"
            clearable
            size="small"
            style="width: 207px"
            @keyup.enter.native="handleQuery"
          />
          <span class="souu">亩</span>
        </el-form-item>
        <el-form-item label="其他需求:" prop="other" class="maget_ty">
          <el-input
            v-model="queryParams.other"
            placeholder="请输入项目概况"
            clearable
            type="textarea"
            size="small"
            style="width: 480px;height: 78px;"
            class="ieuyr"
            @keyup.enter.native="handleQuery"
          />
        </el-form-item>
       <el-form-item label="拟落户地点:" prop="address">
           <el-select v-model="queryParams.address" placeholder="系统内置" clearable size="small" style="width: 188px">
             <el-option
               v-for="dict in typeOptions"
               :key="dict.dictValue"
               :label="dict.dictLabel"
               :value="dict.dictValue"
             />
           </el-select>
         </el-form-item>
         <el-form-item label="是否签订框架协议:" prop="isFrameorder" class="maget_ty">
             <el-select v-model="queryParams.isFrameorder" placeholder="系统内置" clearable size="small" style="width: 298px">
               <el-option
                 v-for="dict in typeOptions"
                 :key="dict.dictValue"
                 :label="dict.dictLabel"
                 :value="dict.dictValue"
               />
             </el-select>
           </el-form-item>
          <el-form-item label="添加附件:" prop="configType" class="maget_ty">
              <div class="forieu" style="width: 618px;">
               <div class="bure burert">
                 <el-upload
                   action="http://192.168.101.11:8080/common/upload"
                   :auto-upload="false"
                   ref="upload"
                   :before-upload="beforeAvatarUpload"
                   list-type="picture-card"
                   :on-preview="handlePictureCardPreview"
                   :on-remove="handleRemove"
                   :multiple="true"
                   :file-list="fileList">
                      <!-- <i slot="default" class="el-icon-plus"></i> -->

                   <div class="ijeut">
                     <el-button plain slot="trigger" size="small" type="primary" >选择图片</el-button>
                      <!-- margin-top: 15%; transform: translateY(-50%); -->

                   </div>
                   <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div> -->
                 </el-upload>
                 <div class="ijeut"><el-button style="margin-left: 10px; height: 32px;" size="small" type="primary" @click="submitUpload">开始上传</el-button></div>

               </div>
              </div>
            </el-form-item>
         <el-form-item label="备注:" prop="description" class="maget_ty">
           <el-input
             v-model="queryParams.description"
             placeholder="请输入备注"
             clearable
             type="textarea"
             size="small"
             style="width: 480px;height: 78px;"
             class="ieuyr"
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
       </el-form>
     </div>



  <!-- </div> -->



    <!-- 添加或修改参数配置对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="150px">
        <el-form-item label="企业名称" prop="companyName">
          <el-input v-model="form.companyName" placeholder="请输入企业名称" />
        </el-form-item>
        <el-form-item label="企业所在地" prop="companyAddress">
          <el-input v-model="form.companyAddress" placeholder="请输入参数键名" />
        </el-form-item>
        <el-form-item label="法人代表姓名" prop="companyLegal">
          <el-input v-model="form.companyLegal" placeholder="请输入参数键值" />
        </el-form-item>
        <el-form-item label="系统内置" prop="configType">
          <el-radio-group v-model="form.configType">
            <el-radio
              v-for="dict in typeOptions"
              :key="dict.dictValue"
              :label="dict.dictValue"
            >{{dict.dictLabel}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="统一社会信用代码" prop="companyCode">
          <el-input v-model="form.companyCode"  placeholder="请输入统一社会信用代码" />
        </el-form-item>
        <el-form-item label="联系方式" prop="phone">
          <el-input v-model="form.phone"  placeholder="请输入联系方式" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
    <el-dialog :title="titletwo" :visible.sync="opentwo" width="800px" append-to-body>
      <el-form ref="formtwo" :model="form" :rules="rules" label-width="150px">
        <el-form-item label="姓名" prop="name">
          <el-input v-model="formtwo.name" placeholder="请输入企业名称" />
        </el-form-item>
        <el-form-item label="自然人所在地" prop="address">
          <el-input v-model="formtwo.address" placeholder="请输入参数键名" />
        </el-form-item>
        <el-form-item label="身份证号码" prop="idCode">
          <el-input v-model="formtwo.idCode" placeholder="请输入参数键值" />
        </el-form-item>
        <el-form-item label="系统内置" prop="configType">
          <el-radio-group v-model="form.configType">
            <el-radio
              v-for="dict in typeOptions"
              :key="dict.dictValue"
              :label="dict.dictValue"
            >{{dict.dictLabel}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="联系方式" prop="phone">
          <el-input v-model="formtwo.phone"  placeholder="请输入联系方式" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitFormtwo">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
         <el-dialog :visible.sync="dialogVisible">
           <img width="100%" :src="dialogImageUrl" alt="">
         </el-dialog>
  </div>
</template>

<script>
import { listConfig, listConfigtwo, listConfigthert, listConfigfour, getConfig, getConfigKeytwo, delConfig, delConfigtwo, addConfig, addConfigtwo,  updateConfig, updateConfigtwo, exportConfig, clearCache } from "@/api/system/config";
export default {
  name: "Config",
  props:{
    queryParams: Object,
    tabIndex: Number
  },
  data() {
    return {
      // 遮罩层
      loading: true,
      //步骤条
      naueactive:2,
      tab:1,
      tabNume:['线索信息','签约信息','在建信息','投产信息'],
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 参数表格数据
      configList: [],
      configListtwoL:[],
      // 弹出层标题
      title: "",
      titletwo:'',
      // 是否显示弹出层
      open: false,
      opentwo:false,
      // 类型数据字典
      typeOptions: [],
      // 日期范围
      dateRange: [],
      // 查询参数
      // queryParams: {
      //   pageNum: 14,
      //   pageSize: 10,
      //   configName: undefined,
      //   configKey: undefined,
      //   configType: undefined
      // },
      dialogImageUrl: '',
      dialogVisible: false,
      disabled: false,
      bmProjectId:0,
      // 表单参数
      form: {},
      formtwo:{},
      fileList:[],
      // 表单校验
      rules: {
        configName: [
          { required: true, message: "参数名称不能为空", trigger: "blur" }
        ],
        configKey: [
          { required: true, message: "参数键名不能为空", trigger: "blur" }
        ],
        configValue: [
          { required: true, message: "参数键值不能为空", trigger: "blur" }
        ]
      }
    };
  },
  created() {

    this.bmProjectId = this.$route.query.setid
    console.log(this.bmProjectId)
    this.getList();
    this.getListtwo();
    this.getListther();
    this.getDicts("sys_yes_no").then(response => {
      this.typeOptions = response.data;
    });
   console.log( this.queryParams)
  },
  methods: {
    submitUpload() {
      this.$refs.upload.submit();
    },
    handleRemove(file) {
           console.log(file,87);
    },
    handlePictureCardPreview(file) {
           this.dialogImageUrl = file.url;
           this.dialogVisible = true;
    },
    handleDownload(file) {
           console.log(file);
    },
     beforeAvatarUpload(file) {
       console.log(file.type)
            const isJPG = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/jpg';
            const isPNG = file.type === 'image/png';
            const isLt2M = file.size / 1024 / 1024 < 2;

            if (!isJPG) {
              this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
            }
            // if(!isPNG){
            //   this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
            // }
            if (!isLt2M) {
              this.$message.error('图片大小不能超过 2MB!');
            }
            return isJPG && isLt2M;
    },
    /** 查询参数列表 */
    getList() {
      this.loading = true;
      listConfigtwo(this.bmProjectId).then(response => {
        console.log(response)
          this.queryParams = response.data;
          // this.fileList =  this.queryParams.attachment
          // this.total = response.total;
          this.loading = false;
        }
      );
    },
    //企业列表
    getListtwo() {
      this.loading = true;
      listConfigthert().then(response => {
        console.log(response)
          this.configList = response.rows;
          // this.fileList =  this.queryParams.attachment
          // this.total = response.total;
          this.loading = false;
        }
      );
    },
    //自然人列表
    getListther() {
      this.loading = true;
      listConfigfour(this.bmProjectId).then(response => {
        console.log(response)
          this.configListtwoL = response.rows;
          // this.fileList =  this.queryParams.attachment
          // this.total = response.total;
          this.loading = false;
        }
      );
    },
    // 参数系统内置字典翻译
    typeFormat(row, column) {
      return this.selectDictLabel(this.typeOptions, row.configType);
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.opentwo = false
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        // configId: undefined,
        // configName: undefined,
        // configKey: undefined,
        // configValue: undefined,
        // configType: "Y",
        // remark: undefined
      };
      this.resetForm("form");
    },
    resettwo() {
      this.formtwo = {
        // configId: undefined,
        // configName: undefined,
        // configKey: undefined,
        // configValue: undefined,
        // configType: "Y",
        // remark: undefined
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = [];
      this.resetForm("queryForm");
      this.handleQuery();
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.opentwo =  true
      this.title = "添加参数";
      this.titletwo = "添加参数";

    },
    handleAddtwo() {
      this.resettwo();
      // this.open = true;
      this.opentwo =  true
      // this.title = "添加参数";
      this.titletwo = "添加参数";

    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.configId)
      this.single = selection.length!=1
      this.multiple = !selection.length
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id
      getConfig(id).then(response => {
        console.log(345)
        this.form = response.data;
        this.open = true;
        // this.opentwo = true
        this.title = "修改参数";
        // this.titletwo = "修改参数";

      });
    },
    handleUpdatetwo(row) {
      this.reset();
      const id = row.id
      getConfigKeytwo(id).then(response => {
        console.log(345)
        this.formtwo = response.data;
        // this.open = true;
        this.opentwo = true
        // this.title = "修改参数";
        this.titletwo = "修改参数";

      });
    },
    /** 提交按钮 */
    submitForm: function() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != undefined) {
            updateConfig(this.form).then(response => {
              this.msgSuccess("修改成功");
              this.open = false;
              this.getListtwo();
            });
          } else {
            this.form.bmProjectId = this.bmProjectId
            addConfig(this.form).then(response => {
              this.msgSuccess("新增成功");
              this.open = false;
              this.getListtwo();
            });
          }
        }
      });
    },
    /** 提交按钮 */
    submitFormtwo: function() {
      this.$refs["formtwo"].validate(valid => {
        if (valid) {
          if (this.formtwo.id != undefined) {
            updateConfigtwo(this.formtwo).then(response => {
              this.msgSuccess("修改成功");
              this.opentwo = false;
              this.getListther();
            });
          } else {
            this.formtwo.bmProjectId = this.bmProjectId
            addConfigtwo(this.formtwo).then(response => {
              this.msgSuccess("新增成功");
              this.opentwo = false;
              this.getListther();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const configIds = row.id ;
      this.$confirm('是否确认删除"' + row.companyName + '"的数据项?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return delConfig(configIds);
        }).then(() => {
          this.getListtwo();
          this.msgSuccess("删除成功");
        })
    },
    handleDeletetwo(row) {
      const configIds = row.id ;
      this.$confirm('是否确认删除"' + row.name + '"的数据项?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return delConfigtwo(configIds);
        }).then(() => {
          this.getListther();
          this.msgSuccess("删除成功");
        })
    },
    /** 导出按钮操作 */
    handleExport() {
      const queryParams = this.queryParams;
      this.$confirm('是否确认导出所有参数数据项?', "警告", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return exportConfig(queryParams);
        }).then(response => {
          this.download(response.msg);
        })
    },
    /** 清理缓存按钮操作 */
    handleClearCache() {
      clearCache().then(response => {
        this.msgSuccess("清理成功");
      });
    },
    //tab
   changeTab(index){
     this.$emit('changeTab', index)
   // this.tab = index
   }
  }
};
</script>
<style rel="stylesheet/scss" lang="scss">
  .manager_form{
    .manager_lab{
      .el-form-item__label{
        width: 145px !important;
      }
    }
    .maneg_lar{
      position: relative;
      .el-form-item__label{
        width: 134px !important;
      }
      span{
        position: absolute;
        left: -95%;
      }
    }
    .manager_labtwo{
      .el-form-item__label{
        width: 244px !important;
      }
    }
    .manager_labthre{
      // .el-form-item{
        .el-form-item__label{
          width: 130px !important;
        }
        margin-right: 40px !important;
      // }
    }
    .ieuyr{
      .el-textarea__inner{
        height: 80px !important;
      }
    }
    .mage_ter{
      .el-form-item__label{
        width: 513px !important;
      }
    }
    .maget_ty{
      .el-form-item__label{
        width: 135px !important;
      }
    }
    .forieu{
     border: 1px solid #DCDFE6;
     border-radius: 4px;
     width: 480px;
     height: 90px;
     position: relative;
     .bure{
       position: absolute;
       right: 20px;
       top: 50%;
       transform: translateY(-50%);
     }
     .burert{
       .el-upload--picture-card{
         height: 78px;
         line-height: 78px;
         width: 80px;
         vertical-align:center;
         border: 0 !important;
         background-color: #fff;
       }
       .el-upload-list--picture-card .el-upload-list__item{
         height: 78px !important;
         width: 78px !important;
       }
     }
    }
  }
  .lage_div{
    padding-left: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    .el-form-item{
      margin-bottom: 0 !important;
    }
  }
.app-cont{
  .header{
    padding-left: 22px;
    height: 45px;
    line-height: 40px;
    background-color: #F1F1F1;
    font-size: 18px;
    color: #343434;
    margin-bottom: 40px;
  }
  // .naue{
    // border: 1px solid #DADADA;
    // padding:  20px;
    // margin-top: 40px;
    .nuae_wtu{
      display: flex;
      justify-content: center;
      align-content: center;
     .naue_one{
       width: 30%;
       p{
         font-size: 12px;
         font-family: PingFang SC;
         font-weight: 400;
         color: #343434;
       }
       .naue_name{
         font-size: 14px;
         font-family: PingFang SC;
         font-weight: bold;
         color: #0669B2;
         margin-bottom: 30px;
       }
     }
     .naue_two{
       flex: 1;
       padding-top: 20px;
       // display: flex;
       // align-items: center;
       // justify-content: center;
     }
    }
    //tab
    .naue_tab{
      border-bottom: 1px solid #CDCDCD;
      display: flex;
      margin-top: 30px;
      padding: 0 10px;
      margin-bottom: 30px;
      p{
        font-size: 12px;
        font-family: PingFang SC;
        font-weight: 400;
        color: #343434;
        padding: 11px 15px;
        margin: 0;
      }
      .p{
        border-bottom: 2px solid #1C84C6;
        margin-bottom: -1px;
      }
    }
    .mation{

      .enterprise{
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: bold;
        color: #1C84C6;
        margin-top: 25px;
        margin-bottom: 20px;
      }
      .enterprise_tw{
        i{
          margin-right: 5px;
        }
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 600;
        color: #666666;
      }
    }

  // }
  .nvestor{
    margin-bottom: 10px;
    p{
      margin:0;
      font-size: 14px;
      font-family: PingFang SC;
      font-weight: bold;
      color: #343434;
      height: 24px;
      line-height: 24px;
      border-left: 3px solid #1C84C6;
      padding-left: 13px;
      i{
        color: red;
      }
    }
  }
  .souu{
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #343434;
    margin-left: 5px;
  }
}
//在建项目
.nstruction{
  display: flex;
  align-items: center;
 .nstruction_nav{
   display: flex;
   align-items: center;
   p:nth-child(1){
     margin-right: 10px;
     span{
       font-size: 14px;
       font-family: PingFang SC;
       font-weight: bold;
       color: #343434;
     }
     span:nth-child(1){
       color: #DF0024;
     }
   }
   p:nth-child(2){
     width: 233px;
     height: 30px;
     line-height: 30px;
     border: 1px solid #CDCDCD;
     border-radius: 3px;
     padding-left: 14px;
   }

 }
 .nstruction_navne{
   margin-left: 50px;
   display: flex;
   align-items: center;
   p:nth-child(1){
      margin-right: 10px;
     span{
       font-size: 14px;
       font-family: PingFang SC;
       font-weight: bold;
       color: #343434;
     }
     span:nth-child(1){
       color: #DF0024;
     }
   }
   p:nth-child(2){
     width: 233px;
     height: 30px;
     line-height: 30px;
     border: 1px solid #CDCDCD;
     border-radius: 3px;
     padding-left: 14px;
   }

 }
}
.kaieu{
  padding-left: 60px;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 800;
  color: #343434;
}
.kaieu_tw{
  padding-left: 60px;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #666666;
}
</style>
