| | |
| | | </el-table-column> |
| | | <el-table-column prop="reportNumber" label="报案人数" width="100" header-align="center" align="center"> |
| | | </el-table-column> |
| | | <el-table-column prop="totalMoney" label="预估总金额" width="100" header-align="center" align="center"> |
| | | <el-table-column prop="totalMoney" label="预估总金额" width="100" header-align="center" align="center"> |
| | | </el-table-column> |
| | | <el-table-column prop="firstTime" label="最早发案日期" width="160" header-align="center" align="center"> |
| | | </el-table-column> |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="预估总金额" prop="totalMoney"> |
| | | <el-input v-model="causeForm.totalMoney" clearable :style="{ width: '100%' }" placeholder="输入预估总金额"></el-input> |
| | | <el-input v-model="causeForm.totalMoney" clearable :style="{ width: '100%' }" |
| | | placeholder="输入预估总金额"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | |
| | | <el-col :span="24"> |
| | | <el-form-item label="案件描述" prop="description"> |
| | | <el-input v-model="causeForm.description" type="textarea" placeholder="请输入多行文本" |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="预估总金额" prop="totalMoney"> |
| | | <el-input v-model="updataCauseForm.totalMoney" clearable :style="{ width: '100%' }"></el-input> |
| | | </el-form-item> |
| | |
| | | </el-table-column> |
| | | <el-table-column width="100" prop="reportMaterials" label="报案材料"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.reportMaterials === null||scope.row.reportMaterials === '' ? "未提交" : "已提交" }}</span> |
| | | <span>{{ scope.row.reportMaterials === null || scope.row.reportMaterials === '' ? "未提交" : "已提交" |
| | | }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column width="200" prop="ctime" label="报案时间"> |
| | |
| | | :before-close="addReportVisibleClose"> |
| | | <el-row :gutter="15"> |
| | | <el-form ref="auditFrom" :model="auditFrom" :rules="addReportRules" size="medium" label-width="100px"> |
| | | <!-- <el-col :span="12"> |
| | | <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-col> --> |
| | | <el-col :span="12"> |
| | | <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-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="报案人 " prop="reporterName"> |
| | | <el-input v-model="auditFrom.reporterName" placeholder="请输入报案人 " clearable :style="{ width: '100%' }"> |
| | |
| | | :before-close="updateReportVisibleclose"> |
| | | <el-row :gutter="20"> |
| | | <el-form ref="updateReportForm" :model="updateReportForm" size="medium" label-width="100px"> |
| | | <!-- <el-col :span="12"> |
| | | <el-col :span="12"> |
| | | <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="updateReportForm.pic!=null||updateReportForm!=''" :src="updateReportForm.pic" style="width: 145px;height: 145px"> |
| | | <i v-else class="el-icon-plus"></i> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col :span="12"> |
| | | <el-form-item label="报案人 " prop="reporterName"> |
| | | <el-input v-model="auditFrom.reporterName" placeholder="请输入报案人 " clearable :style="{ width: '100%' }"> |
| | | <el-input v-model="updateReportForm.reporterName" placeholder="请输入报案人 " clearable :style="{ width: '100%' }"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="手机号码" prop="mobile"> |
| | | <el-input v-model="auditFrom.mobile" placeholder="请输入手机号码" clearable :style="{ width: '100%' }"> |
| | | <el-input v-model="updateReportForm.mobile" placeholder="请输入手机号码" clearable :style="{ width: '100%' }"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="身份证号" prop="idcard"> |
| | | <el-input v-model="auditFrom.idcard" placeholder="请输入身份证号" clearable :style="{ width: '100%' }"> |
| | | <el-input v-model="updateReportForm.idcard" placeholder="请输入身份证号" clearable :style="{ width: '100%' }"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | </el-col> |
| | | |
| | | <el-col :span="12"> |
| | | <el-form-item prop="reportTime" label="报案时间"> |
| | | <el-date-picker v-model="updateReportForm.reportTime" type="datetime" placeholder="选择日期时间" clearable |
| | |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- |
| | | <el-col :span="24"> |
| | | <!-- <el-col :span="24"> |
| | | <el-form-item label="上传" prop="fileList" required> |
| | | <el-upload ref="reportMaterials" :file-list="auditFrom.fileList" action="/api/minio/upload" |
| | | list-type="picture" :on-success="handleMaterialSuccess"> |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="状态" prop="status"> |
| | | <span v-if="detailsGroupAn.status === 1">已发布</span> |
| | | <span v-else-if="detailsGroupAn.status === 0">未发布</span> |
| | | <span v-else="detailsGroupAn.status === 2">已下架</span> |
| | | <span v-if="detailsGroupAn.status === 1">已发布</span> |
| | | <span v-else-if="detailsGroupAn.status === 0">未发布</span> |
| | | <span v-else="detailsGroupAn.status === 2">已下架</span> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-form> |
| | |
| | | size: 10, |
| | | }, |
| | | auditFrom: { |
| | | pic: '', |
| | | reporterName: '', |
| | | mobile: '', |
| | | idcard: '', |
| | |
| | | message: '请选择案件状态 ', |
| | | trigger: 'blur' |
| | | }], |
| | | totalMoney: [{ |
| | | totalMoney: [{ |
| | | required: true, |
| | | message: '请输入预估总金额 ', |
| | | trigger: 'blur' |
| | |
| | | } |
| | | ], |
| | | updateReportForm: { |
| | | pic: '', |
| | | reporterName: '', |
| | | mobile: '', |
| | | idcard: '', |
| | |
| | | //案件人员表格数据 |
| | | updateReportPrams: { |
| | | id: '', |
| | | pic:'', |
| | | reporterName: '', |
| | | mobile: '', |
| | | idcard: '', |
| | |
| | | }, |
| | | updataCauseForm: { |
| | | id: '', |
| | | pic:'', |
| | | name: '', |
| | | number: '', |
| | | firstTime: '', |
| | |
| | | this.updateReportPrams.groupId = this.updateReportForm.groupId |
| | | this.updateReportPrams.id = this.updateReportForm.id |
| | | this.updateReportPrams.reportMaterials = this.updateReportPrams.fileList.map(i => i.data).join(',') |
| | | debugger |
| | | this.updateReportPrams.pic=this.updateReportForm.pic |
| | | let form = null; |
| | | form = this.updateReportPrams; |
| | | const data = form; |
| | |
| | | |
| | | //编辑案件人员 |
| | | updataReport(val) { |
| | | debugger |
| | | this.updateReportVisible = true; |
| | | this.updateReportForm = Object.assign({}, val); |
| | | this.causeId = val.causeId; |
| | |
| | | if (!vaild) return this.$message.error('输入有误') |
| | | this.auditFrom.reportMaterials = this.auditFrom.fileList.map(i => i.data).join(','); |
| | | this.auditFrom.causeId = this.reportCauseId; |
| | | console.log(this.reportCauseId); |
| | | // console.log(this.reportCauseId); |
| | | report(this.auditFrom).then(res => { |
| | | this.$message.success('提交成功') |
| | | this.auditFrom = {} |
| | |
| | | }, |
| | | handleAvatarSuccess(res, file) { |
| | | this.auditFrom.pic = res.data |
| | | |
| | | getImgUrl(res.data).then(res => { |
| | | this.picShow = res |
| | | this.updateReportForm.pic = res |
| | | }) |
| | | }, |
| | | async handleMaterialSuccess(res, file) { |