linwenling
2023-08-09 c7d2fb7b04ea184df7c03a615ccda9bd172bb527
ruoyi-ui/src/views/contacts/contactsInfo.vue
@@ -115,6 +115,52 @@
        </div>
      </el-upload>
       <h4 class="form-header">电子文件 </h4>
       <el-upload
         action="#"
         list-type="picture-card"
         multiple
         :http-request="requestUpload"
         :file-list="fileList"
       >
         <i slot="default" class="el-icon-plus"></i>
         <div slot="file" slot-scope="{file}">
           <img
             class="el-upload-list__item-thumbnail"
             :src="file.url"
             alt=""
             style="width: 147px; height: 147px"
             fit="cover"
             :preview-src-list="[file.url]"
           >
           <span class="el-upload-list__item-actions" >
            <span
              class="el-upload-list__item-preview"
              @click="handlePictureCardPreview(file)"
            >
              <i class="el-icon-zoom-in"></i>
            </span>
            <span
              class="el-upload-list__item-delete"
              @click="handleDownload(file.url)"
            >
              <i class="el-icon-download"></i>
            </span>
            <span
              v-if="isShow"
              class="el-upload-list__item-delete"
              @click="handleRemove(file)"
            >
              <i class="el-icon-delete"></i>
            </span>
          </span>
         </div>
       </el-upload>
     <h4 class="form-header">其他附件 </h4>
      <el-upload
        action=""
@@ -139,14 +185,13 @@
          >
          <span class="el-upload-list__item-actions">
                <span
                  v-if="isShow"
                  class="el-upload-list__item-preview"
                  @click="handleFileCardPreview(file)"
                >
                  <i class="el-icon-zoom-in"></i>
                </span>
                <span
                  v-if="isShow"
                  class="el-upload-list__item-delete"
                  @click="handleDownload(file.url)"
                >