<gsb-card2  title="营业执照文字识别" >
  <div>
    <gsb-step :psteps="steps" :step="step">
   </gsb-step></br>
  </div>
  <div style="text-align:center;" >
    <el-upload
      id="file"
      list-type="picture-card"
      :on-preview="handlePictureCardPreview"
      accept="image/jpeg,image/jpg,image/png"
      :on-remove="handleRemove"
      class="upload1"
      :action="action"
      :data="d"
      multiple="false"
      limit="1"
      :on-exceed="onExceed"
      :before-upload="beforeUpload"
      :on-success="success"
      :on-error="error"
      :on-progress="progress"
      :on-remove="remove"
      >
      <i class="el-icon-plus"></i>
    </el-upload>
    <el-dialog :visible.sync="dialogVisible">
      <img width="20%" border="5px" :src="dialogImageUrl" alt="">
    </el-dialog>
  </div>

  <div style="text-align:center;margin-top:20px;">
    <el-button  :disabled="disabled" @click="picToText">营业执照转文字</el-button>
  </div>
  <div  v-show="text.reg_num" >
  <div name="text" id="text" style="float:left;width:80%">
      <p>社会统一信用代码：{{text.reg_num}}</p>
      <p>名称：{{text.name}}</p>
      <p>类型：{{text.type}}</p>
      <p>住所：{{text.address}}</p>
      <p>法定代表人：{{text.person}}</p>
      <p>注册资本：{{text.capital}}</p>
      <p>成立日期：{{text.establish_date}}</p>
      <p>营业期限：{{text.establish_date}}-{{text.valid_period}}</p>
      <p>经营范围：{{text.business}}</p>
      <p>证照编号：{{text.valid_period}}</p>
  </div>
  <div style="float:right;width:20%">
    <div style="text-align:right;margin-top:20px;">
      <el-button  @click="copy">复制文本</el-button>
    </div>
  </div>
</div>
</gsb-card2>
