<template>
  <div class="app-container" style="padding:0;padding-top:10px;">
    <!-- <div class="nhgel"></div> -->
    <div class="xiangqs">
      <div style="background-color: #fff; border-radius: 5px;
		padding: 10px;padding-top: 20px; ">
        <div class="buzhoudt">
          <el-steps :active="(form.loanSchedule - 0) -1"
            finish-status="success" process-status="finish" align-center>
            <el-step :title="item.dictLabel" v-for="(item,index) in isfwsfg" :key="index"></el-step>
           <!-- <el-step title="提案审查"></el-step>
            <el-step title="提案交办"></el-step>
            <el-step title="提案办理"></el-step>
            <el-step title="提案审核"></el-step>
            <el-step title="已办结"></el-step>
            <el-step title="提案办理"></el-step>
            <el-step title="提案审核"></el-step>
            <el-step title="已办结"></el-step>
 -->
          </el-steps>
        </div>

      </div>

      <div>
        <!-- <p class='jivb'> <img src="../../../assets/images/icon_nybt_zs.png" alt="" style="width:10px;height: 12px;">预约信息</p> -->
        <el-form ref="form" :model="form" :rules="rules" label-width="100px">
          <el-row :gutter="20" style="background-color: #fff; border-radius: 5px ;
		padding: 20px;">
            <el-col :span="24" style="margin: 30px 0;">
              <div style="width: 100%;border-bottom:1px dashed #CDCDCD"></div>
            </el-col>
            <el-col :span="24" style="margin-bottom: 20px;">
              <!-- {{form.title == null?'暂无数据' :  form.title }} -->
              <el-col :span="16" style="padding-left: 0;">
                <div class="btitili" style="font-weight: bold;font-size: 25px;color: #343434;"> {{form.enterpriseName == null? '暂无数据' : form.enterpriseName }}
                  <p v-if="form.isNew == 'Y'" class="pignjue">专精特新<img src="../../../assets/images/icon_htgl_xq_zjtx.png" alt=""
                      style="width: 14px; height: 14px;"></p>
                </div>
              </el-col>
              <el-col :span="8">
                <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                  @click="getPass" v-hasPermi="['system:application:shfp']" v-if="form.auditSchedule == 1&& form.auditType != 4">审核分配</el-button>
                  <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                    @click="infoBtnshnhe" v-hasPermi="['system:application:sh']" v-if=" ((form.auditSchedule == 4 && form.auditType != 4) ||  (form.auditSchedule == 5 && form.auditType == 1))  && ischdw == '风险'">审核通过</el-button>
                    <!-- A角 -->
                    <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                      @click="infoBtnshnhea" v-hasPermi="['system:application:sh']" v-if=" (form.auditSchedule == 2 && form.auditType != 4) && isabj == true ">审核通过</el-button>
                      <!-- B角 -->
                      <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                        @click="infoBtnshnheb" v-hasPermi="['system:application:sh']" v-if=" (form.auditSchedule == 3 && form.auditType != 4)  && isbass == true ">审核通过</el-button>
                <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0ss; color: #fff;"
                  @click="infoBtnbh" v-hasPermi="['system:application:sh']" v-if=" (form.auditSchedule == 2 && form.auditType != 4) && isabj == true ">审核不通过</el-button>
                  <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0ss; color: #fff;"
                    @click="infoBtnbhb" v-hasPermi="['system:application:sh']" v-if="  (form.auditSchedule == 3 && form.auditType != 4) &&  isbass == true ">审核不通过</el-button>
                    <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0ss; color: #fff;"
                      @click="infoBtnbhf" v-hasPermi="['system:application:sh']" v-if=" ((form.auditSchedule == 4 && form.auditType != 4) ||  (form.auditSchedule == 5 && form.auditType == 1))  && ischdw == '风险' ">审核不通过</el-button>
                      <template v-if="form.auditSchedule != 4 && form.auditSchedule != 3">
                     <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                       @click="infoBtnchex" v-hasPermi="['system:application:cx']"  v-if="(form.auditSchedule != 1 && form.loanSchedule != 10) && form.auditSchedule !=6 && form.auditSchedule !=5 &&  form.auditType != 4  && form.loanSchedule != 9 && (isabj == true || isguanle ==true )">撤销</el-button>
                       </template>
                       <template v-if="form.auditSchedule == 3">
                       <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                         @click="infoBtnchex" v-hasPermi="['system:application:cx']"  v-if="(isabj == true || isguanle ==true) && form.auditType != 4">撤销</el-button>
                         </template>
                    <!-- B -->
                    <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                      @click="infoBtnchex" v-hasPermi="['system:application:cx']"  v-if="form.auditSchedule == 4 && (isbass == true || isguanle ==true)">撤销</el-button>
                      <!-- 风险 -->
                      <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                        @click="infoBtnchex" v-hasPermi="['system:application:cx']"  v-if="((form.loanSchedule == 5 && form.auditType == 1) ||  (form.loanSchedule == 9 && form.auditType == 2 ) || form.auditSchedule == 6 || (form.auditSchedule == 5 && form.auditType == 1)) && (ischdw == '风险' || isguanle ==true) ">撤销</el-button>
                    <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                      @click="infoBtnsssix" v-hasPermi="['system:application:ss']" v-if="form.auditType == 4 && form.loanSchedule != 6">申诉</el-button>
                      <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                        @click="infoBtnss" v-hasPermi="['system:application:ss']" v-if="form.auditType == 4 && form.loanSchedule == 6">上会申诉</el-button>
                        <!--  -->
              </el-col>
            </el-col>
            <el-col :span="24">
              <div class="xiangwq">
                <div class="xiangw_ont" style="width:6%;">
                  <p>申请额度</p>
                  <p>{{form.applicationAmount == null? '暂无数据' : form.applicationAmount}} <span>/万元</span></p>
                </div>
                <div class="xiangw_ont" style="width:6%;">
                  <p>使用期限</p>
                  <p>{{form.usagePeriod == null? '暂无数据' : form.usagePeriod}} <span>/个月</span></p>
                </div>
                <div class="xiangw_ont">
                  <p>申贷银行</p>
                  <div class="psieg"> <dict-tag :options="dict.type.shendai_bank" :value="form.applicationBank"/></div>
                </div>
                <div class="xiangw_ont" style="width:12%;">
                  <p>资金用途</p>
                  <p>{{form.purposeFunds == null? '暂无数据' : form.purposeFunds}}</p>
                </div>
                <div class="xiangw_ont" style="width:12%;">
                  <p>还款来源</p>
                  <p>{{form.repaymentSource == null? '暂无数据' : form.repaymentSource}}</p>
                </div>
                <div class="xiangw_ont" style="width:82px;">
                  <p>担保类型</p>
                  <el-tooltip class="item" effect="dark" :content="isgwdan" placement="top-start">
                  <div class="psieg" style="cursor:pointer;">
                        <dict-tag v-for="(item,index) in form.guaranteeType" :key="index" :options="dict.type.guarantee_type" :value="item"/>
                  </div>
                  </el-tooltip>
                </div>
                <div class="xiangw_ont">
                  <p>审核状态</p>
                  <div class="psieg"><dict-tag :options="dict.type.sh_status" :value="form.auditType"/></div>
                </div>
              </div>
            </el-col>


            <el-col :span="24" style="margin: 30px 0; margin-top: 0;">
              <div class="tabse">
                <p :class=" iscsessie == 0 ? 'istab' : ''" @click="iszvr(0)">企业信息</p>
                <p :class=" iscsessie == 1 ? 'istab' : ''" @click="iszvr(1)">法人信息</p>
                <p :class=" iscsessie == 2 ? 'istab' : ''" @click="iszvr(2)">反担保人信息</p>
                <p :class=" iscsessie == 3 ? 'istab' : ''" @click="iszvr(3)">附件信息</p>
                <p :class=" iscsessie == 4 ? 'istab' : ''" @click="iszvr(4)">文件出具</p>
                <p :class=" iscsessie == 5 ? 'istab' : ''" @click="iszvr(5)">保后信息</p>
              </div>
            </el-col>
          </el-row>
          <div :gutter="20" style="background-color: #fff; border-radius: 5px;
        padding: 20px; margin-top: 20px; margin-left: 20px; margin-right: 20px;">
            <!-- 企业信息s -->
            <div v-if="iscsessie == 0">
              <div class='jivb' @click="isajse" style="margin-top: 0; justify-content: space-between;"> <p><img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">基本信息</p> <span style="float:right;color:rgb(0, 169, 240);">查看全部附件信息</span></div>
              <el-row style=" padding-bottom: 20px; " v-if="isifg == true">
                <el-col :span="8" style="margin-top: 20px;">
                  <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                  <p class="lkawe"><span style="color: #222327;font-weight: 700;">统一社会信用代码：</span>
                  {{form.sysUserEnterprise.creditCode == null? '暂无数据' : form.sysUserEnterprise.creditCode}}
                  </p>
                  <!-- disabled -->
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">企业类型：</span>
                  {{form.sysUserEnterprise.enterpriseType == null? '暂无数据' : form.sysUserEnterprise.enterpriseType}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">企业地址 ：</span>
                   {{form.sysUserEnterprise.enterpriseAddress == null? '暂无数据' : form.sysUserEnterprise.enterpriseAddress}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">法人姓名：</span>
                   {{form.sysUserEnterprise.legalName == null? '暂无数据' : form.sysUserEnterprise.legalName}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">注册资金：</span>
                   {{form.sysUserEnterprise.registeredCapital == null? '暂无数据' : form.sysUserEnterprise.registeredCapital}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">成立日期：</span>
                   {{form.sysUserEnterprise.establishData == null? '暂无数据' : form.sysUserEnterprise.establishData}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">营业期限：</span>
                   {{form.sysUserEnterprise.businessTerm == null? '暂无数据' : form.sysUserEnterprise.businessTerm}}</p>
                </el-col>
               <!-- <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">经营范围：</span>
                  {{form.businessScope == null? '暂无数据' : form.businessScope}}
                  </p>
                </el-col> -->
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">行业类型：</span>
                   {{form.categoryType == null? '暂无数据' : form.categoryType}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">是否制造业：</span>
                   {{form.isMake == 'Y'? '是' : form.isMake == 'N'? '否' :'暂无数据'}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">是否小微企业：</span>
                   {{form.isSmall == 'Y'? '是' : form.isSmall == 'N'? '否' :'暂无数据'}}</p>
                </el-col>

                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">是否免税企业：</span>
                   {{form.isDuty == 'Y'? '是' : form.isDuty == 'N'? '否' :'暂无数据'}}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <div style="display: flex;">
                    <p style="color: #222327; font-weight: 700; ">公司简介：</p>
                    <div v-html="form.companyIntroduction"></div>
                  </div>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                  <p class="lkawe"><span style="color: #222327;font-weight: 700;">公司简介：</span> <span
                      style="color: #00A9F0;" @click="changety(form.basicFj.gsjj,'公司简介')">查看公司简介</span> </p>
                  <!-- disabled -->
                </el-col>
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">公司章程：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.gszc,'公司章程')">查看公司章程</span> </p>
                    <!-- disabled -->
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">开户许可证：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.khxkz,'开户许可证')">查看关联企业征信</span></p>
                  </el-col>
                </el-col>
              </el-row>

              <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">全体股东身份及征信</p>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24"  v-for="(item,index) in form.shareholderFjList" :key="item.shareholderFjId">

                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">{{ '股东' + (index+1) +'身份'}}：</span> <span
                        style="color: #00A9F0;" @click="changety(item.shareholderFrontUrljh,'股东')">查看股东身份证</span> </p>
                    <!-- disabled -->
                  </el-col>

                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- change -->
                    <p><span style="color: #222327; font-weight: 700;">{{ '股东' + (index+1) +'征信'}}：</span> <span
                        style="color: #00A9F0;" @click="changety(item.shareholderZxUrlg,'股东')">查看股东征信</span></p>
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">{{ '股东' + (index+1) +'营业执照'}}：</span> <span
                        style="color: #00A9F0;" @click="changety(item.shareholderBusinessUrlg,'股东')">查看股东营业执照</span></p>
                  </el-col>
                </el-col>

              </el-row>
               <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png"
                  alt="" style="width:16px;height: 14px;">企业征信</p>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">申请企业征信：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.sqqyzxbg,'申请企业征信')">查看企业征信</span> </p>
                    <!-- disabled -->
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">关联企业征信：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.glqyzxbg,'关联企业征信')">查看关联企业征信</span></p>
                  </el-col>
                </el-col>
              </el-row>

              <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">企业法人及控股人征信</p>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">企业法人：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.qyfrzxbg,'企业法人征信')">查看企业法人</span> </p>
                    <!-- disabled -->
                  </el-col>
                </el-col>
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">实际控股人：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.sjkgrzxbg,'实际控股人征信')">查看实际控股人征信</span> </p>
                    <!-- disabled -->
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">配偶征信：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.sjkgrpozxbg,'实际控股人配偶征信')">查看实际控股人配偶征信</span></p>
                  </el-col>
                </el-col>
              </el-row>
            </div>
            <!-- 法人信息 -->
            <div v-if="iscsessie == 1">
              <div class='jivb' @click="isajse" style="margin-top: 0; justify-content: space-between;"> <p><img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">基本信息</p> <span style="float:right;color:rgb(0, 169, 240);">查看全部附件信息</span></div>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="8" style="margin-top: 20px;">
                  <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                  <p class="lkawe"><span style="color: #222327;font-weight: 700;">法人姓名：</span> {{form.corporationName == null?'暂无数据' : form.corporationName }} </p>
                  <!-- disabled -->
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">用户类型：</span>
                   {{form.customerType == null?'暂无数据' : form.customerType }}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">身份证号 ：</span>
                   {{form.corporationIdCard == null?'暂无数据' : form.corporationIdCard }}
                   <span style="color:#00A9F0;" @click="changety(form.ranfer ,'身份证')">(查看)</span></p>
                </el-col>
                <!-- <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">居住地址：</span>
                  {{form.corporationIdCard == null?'暂无数据' : form.corporationIdCard }}</p>
                </el-col> -->
                <!-- <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">证件有效期：</span>
                   91101085620732606</p>
                </el-col> -->
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">手机号码：</span>
                   {{form.corporationPhone == null?'暂无数据' : form.corporationPhone }}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">家庭人口：</span>
                   {{form.familyPopulation == null?'暂无数据' : form.familyPopulation }}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">法人职业：</span>
                   {{form.corporationJob == null?'暂无数据' : form.corporationJob }}</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">有无贷款：</span>
                   {{form.isLoan == 'Y'?'是' : form.isLoan == 'N'? '否' :'暂无数据'}}</p>
                </el-col>
                <!-- <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">应收应付款：</span> 91101085620732606</p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p class="lkawe"><span style="color: #222327;font-weight: 700;">经营情况：</span> <span
                      style="color: #00A9F0;" @click="changety(form.basicFj.sjkgrpozxbg,'实际控股人配偶征信')">查看经营情况</span> </p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p class="lkawe"><span style="color: #222327;font-weight: 700;">经营效益：</span> <span
                      style="color: #00A9F0;">查看经营效益</span> </p>
                </el-col> -->

              </el-row>

              <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">家庭婚姻信息</p>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <div style="display: flex;"><span style="color: #222327; font-weight: 700;">婚姻状态：</span>
                    <dict-tag :options="dict.type.marital_status" :value="form.corporationMaritalStatus"/>
                    </div>
                    <!-- disabled -->
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">配偶姓名：</span>
                    {{form.spouseName == null?'暂无数据' : form.spouseName }}</p>
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p><span style="color: #222327; font-weight: 700;">配偶身份证号：</span>
                    {{form.spouseIdCard == null?'暂无数据' : form.spouseIdCard }} <span style="color:#00A9F0;" @click="changety(form.farenshe  ,'身份证')">(查看)</span></p>
                    <!-- disabled -->
                  </el-col>

                </el-col>
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">结婚证：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.frjhz,'结婚证')">查看结婚证</span> </p>
                    <!-- disabled -->
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">离婚证：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.frlhz,'离婚证')">查看离婚证</span> </p>
                    <!-- disabled -->
                  </el-col>
                </el-col>
              </el-row>
              <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">户籍信息</p>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">户口簿首页：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.frhkbsy,'户口簿首页')">查看户口簿首页</span> </p>
                    <!-- disabled -->
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">户口簿(单页)：</span> <span
                        style="color: #00A9F0;" @click="changety(form.basicFj.frhkbbry,'户口簿(单页)')">查看户口簿(单页)</span></p>
                  </el-col>

                </el-col>
              </el-row>
            </div>

            <!-- 反担保人信息 -->
            <div v-if="iscsessie == 2">
              <template v-for="(item,index) in fangeren" >
              <div class='jivb' @click="isajse" style="margin-top: 0; justify-content: space-between;"> <p><img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">{{"反担保人" +(index + 1) + "基本信息/信用担保证明"}}</p> <span style="float:right;color:rgb(0, 169, 240);">查看全部附件信息</span></div>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="8" style="margin-top: 20px;">
                  <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                  <p class="lkawe"><span style="color: #222327;font-weight: 700;">反担保人姓名：</span>
                  {{item.guaranteeName == null? '暂无数据' : item.guaranteeName}} </p>
                  <!-- disabled -->
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">身份证号：</span>
                  {{item.guaranteeIdCard == null? '暂无数据' : item.guaranteeIdCard}}
                  <span style="color:#00A9F0;" @click="changety(item.fdbrsfzrmx)">(查看)</span> </p>
                </el-col>
                <el-col :span="8" style="margin-top: 20px;">
                  <p><span style="color: #222327; font-weight: 700;">手机号码 ：</span>
                  {{item.guaranteePhone == null? '暂无数据' : item.guaranteePhone}}</p>
                </el-col>

              </el-row>
              <!-- <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">反担保人信用担保证明</p> -->
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <!-- {{item.startTime == null?'暂无数据' :  item.startTime}} -->
                    <p class="lkawe"><span style="color: #222327;font-weight: 700;">个人工作证明：</span> <span
                        style="color: #00A9F0;" @click="changety(item.fdbrgrgzzm,'个人工作证明')">查看个人工作证明</span> </p>
                    <!-- disabled -->
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">个人征信报告：</span> <span
                        style="color: #00A9F0;" @click="changety(item.fdbrgrzxbg,'个人征信')">查看个人征信报告</span></p>
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">身份证复印件：</span> <span
                        style="color: #00A9F0;" @click="changety(item.fdbrsfzfyj,'身份证复印件')">查看身份证复印件</span></p>
                  </el-col>
                </el-col>
              </el-row>
              </template>

               <template v-for="(item,index) in fanqy" >
              <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">{{"反担保企业"+ (index + 1)+"信息"}}</p>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24">
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">征信报告：</span> <span
                        style="color: #00A9F0;" @click="changety(item.fdbqyzx,'反担保企业征信报告')">查看反担保企业征信报告</span></p>
                  </el-col>
                  <el-col :span="8" style="margin-top: 20px;">
                    <p><span style="color: #222327; font-weight: 700;">营业执照：</span> <span
                        style="color: #00A9F0;" @click="changety(item.fdbqyyyzz,'反担保企业营业执照')">查看反担保企业营业执照</span></p>
                  </el-col>
                </el-col>
              </el-row>
               </template>
            </div>
            <!-- 附件明细列表 -->
            <div v-if="iscsessie == 3">
              <div class='jivb' @click="isajse" style="margin-top: 0; justify-content: space-between;"> <p><img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                  style="width:16px;height: 14px;">附件明细列表</p> <span style="float:right;color:rgb(0, 169, 240);">查看全部附件信息</span></div>
              <el-row style=" padding-bottom: 20px; ">
                <el-col :span="24" v-if='isifg'>
                  <el-table    :data="fskgt">
                   <el-table-column
                         type="index"
                         label="序号"
                         width="50">
                       </el-table-column>
                    <el-table-column label="文件名称" align="center" prop="name">
                      <template slot-scope="scope">
                        {{scope.row.name}}
                      </template>
                    </el-table-column>
                    <el-table-column label="上传时间" align="center" prop="createTime"/>
                    <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
                      <template slot-scope="scope">
                        <el-button
                          size="mini"
                          type="text"
                          @click="daoowe(scope.row)"
                          v-hasPermi="['system:app:edit']"
                        >下载</el-button>
                        <el-button
                          size="mini"
                          type="text"
                          @click="changetyle(scope.row)"
                          v-hasPermi="['system:app:remove']"
                        >预览</el-button>
                      </template>
                    </el-table-column>
                  </el-table>
                </el-col>
              </el-row>
            </div>
             <!-- 文件出具明细列表 -->
             <div v-if="iscsessie == 4">
                   <!-- <div class='jivb' @click="isajse" style="margin-top: 0; justify-content: space-between;"> <p><img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                       style="width:16px;height: 14px;">文件出具明细列表</p> <span style="float:right;color:rgb(0, 169, 240);">查看全部附件信息</span></div>
               <el-row style=" padding-bottom: 20px; ">
                 <el-col :span="24">
                   <el-table  :data="appList">
                     <el-table-column
                           type="index"
                           label="序号"
                           width="50">
                         </el-table-column>
                     <el-table-column label="文件名称" align="center" prop="name" />
                     <el-table-column label="上传时间" align="center" prop="createTime" />
                     <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
                       <template slot-scope="scope">
                         <el-button
                           size="mini"
                           type="text"
                           v-if="scope.row.type=='fxbg' && (ischdw == '风险' || isguanle ==true) "
                           @click="xiugae(scope.row)"
                         >修改</el-button>
                         <el-button
                           size="mini"
                           type="text"
                           @click="xiugae(scope.row)"
                           v-if="isabj == true || isguanle ==true"
                         >修改</el-button>
                        <el-button
                          size="mini"
                          type="text"
                          @click="daoowe(scope.row)"
                        >下载</el-button>
                        <el-button
                          size="mini"
                          type="text"
                          @click="qianfe(scope.row)"
                          v-if="scope.row.isqian == true"
                          v-if="scope.row.type=='psyjqpb' || scope.row.type=='gdhyjy' || scope.row.type=='wtdbht'"
                          v-hasPermi="['word:wordFilePath:wordFilePath']"
                        >签名</el-button>
                        <el-button
                          size="mini"
                          type="text"
                          @click="changetyle(scope.row)"
                        >预览</el-button>
                        <el-button
                          size="mini"
                          type="text"
                          @click="changetyleh(scope.row)"
                        >全屏预览</el-button>
                        <el-button
                          size="mini"
                          type="text"
                          v-if="scope.row.type == 'gdhyjy'"
                          @click="gudongleb(scope.row)"
                        >编辑</el-button>
                       </template>
                     </el-table-column>
                   </el-table>
                 </el-col>
               </el-row> -->
               <p class='jivb' style="margin-top: 15px;"> <img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                     style="width:16px;height: 14px;">其他附件明细列表</p>
                 <el-row style=" padding-bottom: 20px; ">
                   <el-col :span="24">
                     <el-table  :data="appsekske">
                       <el-table-column
                             type="index"
                             label="序号"
                             width="50">
                           </el-table-column>
                       <el-table-column label="文件名称" align="center" prop="name" />
                       <el-table-column label="上传时间" align="center" prop="createTime" />
                       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
                         <template slot-scope="scope">
                          <el-button
                            size="mini"
                            type="text"
                            @click="daoowe(scope.row)"
                          >下载</el-button>
                          <el-button
                            size="mini"
                            type="text"
                            v-if="scope.row.type=='fxbg' && (ischdw == '风险' || isguanle ==true) "
                            @click="xiugae(scope.row)"
                          >修改</el-button>
                          <el-button
                            size="mini"
                            type="text"
                            @click="xiugae(scope.row)"
                            v-if="isabj == true || isguanle ==true"
                          >修改</el-button>
                          <el-button
                            size="mini"
                            type="text"
                            @click="dele(scope.row)"
                            v-hasPermi="['system:fj:remove']"
                            v-if="isabj == true || isguanle ==true"
                          >删除</el-button>
                          <el-button
                            size="mini"
                            type="text"
                            @click="changetyle(scope.row)"
                          >预览</el-button>
                          <el-button
                            size="mini"
                            type="text"
                            @click="changetyleh(scope.row)"
                          >全屏预览</el-button>
                          <el-button
                            size="mini"
                            type="text"
                            v-if="scope.row.type == 'gdhyjy'"
                            @click="gudongleb(scope.row)"
                          >编辑</el-button>
                         </template>
                       </el-table-column>
                     </el-table>
                   </el-col>
                 </el-row>
             </div>
             <!-- 保后信息 -->
             <div v-if="iscsessie == 5">
                   <div class='jivb' @click="isajse" style="margin-top: 0; justify-content: space-between;"> <p><img src="../../../assets/images/icon_htgl_xq_btzs.png" alt=""
                       style="width:16px;height: 14px;">保后信息列表</p> </div>
                 <el-row style=" padding-bottom: 20px; ">
                   <el-col :span="24">
                     <el-table  :data="apppuListba">
                       <el-table-column
                             type="index"
                             label="序号"
                             width="50">
                           </el-table-column>
                       <el-table-column label="文件名称" align="center" prop="name" />
                       <el-table-column label="上传时间" align="center" prop="createTime" />
                       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
                         <template slot-scope="scope">
                          <el-button
                            size="mini"
                            type="text"
                            @click="daoowe(scope.row)"
                          >下载</el-button>
                          <!-- <el-button
                            size="mini"
                            type="text"
                            @click="xiugaegh(scope.row)"
                            v-if="isabj == true || isguanle ==true"
                          >修改</el-button>
                          <el-button
                            size="mini"
                            type="text"
                            @click="dele(scope.row)"
                            v-hasPermi="['system:fj:remove']"
                            v-if="isabj == true || isguanle ==true"
                          >删除</el-button> -->
                          <!-- <el-button
                            size="mini"
                            type="text"
                            @click="changetyle(scope.row)"
                          >预览</el-button> -->
                          <el-button
                            size="mini"
                            type="text"
                            @click="changetyleh(scope.row)"
                          >预览</el-button>
                         </template>
                       </el-table-column>
                     </el-table>
                   </el-col>
                 </el-row>
             </div>
          </div>
        </el-form>
        <div slot="footer" class="dialog-footer" style="text-align: center; margin-top: 20px;">
          <el-button size="mini" @click="cancel">取 消</el-button>
          <!-- <el-button size="mini" style="background-color: #032C7B; border-color: #032C7B; color: #fff;" @click="getPass" v-if="form.proposalProgress ==1">是否立案</el-button> -->
          <!-- <el-button size="mini" style="background-color: #032C7B; border-color: #032C7B; color: #fff;" @click="getPassjioab" v-if="form.proposalProgress ==2">提交交办</el-button> -->
          <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
            @click="infoBtnweiy"v-hasPermi="['system:application:sh']" v-if="(form.loanSchedule == 5 && form.auditType != 4) && (isabj == true || isguanle ==true)">尽职调查反馈</el-button>
            <!-- v-if="form.loanSchedule == 5 && (ischdw == '风险' || isguanle ==true)" -->
            <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
              @click="infoBtnweiyfenx"v-hasPermi="['system:application:sh']" v-if="form.loanSchedule == 5 && (ischdw == '风险' || isguanle ==true)" >风险报告</el-button>
            <!-- <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
              @click="infoBtnyou"v-hasPermi="['system:shareholderFj:add']" v-if="form.loanSchedule == 6">上传评审意见签批表</el-button> -->
            <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
              @click="infoBtn" v-hasPermi="['system:application:sh']" v-if="form.loanSchedule == 4 && form.auditType != 4">初审风险审核</el-button>
              <!-- <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                @click="infoBtnzhengx"v-hasPermi="['system:shareholderFj:add']" v-if="form.loanSchedule == 4">上传材料合规表</el-button> -->
                <!-- <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                  @click="getPassjioab"v-hasPermi="['system:shareholderFj:add']" v-if="form.loanSchedule == 7">上传股东会决议</el-button> -->
                  <!-- <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                    @click="getPassjioabshen"v-hasPermi="['system:shareholderFj:add']" v-if="form.loanSchedule == 7" >上传委托担保申请书</el-button> -->
                    <!-- v-if="form.loanSchedule == 7" -->
              <!-- <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                @click="dianweuplo"v-hasPermi="['system:shareholderFj:add']" v-if="form.loanSchedule == 6" >上传其他附件</el-button> -->

                  <!-- v-if="form.loanSchedule == 6" -->
                  <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                    @click="infoBtngd" v-hasPermi="['system:application:gd']" v-if="form.loanSchedule == 9 && form.auditType != 4">归档</el-button>
                     <!--  -->
          <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
            @click="infoBtnyj" v-hasPermi="['c:conference:finish']" >一键否决</el-button>
          <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
            @click="infoBtnzhong" v-hasPermi="['system:application:review']" v-if="(form.loanSchedule == 6 && form.reviewSchedule == 1)    && form.auditType != 4" >上会审核</el-button>
            <!--  -->
            <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
              @click="infoBtnzhongtim" v-hasPermi="['c:conference:randomAdd']"  v-if="(form.loanSchedule == 6 && form.reviewSchedule == 3 && form.auditType != 4  ) " >上会时间</el-button>
              <!-- v-if="(form.loanSchedule == 6 && form.reviewSchedule == 3 && form.auditType != 4) " -->
              <!-- <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                @click="dianweuplotoup"v-hasPermi="['system:shareholderFj:add']"  v-if="(form.loanSchedule == 6 && form.reviewSchedule == 4 && form.auditType != 4)">评审投票</el-button> -->
                <!-- v-if="(form.loanSchedule == 6 && form.reviewSchedule == 4 && form.auditType != 4)" -->
                <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                              @click="fagnkzan" v-hasPermi="['system:application:zanHuan']" v-if="form.loanSchedule == 8 " >暂缓出具放款合规表</el-button>
              <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
                            @click="asjefan" v-hasPermi="['system:application:authorize']" v-if="form.loanSchedule == 8 " >授权A角色提前开放款通知书</el-button>
            <el-button size="mini" style="background-color: #00A9F0; border-color: #00A9F0; color: #fff;"
              @click="infoBtnnetx" v-hasPermi="['system:application:schedule']" v-if="(form.loanSchedule == 8 && (ischdw == '风险' || isguanle ==true)) ||( form.loanSchedule == 7 && (isabj == true || isguanle ==true))">
              进入下一步进度</el-button>
            <el-dropdown @command="handleCommand" style="margin-left: 10px;">
              <el-button size="mini"ss type="primary">
                文档出具 <i class="el-icon-arrow-down el-icon--right"></i>
              </el-button>
              <el-dropdown-menu slot="dropdown">
                <!-- v-if=" form.loanSchedule == 4" -->
                <el-dropdown-item command="dianwe" v-if=" form.loanSchedule == 4" >出具材料合规表</el-dropdown-item>
                <el-dropdown-item command="pingshen" v-if=" form.loanSchedule == 7">出具评审意见签批表</el-dropdown-item>
                <el-dropdown-item command="gudong" v-if=" form.loanSchedule == 7">出具股东会决议</el-dropdown-item>
                <!-- <el-dropdown-item command="weigtr" v-if=" form.loanSchedule == 7">委托担保申请书</el-dropdown-item> -->
                <el-dropdown-item command="tongzhde" v-if=" form.loanSchedule == 6">评审会通知书</el-dropdown-item>
                <el-dropdown-item command="yixh" v-if="isabj == true || isguanle ==true">担保意向函</el-dropdown-item>
                <!-- v-if="form.loanSchedule == 7" -->
                <el-dropdown-item command="weito" v-if="form.loanSchedule == 7">委托保证合同</el-dropdown-item>
                 <el-dropdown-item command="qiyex" v-if="form.loanSchedule == 7">企业信用反担保合同</el-dropdown-item>
                  <el-dropdown-item command="weitogong" v-if="form.loanSchedule == 7">委托保证合同(工程履约)</el-dropdown-item>
                   <el-dropdown-item command="buke" v-if="form.loanSchedule == 7">不可撤销个人连带责任信用反担保合同</el-dropdown-item>
                <el-dropdown-item command="fanren" v-if="form.loanSchedule == 7 && form.zir != -1">保证反担保合同(法人)</el-dropdown-item>
                <el-dropdown-item command="ziranr" v-if="form.loanSchedule == 7 && form.zir != -1">保证反担保合同(自然人)</el-dropdown-item>
                <el-dropdown-item command="diyafa" v-if="form.loanSchedule == 7 && form.dir != -1" >抵押反担保合同(法人)</el-dropdown-item>
                <el-dropdown-item command="diyzir" v-if="form.loanSchedule == 7 && form.dir != -1">抵押反担保合同(自然人)</el-dropdown-item>
                <el-dropdown-item command="quanlifr" v-if=" form.loanSchedule == 7 && form.zhir != -1" >权利质权反担保合同(法人)</el-dropdown-item>
                <el-dropdown-item command="quanlizr" v-if=" form.loanSchedule == 7 && form.zhir != -1">权利质权反担保合同(自然人)</el-dropdown-item>
                <el-dropdown-item command="yeweuda" v-if=" (form.loanSchedule == 8 || form.loanSchedule == 9) && (isabj == true || isguanle ==true)">担保业务备案表</el-dropdown-item>
                <el-dropdown-item command="fagnkt" v-if=" form.loanSchedule == 9 && (isabj == true || isguanle ==true)">放款通知书</el-dropdown-item>
                <template v-if="form.aAuthorize == 'Y'">
                  <el-dropdown-item command="fagnk" v-if=" (form.loanSchedule == 8 || form.loanSchedule == 9) && (ischdw == '风险' || isguanle ==true)" >出具放款合规表</el-dropdown-item>
                  <el-dropdown-item command="fagnkt" v-if=" form.loanSchedule == 8 && (isabj == true || isguanle ==true)">放款通知书</el-dropdown-item>
                </template>
                <template v-if="form.aAuthorize == 'N'">
                  <el-dropdown-item command="fagnk" v-if=" form.loanSchedule == 8 && (ischdw == '风险' || isguanle ==true)" >出具放款合规表</el-dropdown-item>
                </template>

              </el-dropdown-menu>
            </el-dropdown>
            <!-- v-if=" form.loanSchedule > 6" -->
            <el-dropdown @command="handleCommandht" v-if=" form.loanSchedule > 6" >
              <el-button size="mini"ss type="primary">
                合同上传信息<i class="el-icon-arrow-down el-icon--right"></i>
              </el-button>
              <el-dropdown-menu slot="dropdown">
                <el-dropdown-item  command="weitouplo" v-if="form.loanSchedule == 9 &&  (isabj == true || isguanle ==true)"   v-hasPermi="['common:upload:uploadNewOcr']">上传借据</el-dropdown-item>
                <!-- -->
                <!-- v-if="form.loanSchedule == 9 &&  (isabj == true || isguanle ==true)" -->
                 <!-- v-if="form.loanSchedule == 9" -->
               <!-- <el-dropdown-item command="fagnkuplo"  >上传放款合规表</el-dropdown-item>
                <el-dropdown-item command="fangktuplo"  >上传放款通知书</el-dropdown-item>
                <el-dropdown-item command="fanrenuplo" v-if="form.guaranteeType ==2 && form.loanSchedule == 7">上传保证反担保合同(法人)附件</el-dropdown-item>
                <el-dropdown-item command="ziranruplo" v-if="form.guaranteeType ==2 && form.loanSchedule == 7">上传保证反担保合同(自然人)附件</el-dropdown-item>
                <el-dropdown-item command="diyafauplo" v-if="form.guaranteeType ==1 && form.loanSchedule == 7" >上传抵押反担保合同(法人)附件</el-dropdown-item>
                <el-dropdown-item command="diyziruplo" v-if="form.guaranteeType ==1 && form.loanSchedule == 7">上传抵押反担保合同(自然人)附件</el-dropdown-item> -->
                <el-dropdown-item command="dianweuplo" >其他附件</el-dropdown-item>
                <!-- <el-dropdown-item command="dianweuplob" >银行保证合同</el-dropdown-item>
                <el-dropdown-item command="dianweuplol" >流动资金贷款合同</el-dropdown-item> -->
              </el-dropdown-menu>
            </el-dropdown>
          <!-- <el-button size="mini" style="background-color: #032C7B; border-color: #032C7B; color: #fff;" @click="infoBtnyou">推荐优秀</el-button> -->

        </div>
      </div>

    </div>

    <!-- 添加或修改公告对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="formlog" :model="formlog" :rules="rules" label-width="100px">
        <el-form-item label="进入初审" v-if="isnue == 0">
          <el-radio-group v-model="formlog.auditType" @change="ingwd">
            <el-radio
              v-for="dict in dict.type.shhe_stat"
              :key="dict.value"
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="审核意见" v-if="isnue == 0">
           <el-input  v-model="formlog.auditView"  type="textarea"  placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="分配A角" v-if="isnue == 0">
              <el-select style="width:100%;" :disabled="isfengw" v-model="formlog.aUserId" placeholder="请选择分配A角" clearable>
                <el-option
                  v-for="dict in userList"
                  :key="dict.userId"
                  :label="dict.userName"
                  :value="dict.userId"
                  @click.native = "fena(dict)"
                />
              </el-select>
          <!-- <treeselect check-strictly   @select="danfeu" v-model="huifeg.deptId" :options="deptOptions" :normalizer="normalizer" placeholder="若选择不予立案，请指定答复单位" /> -->
        </el-form-item>
        <el-form-item label="分配B角" v-if="isnue == 0">
          <!-- <el-cascader
          :disabled="isdafu"
           ref="cascaderMallCatergory"
            style="width:100%"
              :options="deptOptions"
              :props="props"
              clearable
              @change="danfeu"
              v-model="deptdis"
              placeholder="若选择不予立案，请指定答复单位"
              ></el-cascader> -->
              <el-select style="width:100%;"  :disabled="isfengw" v-model="formlog.bUserId" placeholder="请选择分配B角" clearable>
                <el-option
                 @click.native = "fenb(dict)"
                  v-for="dict in userList"
                  :key="dict.userId"
                  :label="dict.userName"
                  :value="dict.userId"
                />
              </el-select>
          <!-- <treeselect check-strictly   @select="danfeu" v-model="huifeg.deptId" :options="deptOptions" :normalizer="normalizer" placeholder="若选择不予立案，请指定答复单位" /> -->
        </el-form-item>
        <el-form-item label="分配风险" v-if="isnue == 0">
          <!-- <el-cascader
          :disabled="isdafu"
           ref="cascaderMallCatergory"
            style="width:100%"
              :options="deptOptions"
              :props="props"
              clearable
              @change="danfeu"
              v-model="deptdis"
              placeholder="若选择不予立案，请指定答复单位"
              ></el-cascader> -->
              <el-select style="width:100%;"  :disabled="isfengw" v-model="formlog.fUserId" placeholder="请选择分配风险" clearable>
                <el-option
                 @click.native = "fenf(dict)"
                  v-for="dict in userList"
                  :key="dict.userId"
                  :label="dict.userName"
                  :value="dict.userId"
                />
              </el-select>
          <!-- <treeselect check-strictly   @select="danfeu" v-model="huifeg.deptId" :options="deptOptions" :normalizer="normalizer" placeholder="若选择不予立案，请指定答复单位" /> -->
        </el-form-item>
        <!-- 风险审核 -->
        <el-form-item label="是否通过" v-if="isnue == 1">
          <el-radio-group v-model="formlog.auditType" >
            <el-radio
              v-for="dict in dict.type.shhe_stat"
              :key="dict.value"
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="审核意见" v-if="isnue == 1">
           <el-input  v-model="formlog.auditView"  type="textarea"  placeholder="请输入内容" />
        </el-form-item>
       <!-- <el-form-item label="上传附件" v-if="isnue == 1">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item> -->

        <!-- 尽职调查 -->
       <el-form-item label="是否通过" v-if="isnue == 2">
         <el-radio-group v-model="formlog.auditType" @change="ingwd">
           <el-radio
             v-for="dict in dict.type.shhe_stat"
             :key="dict.value"
             :label="dict.value"
           >{{dict.label}}</el-radio>
         </el-radio-group>
       </el-form-item>
       <!-- <el-form-item label="审核意见" v-if="isnue == 2">
          <el-input  v-model="formlog.auditView"  type="textarea"  placeholder="请输入内容" />
       </el-form-item> -->
        <el-form-item label="调查结果" v-if="isnue == 2">
          <el-input v-model="formlog.auditView" type="textarea" placeholder="请输入调查结果" />
        </el-form-item>
        <el-form-item label="上传图片" v-if="isnue == 2">
          <image-uploadjz :data="jinzde" v-model="formlog.imageUrl"/>
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 2">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="是否同意" v-if="isnue == 3">
          <el-radio-group v-model="formlog.reviewSchedule" >
            <el-radio
              v-for="dict in dict.type.shagnhui"
              :key="dict.value"
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="评申会日期" prop="reviewTime" v-if="isnue == 18">
          <el-date-picker style="width:100%;" clearable
                    v-model="formlog.conferenceTime"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    placeholder="请选择评申会日期">
             </el-date-picker>
             <!-- :picker-options="pickerOptions" -->
        </el-form-item>
        <el-form-item label="意见" v-if="isnue == 3">
          <el-input v-model="formlog.auditView" type="textarea" placeholder="请输入审核意见" />
        </el-form-item>
        <!-- <el-form-item label="评委人员" v-if="isnue == 3">
              <el-select @change="fensh" multiple  style="width:100%;"  v-model="formlog.sysUserConferenceList" placeholder="请选择上会人员" clearable>
                <el-option
                  v-for="dict in userList"
                  :key="dict.userId"
                  :label="dict.userName"
                  :value="dict.userId"
                />
              </el-select>
        </el-form-item> -->
        <el-form-item label="上传附件" v-if="isnue == 4">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>

        <el-form-item label="上传附件" v-if="isnue == 5">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>

        <el-form-item label="上传附件" v-if="isnue == 6">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 7">
          <FileUploadbotym :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 8">
          <file-uploadbotyqt :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 9">
          <FileUploadbotybao :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 10">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 11">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 12">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 13">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 14">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 15">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="暂缓原因" v-if="isnue == 16">
           <el-input  v-model="formlog.remark"  type="textarea"  placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 17">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="是否同意" v-if="isnue == 19">
          <el-radio-group @input="danbesf" v-model="formlog.votingResult" >
            <el-radio
              v-for="dict in dict.type.sys_yes_no"
              :key="dict.value"
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="担保额度" v-if="isnue == 19">
          <el-input v-model="formlog.lineGuarantee" type="number" placeholder="请输入担保额度" />
        </el-form-item>
        <el-form-item label="担保期限(月)" v-if="isnue == 19">
          <el-input v-model="formlog.guaranteePeriod" type="number" placeholder="请输入担保期限" />
        </el-form-item>
        <el-form-item label="意见" v-if="isnue == 19 && isshenyi == true">
           <el-input   v-model="formlog.argument"  type="textarea"  placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 20">
          <FileUploadbotym :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="是否同意申诉" v-if="isnue == 21">
          <el-radio-group @input="danbesf" v-model="formlog.ssType" >
            <el-radio
              v-for="dict in dict.type.shensu"
              :key="dict.value"
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>

        <el-form-item label="上传附件" v-if="isnue == 21">
          <file-uploadboty :data="jinzde" v-model="formlog.fjUrl" />
        </el-form-item>
        <el-form-item label="上传附件" v-if="isnue == 22">
          <file-uploadbotyqt :data="jinzde" v-model="formlog.fjUrl" />
        </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="查看联名人员" :visible.sync="openlianm" width="500px" append-to-body>
      <el-table :data="form.proposalUserList">
        <el-table-column label="姓名" align="center" prop="name" />
        <el-table-column label="职务" align="center" prop="unit" />
        <el-table-column label="联名状态" align="center" prop="isAgree" width="100">
          <template slot-scope="scope">
            <dict-tag :options="dict.type.lianmig" :value="scope.row.isAgree" />
          </template>
        </el-table-column>
      </el-table>
    </el-dialog>

     <!-- <el-dialog title="查看股东附件" :visible.sync="fujij" width="500px" append-to-body>
        <el-carousel trigger="click" height="350px" v-if="isimgs == true">
             <el-carousel-item v-for="(item,index) in imgsfe" :key="index">
                 <img :src="item" alt="" style="width:100%;height: 100%;">
             </el-carousel-item>
           </el-carousel>
           <VueOfficeExcel v-if="isimgs == false" style="height: 100vh;" :template="exfUrl" :src="exfUrl" :options="editorOptions"  ref="docxEditor"></VueOfficeExcel>
     </el-dialog> -->

     <el-dialog title="查看附件" :visible.sync="fujijty" width="500px" append-to-body>
       <!-- +ijsget -->
       <div v-for="(item,index) in igwers " :key="item.fjId">
         <el-carousel trigger="click" height="350px" v-if="item.imagtlis.length != 0">
              <el-carousel-item v-for="(itemi,index) in item.imagtlis" :key="itemi">
                  <img :src="defaultSettings.urls  +ijsget + itemi" alt="" style="width:100%;height: 100%;">
              </el-carousel-item>
         </el-carousel>
         <div v-for="(iteme,index) in item.exlefj" :key="iteme" v-if="item.exlefj.length != 0" >
           <VueOfficeExcel  style="height: 80vh;" :template=" defaultSettings.urls +ijsget + iteme" :src="defaultSettings.urls+ijsget + iteme" :options="editorOptions"  ref="docxEditor"></VueOfficeExcel>
         </div>
         <div v-for="(itemw,index) in item.wordfj" :key="itemw" v-if="item.wordfj.length != 0">
           <!-- <VueOfficeDocx style="height: 80vh;" :template="defaultSettings.urls+ijsget + itemw" :src="defaultSettings.urls+ijsget + itemw" :options="editorOptions" ref="docxEditorf">
           </VueOfficeDocx> -->
           <vue-doc-preview :file-url="defaultSettings.urls+ijsget + itemw" style="height: 80vh;"  />
         </div>
         <div v-for="(itemp,index) in item.pdffj" :key="itemp" v-if="item.pdffj.length != 0">
           <iframe :src="defaultSettings.urls+ijsget + itemp" frameborder="0" style="width:100%;height:100%;"></iframe>
         </div>
       </div>
           <!-- <iframe :src="reportUrl" frameborder="0" style="width:100%;height:40%;"></iframe> -->
     </el-dialog>
     <!-- <el-dialog title="查看身份证信息" :visible.sync="fujijshf" width="500px" append-to-body>
       <el-carousel trigger="click" height="350px" >
            <el-carousel-item v-for="(itemi,index) in shenfgslis" :key="itemi">
                <img :src="itemi" alt="" style="width:100%;height: 100%;">
            </el-carousel-item>
       </el-carousel>
     </el-dialog> -->
     <el-dialog title="" :visible.sync="opsgq" width="1300px" append-to-body class="osge">

       <div style="display: flex;">
         <div class="infinite-list" v-infinite-scroll="load" style="overflow:scroll;width: 30%; height: 500px; box-shadow: 0px 6px 8px 1px rgba(218,218,218,0.73);height: 548px;">
             <div class="wengj" style="height: 50px;">
                <img src="../../../assets/images/icon_wjll_tb.png" alt="">
                <p>文件信息</p>
             </div>
             <!--  -->
             <div class="mugid " >
               <el-menu
                     :default-active="ingsegsaq"
                     class="el-menu-vertical-demo"
                   >
                     <el-submenu index="1">
                       <template slot="title">
                         <i class="el-icon-folder"></i>
                         <span>企业/法人/附件信息</span>
                       </template>
                         <el-menu-item @click="nvsea(item)" v-for="(item,inger) in jisfile" :key="inger" :index="item.fjId +''">{{item.name}}</el-menu-item>
                     </el-submenu>
                     <el-submenu index="2">
                       <template slot="title">
                         <i class="el-icon-folder"></i>
                         <span>反担保人/反担保企业/附件信息</span>
                       </template>
                         <el-menu-item @click="nvsea(item)" v-for="(item,inger) in isgse" :key="inger" :index="item.fjId +''">{{item.name}}</el-menu-item>
                     </el-submenu>
                     <el-submenu index="3">
                       <template slot="title">
                         <i class="el-icon-folder"></i>
                         <span>法人身份证信息</span>
                       </template>
                         <el-menu-item @click="nvsea(item,'身份证')" v-for="(item,inger) in fagnershef" :key="inger" :index="item.fjId +''">{{item.name}}</el-menu-item>
                     </el-submenu>
                     <el-submenu index="4">
                       <template slot="title">
                         <i class="el-icon-folder"></i>
                         <span>企业股东信息</span>
                       </template>
                         <el-menu-item @click="nvsea(item,'股东')" v-for="(item,inger) in fgeigud" :key="inger" :index="item.fjId +''">{{item.name}}</el-menu-item>
                     </el-submenu>

                     <el-submenu index="5">
                       <template slot="title">
                         <i class="el-icon-folder"></i>
                         <span>申报附件</span>
                       </template>
                         <el-menu-item @click="nvsea(item)" v-for="(item,inger) in fskgt" :key="inger" :index="item.fjId +''">{{item.name}}</el-menu-item>
                     </el-submenu>
                     <el-submenu index="6">
                       <template slot="title">
                         <i class="el-icon-location"></i>
                         <span>文件出具</span>
                       </template>
                        <el-menu-item @click="nvsea(item)" v-for="(item,inger) in appList" :key="inger" :index="item.fjId + '' ">{{item.name}}</el-menu-item>
                       </el-submenu>
                       <el-submenu index="7">
                         <template slot="title">
                           <i class="el-icon-location"></i>
                           <span>其他附件</span>
                         </template>
                          <el-menu-item @click="nvsea(item)" v-for="(item,inger) in apppuList" :key="inger" :index="item.fjId +'' ">{{item.name}}</el-menu-item>
                         </el-submenu>
                     </el-submenu>

                   </el-menu>
             </div>
          </div>


         <div style="width: 70%;">
           <div style="display: flex; justify-content: space-between; align-items: center;padding: 0 30px; height: 50px;">
             <div style="display: flex;">
               <img src="../../../assets/images/icon_wjll_mlbt.png" alt="" style="width:14px;height: 21px;margin-right: 10px;">
               <p>{{tilgke}}</p>
             </div>
             <div style="display: flex; " @click="cancel">
               <img src="../../../assets/images/icon_htdh_tc.png" alt="" style="width:17px;height: 17px; margin-right: 10px;" >
               <p>取消</p>
             </div>
           </div>
           <div style="background-color: #F2F3FD; width: 100%;height: 500px; padding: 20px;">
             <div style="text-align: center; font-size: 20px;margin-top: 195px;" v-if="isshouti">点击左侧,选择要查看的文件</div>
            <!-- <el-carousel trigger="click" height="350px" v-if="ijsshe">
                  <el-carousel-item v-for="(itemi,index) in shenfgslis" :key="itemi">
                      <img :src="itemi" alt="" style="width:100%;height: 100%;">
                  </el-carousel-item>
             </el-carousel> -->
             <div style="display: flex;" class="hgwengsk" v-if="isguelse">
                <p @click="iswengty(0)" :class="isshouty == 0? 'acte' :''"><img src="../../../assets/images/icon_wjll_tab_pic.png" alt="">图片</p>
                <p>|</p>
                <p @click="iswengty(1)" :class="isshouty == 1? 'acte' :''"><img src="../../../assets/images/icon_wjll_tab_word.png" alt="">word附件</p>
                <p>|</p>
                <p @click="iswengty(2)" :class="isshouty == 2? 'acte' :''"><img src="../../../assets/images/icon_wjll_tab_pdf.png" alt="">pdf附件</p>
                <p>|</p>
                <p @click="iswengty(3)" :class="isshouty == 3? 'acte' :''"><img src="../../../assets/images/icon_wjll_tab_exce.png" alt="">表格附件</p>
             </div>

             <div v-for="(item,index) in igwers " :key="item.fjId"  class="ingsfwf">
               <el-carousel trigger="click" height="430px" v-if="item.imagtlis.length != 0 && (isguelse == false || isshouty==0)">
                    <el-carousel-item v-for="(itemi,index) in item.imagtlis" :key="itemi" style="display: flex; align-items: center;justify-content: center;">
                      <!-- +sijsget -->
                      <el-image
                      v-if="isurw"
                      @click="nghwus(defaultSettings.urls+ijsget+itemi)"
                          style="width: 100%;height:100%;"
                          :src="defaultSettings.urls+ijsget+itemi"
                          :preview-src-list="ihfwsnlis">
                        </el-image>
                      <!-- 线下环境 -->
                        <el-image
                        v-if="!isurw"
                        @click="nghwus(defaultSettings.urls+itemi)"
                            style="width: 100%;height:100%;"
                            :src="defaultSettings.urls+itemi"
                            :preview-src-list="ihfwsnlis">
                          </el-image>
                        <!-- <img :src="defaultSettings.urls   + itemi" alt="" style="width: auto;height: auto;max-width: 110%;max-height: 110%;" @click="nghwus(defaultSettings.urls+ sijsget  + itemi)"> -->
                    </el-carousel-item>
               </el-carousel>

               <!-- <div v-for="(iteme,index) in item.exlefj" :key="iteme" v-if="item.exlefj.length != 0 && isshouty==3" > -->
                 <el-carousel trigger="click" height="430px"   v-if="item.exlefj.length != 0 && (isguelse == false  || isshouty==3) ">
                      <!-- <el-carousel-item v-for="(iteme,index) in item.exlefj" :key="iteme"> -->
                          <!-- <VueOfficeExcel v-if="isurw ==true"  style="height: 72vh;" :template=" defaultSettings.urls +ijsget + iteme" :src="defaultSettings.urls+ijsget + iteme" :options="editorOptions"  ref="docxEditor"></VueOfficeExcel> -->
                          <iframe v-if="isurw" :src="'https://view.officeapps.live.com/op/view.aspx?src=' + defaultSettings.urls+ijsget  + iteme " frameborder="0" style="width:100%;height:100%;"></iframe>
                           <!-- <VueOfficeExcel v-if="isurw ==false"  style="height: 72vh;"  :src="defaultSettings.urls  + iteme"   ref="docxEditor"></VueOfficeExcel> -->
                          <!-- 线下环境 -->

                          <VueOfficeExcel v-if="isurw ==false"  style="height: 72vh;"  :src="defaultSettings.urls  + iteme"   ref="docxEditor"></VueOfficeExcel>
                           <!-- <iframe v-if="!isurw" :src="'https://view.officeapps.live.com/op/view.aspx?src=' + defaultSettings.urls  + iteme " frameborder="0" style="width:100%;height:100%;"></iframe> -->
                      </el-carousel-item>
                 </el-carousel>
               <!-- </div> -->
               <el-carousel trigger="click" height="430px"   v-if="item.wordfj.length != 0 && (isguelse == false  || isshouty==1) ">
                    <el-carousel-item v-for="(itemw,index) in item.wordfj" :key="itemw" >
                       <!-- <VueOfficeDocx v-if="isurw" style="height: 72vh;" :template="defaultSettings.urls+ijsget + itemw" :src="defaultSettings.urls+ijsget  + itemw" :options="editorOptions" ref="docxEditorfg">
                       </VueOfficeDocx> -->
                       <VueOfficeDocx v-if="!isurw" style="height: 72vh;" :template="defaultSettings.urls + itemw" :src="defaultSettings.urls + itemw" :options="editorOptions" ref="docxEditorfg">
                       </VueOfficeDocx>
                       <iframe v-if="isurw" :src="'https://view.officeapps.live.com/op/view.aspx?src=' + defaultSettings.urls+ijsget  + itemw" frameborder="0" style="width:100%;height:100%;"></iframe>
                        <!-- <iframe v-if="!isurw" :src="'https://view.officeapps.live.com/op/view.aspx?src=' + defaultSettings.urls + itemw" frameborder="0" style="width:100%;height:100%;"></iframe> -->
                       <!-- <vue-doc-preview v-if="isurw" :file-url="defaultSettings.urls +ijsget + itemw" style="height: 73vh;"  /> -->
                       <!-- 线下环境 -->
                       <!-- <vue-doc-preview  :file-url="defaultSettings.urls  + itemw" style="height: 73vh;"  /> -->
                    </el-carousel-item>
               </el-carousel>
               <!-- <div v-for="(itemw,index) in item.wordfj" :key="itemw" v-if="item.wordfj.length != 0 && isshouty==1">
                 <VueOfficeDocx style="height: 72vh;" :template="defaultSettings.urls + itemw" :src="defaultSettings.urls + itemw" :options="editorOptions" ref="docxEditorf">
                 </VueOfficeDocx>
               </div> -->
               <el-carousel trigger="click" height="430px"   v-if="item.pdffj.length != 0  &&(isguelse == false  || isshouty==2)">
                    <el-carousel-item v-for="(itemp,index) in item.pdffj" :key="itemp" >
                       <iframe v-if="isurw" :src="defaultSettings.urls+ijsget + itemp" frameborder="0" style="width:100%;height:100%;"></iframe>
                       <!-- 线下环境 -->
                      <iframe v-if="!isurw" :src="defaultSettings.urls + itemp" frameborder="0" style="width:100%;height:100%;"></iframe>

                    </el-carousel-item>
               </el-carousel>
               <!-- <div v-for="(itemp,index) in item.pdffj" :key="itemp" v-if="item.pdffj.length != 0 && (isguelse == true &&isshouty==1)">
                 <iframe :src="defaultSettings.urls+ijsget + itemp" frameborder="0" style="width:100%;height:100%;"></iframe>
               </div> -->
             </div>


           </div>
         </div>
       </div>
     </el-dialog>




  </div>
</template>

<script>

  import {
    listNotice,
    getNotice,
    delNotice,
    addNotice,
    updateNotice,
    delNoticefj
  } from "@/api/kaoch/bjq";
  import { listHyperlink } from "@/api/dabgs/hyperlink";
  import {
    listInfolb,
    getInfo,
    delInfo,
    addInfo,
    updateInfo,
    isRecord,
    idea,
    reply,
    keyPoint,
    outstanding,
    zxIdea,
    assign,
    setPass
  } from "@/api/zhengx/info";
  import {
    listDept,
    getDept,
    delDept,
    addDept,
    updateDept,
    listDeptExcludeChild
  } from "@/api/system/dept";
  import {
    getPost
  } from "@/api/kaoch/pzhi";
  import {
    getner
  } from "@/api/kaoch/neirong";
  import {
    listApplication,
    getApplication,
    delApplication,
    addApplication,
    updateApplication,
    getLoanApplicationNumber,
    temporary,
    sh,
    cx,
    ss,
    gd,xzfh,mb,usernoPageList,scfh,comment,
    schedulenet,zanHuan,authorize,five,xgfh,finish,
    vote,review,putActually
  } from "@/api/dabgs/application";
  import {
    listPost,
    listPostbfy
  } from "@/api/kaoch/renyuan";
  import { listUser } from "@/api/system/user";
  import { getEnterprise,   } from "@/api/dabgs/enterprise";
  // import VueUeditorWrap from "vue-ueditor-wrap";
  import VueUeditorWrap from '../../../components/vue-ueditor-wrap.vue';
  import vuedraggable from 'vuedraggable';
  import VueOfficeDocx from '@vue-office/docx'
  import VueOfficeExcel from '@vue-office/excel'
  import VueOfficePdf from '@vue-office/pdf'
  import VueDocPreview from 'vue-doc-preview';
  import Treeselect from "@riophae/vue-treeselect";
  import "@vue-office/docx/lib/index.css";
  import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  const defaultSettings = require("@/settings.js");
  export default {
    name: "Notice",
   dicts: ['shhe_stat','shensu','shendai_bank','shagnhui','marital_status','guarantee_type','customer_type','sys_yes_no','loan_schedule','sh_status','loan_application_type','audit_schedule'],
    components: {
      VueUeditorWrap,
      vuedraggable,
      Treeselect,
      VueOfficeDocx,
      VueOfficeExcel,
      VueOfficePdf,
      VueDocPreview
    },
    data() {
      return {
        // 遮罩层
        loading: true,
        editorOptions: {
          toolbar: true,
          width: '450px',
          height: '600px',
        },
        active: 4,
        defaultSettings:defaultSettings,
        hyperlinkList: [],
        appList:[],
        apppuList:[],
        apppuListba:[],
        optionProps: {
          value: "id",
          label: "label",
          children: "children",
          multiple: true

        },
        propsg: {
          value: 'deptId',
          label: 'deptName',
          multiple: true,
          checkStrictly: true,
          emitPath: false
        },
        deptOptions: [],
        pickerOptions: {
          disabledDate(time) {
            //disabledDate 文档上：设置禁用状态，参数为当前日期，要求返回 Boolean
            // return time.getTime() > Date.now()//选当前时间之前的时间
            return time.getTime() < Date.now() - 8.64e7; //选当前时间之后的时间
          }
        },
        // 选中数组
        ids: [],
        props: {
          value: 'deptId',
          label: 'deptName',
          multiple: true,
          checkStrictly: true,
          emitPath: false
        },
        // 非单个禁用
        single: true,
        // 非多个禁用
        multiple: true,
        // 显示搜索条件
        showSearch: true,
        // 总条数
        total: 0,
        ijsget:process.env.VUE_APP_BASE_API,
        // 公告表格数据
        noticeList: [],
        // 弹出层标题
        title: "",
        // 是否显示弹出层
        open: false,
        kliye: null,
        openlianm: false,
        checkedScoreDataDetails: [],
        // 查询参数
        queryParams: {
          pageNum: 1,
          pageSize: 10,
          title: undefined,
          createBy: undefined,
          status: undefined
        },
        // 表单参数
        form: {
          investigateDispositionTableList: [{
            concent: ''
          }],
          listhjy: []
        },
        formlog: {},
        postList: [],
        neroglist: [],
        chuid: 0,
        chuname: '',
        kchtname: '',
        nadesg: '',
        titlwg: '',
        kchtid: 0,
        nowTime: '',
        acylse: 1,
        nmhme: '',
        isadf: false,
        issumiteh: false,
        scoreDataDetailsList: [],
        lkhdfe: [],
        nvsd: false,
        kaodf: [],
        isabf: 0,
        // 表单校验
        rules: {
          investigateName: [{
            required: true,
            message: "不能为空",
            trigger: "blur"
          }],
          endTime: [{
            required: true,
            message: "不能为空",
            trigger: "change"
          }],
          receptionUnit: [{
            required: true,
            message: "不能为空",
            trigger: "change"
          }],
          beginTime: [{
            required: true,
            message: "不能为空",
            trigger: "change"
          }],
        },
        issho: false,
        isdafu: true,
        isnue: 0,
        deptdis: [],
        ditwg: [],
        deptdisjb: [],
        isifg: false,
        isho: false,
        huifeg: {},
        islise: false,
        iscsessie:0,
        fujij:false,
        fjtype:'',
        imgsfe:[],
        exfUrl:'',
        isimgs:false,
        fujijty:false,
        igwers:[],
        fskgt:[],
        fujijshf:false,
        shenfgslis:[],
        userList:[],
        isfengw:false,
        jinzde:{
          loanApplicationNumber:0,
          bigType:'c',
          type:''
        },
        isfegs:[],
        isfuejg:{},
        isfwsfg:[],
        opsgq:false,
        jisfile:[],
        isshouti:false,
        ingsegsaq:1,
        ijsshe:false,
        tilgke:'文件预览',
        fgeigud:[],
        fagnershef:[],
        isguelse:false,
        isshouty:0,
        isabj:false,
        isguanle:false,
        ischdw:null,
        spdjOptions:[],
        isgwdan:'',
        ihfwsnlis:[],
        isbass:false,
        zaixnba:[],
        isshenyi:false,
        pickerOptions: {
           disabledDate(time) {
              return time.getTime() < Date.now() - 8.64e7;
           }
        },
        isurw:false,
        fangeren:[

        ],
        fanqy:[

        ],
        isfandanb:[],
        isgse:[],
        ksvq:{},
        appsekske:[]
      };
    },
    watch: {
      editorData(newValue) {
        this.form.content = newValue
      },
      editorHtmlData(newValue) {
        this.$emit("on-change", newValue)
      }
    },
    created() {
      this.getDicts("guarantee_type").then(response => {
             this.spdjOptions = response.data;
          });
      // this.getNowDate()
      // this.getList()
      // this.getListnrts()
      // this.getListnrt()

      this.chuid = this.$route.query.id,
        this.chuname = this.$route.query.name
      this.kchtid = this.$route.query.kcid
      this.form.investigateDispositionId = this.$route.query.id
      this.form.title = this.chuname
      this.isho = this.$route.query.isho
      this.acylse = 1
      this.getDicts("loan_schedule").then(response => {
                this.isfwsfg = response.data;
          });
      this.getDicts("zaixian").then(response => {
                this.zaixnba = response.data;
          });

      // this.getListdept()
      this.handleUpdatef(this.chuid)
      this.getListge()
      this.getListwaib()
      this.shegjis(this.chuid)
      if(this.$store.state.user.roles != null){
        let bge = this.$store.state.user.roles.includes('manager')
         let bges = this.$store.state.user.roles.includes('admin')
        // let bgech = this.$store.state.user.roles.includes('auditing_risk')
        if(bge ==true){
          this.isguanle = true
        }else{
          if(bges == true){
            this.isguanle = true
          }else{
            this.isguanle = false
          }
        }
        // if(bgech == true){
        //   this.ischdw = '风险'
        // }else{
        //   this.ischdw = null
        // }


        console.log(bge,this.ijsget,16783)
        //
      }

      if(this.ijsget == '/prod-api'){
        this.isurw = true
      }else{
        this.isurw = false
      }

      // this.kchtname = this.$route.query.kcname
      // console.log(this.$route.query.id,this.$route.query.name)
      // this.getListbt();
    },
    beforeDestroy(){
      console.log(3455)
      // beforeRouteLeave(to, form, next){
      //   console.log(to, form, next,3455)
      //     next()
      //   },
    },
    methods: {


      load(){

      },
      iswengty(val){
        if(this.igwers.length != 0){
          this.igwers.filter(rouh =>{
            if(val == 0){
              if(rouh.imagtlis.length == 0){
                this.$message.error('暂无信息');
                return
              }
            }
            if(val == 1){
              if(rouh.wordfj.length == 0){
                this.$message.error('暂无信息');
                return
              }
            }
            if(val == 2){
              if(rouh.pdffj.length == 0){
                this.$message.error('暂无信息');
                return
              }
            }
            if(val == 3){
              if(rouh.exlefj.length == 0){
                this.$message.error('暂无信息');
                return
              }
            }
          })
        }else{
          this.$message.error('暂无信息');
          return
        }
        this.isshouty = val
      },
      isajse(){
        if(this.igwers.length ==0){
          this.isshouti = true
        }else{
          this.isshouti = false
        }
        this.isguelse = false
        this.opsgq = true
        this.isshouty = 0
        this.ijsshe = false
      },
      nvsea(row,val){
       console.log(row,val)
       this.tilgke = row.name
       row.imagtlis=[]
       row.pdffj=[]
       row.wordfj=[]
       row.exlefj=[]
       row.fjtypr=this.matchType(row.url)
       row.url = row.url
       row.fjId = row.fjId + ''
       if(val == '股东' || val=='身份证'){
         if(row.ordef != undefined && row.ordef == '征信'){
           if(row != null){
             row.url.filter( rout=>{
               console.log(rout)
               row.fjtypr=this.matchType(rout)
               if( row.fjtypr == "image"){
                 row.imagtlis.push(rout)
                 this.isshouty =0
               }
               if( row.fjtypr == "word"){
                 row.wordfj.push(rout)
                 this.isshouty =1
               }
               if( row.fjtypr == "pdf"){
                 row.pdffj.push(rout)
                 this.isshouty =2
               }
               if( row.fjtypr == "excel"){
                 row.exlefj.push(rout)
                 this.isshouty =3
               }
             })
           }
             if(row != null){
                 row.imagtlis = []
             }
         }else{
           if(row != null){
             row.url.filter( rout=>{
               console.log(rout)
               row.fjtypr=this.matchType(rout)
               if( row.fjtypr == "image"){
                 row.imagtlis.push(rout)
                 this.isshouty =0
               }
               if( row.fjtypr == "word"){
                 row.wordfj.push(rout)
                 this.isshouty =1
               }
               if( row.fjtypr == "pdf"){
                 row.pdffj.push(rout)
                 this.isshouty =2
               }
               if( row.fjtypr == "excel"){
                 row.exlefj.push(rout)
                 this.isshouty =3
               }
             })
           }
         }

        this.isguelse = true

       }else{
        if( row.fjtypr == "image"){
          row.imagtlis.push(row.url)
        }
        if( row.fjtypr == "word"){
          row.wordfj.push(row.url)
        }
        if( row.fjtypr == "pdf"){
          row.pdffj.push(row.url)
        }
        if( row.fjtypr == "excel"){
          row.exlefj.push(row.url)
        }
        this.isguelse = false
        this.isshouty = 0
       }
        console.log(row,val)
        this.ijsshe = true
        this.isshouti  = false
       this.igwers = []

       this.igwers.push(row)
      },
      shegjis(row){
        this.opensh = true
        let nsg={loanApplicationId:row}
        comment(nsg).then(response => {
            this.isfegs = response.rows;
            this.isfwsfg.filter(rou =>{
              this.isfegs.filter(rout =>{
                if(rou.dictValue == rout.auditSchedule){
                  rout.nameg = rou.dictLabel
                }
              })
            })
          })
      },
      getListwaib() {
        listHyperlink(this.queryParams).then(response => {
          this.hyperlinkList = response.rows;
        });
      },
      getListge() {
        let nbdgw = {'userType': '02','status':0}
        usernoPageList(nbdgw).then(response => {
            this.userList = response.rows;
          }
        );
      },
      iszvr(row){
        this.iscsessie=row
      },
      getListdept() {
        this.loading = true;
        listDept().then(response => {
          this.ditwg = response.data
          this.deptOptions = this.handleTree(response.data, "deptId");
        });
      },
      getListnrt() {
        this.loading = true;
        this.isshoues = false
        this.nvsd = false
        let hng = {}
        // hng.status = 'N'
        hng.parentId = '13'
        listneris(hng).then(response => {
          this.lkhdfe = response.data;
          this.issho = true
          this.nvsd = true
          // this.total = response.total;
          this.loading = false;
        });
      },
      getListnrts() {
        this.loading = true;
        this.isshoues = false
        let hng = {}
        // hng.status = 'Y'
        hng.parentId = '18'
        listneris(hng).then(response => {
          this.kaodf = response.data;
          // this.total = response.total;

          this.loading = false;
        });
      },
      getxq(val, i) {
        const postId = val
        this.issho = false
        this.nvsd = false
        console.log(3)
        getPost(postId).then(response => {
          let hu = []
          hu.unshift(response.data)
          console.log(hu, 5)
          for (var f = 0; f < this.form.investigateDispositionTableList.length; f++) {
            if (this.form.investigateDispositionTableList[f].title == undefined) {
              this.form.investigateDispositionTableList.splice(f, 1)
            }
          }

          this.form.investigateDispositionTableList = this.form.investigateDispositionTableList.concat(hu);
          // console.log(this.form.investigateDispositionTableList)
          this.issho = true
          this.nvsd = true
          // this.title = "修改考察配置";
        });
      },

      insertImage() {
        console.log(this.kliye)
        // let imageList = this.imageList;
        if (this.kliye == null) {
          this.$message.error('请选择图片');
          return
        }
        let nhg = this.kliye.split(',')
        // nhg.push(this.kliye)
        let imageList = nhg
        let imageHtml = "";
        console.log(imageList, 4)
        imageList.filter(item => {
          console.log(this.matchType(item), 4)
          if (this.matchType(item) == 'video') {
            var ik = "<div><video style=" + "width:100%;" + "  controls><source src=\"" + item +
              "\"/></video></div>"
            imageHtml = imageHtml + ik;
          } else if (this.matchType(item) == 'image') {
            imageHtml = imageHtml + "<p><img src=\"" + item + "\"/></p>";
          }

        })
        if (imageHtml != "") {
          this.editorHandler.execCommand('inserthtml', imageHtml);
        }
        this.open = false;
      },



      /** 查询公告列表 */
      getList() {
        this.loading = true;
        listPostbfy().then(response => {
          this.noticeList = response.rows;
          this.total = response.total;
          this.loading = false;
        });
      },
      // 标题
      getListbt() {
        this.loading = true;
        listPost(this.queryParams).then(response => {
          this.postList = response.rows;
          this.total = response.total;
          this.loading = false;
        });
      },



      kaoclick(valt) {
        console.log(valt, this.form.listh, this.form.listhjy)
        // this.lkhdfe.push(val)
        // if(this.$route.query.isxz == 2){
        // 	//修改
        // 	this.getxq(val.id)
        // }
        // this.nmhme = val.investigateName

        // this.form.title = val.investigateName
      },
      kaoclickg(valf) {
        console.log(valf, this.form.listh, this.form.listhjy)
        // this.lkhdfe.push(val)
        // if(this.$route.query.isxz == 2){
        //修改
        // this.getxq(val.id)
        // }
        // this.form.investigateTableId = val.id
        // this.nmhme = val.investigateName
        // this.getaddli()
        // this.form.title = val.investigateName
      },
      nhgel() {
        this.$forceUpdate()
      },
      getaddli() {
        let nljf = {}
        nljf.investigateTableId = this.form.investigateTableId
        nljf.investigateDispositionId = this.form.investigateDispositionId
        listnli(nljf).then(response => {
          if (response.rows.length != 0) {
            this.$message.error(this.nmhme + '已有' + this.chuname + '内容,请勿重复新增');
            this.issumiteh = true
            var that = this
            setTimeout(function() {
              that.$router.go(-1)
            }, 2000)
          } else {
            this.issumiteh = false
          }
          // this.postList = response.rows;
          // this.total = response.total;
          // this.loading = false;
        });
      },
      // 取消按钮
      cancel() {
        this.open = false;
        this.opsgq = false
        this.reset();
        // this.$router.go(-1)
      },
      cancelf() {
        this.open = false;
        this.reset();
      },
      // 表单重置
      reset() {
        this.formlog = {
          loanApplicationNumber: undefined,
          loanApplicationId: undefined,
          auditSchedule: undefined,
          auditType: '2',
          auditView: undefined,
          fjUrl: [],
          imageUrl: undefined,
          aUserId: undefined,
          aUserName: undefined,
          bUserId: undefined,
          bUserName: undefined,
          reviewTime:undefined

        };
        this.resetForm("formlog");
      },
      /** 搜索按钮操作 */
      handleQuery() {
        this.queryParams.pageNum = 1;
        this.getList();
      },
      /** 重置按钮操作 */
      resetQuery() {
        this.resetForm("queryForm");
        this.handleQuery();
      },
      // 多选框选中数据
      handleSelectionChange(selection) {
        this.ids = selection.map(item => item.noticeId)
        this.single = selection.length != 1
        this.multiple = !selection.length
      },
      /** 新增按钮操作 */
      handleAdd() {
        this.reset();
        this.open = true;
        this.title = "添加公告";
      },
      /** 修改按钮操作 查询考察团信息*/
      handleUpdate(row) {
        // this.reset();
        // const noticeId = row.noticeId || this.ids
        console.log(row)
        return
        this.issho = false
        this.nvsd = false
        this.iugli = []
        this.form.investigateDispositionTableList = []
      },
      // 查询内容
      handleUpdatef(row) {
        this.isifg = false
        getApplication(row).then(response => {
          this.form = response.data
          if(this.form.guaranteeType != null){
            this.form.guaranteeType = this.form.guaranteeType.split(',')
            let nbhfd=[]
            // isgwdan
            this.form.guaranteeType.filter(router=>{
              this.spdjOptions.filter(rou=>{
                if(router == rou.dictValue){
                  nbhfd.push(rou.dictLabel)
                }
              })
            })
            this.isgwdan = nbhfd.join(',')
            console.log( this.isgwdan,1589)
             this.form.zir = this.form.guaranteeType.indexOf('2')
             this.form.dir = this.form.guaranteeType.indexOf('1')
             this.form.zhir = this.form.guaranteeType.indexOf('3')
          }
          // console.log(this.form.sysUserEnterprise)
           if(this.form.aUserId  == this.$store.state.user.id){
             this.isabj = true
           }else{
             this.isabj = false
           }

           if(this.form.bUserId  == this.$store.state.user.id){
             this.isbass = true
           }else{
             this.isbass = false
           }
           if(this.form.fUserId  == this.$store.state.user.id){
             this.ischdw = '风险'
           }else{
             this.ischdw = null
           }

          this.fskgt=[]
          this.appList = []
          this.apppuList = []
          this.apppuListba = []
          this.jisfile = []
          this.fgeigud = []
          if(this.form.declareFj != null){
            for(var i in this.form.declareFj){
              this.form.declareFj[i] = this.form.declareFj[i].filter(tret=>{
                return  this.matchType(tret.url) != 'image'
              })
              for(var t =0; t<this.form.declareFj[i].length; t++){
                this.fskgt.push(this.form.declareFj[i][t])
              }
            }
          }
          if(this.form.basicFj != null){
            for(var i in this.form.basicFj){
                this.form.basicFj[i] = this.form.basicFj[i].filter(tret=>{
                  return  this.matchType(tret.url) != 'image'
                })

              for(var t =0; t<this.form.basicFj[i].length; t++){
                // console.log(this.form.basicFj[i][t],i,t,186)
                this.jisfile.push(this.form.basicFj[i][t])
              }
            }
          }
          console.log(this.fskgt,92)
          if(this.form.shareholderFjList != null){
            // 股东
            let ndgse=[]
            for(var l = 0 ;  l < this.form.shareholderFjList.length; l++){
               for(var w in this.form.shareholderFjList[l]){
                 if(w == 'shareholderFrontUrl'){
                   if(this.form.shareholderFjList[l].shareholderFrontUrl != null && this.form.shareholderFjList[l].shareholderFrontUrl !=''){
                     this.form.shareholderFjList[l].shareholderFrontUrljh=[]
                     let hyge={bigType:'a',name:null,url:null,fjId:null}
                     hyge.name='股东'+ (l+1)+ '身份证'
                     hyge.url = []
                     hyge.url.push(this.form.shareholderFjList[l].shareholderFrontUrl)
                     hyge.url.push(this.form.shareholderFjList[l].shareholderBackUrl)
                     hyge.fjId = 13145+l + ''
                     ndgse.push(hyge)
                     console.log(ndgse,9761)
                     this.form.shareholderFjList[l].shareholderFrontUrljh.push(hyge)
                   }
                 }
                 // 营业执照z
                 if(w == 'shareholderBusinessUrl'){
                   if(this.form.shareholderFjList[l].shareholderBusinessUrl != null){
                     let hygef={bigType:'a',name:null,url:null,fjId:null}
                     this.form.shareholderFjList[l].shareholderBusinessUrlg=[]
                     hygef.name='股东'+ (l+1)+ '营业执照'
                     this.form.shareholderFjList[l].shareholderBusinessUrl = this.form.shareholderFjList[l].shareholderBusinessUrl.split(',')
                     hygef.url= this.form.shareholderFjList[l].shareholderBusinessUrl
                     hygef.fjId = 13156+l + ''
                     ndgse.push(hygef)
                     this.form.shareholderFjList[l].shareholderBusinessUrlg.push(hygef)
                   }
                 }
                 if(w == 'shareholderZxUrl'){
                   if(this.form.shareholderFjList[l].shareholderZxUrl != null){
                     this.form.shareholderFjList[l].shareholderZxUrlg = []
                     this.form.shareholderFjList[l].shareholderZxUrl = this.form.shareholderFjList[l].shareholderZxUrl.split(',')
                     if(this.form.shareholderFjList[l].shareholderZxUrlPdf != null){
                       let gnheg = this.form.shareholderFjList[l].shareholderZxUrlPdf.split(',')
                       this.form.shareholderFjList[l].shareholderZxUrl = this.form.shareholderFjList[l].shareholderZxUrl.concat(gnheg)
                     }
                     // console.log(this.form.shareholderFjList[l].shareholderZxUrl,827)
                     // for( var h = 0 ; h< this.form.shareholderFjList[l].shareholderZxUrl.length;h++){
                       let hygefa={bigType:'a',name:null,url:null,fjId:null,ordef:null}
                       hygefa.name='股东'+ (l+1)+ '征信'
                       hygefa.ordef = '征信'
                       hygefa.url= this.form.shareholderFjList[l].shareholderZxUrl
                       hygefa.fjId = 17185 + l + ''
                       ndgse.push(hygefa)
                       this.form.shareholderFjList[l].shareholderZxUrlg.push(hygefa)
                       // console.log(this.form.shareholderFjList[l].shareholderZxUrl[h],87)
                     // }
                     // console.log(ndgse,19)
                   }
                 }

                  console.log(ndgse,this.form.shareholderFjList,19)
                 // let hyge={bigType:'a',name:'股东'  + (l + 1)+ '身份证正面',url:}
                 // hyge
               }
            }
            this.fgeigud = ndgse
             // console.log(this.fgeigud,19)
          }

            // this.movelist = response.data.loanApplicationFjList
            // this.isfke = true
            // 反担保
            let fandanr=[]
            let fandanq=[]
            let fandr = []
            let fandq = []
            console.log(this.form.guaranteeInfoList,3)
            if(this.form.guaranteeInfoList !=  null && this.form.guaranteeInfoList.length !=0){
              fandanr = this.form.guaranteeInfoList.filter(rou =>{
                return   rou.type == 1
              })
              // fandanr = fandanr.filter(rout=>{

              // })
              fandanq = this.form.guaranteeInfoList.filter(rou =>{
                return   rou.type == 2
              })


              for(var q = 0; q<fandanr.length; q++ ){
                console.log(fandanr[q],fandanr[q].guaranteeInfoFjList ,5)
                 let hg={fdbrsfzfyj:[],fdbrgrzxbg:[],fdbrgrgzzm:[],fdbrsfzghm:[],fdbrsfzrmx:[{}],guaranteePhone:null,}
                if(fandanr[q].guaranteeInfoFjList != null && fandanr[q].guaranteeInfoFjList.length !=0){
                  for(var n = 0; n < fandanr[q].guaranteeInfoFjList.length;n++){
                      if(fandanr[q].guaranteeInfoFjList[n].type =='fdbrsfzrmx'){
                        fandanr[q].guaranteeInfoFjList[n].name="反担保人" + (q + 1) +"身份证国徽面"
                        fandanr[q].guaranteeInfoFjList[n].fjId = fandanr[q].guaranteeInfoFjList[n].guaranteeInfoFjId
                        hg.fdbrsfzrmx[0] = fandanr[q].guaranteeInfoFjList[n]
                      }
                      if(fandanr[q].guaranteeInfoFjList[n].type =='fdbrsfzfyj'){
                        fandanr[q].guaranteeInfoFjList[n].name="反担保人" + (q + 1) +"身份证复印件" +(q + 1)
                         fandanr[q].guaranteeInfoFjList[n].fjId = fandanr[q].guaranteeInfoFjList[n].guaranteeInfoFjId
                        hg.fdbrsfzfyj.push(fandanr[q].guaranteeInfoFjList[n])
                      }
                      if(fandanr[q].guaranteeInfoFjList[n].type =='fdbrgrzxbg'){
                        fandanr[q].guaranteeInfoFjList[n].name="反担保人" + (q + 1) +"征信报告" + (q + 1)
                         fandanr[q].guaranteeInfoFjList[n].fjId = fandanr[q].guaranteeInfoFjList[n].guaranteeInfoFjId
                        hg.fdbrgrzxbg.push(fandanr[q].guaranteeInfoFjList[n])
                      }
                      if(fandanr[q].guaranteeInfoFjList[n].type =='fdbrgrgzzm'){
                        fandanr[q].guaranteeInfoFjList[n].name="反担保人" + (q + 1) +"工作证明" + (q + 1)
                         fandanr[q].guaranteeInfoFjList[n].fjId = fandanr[q].guaranteeInfoFjList[n].guaranteeInfoFjId
                        hg.fdbrgrgzzm.push(fandanr[q].guaranteeInfoFjList[n])
                      }
                      if(fandanr[q].guaranteeInfoFjList[n].type =='fdbrsfzghm'){
                        fandanr[q].guaranteeInfoFjList[n].name="反担保人" + (q + 1) +"身份证人像面"
                         fandanr[q].guaranteeInfoFjList[n].fjId = fandanr[q].guaranteeInfoFjList[n].guaranteeInfoFjId
                        hg.fdbrsfzghm.push(fandanr[q].guaranteeInfoFjList[n])
                      }
                     hg.guaranteePhone = fandanr[q].guaranteePhone
                     hg.guaranteeIdCard = fandanr[q].guaranteeIdCard
                     hg.guaranteeName = fandanr[q].guaranteeName
                  }
                  fandr.push(hg)
                }
            }
           this.fangeren  = fandr


           if(fandanq.length != 0 && fandanq != null){
            for(var q = 0; q<fandanq.length; q++ ){
              let hgq={fdbqyzx:[],fdbqyyyzz:[]}
                if(fandanq[q].guaranteeInfoFjList != null && fandanq[q].guaranteeInfoFjList.length !=0){
                  for(var n = 0; n < fandanq[q].guaranteeInfoFjList.length;n++){
                      if(fandanq[q].guaranteeInfoFjList[n].type =='fdbqyzx'){
                        fandanq[q].guaranteeInfoFjList[n].name="反担保企业" + (q + 1) +"征信" + (q + 1)
                        fandanq[q].guaranteeInfoFjList[n].fjId = fandanq[q].guaranteeInfoFjList[n].guaranteeInfoFjId
                         hgq.fdbqyzx.push(fandanq[q].guaranteeInfoFjList[n])
                      }
                      if(fandanq[q].guaranteeInfoFjList[n].type =='fdbqyyyzz'){
                        fandanq[q].guaranteeInfoFjList[n].fjId = fandanq[q].guaranteeInfoFjList[n].guaranteeInfoFjId
                        fandanq[q].guaranteeInfoFjList[n].name="反担保企业" + (q + 1) +"营业执照" + (q + 1)
                        hgq.fdbqyyyzz.push(fandanq[q].guaranteeInfoFjList[n])
                      }
                     // hg.guaranteePhone = fandanq[q].guaranteePhone
                  }
                  fandq.push(hgq)
                }else{
               fandq.push({fdbqyzx:null,fdbqyyyzz:null})
             }
            }
           }else{
             fandq.push({fdbqyzx:null,fdbqyyyzz:null})
           }
           this.fanqy  = fandq
          }

          this.isfandanb = this.fangeren
          this.isfandanb = this.isfandanb.concat(this.fanqy)
          for(var g = 0; g < this.isfandanb.length; g++){
            for(var i in this.isfandanb[g]){
              console.log(this.isfandanb[g])
              if(toString.call(this.isfandanb[g][i]) === '[object Array]' == true){
                this.isfandanb[g][i] = this.isfandanb[g][i].filter(tret=>{
                  return  this.matchType(tret.url) != 'image'
                })
                this.isfandanb[g][i].filter(rt=>{
                  this.isgse.push(rt)
                })
              }
            }
          }
          // for(var g = 0; g < this.isfandanb.length; g++){
          //   for(var i in this.isfandanb[g]){
          //     console.log(this.isfandanb[g])
          //     if(toString.call(this.isfandanb[g][i]) === '[object Array]' == true){
          //       this.isfandanb[g][i] = this.isfandanb[g][i].filter(tret=>{
          //          this.isgse.concat(tret)
          //       })
          //     }
          //   }
          // }

         console.log( this.fangeren,this.fanqy, this.isfandanb,this.isgse,2)
          // 身份证
          // fagnershef
          if(this.form.spouseFront != null){
            if(this.form.guaranteeFront != null){
              // 配偶身份证正面
                      let ndgse=[]
                      this.form.farenshe = []
                       let hyge={bigType:'a',name:null,url:null,fjId:null}
                       hyge.name='法人配偶身份证'
                       hyge.url = []
                       hyge.url.push(this.form.spouseFront)
                       hyge.url.push(this.form.spouseBack)
                       // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
                       hyge.fjId = 349814+''
                       ndgse.push(hyge)
                       this.form.farenshe.push(hyge)

                       this.form.fande = []
                       // let hygesf={bigType:'a',name:null,url:null,fjId:null}
                       // hygesf.name='反担保人身份证'
                       // hygesf.url = []
                       // hygesf.url.push(this.form.guaranteeFront)
                       // hygesf.url.push(this.form.guaranteeBack)
                       // // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
                       // hygesf.fjId = 3498148+''
                       // ndgse.push(hygesf)
                       // this.form.fande.push(hygesf)

                       let hygesfr={bigType:'a',name:null,url:null,fjId:null}
                       this.form.ranfer = []
                       hygesfr.name='法人身份证'
                       hygesfr.url = []
                       hygesfr.url.push(this.form.corporationFront)
                       hygesfr.url.push(this.form.corporationBack)
                       // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
                       hygesfr.fjId = 34981489+''
                       ndgse.push(hygesfr)
                       this.form.ranfer.push(hygesfr)
                        this.fagnershef = ndgse
            }else{
              let ndgse=[]
              this.form.farenshe = []
               let hyge={bigType:'a',name:null,url:null,fjId:null}
               hyge.name='法人配偶身份证'
               hyge.url = []
               hyge.url.push(this.form.spouseFront)
               hyge.url.push(this.form.spouseBack)
               // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
               hyge.fjId = 349814+''
               ndgse.push(hyge)
               this.form.farenshe.push(hyge)


               let hygesfr={bigType:'a',name:null,url:null,fjId:null}
               this.form.ranfer = []
               hygesfr.name='法人身份证'
               hygesfr.url = []
               hygesfr.url.push(this.form.corporationFront)
               hygesfr.url.push(this.form.corporationBack)
               // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
               hygesfr.fjId = 34981489+''
               ndgse.push(hygesfr)
               this.form.ranfer.push(hygesfr)
                this.fagnershef = ndgse
            }
            // this.fagnershef = ndgse
             console.log(this.fagnershef,19)
          }else{
            if(this.form.guaranteeFront != null){
              let ndgse=[]

               this.form.fande = []
               // let hygesf={bigType:'a',name:null,url:null,fjId:null}
               // hygesf.name='反担保人身份证'
               // hygesf.url = []
               // hygesf.url.push(this.form.guaranteeFront)
               // hygesf.url.push(this.form.guaranteeBack)
               // // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
               // hygesf.fjId = 3498148+''
               // ndgse.push(hygesf)
               // this.form.fande.push(hygesf)

               let hygesfr={bigType:'a',name:null,url:null,fjId:null}
               this.form.ranfer = []
               hygesfr.name='法人身份证'
               hygesfr.url = []
               hygesfr.url.push(this.form.corporationFront)
               hygesfr.url.push(this.form.corporationBack)
               // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
               hygesfr.fjId = 34981489+''
               ndgse.push(hygesfr)
               this.form.ranfer.push(hygesfr)
                this.fagnershef = ndgse
            }else{
              let ndgse=[]
              let hygesfr={bigType:'a',name:null,url:null,fjId:null}
              this.form.ranfer = []
              hygesfr.name='法人身份证'
              hygesfr.url = []
              hygesfr.url.push(this.form.corporationFront)
              hygesfr.url.push(this.form.corporationBack)
              // hyge.url= this.form.shareholderFjList[l].shareholderFrontUrl + ',' + this.form.shareholderFjList[l].shareholderBackUrl
              hygesfr.fjId = 34981489+''
              ndgse.push(hygesfr)
              this.form.ranfer.push(hygesfr)
               this.fagnershef = ndgse
            }


             console.log(this.fagnershef,19)
          }


          if(this.form.fileFj != null){
            for(var i in this.form.fileFj){
              for(var t =0; t<this.form.fileFj[i].length; t++){
                this.appList.push(this.form.fileFj[i][t])
              }
            }
          }

          console.log(this.appList,984)
          if(this.form.otherFj != null){
            for(var i in this.form.otherFj){
              for(var t =0; t<this.form.otherFj[i].length; t++){
                this.apppuList.push(this.form.otherFj[i][t])
              }
            }
          }
          if(this.form.backFj != null){
            for(var i in this.form.backFj){
              for(var t =0; t<this.form.backFj[i].length; t++){
                this.apppuListba.push(this.form.backFj[i][t])
              }
            }
          }
          if(this.form.sysUserEnterprise ==null){
            this.form.sysUserEnterprise = {}
          }
          this.appsekske = this.appList.concat(this.apppuList)
          console.log( this.fskgt,3)
          this.isifg = true
          this.getnshge()
          // this.getgse(this.form.enterpriseId)

        });
      },
      // 查询签名
      getnshge(){
        // this.zaixnba
        this.appList.filter(rou=>{
          this.zaixnba.filter(rout=>{
            if(rou.type == rout.dictValue){
              rou.isqian = true
            }else{
              rou.isqian = false
            }
          })
        })
        // appList
      },
      // 查询公司内容
      getgse(row){
        getEnterprise(row).then(response => {
          this.form.creditCode = response.data.creditCode
          this.form.enterpriseType = response.data.enterpriseType
          this.form.enterpriseAddress = response.data.enterpriseAddress
          this.form.registeredCapital = response.data.registeredCapital
          this.form.establishData = response.data.establishData
          this.form.businessTerm = response.data.businessTerm
          this.form.businessScope = response.data.businessScope
        });
      },
      /** 转换部门数据结构 */
      normalizer(node) {
        if (node.children && !node.children.length) {
          delete node.children;
        }
        return {
          id: node.deptId,
          label: node.deptName,
          children: node.children
        };
      },
      getNowDate() {
        var date = new Date();
        var sign2 = ":";
        var year = date.getFullYear() // 年
        var month = date.getMonth() + 1; // 月
        var day = date.getDate(); // 日
        var hour = date.getHours(); // 时
        var minutes = date.getMinutes(); // 分
        var seconds = date.getSeconds() //秒
        var weekArr = ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期天'];
        var week = weekArr[date.getDay()];
        // 给一位数的数据前面加 “0”
        if (month >= 1 && month <= 9) {
          month = "0" + month;
        }
        if (day >= 0 && day <= 9) {
          day = "0" + day;
        }
        if (hour >= 0 && hour <= 9) {
          hour = "0" + hour;
        }
        if (minutes >= 0 && minutes <= 9) {
          minutes = "0" + minutes;
        }
        if (seconds >= 0 && seconds <= 9) {
          seconds = "0" + seconds;
        }
        this.nowTime = year + "-" + month + "-" + day;
      },
      /** 提交按钮 */
      submitForm: function() {
        this.$refs["formlog"].validate(valid => {
          if (valid) {
            if (this.isnue == 0) {
              if(this.formlog.auditType == 2){
                if(this.formlog.aUserName == undefined){
                  this.$message.error("请选择A角");
                  return
                }
                if(this.formlog.aUserName == ''){
                  this.$message.error("请选择A角");
                  return
                }
                if(this.formlog.bUserName == undefined){
                  this.$message.error("请选择B角");
                  return
                }
                if(this.formlog.bUserName == ''){
                  this.$message.error("请选择B角");
                  return
                }
                if(this.formlog.fUserName == undefined){
                  this.$message.error("请选择风险");
                  return
                }
                if(this.formlog.fUserName == ''){
                  this.$message.error("请选择风险");
                  return
                }
              }
              sh(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.huifeg = {}
                this.open = false;
                this.$router.go(-1)
              });
            } else if (this.isnue == 1) {
              if(this.formlog.auditType == 2){
                if (this.formlog.fjUrl.length == 0) {
                  // this.$message.error("请选择附件");
                  this.formlog.fjUrl = []
                  // return
                }else{
                  this.formlog.fjUrl.filter( rou=>{
                    rou.loanApplicationId = this.form.loanApplicationId
                    rou.loanApplicationNumber = this.form.loanApplicationNumber
                    rou.bigType = 'c'
                    rou.type = 'dbxmhfhgb'
                  })
                }
              }
              console.log(this.formlog)
              sh(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            } else if (this.isnue == 2) {
              console.log(this.formlog)
              if (this.formlog.imageUrl == undefined) {
                // this.$message.error("请选择图片");
                // return
              }
              if (this.formlog.imageUrl == null) {
                // this.$message.error("请选择图片");
                // return
              }
                if (this.formlog.fjUrl.length == 0) {
                  // this.$message.error("请选择附件");
                  // return
                }else if(this.formlog.fjUrl == null){
                  // this.$message.error("请选择附件");
                  // return
                }else{
                  this.formlog.fjUrl.filter( rou=>{
                    rou.loanApplicationId = this.form.loanApplicationId
                    rou.loanApplicationNumber = this.form.loanApplicationNumber
                    rou.bigType = 'c'
                    rou.type = 'jzdcbg'
                  })
                }
                // return
              sh(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            } else if (this.isnue == 3) {
              // 上会审核
              // if(this.formlog.sysUserConferenceList.length == 0){
              //   this.$message.error("请选择上会人员");
              //   return
              // }else{
              //   let nhge= []
              //   this.formlog.sysUserConferenceList.filter(rou=>{
              //     this.userList.filter(rout =>{
              //       if(rou == rout.userId){
              //         nhge.push({userId:rout.userId,realName:rout.userName,
              //         loanApplicationId:this.form.loanApplicationId,
              //         loanApplicationNumber:this.form.loanApplicationNumber
              //         })
              //       }

              //     })
              //  })
              //   // console.log(nhge)
              //   this.formlog.sysUserConferenceList = nhge
              // }
              this.formlog.enterpriseName = this.form.enterpriseName
              review(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });

            } else if (this.isnue == 4) {
              // 评审意见签批表s
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'psyjqpb'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            } else if (this.isnue == 5) {
              //材料合规表
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'clhgb'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            } else if (this.isnue == 6) {
              // 股东会决议
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'gdhyjy'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 7) {
              // 文件出具修改
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.isfuejg.loanApplicationId
                  rou.loanApplicationNumber = this.isfuejg.loanApplicationNumber
                  rou.bigType = this.isfuejg.bigType
                  rou.type = this.isfuejg.type
                  rou.fjId = this.isfuejg.fjId
                  // rou.name = this.jinzde.fileName
                })
              }
              // scfh(this.isfuejg.fjId).then(response => {
                xgfh(this.formlog.fjUrl).then(response => {
                  this.$modal.msgSuccess("操作成功");
                  this.open = false;
                  this.$router.go(-1)
                });
                // this.$router.go(-1)
              // });
            }else if (this.isnue == 8) {
              // 其他附件
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'd'
                  rou.type = this.jinzde.type
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 9) {
              // 借据
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.ksvq.loanApplicationId = this.form.loanApplicationId
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'jj'
                  this.ksvq.actuallyAmount = rou.actuallyAmount
                  this.ksvq.actuallyTime = rou.actuallyTime
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                putActually(this.ksvq).then(response => {
                  this.$modal.msgSuccess("操作成功");
                  this.open = false;
                  this.$router.go(-1)
                });
                this.$router.go(-1)
              });
            }else if (this.isnue == 10) {
              // 保证反担保合同(法人)
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'bzfdbhtfr'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 11) {
              // 保证反担保合同（自然人）
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'dyfdbhtzrr'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 12) {
              // 保证反担保合同（法人）
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'dyfdbhtfr'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 13) {
              // 保证反担保合同（法人）
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'dyfdbhtfr'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 14) {
              // 放款合规表
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'fkhgb'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 15) {
              // 放款通知书
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'fktzhsh'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 16) {
              // 暂缓放款通知书
              if (this.formlog.remark == undefined || this.formlog.remark == null ) {
                this.$message.error("请填写暂缓原因");
                return
              }
              zanHuan(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 17) {
              // 委托担保申请书
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'c'
                  rou.type = 'wtdbsqs'
                })
              }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 18) {
              if(this.formlog.conferenceTime == undefined || this.formlog.conferenceTime == ''){
                this.$message.error("请选择时间");
                return
              }
              // this.formlog
              this.formlog.enterpriseName = this.form.enterpriseName
              five(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });

            }else if (this.isnue == 19) {
              if(this.formlog.votingResult == 'N'){
                if(this.formlog.argument == '' || this.formlog.argument == null){
                  this.$message.error("请输入不同意的愿意");
                  return
                }
              }
              vote(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 20) {
                if (this.formlog.fjUrl.length == 0) {
                  // this.$message.error("请选择附件");
                  this.formlog.fjUrl = []
                  // return
                }else{
                  this.formlog.fjUrl.filter( rou=>{
                    rou.loanApplicationId = this.form.loanApplicationId
                    rou.loanApplicationNumber = this.form.loanApplicationNumber
                    rou.bigType = 'c'
                    rou.type = 'fxbg'
                  })
                }
              xzfh(this.formlog.fjUrl).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });

            }else if (this.isnue == 21) {
              // 其他附件 上会申诉
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.form.loanApplicationId
                  rou.loanApplicationNumber = this.form.loanApplicationNumber
                  rou.bigType = 'd'
                  rou.type = 'qtfj'
                })
              }
              ss(this.formlog).then(response => {
                this.$modal.msgSuccess("操作成功");
                this.open = false;
                this.$router.go(-1)
              });
            }else if (this.isnue == 22) {
              // 其他出具修改
              if (this.formlog.fjUrl.length == 0) {
                this.$message.error("请选择附件");
                return
              }else{
                this.formlog.fjUrl.filter( rou=>{
                  rou.loanApplicationId = this.isfuejg.loanApplicationId
                  rou.loanApplicationNumber = this.isfuejg.loanApplicationNumber
                  rou.bigType = this.isfuejg.bigType
                  rou.type = this.isfuejg.type
                  rou.fjId = this.isfuejg.fjId
                  // rou.name = this.jinzde.fileName
                })
              }
              // scfh(this.isfuejg.fjId).then(response => {
                xgfh(this.formlog.fjUrl).then(response => {
                  this.$modal.msgSuccess("操作成功");
                  this.open = false;
                  this.$router.go(-1)
                });
                // this.$router.go(-1)
              // });
            }


          }
        });
      },
      dele(row){
        delNoticefj(row.fjId).then(response => {
          this.$modal.msgSuccess("操作成功");
          this.$router.go(-1)
        });
      },
      /** 成绩_子添加按钮操作 */
      handleAddScoreDataDetails() {

        let obj = {};
        obj.duty = "";
        obj.idCard = "";
        obj.phonenumber = "";
        obj.userName = "";
        this.scoreDataDetailsList.push(obj);
        console.log(this.scoreDataDetailsList)
      },
      /** 成绩_子序号 */
      rowScoreDataDetailsIndex({
        row,
        rowIndex
      }) {
        row.index = rowIndex + 1;
      },
      /** 成绩_子删除按钮操作 */
      handleDeleteScoreDataDetails(row) {
        console.log(row.index)
        if (this.scoreDataDetailsList.length == 1) {
          this.$message.error("最少要有一条数据");
          return
        }
        this.scoreDataDetailsList.splice(row.index - 1, 1)
        console.log(this.scoreDataDetailsList)
      },
      /** 复选框选中数据 */
      handleScoreDataDetailsSelectionChange(selection) {
        this.checkedScoreDataDetails = selection.map(item => item.index)
      },
      matchType(fileName) {
        // 后缀获取
        var suffix = '';
        // 获取类型结果
        var result = '';
        try {
          var flieArr = fileName.split('.');
          suffix = flieArr[flieArr.length - 1];
        } catch (err) {
          suffix = '';
        }
        // fileName无后缀返回 false
        if (!suffix) {
          result = false;
          return result;
        }
        // 图片格式
        var imglist = ['png', 'jpg', 'jpeg', 'bmp', 'gif'];
        // 进行图片匹配
        result = imglist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'image';
          return result;
        };
        // 匹配txt
        var txtlist = ['txt'];
        result = txtlist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'txt';
          return result;
        };
        // 匹配 excel
        var excelist = ['xls', 'xlsx'];
        result = excelist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'excel';
          return result;
        };
        // 匹配 word
        var wordlist = ['doc', 'docx','word'];
        result = wordlist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'word';
          return result;
        };
        // 匹配 pdf
        var pdflist = ['pdf'];
        result = pdflist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'pdf';
          return result;
        };
        // 匹配 ppt
        var pptlist = ['ppt'];
        result = pptlist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'ppt';
          return result;
        };
        // 匹配 视频
        var videolist = ['mp4', 'm2v', 'mkv'];
        result = videolist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'video';
          return result;
        };
        // 匹配 音频
        var radiolist = ['mp3', 'wav', 'wmv'];
        result = radiolist.some(function(item) {
          return item == suffix;
        });
        if (result) {
          result = 'radio';
          return result;
        }
        // 其他 文件类型
        result = 'other';
        return result;
      },
      matchTypeurl(fileName) {
        // 后缀获取
        var suffix = '';
        // 获取类型结果
        var result = '';
        try {
          var flieArr = fileName.split('.');
          suffix = flieArr[flieArr.length - 1];
          if(suffix == 'xls'){
           result =  fileName.replace(/xls/,"xlsx");
          }
          if(suffix == 'doc'){
             result =  fileName.replace(/doc/,"docx");
          }
        } catch (err) {
          suffix = '';
        }
        console.log(result,4)
        return result;
      },

      // 更多操作触发
      handleCommand(command, row) {
        switch (command) {
          case "dianwe":
            this.dianwe(row);
            break;
            case "pingshen":
            this.pingshen(row);
            break;
           case "gudong":
          this.gudong(row);
          break;
          case "qiyex":
          this.qiyex(row);
          break;
          case "weitogong":
          this.weitogong(row);
          break;
          case "buke":
          this.buke(row);
          break;
          case "weito":
          this.weito(row);
          break;
          case "weigtr":
          this.weigtr(row);
          break;
          case "tongzhde":
          this.tongzhde(row);
          break;
          case "fanren":
          this.fanren(row);
          break;
          case "ziranr":
          this.ziranr(row);
          break;
          case "diyafa":
          this.diyafa(row);
          break;
          case "diyzir":
          this.diyzir(row);
          break;
          case "fagnk":
          this.fagnk(row);
          break;
          case "fagnkt":
          this.fagnkt(row);
          break;
          case "yeweuda":
          this.yeweuda(row);
          break;
          case "quanlifr":
          this.quanlifr(row);
          break;
          case "quanlizr":
          this.quanlizr(row);
          break;
          case "yixh":
          this.yixh(row);
          break;




          default:
            break;
        }
      },
      // ht更多操作触发
      handleCommandht(command, row) {
        switch (command) {
         case "dianweuplo":
         this.dianweuplo(row);
         break;

         case "dianweuplob":
         this.dianweuplob(row);
         break;

         case "dianweuplol":
         this.dianweuplol(row);
         break;

          case "weitouplo":
          this.weitouplo(row);
          break;

          case "fanrenuplo":
          this.fanrenuplo(row);
          break;
          case "ziranruplo":
          this.ziranruplo(row);
          break;
          case "diyafauplo":
          this.diyafauplo(row);
          break;
          case "diyziruplo":
          this.diyziruplo(row);
          break;
          case "fagnkuplo":
          this.fagnkuplo(row);
          break;
          case "fagnktuplo":
          this.fagnktuplo(row);
          break;


          default:
            break;
        }
      },
      nghwus(val){
        this.ihfwsnlis = []
        this.ihfwsnlis.push(val)
        // window.open(val)
      },
      tongzhde(row){
        // 评审会通知
        let nghe={loanApplicationId:this.form.loanApplicationId,type:15,customerType:this.form.customerType,bigType:'c',fileType:'pshtz'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      weigtr(row){
        // 委托担保申请书
        let nghe={loanApplicationId:this.form.loanApplicationId,type:1,customerType:this.form.customerType,bigType:'c',fileType:'wtdbsqs'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      yixh(row){
        // 担保意向函
        let nghe={loanApplicationId:this.form.loanApplicationId,type:3,customerType:this.form.customerType,bigType:'c',fileType:'dbyxh'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      yeweuda(row){
        // 担保业务备案表
        let nghe={loanApplicationId:this.form.loanApplicationId,type:21,customerType:this.form.customerType,bigType:'c',fileType:'dbbab'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },

      quanlifr(row){
        // 权利质权反担保合同（适用于法人）
        let nghe={loanApplicationId:this.form.loanApplicationId,type:9,customerType:this.form.customerType,bigType:'c',fileType:'qlzqfdbhtfr'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      quanlizr(row){
        // 权利质权反担保合同（适用于自然人）
        let nghe={loanApplicationId:this.form.loanApplicationId,type:10,customerType:this.form.customerType,bigType:'c',fileType:'qlzqfdbhtzrr'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      dianwe(row){
        // 材料
        let nghe={loanApplicationId:this.form.loanApplicationId,type:13,customerType:this.form.customerType,bigType:'c',fileType:'clhgb'}
        mb(nghe).then(response => {
           // window.location.href = process.env.VUE_APP_BASE_API + response.data.path;
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      pingshen(row){
        // 评审意见签批表
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:12,bigType:'c',fileType:'psyjqpb',customerType:this.form.customerType}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      gudong(row){
        // 股东会决议
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,bigType:'c',fileType:'gdhyjy',customerType:this.form.customerType,type:11}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      gudongleb(row){
        // 股东会决议
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,bigType:'c',fileType:'gdhyjy',customerType:this.form.customerType,type:11}
        // mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + row.url,fileId:row.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + row.url
           ngj.officeTypeg = this.matchType(row.url)
           this.editFileDetail(ngj)
        // });

      },

      weito(row){
        // 委托保证合同
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:2,fileType:'wtdbht',bigType:'c',customerType:this.form.customerType}
        mb(nghe).then(response => {
           // window.location.href = process.env.VUE_APP_BASE_API + response.msg;
           // this.matchType(response.url)
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      qiyex(row){
        // 企业信用反担保合同
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:18,fileType:'qyxyfdb',bigType:'c',customerType:this.form.customerType}
        mb(nghe).then(response => {
           // window.location.href = process.env.VUE_APP_BASE_API + response.msg;
           // this.matchType(response.url)
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      weitogong(row){
        // 委托保证合同(工程履约)
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:17,fileType:'wtbzgcly',bigType:'c',customerType:this.form.customerType}
        mb(nghe).then(response => {
           // window.location.href = process.env.VUE_APP_BASE_API + response.msg;
           // this.matchType(response.url)
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
       buke(row){
        // 不可撤销个人连带责任信用反担保合同
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:16,fileType:'bkcxgr',bigType:'c',customerType:this.form.customerType}
        mb(nghe).then(response => {
           // window.location.href = process.env.VUE_APP_BASE_API + response.msg;
           // this.matchType(response.url)
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      fanren(row){
        // 保证反担保合同(法人)
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:5,bigType:'c',fileType:'bzfdbhtfr',customerType:this.form.customerType}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      ziranr(row){
        // 保证反担保合同(自然人)
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:6,bigType:'c',fileType:'bzfdbhtzrr',customerType:this.form.customerType}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      diyzir(row){
        // 抵押反担保合同(自然人)
        console.log(row)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:8,bigType:'c',fileType:'dyfdbhtzrr',customerType:this.form.customerType}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
      },
      diyafa(row){
        // 抵押反担保合同(法人)
        let nghe={loanApplicationId:this.form.loanApplicationId,type:7,bigType:'c',fileType:'dyfdbhtfr',customerType:this.form.customerType}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
        console.log(row)
      },
      fagnk(row){
        // 放款出具
        let nghe={loanApplicationId:this.form.loanApplicationId,type:14,customerType:this.form.customerType,bigType:'c',fileType:'fkhgb'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
        console.log(row)
      },
      fagnkt(row){
        // 放款通知书
        let nghe={loanApplicationId:this.form.loanApplicationId,type:4,customerType:this.form.customerType,bigType:'c',fileType:'fktzhsh'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
        console.log(row,1276)
      },
      fagnkt(row){
        // 担保业务备案表
        let nghe={loanApplicationId:this.form.loanApplicationId,type:21,customerType:this.form.customerType,bigType:'c',fileType:'dbbab'}
        mb(nghe).then(response => {
           let ngj={path:this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.data.path,fileId:response.data.fileId,}
           // response.data.path
           let url =  this.defaultSettings.urls +  process.env.VUE_APP_BASE_API + response.msg
           ngj.officeTypeg = this.matchType(response.data.path)
           this.editFileDetail(ngj)
        });
        console.log(row,1276)
      },
      fagnkzan(row){
        // 放款通知书
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'fktzhsh'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        // this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.enterpriseName = this.form.enterpriseName
        this.formlog.aUserId = this.form.aUserId
        this.formlog.fjUrl = []
         this.isnue = 16
         this.open = true
      },

      // {type:"edit",file_id: row.id}
      editFileDetail(r){
        // let r = res.data.data;
        //             // 跳转 使用sessionStorage，避免关键信息在ip中暴露
        //             // 使用push会停留当前页面，故不采纳
        //             // params 传递参数，子组件无法渲染iframe组件，故不采纳
                    sessionStorage.wpsUrl = r.path;
                    sessionStorage.fileId = r.fileId;
                    // sessionStorage.officeTypeg = r.officeTypeg
                    if(r.officeTypeg == 'word'){
                      sessionStorage.officeTypeg = 'w'
                    }else if(r.officeTypeg == 'excel'){
                         sessionStorage.officeTypeg = 's'
                    }else if(r.officeTypeg == 'pdf'){
                         sessionStorage.officeTypeg = 'p'
                    }
                   // sessionStorage.officeTypeg = r.officeTypeg
                    console.log(r,234)
                    // return
                     const jump = this.$router.resolve({name: 'Word'});
                     window.open(jump.href,'_blank');
                    // this.$router.push( { name: 'Word'})
      },

      // 合同上传
      dianweuplo(row){
        // 其他附件
       this.reset();
       this.huifeg = {}
       this.getlsegqt()
       this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
       this.jinzde.bigType = 'd'
       this.jinzde.type = 'qtfj'
       this.jinzde.loanApplicationId = this.form.loanApplicationId
       this.formlog.loanApplicationId = this.chuid
       this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
       this.formlog.auditSchedule = this.form.auditSchedule
       this.formlog.fjUrl = []
        this.isnue = 8
        this.open = true
      },
      dianweuplob(row){
        // 其他附件
       this.reset();
       this.huifeg = {}
       this.getlsegqt()
       this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
       this.jinzde.bigType = 'd'
       this.jinzde.type = 'yhbzht'
       this.jinzde.loanApplicationId = this.form.loanApplicationId
       this.formlog.loanApplicationId = this.chuid
       this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
       this.formlog.auditSchedule = this.form.auditSchedule
       this.formlog.fjUrl = []
        this.isnue = 8
        this.open = true
      },
      dianweuplol(row){
        // 其他附件
       this.reset();
       this.huifeg = {}
       this.getlsegqt()
       this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
       this.jinzde.bigType = 'd'
       this.jinzde.type = 'ldzjdkht'
       this.jinzde.loanApplicationId = this.form.loanApplicationId
       this.formlog.loanApplicationId = this.chuid
       this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
       this.formlog.auditSchedule = this.form.auditSchedule
       this.formlog.fjUrl = []
        this.isnue = 8
        this.open = true
      },
      weitouplo(row){
        // 借据
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'jj'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
         this.isnue = 9
         this.open = true
      },
      fanrenuplo(row){
        // 上传保证反担保合同
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'bzfdbhtfr'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
         this.isnue = 10
         this.open = true
      },
      ziranruplo(row){
        // 保证反担保合同（自然人）
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'bzfdbhtzrr'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
         this.isnue = 11
         this.open = true
      },
      diyziruplo(row){
        // 上传抵押反担保合同(自然人)附件
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'dyfdbhtzrr'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
        this.isnue = 12
        this.open = true
      },
      diyafauplo(row){
        // 上传抵押反担保合同(法人)附件
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'dyfdbhtfr'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
         this.isnue = 13
         this.open = true
      },
      fagnkuplo(row){
        // 放款合规表
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'fkhgb'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
         this.isnue = 14
         this.open = true
      },
      fagnktuplo(row){
        // 放款通知书
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'fktzhsh'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
         this.isnue = 15
         this.open = true
      },
      dianweuplotoup(row){
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = null
        this.jinzde.bigType = null
        this.jinzde.type = null
        this.jinzde.loanApplicationId = null
        this.formlog.loanApplicationId = this.chuid
        this.formlog.votingResult = 'Y'
        this.$set(this.formlog,'votingResult','Y')
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.conferenceTime = this.form.reviewTime
        this.formlog.fjUrl = []
        this.isnue = 19
        this.deptdis = []
        this.deptdisjb = []
        this.open = true
      },
      infoBtnss(row){
        // 申诉
        this.reset();
        this.huifeg = {}
        this.getlsegqt()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'd'
        this.jinzde.type = 'qtfj'
        this.formlog.auditType = this.form.auditType
        this.$set(this.formlog,'auditType',this.form.auditType)
        this.formlog.ssType = '1'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.jinzde.aUserId = this.form.aUserId
        this.formlog.aUserId = this.form.aUserId
        this.formlog.bUserId = this.form.bUserId
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.enterpriseName =this.form.enterpriseName
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
         this.isnue = 21
         this.open = true
      },

      cnahge(row,index){
        console.log(index)
        if(index == 0 ){
          // 身份证
          this.isimgs = true
        }else{
          this.isimgs = false
        }
        this.fujij=true
        this.imgsfe = []
        // this.fjtype = this.matchType(row.shareholderBackUrl)
        if(row.shareholderBackUrl != null){

        }
        if(row.shareholderFrontUrl != null){

        }
        if(row.shareholderBusinessUrl != null){

        }

        let nsjg = process.env.VUE_APP_BASE_API + row.shareholderBackUrl
        let nsjgt= process.env.VUE_APP_BASE_API + row.shareholderFrontUrl
        this.exfUrl = row.shareholderZxUrl
        this.imgsfe.push(nsjgt)
        this.imgsfe.push(nsjg)
      },
      changety(row,item){
        console.log(row)
        if(row == undefined || row==null ){
          this.$message.error("暂无数据");
          return
        }
        if(row.length ==0){
          this.$message.error("暂无数据");
          return
        }
        this.igwers= []
        // return
        if(row.length != 1){
          for(var f in row[0]){
            row[0].imagtlis=[]
            row[0].pdffj=[]
            row[0].wordfj=[]
            row[0].exlefj=[]
            row[0].fjtypr=this.matchType(row[0].url)
            row[0].url = row[0].url
            // row[0].url = this.matchTypeurl(row[0].url)
            if( row[0].fjtypr == "image"){
              row[0].imagtlis.push(row[0].url)
            }
            if( row[0].fjtypr == "word"){
              row[0].wordfj.push(row[0].url)
            }
            if( row[0].fjtypr == "pdf"){
              row[0].pdffj.push(row[0].url)
            }
            if( row[0].fjtypr == "excel"){
              row[0].exlefj.push(row[0].url)
            }
            this.tilgke = row[0].name
            this.ingsegsaq = row[0].fjId + ''
         }
          this.igwers.push(row[0])
          this.isguelse = false
          this.isshouty = 0
        }else if(item == '股东' || item == '身份证'){
        if(row != null){
          row.filter(routhe=>{
            routhe.imagtlis=[]
            routhe.pdffj=[]
            routhe.wordfj=[]
            routhe.exlefj=[]
            routhe.url.filter(rewq=>{
            routhe.fjtypr=this.matchType(rewq)
              if(routhe.ordef == undefined){
                if( routhe.fjtypr == "image"){
                  routhe.imagtlis.push(rewq)
                  this.isshouty = 0
                }
              }else{
                 routhe.imagtlis = []
                 this.isshouty = 0
              }

              if( routhe.fjtypr == "word"){
                routhe.wordfj.push(rewq)
                this.isshouty = 1
              }
              if( routhe.fjtypr == "pdf"){
                routhe.pdffj.push(rewq)
                this.isshouty = 2
              }
              if( routhe.fjtypr == "excel"){
                routhe.exlefj.push(rewq)
                this.isshouty = 3
              }
            })
         this.tilgke = routhe.name
         this.ingsegsaq = routhe.fjId + ''
          })

          this.igwers = row
          this.isguelse = true

        }
       }else{
          row.filter( rout=>{
            rout.imagtlis=[]
            rout.pdffj=[]
            rout.wordfj=[]
            rout.exlefj=[]
            rout.fjtypr=this.matchType(rout.url)
            rout.url = rout.url
            // rout.url = this.matchTypeurl(rout.url)
            if( rout.fjtypr == "image"){
              rout.imagtlis.push(rout.url)
            }
            if( rout.fjtypr == "word"){
              rout.wordfj.push(rout.url)
            }
            if( rout.fjtypr == "pdf"){
              rout.pdffj.push(rout.url)
            }
            if( rout.fjtypr == "excel"){
              rout.exlefj.push(rout.url)
            }
            this.tilgke = rout.name
            this.ingsegsaq = rout.fjId + ''
          })
          this.igwers = row
          this.isguelse = false
          this.isshouty = 0
        }


        this.isshouti = false

        this.opsgq = true
        this.ijsshe = false
        // this.fujijty = true
        console.log(row,this.igwers)
      },
      changetyle(row,item){
        console.log(row)
          row.imagtlis=[]
          row.pdffj=[]
          row.wordfj=[]
          row.exlefj=[]
           row.fjtypr=this.matchType(row.url)
           row.url = row.url
           // row.url = this.matchTypeurl(row.url)
          if( row.fjtypr == "image"){
            row.imagtlis.push(row.url)
          }
          if( row.fjtypr == "word"){
            row.wordfj.push(row.url)
          }
          if( row.fjtypr == "pdf"){
            row.pdffj.push(row.url)
          }
          if( row.fjtypr == "excel"){
            row.exlefj.push(row.url)
          }
        this.igwers = []
        this.igwers.push(row)
        this.tilgke = row.name
        this.ingsegsaq = row.fjId + ''
        // this.fujijty = true
        this.isshouti = false
        this.opsgq = true
        this.ijsshe = false
        this.isguelse = false
        this.isshouty = 0
        console.log(row,item)
      },
      changetyleh(row,item){
        console.log(row)
          row.imagtlis=[]
          row.pdffj=[]
          row.wordfj=[]
          row.exlefj=[]
           row.fjtypr=this.matchType(row.url)
           row.url = row.url
           // row.url = this.matchTypeurl(row.url)
          if( row.fjtypr == "image"){
            // row.imagtlis.push(row.url)
            if(this.ijsget == '/dev-api'){
              window.open(this.defaultSettings.urls  + row.url )
            }else{
              window.open(this.defaultSettings.urls+this.ijsget  + row.url )
            }

          }
          if( row.fjtypr == "word"){
            // row.wordfj.push(row.url)
            window.open('https://view.officeapps.live.com/op/view.aspx?src=' + this.defaultSettings.urls+this.ijsget  + row.url )
          }
          if( row.fjtypr == "pdf"){
            // row.pdffj.push(row.url)
            if(this.ijsget == '/dev-api'){
              window.open(this.defaultSettings.urls  + row.url )
            }else{
              window.open(this.defaultSettings.urls+this.ijsget  + row.url )
            }
          }
          if( row.fjtypr == "excel"){
            // row.exlefj.push(row.url)
            window.open('https://view.officeapps.live.com/op/view.aspx?src=' + this.defaultSettings.urls+this.ijsget  + row.url )
          }


      },
      shenfcha(row){
        this.shenfgslis = []
        let ijg=''
        let naegw=''
        this.tilgke = row
        if(row=='法人身份证'){
          ijg = process.env.VUE_APP_BASE_API +this.form.corporationFront
          naegw = process.env.VUE_APP_BASE_API +this.form.corporationBack
        }
        if(row=='法人配偶身份证'){
          ijg = process.env.VUE_APP_BASE_API +this.form.spouseFront
          naegw = process.env.VUE_APP_BASE_API +this.form.spouseBack
        }
        if(row=='反担保人身份证'){
          ijg = process.env.VUE_APP_BASE_API +this.form.guaranteeFront
          naegw = process.env.VUE_APP_BASE_API +this.form.guaranteeBack
        }
        this.shenfgslis.push(ijg)
        this.shenfgslis.push(naegw)
       this.fujijshf = true
       // this.isshouti = false
       // this.opsgq = true
       // this.ijsshe = false
      },
      // 下载
      daoowe(row){
           window.location.href = process.env.VUE_APP_BASE_API + row.url;
      },
      /** 删除按钮操作 */
      handleDelete(row) {
        const noticeIds = row.noticeId || this.ids
        this.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项？').then(function() {
          return delNotice(noticeIds);
        }).then(() => {
          this.getList();
          this.$modal.msgSuccess("删除成功");
        }).catch(() => {});
      },
      // 下拉框点击内容
      logout(e, val, index) {
        console.log(e, val, index)
        this.isabf = val
        if (this.$route.query.isxz == 1) {
          //新增
          // this.getxq(e.id)
          console.log(this.form.investigateDispositionTableList)
        } else if (this.$route.query.isxz == 2) {
          // 修改
        }
        console.log(this.form.investigateDispositionTableList, this.form.listhjy)
      },
      addImageButton(editorId) {
        window.UE.registerUI('myinsertimage', (editor, uname) => {
          const btn = new window.UE.ui.Button({
            name: uname,
            title: '单图上传',
            cssRules: '按钮样式',
            onclick: function() {
              // this.img_type = 'ueditor'
              this.$refs['image_child'].$emit('show_image_dialog')
            }
          })
          return btn
        })
      },
      // ingwd() {
      //   console.log(this.formlog.isRecord)
      //   if (this.formlog.isRecord == '0') {
      //     this.isdafu = true
      //     this.formlog.proposalUnitReplyList = []
      //   } else {
      //     this.isdafu = false
      //   }
      //   // isdafu
      // },
      getPass(row) {
        this.reset();
        this.isnue = 0
        this.huifeg = {}
         this.formlog.fjUrl =undefined
         this.formlog.auditView = null
        this.formlog.auditType = '2'
        this.$set(this.formlog,'auditType','2')
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.open = true
        this.isdafu = true
      },
      // 初审
      infoBtn(row) {
        this.reset();
        this.getlseg()
        this.huifeg = {}
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'dbxmhfhgb'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.auditType = '2'
        this.$set(this.formlog,'auditType','2')
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.enterpriseName = this.form.enterpriseName
        this.formlog.fjUrl = []
        this.formlog.imageUrl = null
        this.isnue = 1
        this.open = true
      },
      // 尽职调查
      infoBtnweiy(row) {
        this.reset();
        this.getlseg()
        this.huifeg = {}
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'jzdcbg'
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.enterpriseName = this.form.enterpriseName
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.enterpriseName = this.form.enterpriseName
        this.formlog.fjUrl = []
        this.formlog.imageUrl = null
        this.isnue = 2

        this.open = true
      },
      // 风险报告
      infoBtnweiyfenx(row) {
        this.reset();
        this.getlseg()
        this.huifeg = {}
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'fxbg'
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.enterpriseName = this.form.enterpriseName
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
        this.formlog.imageUrl = null
        this.isnue = 20

        this.open = true
      },
      infoBtnzhong(row) {
        this.reset();
        this.huifeg = {}
        this.formlog.proposalId = this.chuid
        this.formlog.isKeyPoint = '0'
        this.formlog.reviewSchedule = '3'
        this.$set(this.formlog,'reviewSchedule','3')
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.auditType = this.form.auditType
        this.formlog.loanSchedule = this.form.loanSchedule
        this.formlog.aUserId = this.form.aUserId
        this.formlog.loanApplicationId = this.form.loanApplicationId
        this.formlog.enterpriseName = this.form.enterpriseName
        this.isnue = 3
        this.$set(this.formlog,'sysUserConferenceList',[])
        this.open = true
      },

      infoBtnzhongtim(row) {
        this.reset();
        this.huifeg = {}
        this.formlog.proposalId = this.chuid
        this.formlog.isKeyPoint = '0'
         this.formlog.auditType = '2'
        this.$set(this.formlog,'auditType','2')
        this.formlog.loanApplicationId = this.chuid
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.enterpriseName = this.form.enterpriseName
        this.formlog.auditSchedule = this.form.auditSchedule
        this.isnue = 18
        this.$set(this.formlog,'sysUserConferenceList',[])
        this.open = true
      },
      infoBtnyou(row) {
        this.reset();
        this.getlseg()
        this.huifeg = {}
       this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
       this.jinzde.loanApplicationId = this.form.loanApplicationId
       this.jinzde.bigType = 'c'
       this.jinzde.type = 'psyjqpb'
       this.formlog.loanApplicationId = this.chuid
       this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
       this.formlog.auditSchedule = this.form.auditSchedule
       this.formlog.fjUrl = []
       this.isnue = 4
       this.open = true
      },
      infoBtnzhengx(row) {
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
        this.jinzde.bigType = 'c'
        this.jinzde.type = 'clhgb'
        this.jinzde.loanApplicationId = this.form.loanApplicationId
        this.formlog.loanApplicationId = this.chuid
        this.formlog.auditType = '2'
        this.$set(this.formlog,'auditType','2')
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
        this.isnue = 5
        this.deptdis = []
        this.deptdisjb = []
        this.open = true
      },
      getPassjioab(row) {
        this.reset();
       this.huifeg = {}
       this.getlseg()
       this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
       this.jinzde.bigType = 'c'
       this.jinzde.type = 'gdhyjy'
       this.jinzde.loanApplicationId = this.form.loanApplicationId
       this.formlog.loanApplicationId = this.chuid
       this.formlog.auditType = '2'
       this.$set(this.formlog,'auditType','2')
       this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
       this.formlog.auditSchedule = this.form.auditSchedule
       this.formlog.fjUrl = []
        this.isnue = 6
        this.open = true
      },
      getPassjioabshen(row) {
        this.reset();
       this.huifeg = {}
       this.getlseg()
       this.jinzde.loanApplicationNumber = this.form.loanApplicationNumber
       this.jinzde.bigType = 'c'
       this.jinzde.type = 'wtdbsqs'
       this.jinzde.loanApplicationId = this.form.loanApplicationId
       this.formlog.loanApplicationId = this.chuid
       this.formlog.enterpriseName = this.form.enterpriseName
       this.formlog.auditType = '2'
       this.$set(this.formlog,'auditType','2')
       this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
       this.formlog.auditSchedule = this.form.auditSchedule
       this.formlog.fjUrl = []
        this.isnue = 17
        this.open = true
      },


      infoBtnshnhe(row) {
        const _this = this
        this.$confirm('是否通过', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return sh({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            auditSchedule:_this.form.auditSchedule,
            auditType:2,
            enterpriseName:_this.form.enterpriseName,

            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },
      infoBtnshnhea(row) {
        const _this = this
        this.$confirm('是否通过', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return sh({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            auditSchedule:_this.form.auditSchedule,
            auditType:2,
            aUserId:_this.form.aUserId,
            aUserName:_this.form.aUserName,
            enterpriseName:_this.form.enterpriseName,
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },
      infoBtnshnheb(row) {
        const _this = this
        this.$confirm('是否通过', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return sh({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            auditSchedule:_this.form.auditSchedule,
            auditType:2,
            bUserId:_this.form.bUserId,
            bUserName:_this.form.bUserName,
            enterpriseName:_this.form.enterpriseName,
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },

      infoBtnnetx(row){
        const _this = this
        this.$confirm('是否进入下一步进度', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return schedulenet({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            auditSchedule:_this.form.auditSchedule,
            loanSchedule:_this.form.loanSchedule,
            enterpriseName:_this.form.enterpriseName,
            aUserId:_this.form.aUserId,
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },
      infoBtnsssix(row){
        const _this = this
        this.$confirm('是否申诉', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return ss({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            auditSchedule:_this.form.auditSchedule,
            loanSchedule:_this.form.loanSchedule,
            auditType:_this.form.auditType,
            ssType:1,
            aUserId:_this.form.aUserId,
            bUserId:_this.form.bUserId,
            enterpriseName:_this.form.enterpriseName,
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },
      infoBtnyj(row){
        const _this = this
        this.$confirm('是否一键否决', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return finish({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            auditSchedule:_this.form.auditSchedule,
            loanSchedule:_this.form.loanSchedule,
            enterpriseName:_this.form.enterpriseName,
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },


      infoBtnbh(row) {
        const _this = this
        this.$prompt("请输入不通过意见", "提醒", {
            confirmButtonText: "确定",
            cancelButtonText: "取消",
            type: "warning",
            inputValidator: (value) => {
              if (!value) {
                return '不通过意见不能为空！';
              }
            }
          })
          .then(function({
            value
          }) {
            return sh({
             loanApplicationId: _this.chuid,
             loanApplicationNumber:_this.form.loanApplicationNumber,
             auditSchedule:_this.form.auditSchedule,
             auditType:3,
              auditView: value,
              aUserId:_this.form.aUserId,
              aUserName:_this.form.aUserName,
              enterpriseName:_this.form.enterpriseName,

            });

          })
          .then(({
            value
          }) => {
            _this.$modal.msgSuccess("操作成功");
            _this.$router.go(-1)
          });
      },
      infoBtnbhb(row) {
        const _this = this
        this.$prompt("请输入不通过意见", "提醒", {
            confirmButtonText: "确定",
            cancelButtonText: "取消",
            type: "warning",
            inputValidator: (value) => {
              if (!value) {
                return '不通过意见不能为空！';
              }
            }
          })
          .then(function({
            value
          }) {
            return sh({
             loanApplicationId: _this.chuid,
             loanApplicationNumber:_this.form.loanApplicationNumber,
             auditSchedule:_this.form.auditSchedule,
             auditType:3,
              auditView: value,
              bUserId:_this.form.bUserId,
              bUserName:_this.form.bUserName,
              enterpriseName:_this.form.enterpriseName,

            });

          })
          .then(({
            value
          }) => {
            _this.$modal.msgSuccess("操作成功");
            _this.$router.go(-1)
          });
      },
      infoBtnbhf(row) {
        const _this = this
        this.$prompt("请输入不通过意见", "提醒", {
            confirmButtonText: "确定",
            cancelButtonText: "取消",
            type: "warning",
            inputValidator: (value) => {
              if (!value) {
                return '不通过意见不能为空！';
              }
            }
          })
          .then(function({
            value
          }) {
            return sh({
             loanApplicationId: _this.chuid,
             loanApplicationNumber:_this.form.loanApplicationNumber,
             auditSchedule:_this.form.auditSchedule,
             auditType:3,
             auditView: value,
             enterpriseName:_this.form.enterpriseName,
            });

          })
          .then(({
            value
          }) => {
            _this.$modal.msgSuccess("操作成功");
            _this.$router.go(-1)
          });
      },
      infoBtnchex(){
        const _this = this
        this.$confirm('是否撤销', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return cx({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            loanSchedule:_this.form.loanSchedule,
            loanApplicationType:_this.form.loanApplicationType,
            auditSchedule:_this.form.auditSchedule,
            auditType:_this.form.auditType,
            aUserId:_this.form.aUserId,
            bUserId:_this.form.bUserId,
            fUserId:_this.form.fUserId,
            enterpriseName:_this.form.enterpriseName,
            reviewSchedule:_this.form.reviewSchedule
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },

      infoBtngd(){
        const _this = this
        this.$confirm('是否归档', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return gd({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            loanSchedule:_this.form.loanSchedule,
            loanApplicationType:_this.form.loanApplicationType,
            auditSchedule:_this.form.auditSchedule,
            auditType:_this.form.auditType,
            aUserId:_this.form.aUserId,
            bUserId:_this.form.bUserId,
            fUserId:_this.form.fUserId,
            enterpriseName:_this.form.enterpriseName,
            // auditSchedule:_this.form.auditSchedule
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("提交成功");
        })
      },
      asjefan(){
        const _this = this
        this.$confirm('是否授权A角色提前开放，放款通知书', "提醒", {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning"
        }).then(function() {
          return authorize({
            loanApplicationId: _this.chuid,
            loanApplicationNumber:_this.form.loanApplicationNumber,
            aUserId:_this.form.aUserId,
            bUserId:_this.form.bUserId,
            fUserId:_this.form.fUserId,
            enterpriseName:_this.form.enterpriseName,
            // auditSchedule:_this.form.auditSchedule
            // xmStatus:row.xmStatus
          })
        }).then(() => {
          _this.$router.go(-1)
          _this.$modal.msgSuccess("操作成功");
        })
      },
      danfeu(row) {
        console.log(row, this.deptdis)
        this.huifeg = row
        // if (this.deptdis.length != 0) {
        //         let arr = this.$refs['cascaderMallCatergory'].getCheckedNodes()[0].pathLabels
        //         console.log('mallCatergoryCode', this.deptdis)
        //         console.log(this.$refs['cascaderMallCatergory'].getCheckedNodes()[0])
        //       }
        // this.form.proposalUnitReplyList.deptname =  row.deptName
      },
      danbesf(val){
         console.log(val)
         if(val == 'N'){
           this.isshenyi = true
         }else{
           this.isshenyi = false
         }
      },
      danfeuj(row) {
        this.form.zbUnitReply.deptname = row.deptName
        this.form.type = '2'
      },
      nglseglianm(row) {
        if (row.isJointly == '1') {
          this.$message.error("联名状态为否，没有联名人员信息。");
          return
        } else {
          if (row.proposalUserList == null) {
            row.proposalUserList = []
          }
          this.openlianm = true
        }
      },
      ingwd(val){
       // this.reset();
       this.formlog.fjUrl =undefined
       if(val == '3'){
         this.isfengw = true
         this.formlog.fjUrl =undefined
         this.formlog.auditView = null
         this.formlog.imageUrl =undefined
         this.formlog.aUserId = undefined
         this.formlog.aUserName = undefined
         this.formlog.bUserId = undefined
         this.formlog.bUserName = undefined
       }else{
         this.isfengw = false
       }
       console.log(val)
      },
      fena(val){
        this.formlog.aUserName = val.userName
      },
      fenb(val){
        this.formlog.bUserName = val.userName
      },
      fenf(val){
        this.formlog.fUserName = val.userName
      },
      fensh(val){
        console.log(val)
      },
      getlseg() {
        this.getDicts("application_fj_wjcj").then(response => {
          // this.lisfu = response.data;
          response.data.filter(rou => {
            console.log(rou.dictValue,this.jinzde.type)
            if (rou.dictValue == this.jinzde.type) {
              console.log(rou.dictLabel)
              this.jinzde.fileName = rou.dictLabel
            }
            if(this.jinzde.type == 'qtfj'){
                this.jinzde.fileName = '其他附件'
            }
          })
        });
      },
      getlsegqt() {
        this.getDicts("application_fj_other").then(response => {
          // this.lisfu = response.data;
          response.data.filter(rou => {
            console.log(rou.dictValue,this.jinzde.type)
            if (rou.dictValue == this.jinzde.type) {
              console.log(rou.dictLabel)
              this.jinzde.fileName = rou.dictLabel
            }

          })
        });
      },

      xiugae(rows){
        console.log(rows,3)
        this.isfuejg = rows
        this.reset();
        this.huifeg = {}
        this.getlseg()
        this.jinzde.loanApplicationNumber = this.isfuejg.loanApplicationNumber
        this.jinzde.bigType = this.isfuejg.bigType
        this.jinzde.type = this.isfuejg.type
        // this.isfuejg
        this.jinzde.loanApplicationId = this.isfuejg.loanApplicationId
        this.formlog.loanApplicationId = this.isfuejg.loanApplicationId
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
        this.isnue = 7
        this.open = true
        // scfh(this.formlog.fjUrl).then(response => {
        //   this.$modal.msgSuccess("操作成功");
        //   this.open = false;
        //   // this.$router.go(-1)
        // });
        // xzfh(this.formlog.fjUrl).then(response => {
        //   this.$modal.msgSuccess("操作成功");
        //   this.open = false;
        // });
      },
      xiugaegh(rows){
        console.log(rows,3)
        this.isfuejg = rows
        this.reset();
        this.huifeg = {}
        this.getlsegqt()
        this.jinzde.loanApplicationNumber = this.isfuejg.loanApplicationNumber
        this.jinzde.bigType = this.isfuejg.bigType
        this.jinzde.type = this.isfuejg.type
        // this.isfuejg
        this.jinzde.loanApplicationId = this.isfuejg.loanApplicationId
        this.formlog.loanApplicationId = this.isfuejg.loanApplicationId
        this.formlog.loanApplicationNumber = this.form.loanApplicationNumber
        this.formlog.auditSchedule = this.form.auditSchedule
        this.formlog.fjUrl = []
        this.isnue = 22
        this.open = true
        // scfh(this.formlog.fjUrl).then(response => {
        //   this.$modal.msgSuccess("操作成功");
        //   this.open = false;
        //   // this.$router.go(-1)
        // });
        // xzfh(this.formlog.fjUrl).then(response => {
        //   this.$modal.msgSuccess("操作成功");
        //   this.open = false;
        // });
      },
      qianfe(row){
        console.log(row)
        this.$router.push({
          path: '/shenbaoxinx/chkawe',
        		query: {
        			'url':row.url,
        		}
        })
      }
    }
  };
</script>
<style lang="scss">
  .ingsfwf{
    .el-image{
      display: flex;
      justify-content: cnter;
      align-items: center;
      .el-image__inner{
        width: auto;height: auto;max-width: 100%;max-height: 100%;
        margin-left:50%;
        transform: translateX(-50%);
      }
    }
  }
  .mugid{
    .el-menu{
      border: none;
    }
  }
  .osge{
    .el-dialog__body{
      padding-top: 0;
      padding-left: 0;
      padding-bottom: 0;
      height: 550px;
    }
    .el-dialog__header{
      padding: 0;
    }
  }
  .psieg{
    margin-top: 15px;
    span{
      font-weight: 800;
          font-size: 22px;
          color: #222327;

    }
  }
  .buzhoudt {
    .el-step.is-center .el-step__line {
      left: 67%;
    }

    .el-step__icon-inner {
      display: none;
    }

    .el-step__head {
      width: 84%;
    }

    .is-success {
     color: #343434 !important;
     border-color: #004BF6 !important;
    }

    .is-finish {
      color: #343434;
      border-color: #004BF6;

    }

    .is-finish .el-step__icon.is-text {
      background-color: #004BF6;
    }
  }

  .buzhoudtf {
    .el-step.is-center .el-step__line {
      // left:67%;
    }

    .el-step__icon-inner {
      display: none;
    }

    .el-step__head {
      // width: 84%;
    }

    .is-success {
      color: #343434 !important;
      border-color: #004BF6 !important;
    }

    .is-finish {
      color: #343434;
      border-color: #004BF6;

    }

    .is-finish .el-step__icon.is-text {
      background-color: #004BF6;
    }
  }

  .xiangqs {
    position: relative;

    .el-form-item {
      display: flex;
      flex-direction: column;

      .el-form-item__content {
        margin-left: 0 !important;
      }
    }

    .is-process {
      color: #C0C4CC;
      border-color: #C0C4CC;
      font-weight: 400;
    }

  }
</style>
<style scoped lang="scss">
  .hgwengsk{
    margin-bottom: 15px;
    p{
      margin-right: 10px;
      display: flex;
      align-items: center;
      font-weight: bold;
      font-size: 16px;
      color: #666666;
      cursor: pointer;
      img{
        margin-right: 10px;
      }
    }
    .acte{
      color: #00A9F0;
    }
  }
  .wengj{
    display: flex;
    align-items: center;
    padding-left: 20px;
    p{
      font-family: PingFang SC;
      font-weight: bold;
      font-size: 17px;
      color: #222327;
    }
    img{
      width:20px;
      height: 20px;
      margin-right: 20px;
    }
  }
  .tabse {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 30px;

    p {
      font-family: PingFang SC;
      font-weight: 500;
      font-size: 16px;
      color: #666666;
      margin-right: 10px;
      cursor: pointer;
    }

    .istab {
      font-weight: 800;
      font-size: 16px;
      color: #00A9F0;
      position: relative;
    }

    .istab::after {
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      content: "";
      display: inline-block;
      width: 50%;
      height: 4px;
      background-color: #00A9F0;
      border-radius: 2px;
    }
  }

  .xiangwq {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;

    .xiangw_ont {
      // flex:1;
      overflow:hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
      p {
        font-weight: 500;
        font-size: 14px;
        color: #AAAAAA;
        overflow:hidden; //超出的文本隐藏
        text-overflow:ellipsis; //溢出用省略号显示
        white-space:nowrap; //溢出不换行
      }

      p:nth-child(2) {
        font-weight: 800;
        font-size: 22px;
        color: #222327;
        margin-top: 15px;

        span {
          font-size: 14px;
        }
      }

    }
  }

  .btitili {
    display: flex;
    align-items: center;
  }

  .pignjue {
    background: #FFE7C1;
    border-radius: 4px;
    font-family: PingFang SC;
    font-weight: bold;
    font-size: 14px;
    color: #FF6924;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    margin-left: 10px;
    display: flex;
    align-items: center;

    img {
      margin-left: 5px;
    }
  }

  .image-text_4 {
    justify-content: center;
    align-items: center;
    // width: 98px;
    // height: 121px;
    // margin: 37px 0 0 314px;
  }

  .flex-col {
    display: flex;
    flex-direction: column;
  }

  .justify-between {
    display: flex;
    justify-content: space-between;
  }

  .lkawe {
    font-size: 15px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #161616;
    // padding-left: 22px;
  }

  .nhgel {
    height: 170px;
    background-color: #313b61;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .nhgwr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
  }

  .ngrjhgq {
    display: flex;

    .bklwd {
      color: #E6E6E6;
      margin: 0 10px;
    }
  }

  .rkba {
    width: 320px;
    height: 526px;
    background: url('../../../assets/images/pic_xq_ssxs_phone.png') no-repeat;
    background-size: 100% 100%;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 10px;

    div {

      // height:100%;
      p {
        color: red;
        word-break: normal;
        white-space: pre-warp;
        word-wrapL: break-word;
      }
    }

  }

  .mjkse {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    background: url('../../../assets/images/pic_bg_tb.png') no-repeat;
    background-size: 100% 100%;
    // background-color: ;
    // margin-left: 50%;
    // transform: translateX(-50%);
    padding: 20px;

    .hb {
      font-size: 20px;
      font-family: Source Han Sans SC;
      font-weight: 800;
      color: #04BFA1;
    }

    .yu {
      font-size: 14px;
      font-family: Source Han Sans SC;
      font-weight: 700;
      color: #04BFA1 !important;
      margin-top: 15px;
    }

  }

  .htle {
    position: relative;
    top: -4px;
    left: 0;
    box-shadow: 0px 4px 20px rgba(3, 104, 88, 0.4);
    border-radius: 10px;
    padding-top: 25px;

    p {
      font-size: 14px;
      font-family: Source Han Sans SC;
      font-weight: 700;
      color: #04BFA1 !important;
      text-align: center;
      // margin-top: 28px;
    }
  }

  .ybla {
    display: flex;
    align-items: center;
    justify-content: center;

    p {
      font-weight: 400;
      font-size: 14px;
      margin-top: 0;
      margin: 0 20px;
    }
  }

  .hbdes {
    margin-top: 10px;
  }

  video {
    width: 100%;
  }

  .app-container {
    background-color: #f3f4f6;
    padding-top: 10px;
    // height: 100vh;
  }

  .ntg {
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;

    .pagination-container {
      height: 50px;
    }
  }

  p {
    margin: 0;
  }

  .nghf {
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
  }

  .p {
    font-size: 17px;
    font-family: PingFang SC;
    font-weight: 800;
    color: #313B61;
  }

  .namrt {
    border: 1px solid #04BFA1;
    background-color: #F3F8F8;
    width: 100%;
    display: flex;
    padding: 10px 0;
    margin: 20px 0;

    p:nth-child(1) {
      font-size: 16px;
      font-family: PingFang SC;
      font-weight: bold;
      color: #161616;
      width: 10%;
      text-align: right;
      padding-right: 10px;
    }

    p:nth-child(2) {
      width: 90%;
      font-size: 14px;
      font-family: PingFang SC;
      font-weight: 500;
      color: #666666;
      line-height: 26px;
      padding-right: 10px;
    }
  }

  .activ {
    font-size: 16px;
    color: #04BFA1;
    font-weight: 700;
  }

  .nbgdecj {
    color: #aaa;
    font-size: 16px;
  }

  .jivb {
    display: flex;
    align-items: center;
    line-height: 26px;
    font-size: 15px;
    font-family: PingFang SC;
    font-weight: bold;
    color: #343434;
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid #E6E6E6;
    cursor:pointer;
    img {
      margin-right: 10px;
    }

    // span{
    // 	width:8px;
    // 	background-color: #5974E0;
    // 	height: 26px ;
    // 	border-radius: 4px;
    // 	margin-right: 15px;
    // }
    // border-left: 8px solid #04BFA1;

  }
</style>
