连续点击后无法显示bug修复
							parent
							
								
									1149e0f41a
								
							
						
					
					
						commit
						906c10d1f2
					
				|  | @ -19,7 +19,7 @@ | |||
|                 <span v-if="imgUrl != ''"> | ||||
|                   <div class="img-flex"> | ||||
|                     <viewer> | ||||
|                       <img :src="imgUrl" width="40" height="40" style="object-fit: cover;"> | ||||
|                       <el-image :src="imgUrl" :preview-src-list="[imgUrl]" style="object-fit: cover; width: 40px; height: 40px" z-index="8000"	/> | ||||
|                     </viewer> | ||||
|                   </div> | ||||
|                 </span> | ||||
|  | @ -47,13 +47,13 @@ | |||
|                 <span> | ||||
|                   <div class="img-flex"> | ||||
|                     <viewer> | ||||
|                       <img | ||||
|                       <el-image | ||||
|                         v-for="item in userCardIDPhotoFile" | ||||
|                         :src="config.fileUrl + item.FILEPATH" | ||||
|                         :key="item.IMGFILES_ID" | ||||
|                         width="40" | ||||
|                         height="40" | ||||
|                         style="object-fit: cover;"> | ||||
|                         :preview-src-list="[config.fileUrl + item.FILEPATH]" | ||||
|                         z-index="8000" | ||||
|                         style="object-fit: cover; width: 40px; height: 40px"/> | ||||
|                     </viewer> | ||||
|                   </div> | ||||
|                 </span> | ||||
|  | @ -137,13 +137,13 @@ | |||
|               <td v-if="userDetailForm.ISPAY === '1'"> | ||||
|                 <span> | ||||
|                   <viewer> | ||||
|                     <img | ||||
|                     <el-image | ||||
|                       v-for="item in insuranceFileList" | ||||
|                       :src="config.fileUrl + item.FILEPATH" | ||||
|                       :key="item.IMGFILES_ID" | ||||
|                       width="40" | ||||
|                       height="40" | ||||
|                       style="object-fit: cover;"> | ||||
|                       :preview-src-list="[config.fileUrl + item.FILEPATH]" | ||||
|                       z-index="8000" | ||||
|                       style="object-fit: cover; width: 40px; height: 40px"/> | ||||
|                   </viewer> | ||||
|                 </span> | ||||
|               </td> | ||||
|  | @ -159,13 +159,13 @@ | |||
|               <td v-if="userDetailForm.IS_SIGN_LABOR === '1'" colspan="3"> | ||||
|                 <span> | ||||
|                   <viewer> | ||||
|                     <img | ||||
|                     <el-image | ||||
|                       v-for="item in contractFileList" | ||||
|                       :src="config.fileUrl + item.FILEPATH" | ||||
|                       :key="item.IMGFILES_ID" | ||||
|                       width="40" | ||||
|                       height="40" | ||||
|                       style="object-fit: cover;"> | ||||
|                       :preview-src-list="[config.fileUrl + item.FILEPATH]" | ||||
|                       z-index="8000" | ||||
|                       style="object-fit: cover; width: 40px; height: 40px"/> | ||||
|                   </viewer> | ||||
|                 </span> | ||||
|               </td> | ||||
|  | @ -178,13 +178,13 @@ | |||
|                 <span> | ||||
|                   <div class="img-flex"> | ||||
|                     <viewer> | ||||
|                       <img | ||||
|                       <el-image | ||||
|                         v-for="item in photosOfLevel" | ||||
|                         :src="config.fileUrl + item.FILEPATH" | ||||
|                         :key="item.IMGFILES_ID" | ||||
|                         width="40" | ||||
|                         height="40" | ||||
|                         style="object-fit: cover;"> | ||||
|                         :preview-src-list="[config.fileUrl + item.FILEPATH]" | ||||
|                         z-index="8000" | ||||
|                         style="object-fit: cover; width: 40px; height: 40px"/> | ||||
|                     </viewer> | ||||
|                   </div> | ||||
|                 </span> | ||||
|  | @ -258,9 +258,9 @@ | |||
|             <table v-for="(item,index) in specialUsersList" :key="index" class="table-ui" style="margin-bottom: 20px;"> | ||||
|               <tr> | ||||
|                 <th style="width: 150px">证书名称</th> | ||||
|                 <td style="width: 200px">{{ item.CERTIFICATE }}</td> | ||||
|                 <td style="width: 150px">{{ item.CERTIFICATE }}</td> | ||||
|                 <th style="width: 150px">作业类别</th> | ||||
|                 <td style="width: 200px">{{ item.SPECIAL_TYPE_NAME }}</td> | ||||
|                 <td style="width: 180px">{{ item.SPECIAL_TYPE_NAME }}</td> | ||||
|                 <th style="width: 150px">操作项目</th> | ||||
|                 <td>{{ item.OPERATION_TYPE_NAME }}</td> | ||||
|                 <th style="width: 100px">证书照片</th> | ||||
|  | @ -268,17 +268,16 @@ | |||
|                   <span> | ||||
|                     <div class="img-flex"> | ||||
|                       <viewer> | ||||
|                         <img | ||||
|                         <el-image | ||||
|                           :src="config.fileUrl + item.FILEPATH" | ||||
|                           width="40" | ||||
|                           height="40" | ||||
|                           style="object-fit: cover;"> | ||||
|                         <img | ||||
|                           :preview-src-list="[config.fileUrl + item.FILEPATH]" | ||||
|                           z-index="8000" | ||||
|                           style="object-fit: cover; width: 40px; height: 40px"/> | ||||
|                         <el-image | ||||
|                           v-if="item.FILEPATH_BACK" | ||||
|                           :src="config.fileUrl + item.FILEPATH_BACK" | ||||
|                           width="40" | ||||
|                           height="40" | ||||
|                           style="object-fit: cover;"> | ||||
|                           :preview-src-list="[config.fileUrl + item.FILEPATH_BACK]" | ||||
|                           z-index="8000" | ||||
|                           style="object-fit: cover; width: 40px; height: 40px"/> | ||||
|                       </viewer> | ||||
|                     </div> | ||||
|                   </span> | ||||
|  | @ -413,7 +412,7 @@ | |||
|         </el-scrollbar> | ||||
|       </div> | ||||
|       <span slot="footer" class="dialog-footer"> | ||||
|         <el-button @click="visible = false">取 消</el-button> | ||||
|         <el-button @click="close">取 消</el-button> | ||||
|       </span> | ||||
|     </el-dialog> | ||||
|   </div> | ||||
|  | @ -511,6 +510,19 @@ export default { | |||
|     }, | ||||
|     download(item) { | ||||
|       useDownloadFile(item) | ||||
|     }, | ||||
|     close() { | ||||
|       this.visible = false | ||||
|       this.userDetailForm = {} | ||||
|       this.userCardIDPhotoFile = [] // 身份证照片 | ||||
|       this.trainRecordList = [] | ||||
|       this.photosOfLevel = [] // 三级教育照片 | ||||
|       this.specialUsersList = {} | ||||
|       this.insuranceFileList = [] // 保险文件 | ||||
|       this.contractFileList = [] | ||||
|       this.socialPhotoFile = [] | ||||
|       this.gongshangbaoxianFile = [] | ||||
|       this.applyList = [] | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue