| | |
| | | <el-row :gutter="15"> |
| | | <el-form ref="addAduitForm" :model="auditFrom" :rules="rules" size="medium" label-width="100px"> |
| | | <el-col :span="12"> |
| | | <!-- <el-form-item label="头像" prop="pic" required> |
| | | <el-form-item label="头像" prop="pic" required> |
| | | <el-upload ref="pic" action="/api/minio/upload" :show-file-list="false" :on-success="handleAvatarSuccess" |
| | | list-type="picture-card" accept="image/*"> |
| | | <img v-if="picShow" :src="picShow" style="width: 145px;height: 145px"> |
| | | <i v-else class="el-icon-plus"></i> |
| | | </el-upload> |
| | | </el-form-item> --> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="报案人 " prop="reporterName"> |
| | |
| | | this.checkVisible = false |
| | | this.$refs.infoAduitForm.resetFields() |
| | | this.reportData=[] |
| | | this.picShow="" |
| | | }, |
| | | detailsClose() { |
| | | this.infoAduitDialogVisible = false |
| | | this.$refs.infoAduitForm.resetFields() |
| | | this.reportData=[] |
| | | this.picShow="" |
| | | }, |
| | | addAduit() { |
| | | this.$refs.addAduitForm.validate(async (vaild) => { |
| | |
| | | }, |
| | | handleAvatarSuccess(res, file) { |
| | | this.auditFrom.pic = res.data |
| | | console.log(res.data) |
| | | getImgUrl(res.data).then(res => { |
| | | this.picShow = res |
| | | }) |
| | |
| | | }, |
| | | addAduitClose() { |
| | | this.addAduitDialogVisible = false |
| | | this.$refs.addAduitForm.resetFields() |
| | | this.picShow = "" |
| | | this.$refs.addAduitForm.resetFields() |
| | | }, |
| | | getList() { |
| | | let param = {} |