| | |
| | | <el-form ref="infoAduitForm" :model="auditInfo" size="medium" label-width="100px"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="头像" prop="pic" required> |
| | | <el-image style="width: 145px; height: 145px" :src="picShow" :preview-src-list="new Array(picShow)"></el-image> |
| | | <el-upload ref="pic" action="/api/minio/upload" :show-file-list="false" :on-success="handleAvatarSuccess" |
| | | list-type="picture-card" accept="image/*" disabled> |
| | | <el-image style="width: 145px; height: 145px" :src="picShow" |
| | | :preview-src-list="new Array(picShow)"></el-image> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24"> |
| | | <el-form-item label="上传" required> |
| | | <el-upload ref="reportMaterials" :file-list="auditInfo.fileList" |
| | | action="/api/minio/upload" list-type="picture" :on-success="handleMaterialSuccess"> |
| | | <el-button size="small" type="primary" icon="el-icon-upload">点击上传</el-button> |
| | | </el-upload> |
| | | <el-form-item label="材料"> |
| | | <div class="metalL"></div> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24"> |
| | |
| | | details(id) { |
| | | getReportById(id).then(res => { |
| | | this.auditInfo = res |
| | | if (res.pic === '' || res.pic === null) { |
| | | this.picShow = './logo.png'; |
| | | } else { |
| | | getImgUrl(res.pic).then(res => { |
| | | this.picShow = res |
| | | }) |
| | | } |
| | | this.infoAduitDialogVisible = true |
| | | }) |
| | | }, |