<template>
  <a-spin :spinning="uploading" size="large" tip="正在提交资料，请勿关闭当前网页...">
    <!--  客户信息-->
    <a-page-header
      style="background-color: #FFFFFF;margin-bottom:10px"
      title="行短稽核资料整改"
      :sub-title="notes"
      @back="back"
    >
      <div>
        <a-form-model
          ref="form"
          :model="infoModel"
          :rules="rules"
        >
          <a-row v-if="infoModel.infoResult =='2'">
            <a-col :span="6">

              <a-form-model-item label="客户编号" v-bind="labelCol4" >
                <a-input   v-model="infoModel.customerNo" placeholder="客户编号" :disabled='true'></a-input>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="用户编号"   v-bind="labelCol4" >
                <a-input   v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="入网时间"   v-bind="labelCol4" >
                <a-input   v-model="infoModel.networkAccessTime" placeholder="入网时间" :disabled='true'></a-input>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="用户发展员工" prop="staffNo" v-bind="labelCol4">
                <a-input  v-model="infoModel.staffNo" placeholder="用户发展员工" :disabled='true'></a-input>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="发展员工姓名" prop="staffNo" v-bind="labelCol4">
                <a-input  v-model="infoModel.staffName" placeholder="发展员工姓名" :disabled='true'></a-input>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
                <a-input  :disabled='isShow'  v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
              </a-form-model-item>
            </a-col>
            <a-col  :span="6">
<!--              <a-form-model-item label="用户状态" prop="userState" v-bind="labelCol4">-->
<!--                <a-input  v-model="infoModel.userState" placeholder="用户状态" :disabled='true'></a-input>-->
<!--              </a-form-model-item>-->
              <a-form-item label="用户状态" prop="userState" v-bind="labelCol4"   >
                <j-dict-select-tag placeholder="请选择用户状态"  :disabled='isShow'  v-model="infoModel.userState" dictCode="user_status_2"/>
              </a-form-item>
            </a-col>

            <a-col :span="6">
              <a-form-model-item label="码号" prop="codeNumber" v-bind="labelCol4">
                <a-input  :disabled='isShow'  v-model="infoModel.codeNumber" placeholder="(接入开通码号95/96/10/11/12/106/400（不含拓展位长））"></a-input>
              </a-form-model-item>
            </a-col>

            <a-col :span="6">
              <a-form-model-item label="号码详细用途" prop="numberUse" v-bind="labelCol4">
                <a-input  :disabled='isShow'  v-model="infoModel.numberUse" placeholder="（文字描述，最大200字。）"></a-input>
              </a-form-model-item>
            </a-col>


            <a-col :span="6">
              <a-form-model-item label="客户经理手机号" prop="managePhone" v-bind="labelCol4">
                <a-input :disabled='isShow'  v-model="infoModel.managePhone" placeholder="客户经理手机号"></a-input>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="单位联系人手机号" prop="codeNumberContactPhone" v-bind="labelCol4">
                <a-input  :disabled='isShow' v-model="infoModel.codeNumberContactPhone" placeholder="业务合同码号使用单位联系人手机号"></a-input>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="是否完成整改" prop="isComplete" v-bind="labelCol4">
                <a-radio-group v-model="infoModel.isComplete" button-style="solid" @change="stepLoading"  :disabled='isShow'>
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="6">
              <a-form-model-item label="是否为CSP商" prop="isCsp" v-bind="labelCol4">
                <a-radio-group  :disabled='isShow' v-model="infoModel.isCsp" button-style="solid" @change="stepLoading">
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="10">
              <a-form-model-item label="码号证书营业执照合同签约方主体是否一致" prop="codeNumberBusinessLicense" v-bind="labelCol5">
                <a-radio-group  :disabled='isShow' v-model="infoModel.codeNumberBusinessLicense" button-style="solid" @change="stepLoading">
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="8">
              <a-form-model-item label="签约号码与证书下发码号是否一致" prop="isSigningNumber" v-bind="labelCol5">
                <a-radio-group  :disabled='isShow' v-model="infoModel.isSigningNumber" button-style="solid" @change="stepLoading">
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>

            <a-col :span="8" v-if='infoModel.contractDateDateIs==="" || infoModel.contractDateDateIs===null || infoModel.contractDateDateIs==="1" '>
              <a-form-model-item label="合同到期时间是否长期" prop="contractDateDateIs" v-bind="labelCol4">
                <a-radio-group  :disabled='isShow' v-model="infoModel.contractDateDateIs" button-style="solid" @change="stepLoading">
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="8"  v-if='infoModel.contractDateDateIs==="0" ' >
              <a-form-model-item label="合同到期时间" prop="contractDateDate" v-bind="labelCol4">
                <a-date-picker  style="min-width:50px; width: 68% "   :disabled='isShow'   v-model="infoModel.contractDateDate"
                               format="YYYY-MM-DD"
                               showTime valueFormat="YYYY-MM-DD"/>
                <a-button  @click="backDate('contractDate')" >长期</a-button>
              </a-form-model-item>

            </a-col>
            <a-col :span="8" v-if='infoModel.businessLicenseDateDateIs==="" || infoModel.businessLicenseDateDateIs===null || infoModel.businessLicenseDateDateIs==="1" '>
              <a-form-model-item label="营业执照有效期是否长期" prop="businessLicenseDateDateIs" v-bind="labelCol4">
                <a-radio-group  :disabled='isShow' v-model="infoModel.businessLicenseDateDateIs" button-style="solid"  >
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="8" v-if='infoModel.businessLicenseDateDateIs==="0"'>
              <a-form-model-item label="营业执照到期时间" prop="businessLicenseDateDate" v-bind="labelCol4">
                <a-date-picker  style="min-width:50px; width: 68% "   :disabled='isShow'    v-model="infoModel.businessLicenseDateDate"
                                format="YYYY-MM-DD"
                                showTime valueFormat="YYYY-MM-DD"/>
                <a-button  @click="backDate('businessLicenseDate')" >长期</a-button>
              </a-form-model-item>

            </a-col>
            <a-col :span="8" v-if='infoModel.codeNumberDateDateIs==="" || infoModel.codeNumberDateDateIs===null || infoModel.codeNumberDateDateIs==="1" '>
              <a-form-model-item label="码号证书有效期是否长期" prop="codeNumberDateDateIs" v-bind="labelCol4">
                <a-radio-group  :disabled='isShow' v-model="infoModel.codeNumberDateDateIs" button-style="solid"  >
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="8" v-if='infoModel.codeNumberDateDateIs==="0" '>
              <a-form-model-item label="码号证书到期时间" prop="codeNumberDateDate" v-bind="labelCol4">
                <a-date-picker  style="min-width:50px; width: 68% "   :disabled='isShow'    v-model="infoModel.codeNumberDateDate"
                                format="YYYY-MM-DD"
                                showTime valueFormat="YYYY-MM-DD"/>
                <a-button  @click="backDate('codeNumberDate')" >长期</a-button>
              </a-form-model-item>

            </a-col>
            <a-col :span="8" v-if='infoModel.filingsDateDateIs==="" || infoModel.filingsDateDateIs===null || infoModel.filingsDateDateIs==="1" '>
              <a-form-model-item label="备案到期时间是否长期" prop="filingsDateDateIs" v-bind="labelCol4">
                <a-radio-group  :disabled='isShow' v-model="infoModel.filingsDateDateIs" button-style="solid"  >
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="8"  v-if='infoModel.filingsDateDateIs==="0" '>
              <a-form-model-item label="备案通知到期时间" prop="filingsDateDate" v-bind="labelCol4">
                <a-date-picker  style="min-width:50px; width: 68% "   :disabled='isShow'     v-model="infoModel.filingsDateDate"
                                format="YYYY-MM-DD"
                                showTime valueFormat="YYYY-MM-DD"/>
                <a-button  @click="backDate('filingsDate')" >长期</a-button>
              </a-form-model-item>
            </a-col>


            <a-col :span="8" v-if='infoModel.permitDateDateIs==="" || infoModel.permitDateDateIs===null || infoModel.permitDateDateIs==="1" '>
              <a-form-model-item label="增值业务许可证是否长期"   :prop='infoModel.isCsp==="1"?"permitDateDateIs":""'  v-bind="labelCol4">
                <a-radio-group  :disabled='isShow' v-model="infoModel.permitDateDateIs" button-style="solid"  >
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>
            <a-col :span="8"  v-if='infoModel.permitDateDateIs==="0" '>
              <a-form-model-item label="增值业务许可证到期时间" :prop='infoModel.isCsp==="1"?"permitDateDate":""'  v-bind="labelCol4">
                <a-date-picker  style="min-width:50px; width: 68% "   :disabled='isShow'   v-model="infoModel.permitDateDate"
                                format="YYYY-MM-DD"
                                showTime valueFormat="YYYY-MM-DD"/>
                <a-button  @click="backDate('permitDate')" >长期</a-button>
              </a-form-model-item>

            </a-col>
            <a-col :span="8">
              <a-form-model-item label="资料是否完整" prop="isAll" v-bind="labelCol4">
                <a-radio-group  :disabled='isShow' v-model="infoModel.isAll" button-style="solid" @change="stepLoading">
                  <a-radio-button value="0">否</a-radio-button>
                  <a-radio-button value="1">是</a-radio-button>
                </a-radio-group>
              </a-form-model-item>
            </a-col>

          </a-row>
          <a-row v-if="infoModel.infoResult =='1'">
              <a-col :span="6">
                <a-form-model-item label="客户编号" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.customerNo }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="客户名称" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.customerName }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="单位联系人手机号" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.codeNumberContactPhone }}</span>
                </a-form-model-item>
              </a-col>

              <a-col :span="6">
                <a-form-model-item label="客户经理手机号" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.managePhone }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="用户状态" prop="openingNumber" v-bind="labelCol4">
                  <span v-if='userState==="1"'  >在用</span>
                  <span v-if='userState==="2"'  >停机</span>
                  <span v-if='userState==="3"'  >拆机</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="码号编号" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.codeNumber }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="增值业务许可证到期时间" prop="openingNumber" v-bind="labelCol6">
                  <span   class="cornflowerblue">{{ infoModel.permitDateDate==="" ?"长期": infoModel.permitDateDate }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="是否完成整改" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.isComplete==='1' ?'是':  infoModel.isComplete===''?'':'否'   }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="用户发展员工" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.staffNo }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="入网时间" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.networkAccessTime }}</span>
                </a-form-model-item>
              </a-col>

              <a-col :span="6">
                <a-form-model-item label="码号证书营业执照合同签约方主体是否一致" prop="openingNumber" v-bind="labelCol7">
                  <span   class="cornflowerblue">{{ infoModel.codeNumberBusinessLicense==='1'?'是':infoModel.codeNumberBusinessLicense===''?'':'否'  }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="是否为CSP商" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.isCsp==='1'?'是':infoModel.isCsp===''?'':'否'  }}</span>
                </a-form-model-item>
              </a-col>


              <a-col :span="6">
                <a-form-model-item label="用户编号" prop="userNo" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.customerName }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="资料是否完整" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.isAll==='1'?'是':infoModel.isAll===''?'':'否'  }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="签约号码与证书下发码号是否一致" prop="openingNumber" v-bind="labelCol6">
                  <span   class="cornflowerblue">{{ infoModel.isSigningNumber==='1'?'是':infoModel.isSigningNumber===''?'':'否'  }}</span>
                </a-form-model-item>
              </a-col>


              <a-col :span="6">
                <a-form-model-item label="用户发展员工姓名" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.staffName }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="合同到期时间" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.contractDateDate==="" ?"长期": infoModel.contractDateDate }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="营业执照到期时间" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{  infoModel.businessLicenseDateDate==="" ?"长期": infoModel.businessLicenseDateDate }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="码号证书到期时间" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.codeNumberDateDate==="" ?"长期":infoModel.codeNumberDateDate }}</span>
                </a-form-model-item>
              </a-col>
              <a-col :span="6">
                <a-form-model-item label="备案通知到期时间" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.filingsDateDate==="" ?"长期": infoModel.filingsDateDate }}</span>
                </a-form-model-item>
              </a-col>

              <a-col :span="6">
                <a-form-model-item label="号码详细用途" prop="openingNumber" v-bind="labelCol4">
                  <span   class="cornflowerblue">{{ infoModel.numberUse }}</span>
                </a-form-model-item>
              </a-col>
          </a-row>
          <div  >
            <a-form-model-item label="稽核状态" prop="basicCheckState" v-bind="labelCol1">
              <a-tag class="font-size-14" v-if="infoModel.infoResult == '2'" color="#f50">未通过</a-tag>
              <a-tag class="font-size-14" v-if="infoModel.infoResult =='1'" color="#2db7f5">通过</a-tag>
            </a-form-model-item>
            <a-form-model-item label="稽核结果" prop="basicCheckNote" v-bind="labelCol1">
              <a-tag class="font-size-14" color="orange">{{ infoModel.infoResultRemark }}</a-tag>
            </a-form-model-item>
          </div>

<!--          <div >-->
<!--            <a-form-model-item style="left: 0%;width: 90%;" label="稽核是否通过" prop="basicCheckState" v-bind="labelCol1Note">-->
<!--            <span-->
<!--              :style="{'color':infoModel.infoResult == '1' ? 'red' : 'blue'}">{{-->
<!--                infoModel.infoResult == '1' ? '未通过' : '通过'-->
<!--              }}</span>-->
<!--            </a-form-model-item>-->

<!--            <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">-->
<!--              <span>{{ infoModel.infoResultRemark }}</span>-->
<!--            </a-form-model-item>-->
<!--          </div>-->
<!--          <hr>-->
<!--          <div style="width: 100%;float:left;margin-left: 18%">-->
<!--            <a-list size="large"  >-->
<!--              <template>-->

<!--                <a-list-item style='height: 60px' >-->
<!--                   <a-col :span="6" >-->
<!--                    <div>-->
<!--                      <div style="float:left;margin: 50px 3px" id="directRequirements">稽核是否通过</div>-->
<!--                      <div style="float:left;margin: 50px 10px;" >-->
<!--                        <a-radio-group  button-style="solid"  :disabled='true' v-model='infoModel.infoResult'>-->
<!--                          <a-radio :value="'1'">是</a-radio>-->
<!--                          <a-radio :value="'2'">否</a-radio>-->
<!--                        </a-radio-group>-->
<!--                      </div>-->
<!--                    </div>-->
<!--                  </a-col>-->
<!--                  <a-col :span="18" >-->
<!--                    <div style="clear: both"></div>-->
<!--                    <a-form-model-item label="稽核结果备注" prop="basicCheckNote" style="float:left;margin: 50px 10px;" :labelCol="{ span: 5 }" :wrapperCol="{ span: 15 }" >-->
<!--                      <a-textarea v-model=infoModel.infoResultRemark :disabled='true' placeholder="请输入上述信息的稽核结果" style="float:left;margin: 3px 3px;height:50px; width: 300px;"   />-->
<!--                    </a-form-model-item>-->

<!--                  </a-col>-->
<!--                </a-list-item>-->
<!--              </template>-->
<!--            </a-list><div v-if='infoModel.infoResult==="2"' style="color: red;margin:0 auto"  >稽核未通请确认上述填写信息...</div>-->
<!--          </div>-->

        </a-form-model>
      </div>

    </a-page-header>

    <!--    步骤条-->
    <a-card style="margin-bottom:10px;width: 15%;float: left">
      <a-steps direction="vertical" :current="steps.current" size="small" @change="stepsClick">
        <a-step v-for="item in steps.stepsNow" :key="item.title"   :status="item.status" >
<!--          <a-icon  :type="item.type" :slot="item.slot"   />-->
          <a-icon v-if="item.solution" style='color: #faad14;' :type="item.type"  :slot="item.slot" />
          <span  v-if="item.solution"  style='color: sandybrown' slot="title" >{{item.title}}</span>
          <span v-else    slot="title" >{{item.title}}</span>
        </a-step>
      </a-steps>
      <a-button @click="addIsStaging" style="width: 100%" type="warn">暂存</a-button>
      <a-button @click="submitAuditLot" style="width: 100%;position: relative;top: 10px" type="primary">提交申请</a-button>
    </a-card>
    <!--    合同到期时间（YYYY-MM-DD）-->
    <a-card v-if="steps.currentId == 'contractDate'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px">合同资料</span>
      </div>

      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.contractDateResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.contractDateResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.contractDateResultRemark }}</a-tag>
        </a-form-model-item>
      </div>

      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.contractDateResult==='1'">{{ infoModel.contractDateRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.contractDateResult==='1'?true:false"
                    v-model="infoModel.contractDateRemark"
                    @change="textareaChange('contractDate','contractDateRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
      <!--      文件上传-->
      <!--      附件-->
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.contractDateResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'contractDate')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.contractDate" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.contractDateResult ==='2' && infoModel.contractDate.length && item.urlBase"
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'contractDate')">移除
              </a-button>

              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.contractDate.length && item.urlBase "
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>

            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.contractDate"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'contractDate')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.contractDateResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传合同</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--      营业执照到期时间-->
    <a-card v-if="steps.currentId == 'businessLicenseDate'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px">营业执照资料</span>
      </div>
      <!--      文件上传-->


      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.businessLicenseDateResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.businessLicenseDateResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.businessLicenseDateResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.businessLicenseDateResult==='1'">{{ infoModel.businessLicenseDateRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.businessLicenseDateResult==='1'?true:false"
                    v-model="infoModel.businessLicenseDateRemark"
                    @change="textareaChange('businessLicenseDate','businessLicenseDateRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
      <!--      附件-->

     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.businessLicenseDateResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'businessLicenseDate')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.businessLicenseDate" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.businessLicenseDateResult ==='2' && infoModel.businessLicenseDate.length && item.urlBase"
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'businessLicenseDate')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.businessLicenseDate.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.businessLicenseDate"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'businessLicenseDate')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.businessLicenseDateResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传营业执照到期时间资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--      码号证书到期时间资料-->
    <a-card v-if="steps.currentId == 'codeNumberDate'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px">码号证书资料</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.codeNumberDateResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.codeNumberDateResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.codeNumberDateResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.codeNumberDateResult==='1'">{{ infoModel.codeNumberDateRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.codeNumberDateResult==='1'?true:false"
                    v-model="infoModel.codeNumberDateRemark"
                    @change="textareaChange('codeNumberDate','codeNumberDateRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
      <!--      附件-->

     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.contractDateResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'codeNumberDate')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.codeNumberDate" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.codeNumberDateResult ==='2' && infoModel.codeNumberDate.length && item.urlBase"
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'codeNumberDate')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.codeNumberDate.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.codeNumberDate"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'codeNumberDate')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.codeNumberDateResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传码号证书到期时间资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--      备案通知到期时间-->
    <a-card v-if="steps.currentId == 'filingsDate'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 备案通知资料</span>
      </div>

      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.filingsDateResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.filingsDateResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.filingsDateResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.filingsDateResult==='1'">{{ infoModel.filingsDateRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.filingsDateResult==='1'?true:false"
                    v-model="infoModel.filingsDateRemark"
                    @change="textareaChange('filingsDate','filingsDateRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.filingsDateResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'filingsDate')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.filingsDate" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.filingsDateResult ==='2'&&infoModel.filingsDate.length && item.urlBase  "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'filingsDate')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.filingsDate.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.filingsDate"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'filingsDate')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.filingsDateResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传备案通知到期时间资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--      增值业务许可证到期时间-->
    <a-card v-if="steps.currentId == 'permitDate'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 增值业务许可证资料</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.permitDateResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.permitDateResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.permitDateResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.permitDateResult==='1'">{{ infoModel.permitDateRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.permitDateResult==='1'?true:false"
                    v-model="infoModel.permitDateRemark"
                    @change="textareaChange('permitDate','permitDateRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>

     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.permitDateResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'permitDate')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.permitDate" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.permitDateResult ==='2'&&infoModel.permitDate.length && item.urlBase  "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'permitDate')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.permitDate.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.permitDate"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'permitDate')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.permitDateResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传增值业务许可证到期时间资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--      法人/责任人证件-->
    <a-card v-if="steps.currentId == 'corporationCard'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 法人/责任人证件资料</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.corporationCardResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.corporationCardResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.corporationCardResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.corporationCardResult==='1'">{{ infoModel.corporationCardRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.corporationCardResult==='1'?true:false"
                    v-model="infoModel.corporationCardRemark"
                    @change="textareaChange('corporationCard','corporationCardRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.corporationCardResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'corporationCard')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.corporationCard" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.corporationCardResult ==='2'&&infoModel.corporationCard.length && item.urlBase  "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'corporationCard')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.corporationCard.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.corporationCard"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'corporationCard')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.corporationCardResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传法人/责任人证件资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>

    <!--   责任人授权书-->
    <a-card v-if="steps.currentId == 'personResponsible'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 责任人授权书资料</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.personResponsibleResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.personResponsibleResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.personResponsibleResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.personResponsibleResult==='1'">{{ infoModel.personResponsibleRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.personResponsibleResult==='1'?true:false"
                    v-model="infoModel.personResponsibleRemark"
                    @change="textareaChange('personResponsible','personResponsibleRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.personResponsibleResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'personResponsible')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.personResponsible" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.personResponsibleResult ==='2' &&infoModel.personResponsible.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'personResponsible')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.personResponsible.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.personResponsible"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'personResponsible')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.personResponsibleResult ==='2' ">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传责任人授权书资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--   经办人证件-->
    <a-card v-if="steps.currentId == 'operatorCard'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 经办人证件资料</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.operatorCardResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.operatorCardResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.operatorCardResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.operatorCardResult==='1'">{{ infoModel.operatorCardRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.operatorCardResult==='1'?true:false"
                    v-model="infoModel.operatorCardRemark"
                    @change="textareaChange('operatorCard','operatorCardRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.operatorCardResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'operatorCard')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.operatorCard" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.operatorCardResult ==='2' &&infoModel.operatorCard.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'operatorCard')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.operatorCard.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.operatorCard"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'operatorCard')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.operatorCardResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传经办人证件资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--    经办人手持身份证照片（背景需为电信营业厅或白墙-->
    <a-card v-if="steps.currentId == 'operatorCardPhone'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 经办人手持身份证照片</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.operatorCardPhoneResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.operatorCardPhoneResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.operatorCardPhoneResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.operatorCardPhoneResult==='1'">{{ infoModel.operatorCardPhoneRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.operatorCardPhoneResult==='1'?true:false"
                    v-model="infoModel.operatorCardPhoneRemark"
                    @change="textareaChange('operatorCardPhone','operatorCardPhoneRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.operatorCardPhoneResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'operatorCardPhone')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.operatorCardPhone" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.operatorCardPhoneResult ==='2' &&infoModel.operatorCardPhone.length && item.urlBas "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'operatorCardPhone')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.operatorCardPhone.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.operatorCardPhone"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'operatorCardPhone')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.operatorCardPhoneResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传经办人手持身份证照片</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>

    <!--    机房设备照片-->
    <a-card v-if="steps.currentId == 'devicePhone'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 机房设备照片</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.devicePhoneResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.devicePhoneResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.devicePhoneResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.devicePhoneResult==='1'">{{ infoModel.devicePhoneRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.devicePhoneResult==='1'?true:false"
                    v-model="infoModel.devicePhoneRemark"
                    @change="textareaChange('devicePhone','devicePhoneRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.devicePhoneResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'devicePhone')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.devicePhone" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.devicePhoneResult ==='2'&&infoModel.devicePhone.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'devicePhone')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.devicePhone.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.devicePhone"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'devicePhone')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.devicePhoneResult ==='2' ">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传机房设备照片</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>

    <!--    短信模板-->
    <a-card v-if="steps.currentId == 'textMessage'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 短信模板</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.textMessageResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.textMessageResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.textMessageResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.textMessageResult==='1'">{{ infoModel.textMessageRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.textMessageResult==='1'?true:false"
                    v-model="infoModel.textMessageRemark"
                    @change="textareaChange('textMessage','textMessageRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.textMessageResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'textMessage')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.textMessage" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.textMessageResult ==='2' &&infoModel.textMessage.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'textMessage')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.textMessage.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.textMessage"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'textMessage')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.textMessageResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传短信模板</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--    端口类短信业务责任承诺书-->
    <a-card v-if="steps.currentId == 'textMessageBook'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 端口类短信业务责任承诺书</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.textMessageBookResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.textMessageBookResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.textMessageBookResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.textMessageBookResult==='1'">{{ infoModel.textMessageBookRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.textMessageBookResult==='1'?true:false"
                    v-model="infoModel.textMessageBookRemark"
                    @change="textareaChange('textMessageBook','textMessageBookRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.textMessageBookResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'textMessageBook')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.textMessageBook" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.textMessageBookResult ==='2' &&infoModel.textMessageBook.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'textMessageBook')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.textMessageBook.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.textMessageBook"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'textMessageBook')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.textMessageBookResult ==='2' ">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传端口类短信业务责任承诺书</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>

    <!--    信息安全责任承诺书-->
    <a-card v-if="steps.currentId == 'secureBook'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 信息安全责任承诺书</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.secureBookResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.secureBookResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.secureBookResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.secureBookResult==='1'">{{ infoModel.secureBookRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.secureBookResult==='1'?true:false"
                    v-model="infoModel.secureBookRemark"
                    @change="textareaChange('secureBook','secureBookRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.secureBookResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'secureBook')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.secureBook" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.secureBookResult ==='2' &&infoModel.secureBook.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'secureBook')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.secureBook.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.secureBook"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'secureBook')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.secureBookResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传信息安全责任承诺书</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--    特殊资费审批（标准资费无需提供）-->
    <a-card v-if="steps.currentId == 'special'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 特殊资费审批（标准资费无需提供）</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.specialResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.specialResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.specialResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.specialResult==='1'">{{ infoModel.specialRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.specialResult==='1'?true:false"
                    v-model="infoModel.specialRemark"
                    @change="textareaChange('special','specialRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.specialResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'special')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.special" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.specialResult ==='2' &&infoModel.special.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'special')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.special.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.special"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'special')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.specialResult ==='2' ">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传特殊资费审批（标准资费无需提供）</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--    入网签报-->
    <a-card v-if="steps.currentId == 'networkAccess'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 入网签报</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.networkAccessResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.networkAccessResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.networkAccessResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.networkAccessResult==='1'">{{ infoModel.networkAccessRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.networkAccessResult==='1'?true:false"
                    v-model="infoModel.networkAccessRemark"
                    @change="textareaChange('networkAccess','networkAccessRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.networkAccessResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'networkAccess')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.networkAccess" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.networkAccessResult ==='2' &&infoModel.networkAccess.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'networkAccess')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.networkAccess.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>
            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.networkAccess"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'networkAccess')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.networkAccessResult ==='2' ">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传入网签报资料</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
    <!--    集团价格审批-->
    <a-card v-if="steps.currentId == 'groupPriceApproval'"
            style="margin-bottom:10px;
              float: left;width: 83%;left: 2%">
      <div slot="title">
        <span style="float: left;position: relative;top: 4px"> 集团价格审批</span>
      </div>
      <div>
        <a-form-model-item style="left: 0%;width: 90%;" label="稽核状态" prop="basicCheckState" v-bind="labelCol1Note">
          <a-tag class="font-size-14" v-if="infoModel.groupPriceApprovalResult == '2'" color="#f50">未通过</a-tag>
          <a-tag class="font-size-14" v-if="infoModel.groupPriceApprovalResult == '1'" color="#2db7f5">通过</a-tag>
        </a-form-model-item>

        <a-form-model-item style="left: 0%;width: 90%;" label="稽核结果" prop="basicCheckNote" v-bind="labelCol1Note">
          <a-tag class="font-size-14" color="orange">{{ infoModel.groupPriceApprovalResultRemark }}</a-tag>
        </a-form-model-item>
      </div>
      <a-form-model-item style="left: 0%;width: 90%;" label="上传资料备注：" v-bind="labelCol1Note">
        <span v-if="infoModel.groupPriceApprovalResult==='1'">{{ infoModel.groupPriceApprovalRemark }}</span>
        <a-textarea v-else style="height: 77px"  :disabled="infoModel.groupPriceApprovalResult==='1'?true:false"
                    v-model="infoModel.groupPriceApprovalRemark"
                    @change="textareaChange('groupPriceApproval','groupPriceApprovalRemark')"
                    placeholder="上传资料备注"
        />
        <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
      </a-form-model-item>
     <div style="height: 70%">
         <a-upload
          name="file"
          :multiple="true"
          v-if="infoModel.groupPriceApprovalResult ==='2'"
          :action="importMinioUploadAction"
          :customRequest="e => selfUploadContract(e, 'groupPriceApproval')"
          :headers="tokenHeader"
          :showUploadList="false"
          :beforeUpload="importBeforeUpload"
          @change="importHandleChange"
          style='margin-left: 90px'
        >
          <a-button> <a-icon type="upload" /> 上传文件 </a-button>
        </a-upload>
        <div class="thumb-example"  >
          <!-- swiper1 -->
          <swiper
            class="swiper gallery-top"
            :options="swiperOptionTop"
            ref="swiperTop"
          >
            <swiper-slide class="slide-1" v-for="(item, index) in infoModel.groupPriceApproval" :key="item.id">
              <iframe
                v-if="item.urlBase"
                frameborder="1"
                :src="item.urlBase"
                ref="ifr"
                width="85%"
                height="445px"
                scrolling="auto">
              </iframe>
              <div><img style="width: 85%;height: 445px;border: 1px solid;"
                   v-if="!item.urlBase" :src="noDataPng" border="1">
              <a-button v-if="infoModel.groupPriceApprovalResult ==='2' && infoModel.groupPriceApproval.length && item.urlBase "
                       style="display: block;margin-top: 1px;border-color: red;color: red;float: left"
                        danger @click="removeFile(item,'groupPriceApproval')">移除
              </a-button>
              <a-button  style="display: block;position: relative;left:20px;margin-top: 10px;border-color: #1890FF;color: #1890FF"
                         v-if="infoModel.groupPriceApproval.length && item.urlBase"
                         @click="jumpUrl(item.urlBase)">预览
              </a-button></div>

            </swiper-slide>
            <!--            <div
                          class="swiper-button-next swiper-button-white"
                          slot="button-next"
                        ></div>
                        <div
                          class="swiper-button-prev swiper-button-white"
                          slot="button-prev"
                        ></div>-->
          </swiper>
          <!-- swiper2 Thumbs -->
          <swiper
            class="swiper gallery-thumbs"
            :options="swiperOptionThumbs"
            ref="swiperThumbs"
          >
            <swiper-slide
              class="slide"
              style="width:100px;height:100px;"
              v-for="(item, index) in infoModel.groupPriceApproval"
              :key="item.id"
            >
              <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
                <span style="white-space:normal; word-break:break-all;overflow:hidden;">{{ item.fileName }}</span>
              </div>

              <img style="width: 100%;height: 96px"
                   v-if="!item.urlBase" :src="noDataPng" border="1">

            </swiper-slide>
            <!--              点我上传文件按钮-->
            <div class="clearfix">
              <a-upload
                listType="picture-card"
                name="file"
                :multiple="false"
                :action="importMinioUploadAction"
                :customRequest="e => selfUploadContract(e, 'groupPriceApproval')"
                :headers="tokenHeader"
                :showUploadList="false"
                :beforeUpload="importBeforeUpload"
                @change="importHandleChange"
              >
                <div v-if="infoModel.groupPriceApprovalResult ==='2'">
                  <a-icon type="plus"/>
                  <div class="ant-upload-text">点我上传集团价格审批</div>
                </div>
              </a-upload>

            </div>

            <div class="swiper-button-next swiper-button-white" slot="button-next">
              <div>
                <!--                  <img src="../../../../assets/images/nextImg.png" alt=""/>-->
              </div>
            </div>
            <div class="swiper-button-prev swiper-button-white" slot="button-prev">
              <div>
                <!--                  <img src="../../../../assets/images/prevImg.png" alt=""/>-->
              </div>
            </div>
          </swiper>
        </div>
      </div>

    </a-card>
  </a-spin>


</template>

<script>
import {getAction, httpAction, postAction} from "@api/manage";
/*无数据图片*/
import noDataPng from '@/assets/nodata.png'
import Vue from "vue";
import {ACCESS_TOKEN, TENANT_ID} from "@/store/mutation-types";

let Base64 = require('js-base64').Base64
export default {
  name: 'TaskUploadData',
  inject: ['closeCurrent'],
  components: {
    noDataPng
  },
  data() {
    return {
      userState:"",
      //加载属性
      spinningAdd: false,
      //缩略与大图数据源
      swiperId: 1,
      //轮播配置
      swiperOptionTop: {
        zoom: true,
        loop: false,
        loopedSlides: 5, // looped slides should be the same
        spaceBetween: 10,
        observer: true, //修改swiper自己或子元素时，自动初始化swiper
        observeParents: true, //修改swiper的父元素时，自动初始化swiper
        // autoplay: {  //自动轮播
        //   delay: 2000,
        //   disableOnInteraction: false
        // },
        navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev'
        }
      },
      swiperOptionThumbs: {
        loop: false,
        loopedSlides: 5, // looped slides should be the same
        spaceBetween: 10,
        centeredSlides: true,
        slidesPerView: 'auto',
        touchRatio: 0.2,
        slideToClickedSlide: true,
        navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev'
        }
      },
      /**无数据图片*/
      noDataPng: noDataPng,
      url: {
        "getInfoDataById": "/smsCheck/customerInfo/queryById",
        "getInfoDataByInfoId": "/smsCheck/customerData/queryDataLogByInfoId",
        // 上传文件
        "minioUpload": "/smsCheck/customerData/uploadMinio",
      },
      //是否批量上传
      batchImproves: false,
      // 稽核结果
      specialResult: {},
      // 全局是否是在加载中
      uploading: false,
      //上级传参
      query: {
        data: {},
      },
      isShow:false,
      notes:"",
      // 客户资料信息
      infoModel: {
        staffName:"",
        customerNo :"",
        userNo:"",
        networkAccessTime:"",
        logId:"",
        infoResult:"",
        infoResultRemark:"",
        dataId:"",

        infoId:"",
        //是否完成整改
        isComplete:"",
        //资料是否完整
        isAll:"",
        //签约号码与证书下发码号是否一致
        isSigningNumber:"",
        //是否为CSP商
        isCsp:"",
        //码号证书营业执照合同签约方主体是否一致
        codeNumberBusinessLicense:"",
        //码号使用单位联系人手机号
        codeNumberContactPhone:"",
        //客户经理手机号
        managePhone:"",
        //用户发展员工
        staffNo:"",
        //号码用途
        numberUse:"",
        //码号
        codeNumber:"",
        //用户状态
        userState:"",
        // 材料补不全有特审
        materialLabel: "0",
        // 用户类型
        userLable: "0",
        // 申请复开号码
        openingNumber: "",
        // 客户名称
        customerName: "",
        // 最后一次关停时间
        shutdownTime: "",
        // 关停标签
        shutdownLabel: "0",
        // 关停标签-其他
        shutdownLabelOther: "",
        //合同到期时间
        contractDate:[{}],
        contractDateRemark:"",
        contractDateResult:"",
        contractDateDateIs:"",
        contractDateDate:"",
        contractDateResultRemark:"",
        //'营业执照到期时间
        businessLicenseDate:[{}],
        businessLicenseDateDate:"",
        businessLicenseDateDateIs:"",
        businessLicenseDateRemark:"",
        businessLicenseDateResult:"",
        businessLicenseDateResultRemark:"",
        //码号证书到期时间
        codeNumberDate:[{}],
        codeNumberDateRemark:"",
        codeNumberDateDate:"",
        codeNumberDateDateIs:"",
        codeNumberDateResult:"",
        codeNumberDateResultRemark:"",
        //'备案通知到期时间
        filingsDateDate:"",
        filingsDateDateIs:"",
        filingsDate:[{}],
        filingsDateRemark:"",
        filingsDateResultRemark:"",
        filingsDateResult:"",
        //增值业务许可证到期时间
        permitDate:[{}],
        permitDateRemark:"",
        permitDateResultRemark:"",
        permitDateResult:"",
        permitDateDate:"",
        permitDateDateIs:"",
        //法人/责任人证件
        corporationCard:[{}],
        corporationCardRemark:"",
        corporationCardResult:"",
        corporationCardResultRemark:"",
        //责任人授权书
        personResponsible:[{}],
        personResponsibleRemark:"",
        personResponsibleResultRemark:"",
        personResponsibleResult:"",
        //经办人证件
        operatorCard:[{}],
        operatorCardRemark:"",
        operatorCardResult:"",
        operatorCardResultRemark:"",
        //经办人手持身份证照片（背景需为电信营业厅或白墙)
        operatorCardPhone:[{}],
        operatorCardPhoneRemark:"",
        operatorCardPhoneResultRemark:"",
        operatorCardPhoneResult:"",
        //机房设备照片'
        devicePhone:[{}],
        devicePhoneRemark:"",
        devicePhoneResult:"",
        devicePhoneResultRemark:"",
        //短信模板'
        textMessage:[{}],
        textMessageRemark:"",
        textMessageResult:"",
        textMessageResultRemark:"",
        //端口类短信业务责任承诺书'
        textMessageBook:[{}],
        textMessageBookRemark:"",
        textMessageBookResult:"",
        textMessageBookResultRemark:"",
        //信息安全责任承诺书
        secureBook:[{}],
        secureBookRemark:"",
        secureBookResult:"",
        secureBookResultRemark:"",
        //特殊资费审批（标准资费无需提供
        special:[{}],
        specialRemark:"",
        specialResult:"",
        specialResultRemark:"",
        //入网签报
        networkAccess:[{}],
        networkAccessRemark:"",
        networkAccessResult:"",
        networkAccessResultRemark:"",
        //集团价格审批
        groupPriceApproval:[{}],
        groupPriceApprovalRemark:"",
        groupPriceApprovalResult:"",
        groupPriceApprovalResultRemark:"",

      },
      //表单验证
      rules: {
        permitDateDate:[
          {required: true, message: '必须输增值业务许可证到期时间'},
        ],
        filingsDateDate:[
          {required: true, message: '必须输备案证书到期时间'},
        ],
        codeNumberDateDate:[
          {required: true, message: '必须输码号证书到期时间'},
        ],
        openingNumber: [
          {required: true, message: '必须输入手机号'},
        ],
        contractDateDate: [
          {required: true, message: '必须输入合同到期时间'},
        ],
        businessLicenseDateDate: [
          {required: true, message: '必须输入营业执照到期时间'},
        ],
        codeNumberContactPhone: [
          {required: true, message: '请输入单位联系人手机号!', trigger: 'blur'}, {validator: this.isPhone}
        ],
        managePhone: [
          {required: true, message: '请输入客户经理手机号!', trigger: 'blur'}, {validator: this.isPhone}
        ],
        customerName: [
          {required: true, message: '必须输入客户名称'},
        ],
        userState: [
          {required: true, message: '必须输入用户状态'},
        ],
        codeNumber : [
          {required: true, message: '必须输入码号'},
        ],
        numberUse: [
          {required: true, message: '必须输入号码用途'},
        ],
        staffNo: [
          {required: true, message: '必须输入用户发展员工'},
        ],
        isCsp: [
          {required: true, message: '必须输入是否为isCsp商'},
        ],
        codeNumberBusinessLicense: [
          {required: true, message: '必须选择是否一致'},
        ],
        isSigningNumber: [
          {required: true, message: '请选择是否一致'},
        ],
        isAll: [
          {required: true, message: '必须选择资料是否完整'},
        ],
        isComplete: [
          {required: true, message: '必须选择是否完成整改'},
        ],
        contractDateDateIs: [
          {required: true, message: '必须选择合同到期时间是否长期'},
        ],
        businessLicenseDateDateIs: [
          {required: true, message: '必须选择营业执照到期时间是否长期'},
        ],
        codeNumberDateDateIs: [
          {required: true, message: '必须选择码号证书有效期是否长期'},
        ],
        filingsDateDateIs: [
          {required: true, message: '必须选择备案通知是否长期'},
        ],
        permitDateDateIs:[
          {required: true, message: '必须选择增值业务许可证是否长期'},
        ],
      },
      labelCol4: {
        labelCol: {
          xs: {span: 24},
          sm: {span: 10},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 12},
        }
      },
      labelCol6: {
        labelCol: {
          xs: {span: 24},
          sm: {span:18},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 6},
        }
      },
      labelCol5: {
        labelCol: {
          xs: {span: 24},
          sm: {span: 14},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 8},
        }
      },
      labelCol1: {
        labelCol: {
          xs: {span: 24},
          sm: {span: 2},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 22},
        }
      },
      labelCol1Note: {
        labelCol: {
          xs: {span: 24},
          sm: {span: 6},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 14},
        }
      },
      labelCol1Note2: {
        labelCol: {
          xs: {span: 24},
          sm: {span: 6},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 10},
        }
      },
      labelCol7: {
        labelCol: {
          xs: {span: 24},
          sm: {span: 21},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 3},
        }
      },
      // 步骤条相关
      steps: {
        // 当前所在第几部
        current: 0,
        currentId: "",
        stepsNow: {},
        steps00: [
          {
            title: '上传合同资料',
            content: 'First-content',
            id: "contractDate",
            status: "wait"
          },
          {
            title: '上传营业执照资料',
            content: 'First-content',
            id: "businessLicenseDate",
            status: "wait" 
          },
          {
            title: '上传码号证书资料',
            content: 'First-content',
            id: "codeNumberDate",
            status: "wait"
          },
          {
            title: '上传备案通知资料',
            content: 'First-content',
            id: "filingsDate",
            status: "wait"
          },{
            title: '上传增值业务许可证资料',
            content: 'First-content',
            id: "permitDate",
            status: "wait"
          }, {
            title: '上传法人/责任人证件资料',
            content: 'First-content',
            id: "corporationCard",
            status: "wait"
          },{
            title: '上传责任人授权书资料',
            content: 'First-content',
            id: "personResponsible",
            status: "wait"
          },{
            title: '上传经办人证件资料',
            content: 'First-content',
            id: "operatorCard",
            status: "wait"
          },{
            title: '上传入网签报资料',
            content: 'First-content',
            id: "networkAccess",
            status: "wait"
          },{
            title: '上传集团价格审批资料',
            content: 'First-content',
            id: "groupPriceApproval",
            status: "wait"
          },{
            title: '上传机房设备照片',
            content: 'First-content',
            id: "devicePhone",
            status: "wait"
          }, {
            title: '上传短信模板',
            content: 'First-content',
            id: "textMessage",
            status: "wait"
          },{
            title: '上传信息安全责任承诺书',
            content: 'First-content',
            id: "secureBook",
            status: "wait"
          },{
            title: '上传经办人手持身份证照片（背景需为电信营业厅或白墙）',
            content: 'First-content',
            id: "operatorCardPhone",
            status: "wait"
          },
          {
            title: '上传端口类短信业务责任承诺书',
            content: 'First-content',
            id: "textMessageBook",
            status: "wait"
          },{
            title: '上传特殊资费审批（标准资费无需提供）资料',
            content: 'First-content',
            id: "special",
            status: "wait"
          },
        ],

        // 单位户
        stepUserLable1: [
          {
            title: '使用人证件',
            content: 'First-content',
            id: "userCertificate",
            status: "wait"
          },
          {
            title: '营业执照副本(盖公章)',
            content: 'First-content',
            id: "businessLicense",
            status: "wait"
          },
          {
            title: '介绍信',
            content: 'First-content',
            id: "letterIntroduction",
            status: "wait"
          }
        ],
        // 个人户
        stepUserLable0: [
          {
            title: '号卡照片',
            content: 'First-content',
            id: "numberCard",
            status: "wait"
          },
        ],
        // 材料标签
        shutdownLabel0: [
          {
            title: '消费凭证',
            content: 'First-content',
            id: "consumptionVoucher",
            status: "wait"
          },
        ],
        // 承诺视频
        shutdownLabel5: [
          {
            title: '承诺视频',
            content: 'First-content',
            id: "commitmentVideo",
            status: "wait"
          },
        ],


      },

    }
  },
  computed: {
    importMinioUploadAction() {
      return window._CONFIG['domianURL'] + this.url.minioUpload;
    },
    tokenHeader() {
      let head = {'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)}
      let tenantid = Vue.ls.get(TENANT_ID)
      if (tenantid) {
        head['tenant-id'] = tenantid
      }
      return head;
    }
  },
  props: {},
  watch: {},
  created() {
    // 是否批量上传
    this.infoModel.infoId=this.$route.query.id;
    this.batchImproves = this.$route.query.batchImproves;
    // 步骤条默认公用
    this.steps.stepsNow = this.steps.steps00;
    this.steps.currentId = this.steps.stepsNow[0].id
    if (this.batchImproves) {
      //批量上传id
      this.ids = this.$route.query.ids;
    } else {
      //客户ID
      this.query.infoId = this.$route.query.id;
      this.getInfoDataByInfoId(this.query.infoId);


    }


  },
  mounted() {
    // 实现swiper双向控制
    this.$nextTick(() => {
      const swiperTop = this.$refs.swiperTop.swiper
      const swiperThumbs = this.$refs.swiperThumbs.swiper
      swiperTop.controller.control = swiperThumbs
      swiperThumbs.controller.control = swiperTop
    })
    // /**监听视频拨放*/
    // this.$refs.myVideo.addEventListener("play", () => {
    //   this.openTimer();
    // });
    // /**监听视频暂停*/
    // this.$refs.myVideo.addEventListener("pause", () => {
    //   this.closeTimer();
    // });
  },
  methods: {
    backDate(name){
      if (name==='contractDate'){
        this.infoModel.contractDateDateIs="1"
        this.infoModel.contractDateDate=""
      }
      if (name==='businessLicenseDate'){
        this.infoModel.businessLicenseDateDateIs="1"
        this.infoModel.businessLicenseDateDate=""
      }
      if (name==='codeNumberDate'){
        this.infoModel.codeNumberDateDateIs="1"
        this.infoModel.codeNumberDateDate=""
      }
      if (name==='filingsDate'){
        this.infoModel.filingsDateDateIs="1"
        this.infoModel.filingsDateDate=""
      }
      if (name==='permitDate'){
        this.infoModel.permitDateDateIs="1"
        this.infoModel.permitDateDate=""
      }
    },
    isPhone(rule, value, callback) {
      if (!value || new RegExp(/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/).test(value)) {
        callback();
      } else {
        callback("您的手机号码格式不正确!");
      }

    },
    // 点击方法 url为传入的第三方链接或网址 如'www.baidu.com' url前面不要加协议哦！
    jumpUrl(url){
      var a = document.createElement("a");
      a.setAttribute("href", url);
      a.setAttribute("target", "_blank");
      a.click();
    },
    /**备注坚听*/
    textareaChange(name, nameRemark) {
      if (this.infoModel[nameRemark].length > 0) {
        this.steps.stepsNow[this.steps.current].status = "finish"
      } else if (this.infoModel[name].length > 0 && this.infoModel[name][0].urlBase) {
        this.steps.stepsNow[this.steps.current].status = "finish"
      } else {
        this.steps.stepsNow[this.steps.current].status = "wait"
      }
      if (this.steps.stepsNow[this.steps.current].status = "error"){
        //  type:"solution",
        //slot:"icon"
        this.steps.stepsNow[this.steps.current].type="solution",
          this.steps.stepsNow[this.steps.current].slot="icon"
        this.steps.stepsNow[this.steps.current].status = "final"
        this.steps.stepsNow[this.steps.current].solution = true;
      }
    },
    // 步骤条动态变化
    stepLoading() {
      this.steps.stepsNow = this.steps.stepsNow.splice(0, 16)
      //材料不全有特审步骤条
      this.stepsMaterialLabel()
      /**用户标签点击事件*/
      this.userLableClick()
      /**材料标签点击事件*/
      this.shutdownLabelClick()
    },
    //材料不全有特审步骤条
    stepsMaterialLabel() {
      if (this.infoModel.materialLabel == "0" || this.infoModel.shutdownLabel == "999") {
        let stepsMaterial = this.steps.stepsMaterial;
        for (var i in stepsMaterial) {
          this.steps.stepsNow.push(stepsMaterial[i])
        }
      }
   },
    /**用户标签点击事件*/
    userLableClick() {
      if (this.infoModel[nameRemark].length > 0) {
        this.steps.stepsNow[this.steps.current].status = "finish"
      } else if (this.infoModel[name].length > 0 && this.infoModel[name][0].urlBase) {
        this.steps.stepsNow[this.steps.current].status = "finish"
      } else {
        this.steps.stepsNow[this.steps.current].status = "wait"
      }
    },
    /**材料标签点击事件*/
    shutdownLabelClick() {
      var that = this;
      //材料不全有特审步骤条
      //that.stepsMaterialLabel();
      let shutdownLabel = that.infoModel.shutdownLabel;
      switch (shutdownLabel) {
        case "0":
          let shutdownLabel0 = this.steps.shutdownLabel0;
          for (var i in shutdownLabel0) {
            this.steps.stepsNow.push(shutdownLabel0[i])
          }
          break;
        case "5":
          let shutdownLabel5 = this.steps.shutdownLabel5;
          for (var j in shutdownLabel5) {
            this.steps.stepsNow.push(shutdownLabel5[j])
          }
          break;
      }
      if (this.infoModel.shutdownLabel == "999"){
        let shutdownLabel0 = this.steps.shutdownLabel0;
        for (var i in shutdownLabel0) {
          this.steps.stepsNow.push(shutdownLabel0[i])
        }
        let shutdownLabel5 = this.steps.shutdownLabel5;
        for (var j in shutdownLabel5) {
          this.steps.stepsNow.push(shutdownLabel5[j])
        }
      }
    },

    /**移除文件*/
    removeFile(fileData, fileAttribute) {
      let that = this.infoModel;
      //处理轮播数据
      let swiperImg = that[fileAttribute];
      if (swiperImg) {
        let number = swiperImg.indexOf(fileData);
        swiperImg.splice(number, 1)
        if (swiperImg.length == 0) {
          swiperImg.push({})
          let textId = fileAttribute + "Remark";
          if (this.infoModel[textId].trim() > 0) {
            this.steps.stepsNow[this.steps.current].status = "finish"
          } else {
            this.steps.stepsNow[this.steps.current].status = "wait"
          }
        } else {
          this.steps.stepsNow[this.steps.current].status = "finish"
        }
        that[fileAttribute] = swiperImg
      }
    },

    /**自定义的上传文件方法*/
    selfUploadContract(data, fileAttribute) {
      var that = this;
      if (data.file) {
        let formData = new FormData();
        formData.append('file', data.file)
        postAction(this.url.minioUpload, formData).then((res) => {
          if (res.success) {
            that.swiperId = that.swiperId + 1;
            console.log(that.swiperId)
            //文件链接
            let filePath = res.message;
            let swipData = {
              id: that.swiperId,
              urlBase: window._CONFIG['onlinePreviewDomainURL'] + '?url='
                + encodeURIComponent(
                  Base64.encode(
                    (filePath)
                  )),
              url: filePath,
              fileName: data.file.name
            }
            if (that.infoModel[fileAttribute][0].urlBase) {
              that.infoModel[fileAttribute].push(swipData)
            } else {
              that.infoModel[fileAttribute] = []
              //数据发生变化
              that.infoModel[fileAttribute][0] = swipData;
            }
            // 改变步骤条状态
            if (that.infoModel[fileAttribute].length > 0) {
              if (that.steps.stepsNow[that.steps.current].status === "error"){
                that.steps.stepsNow[this.steps.current].type="solution",
                  that.steps.stepsNow[this.steps.current].slot="icon"
                that.steps.stepsNow[that.steps.current].status = "final"
                this.steps.stepsNow[this.steps.current].solution = true;
              }else {
                that.steps.stepsNow[that.steps.current].status = "wait"
              }
              }

          }

        })
      }
    },
    /**文件格式限制*/
    importBeforeUpload(file) {
      var fileType = file.type;
      if (fileType === 'image') {
        if (fileType.indexOf('image') < 0) {
          this.$message.warning('请上传图片');
          return false;
        }
      } else if (fileType === 'file') {
        if (fileType.indexOf('image') >= 0) {
          this.$message.warning('请上传文件');
          return false;
        }
      }
      return true
    },
    /**文件上传成功后回调*/
    importHandleChange(info) {
    },

    dataListToStr(data){
      if (data.contractDate!==null && data.contractDate!==undefined){
        data.contractDate=JSON.stringify(data.contractDate);
      }

      if (data.businessLicenseDate!==null&& data.businessLicenseDate!==undefined){
        data.businessLicenseDate=JSON.stringify(data.businessLicenseDate);
      }

      if (data.codeNumberDate!==null && data.codeNumberDate!==undefined){
        data.codeNumberDate=JSON.stringify(data.codeNumberDate);
      }
      if (data.filingsDate!==null && data.filingsDate!==undefined){
        data.filingsDate=JSON.stringify(data.filingsDate);
      }
      if (data.permitDate!==null && data.permitDate!==undefined){
        data.permitDate=JSON.stringify(data.permitDate);
      }
      if (data.corporationCard!==null && data.corporationCard!==undefined){
        data.corporationCard=JSON.stringify(data.corporationCard);
      }
      if (data.personResponsible!==null && data.personResponsible!==undefined){
        data.personResponsible=JSON.stringify(data.personResponsible);
      }
      if (data.operatorCard!==null && data.operatorCard!==undefined){
        data.operatorCard=JSON.stringify(data.operatorCard);
      }
      if (data.operatorCardPhone!==null && data.operatorCardPhone!==undefined){
        data.operatorCardPhone=JSON.stringify(data.operatorCardPhone);
      }
      if (data.devicePhone!==null && data.devicePhone!==undefined){
        data.devicePhone=JSON.stringify(data.devicePhone);
      }
      if (data.textMessage!==null && data.textMessage!==undefined){
        data.textMessage=JSON.stringify(data.textMessage);
      }
      if (data.textMessageBook!==null && data.textMessageBook!==undefined){
        data.textMessageBook=JSON.stringify(data.textMessageBook);
      }
      if (data.secureBook!==null && data.secureBook!==undefined){
        data.secureBook=JSON.stringify(data.secureBook);
      }
      if (data.special!==null && data.special!==undefined){
        data.special=JSON.stringify(data.special);
      }
      if (data.networkAccess!==null && data.networkAccess!==undefined){
        data.networkAccess=JSON.stringify(data.networkAccess);
      }
      if (data.groupPriceApproval!==null && data.groupPriceApproval!==undefined){
        data.groupPriceApproval=JSON.stringify(data.groupPriceApproval);
      }
      return data;
    },

    /**暂存*/
    addIsStaging() {
      this.uploading = true;
      var that = this;
      var data=that.infoModel ;
      //data =this.dataListToStr(data);
      postAction("/smsCheck/customerData/addIsStaging", data).then((res) => {
        if (res.success) {
          this.uploading = false;
          this.$message.success("提交成功", 3);
          this.addIng == true
          this.closeCurrent();
        } else {
          this.uploading = false;
          if (  res.message  !==null){
            this.$message.error( res.message);
          }else {
            this.$message.error("提交失败");
          }
        }
      }).finally(() => {
        this.uploading = false;
      })
    },
    /*提交*/
    submitAuditLot() {
      this.uploading = true;
      this.$refs['form'].validate(valid => {
      })
      var info = "yes";
      if (this.infoModel.infoResult =='2'){
        this.$refs.form.validate(valid => {
          // 验证通过
          if (!valid) {
            info = "no";
          }}
        )
      }

      for (var i in this.steps.stepsNow) {
        if (this.steps.stepsNow[i].status !== "finish" && this.steps.stepsNow[i].type!=='solution') {
           this.$message.warn( this.steps.stepsNow[i].title +"资料或备注都未整改!!!");
           info="no";
        }
      }
      if (this.infoModel.isCsp==='1'){
        if ((this.infoModel.permitDateDate==="" ||this.infoModel.permitDateDate===null
        ) && (this.infoModel.permitDateDateIs==="" ||this.infoModel.permitDateDateIs===null ||this.infoModel.permitDateDateIs==='0') ){
          info="no";
          this.$message.warn( "增值业务许可证到期时间未填写!!!");
        }
      }
      if (info==="no"){
        this.uploading = false;
        return
      }

      var data=this.infoModel ;
      //data =this.dataListToStr(data);
      postAction("/smsCheck/customerData/addLog", data).then((res) => {
        if (res.success) {
          this.uploading = false;
          this.$message.success("提交成功", 3);
          this.$router.push({path: '/sms/check/task/check', query: {id: data.taskId}});
          this.closeCurrent();
        } else {
          this.uploading = false;
          if (  res.message  !==null){
            this.$message.error( res.message);
          }else {
            this.$message.error("提交失败");
          }
        }
      }).finally(() => {
        this.uploading = false;
      })
    },
    /**步骤条点击事件*/
    stepsClick(current) {
      this.steps.current = current;
      this.steps.currentId = this.steps.stepsNow[current].id
      // for (var i in this.steps.stepsNow) {
      //   if (this.steps.stepsNow[i].status !== "finish" && this.steps.stepsNow[i].status !== "error") {
      //     this.steps.stepsNow[i].status = "wait"
      //   }
      // }
      if (this.steps.stepsNow[current].status!== "finish"  && this.steps.stepsNow[current].status !== "error") {
        this.steps.stepsNow[current].status = "process"
      }

    },
    /**返回上一级*/
    back() {
      this.$router.go(-1);
      //关闭当前页
      this.closeCurrent();
    },
    /**获取客户信息*/
    getInfoDataById(id,resultA) {
      var that = this;
      if (id) {
        var data = {
          "id": id,
        }
        getAction(this.url.getInfoDataById, data).then((res) => {
          if (res.success) {
            let result = res.result;
            //用户状态
            that.infoModel.userState =result.userState;
            //用户发展员工
            that.infoModel.staffNo =result.staffNo;
            that.infoModel.customerNo=result.customerNo;
            that.infoModel.networkAccessTime=result.networkAccessTime;
            that.infoModel.staffName =result.staffName;
            that.notes =result.notes;
          }

        })
      }
      resultA.userState=that.infoModel.userState
      return resultA
    },
    /**获取客户信息*/
    getInfoDataByInfoId(infoId) {
      var that = this;
      if (infoId) {
        var data = {
          "infoId": infoId,
        }
        getAction(this.url.getInfoDataByInfoId, data).then((res) => {
          if (res.success) {
            let result = res.result;
            result=this.getInfoDataById(infoId,result)
            that.infoModel=result;
            that.infoModel.contractDate= JSON.parse(result.contractDate);
            that.infoModel.businessLicenseDate= JSON.parse(result.businessLicenseDate);
            that.infoModel.codeNumberDate= JSON.parse(result.codeNumberDate);
            that.infoModel.filingsDate= JSON.parse(result.filingsDate);
            that.infoModel.permitDate= JSON.parse(result.permitDate);
            that.infoModel.corporationCard= JSON.parse(result.corporationCard);
            that.infoModel.personResponsible= JSON.parse(result.personResponsible);
            that.infoModel.operatorCard= JSON.parse(result.operatorCard);
            that.infoModel.operatorCardPhone= JSON.parse(result.operatorCardPhone);
            that.infoModel.devicePhone= JSON.parse(result.devicePhone);
            that.infoModel.textMessage= JSON.parse(result.textMessage);
            that.infoModel.textMessageBook= JSON.parse(result.textMessageBook);
            that.infoModel.secureBook= JSON.parse(result.secureBook);
            that.infoModel.special= JSON.parse(result.special);
            that.infoModel.networkAccess= JSON.parse(result.networkAccess);
            that.infoModel.groupPriceApproval= JSON.parse(result.groupPriceApproval);
            for (var i in that.steps.stepsNow) {
              for (var j in result[that.steps.stepsNow[i].id]){
                if (result[that.steps.stepsNow[i].id+'Result']!=undefined &&result[that.steps.stepsNow[i].id+'Result']!=null&&result[that.steps.stepsNow[i].id+'Result'][0]!==undefined){
                  if (result[that.steps.stepsNow[i].id+'Result'][0]==='1'){
                    that.steps.stepsNow[i].status = "finish"
                  }else {
                    that.steps.stepsNow[i].status = "error"
                  }

                }
              }
            }
            if (that.infoModel.infoResult==="2"){
              var element = document.getElementById('directRequirements');
              element.style.color = 'red';
              that.isShow=false
            }
            if (that.infoModel.infoResult==="1"){
              var element = document.getElementById('directRequirements');
              element.style.color = 'black';
              that.isShow=true

            }
          }
        })
      }

    }
  },
  /**获取客户DataLog信息*/
  getInfoDataLogByInfoId(infoId) {

  }

}
</script>
<style lang="less">
.ant-input[disabled] {
  color: #1e80ff;
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 1;
}

.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
  color: #fff;
  background-color: #1e80ff;
  border-color: #d9d9d9;
  box-shadow: none;
}

</style>
<style lang="less">
#common-video {
  position: relative;

  .video-box {
    box-sizing: border-box;
    border: 0;
    display: block;
    width: 470px;
    height: 500px;
    outline: none !important;
  }

  .isShow {
    //进度条
    video::-webkit-media-controls-timeline {
      display: none;
    }
  }

  video::-webkit-media-controls-play-button {
    visibility: hidden;
  }

  .operate-btn {
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
  }

  .operate-btn:hover {
    opacity: 0.8;
  }

  .fade-out {
    opacity: 0;
  }
}

.thumb-example {
  width: 921px;
  margin-top: 20px;
  left: 6%;
  // background: #000;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.gallery-top {
  // height: 80% !important;
  /*height: 600px;*/
  width: 100%;
  left: 10%;
  margin-bottom: 30px
}

.gallery-thumbs {
  height: 20% !important;
  box-sizing: border-box;
  padding: 10px 0px;
  width: 948px;
  margin-left: 2px;

  .swiper-button-next {
    right: 0px;
  }

  .swiper-button-prev {
    left: 0px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    background: #fff;
    width: 45px;
    text-align: center;
    height: 101px;
    top: 26%;

    div {
      margin-top: 30px;
      background: rgb(207, 205, 205);
      height: 45px;
      border-radius: 50%;

      img {
        margin: 7px 0 0 2px;
        width: 30px;
      }
    }
  }

  .swiper-button-next:hover div {
    background: rgb(189, 186, 186);
  }

  .swiper-button-prev:hover div {
    background: rgb(189, 186, 186);
  }
}

.gallery-thumbs .swiper-slide {
  width: 20%;
  height: 80px;
  // opacity: 0.4;
}

.gallery-thumbs .swiper-slide-active {
  border: 2px solid red;
}

.markdown ul > li {
  color: #000000d9;
  font-size: 15px;
  line-height: 3;
  margin-left: 20px;
  padding-left: 4px;
  list-style-type: circle;
}


</style>
