| | |
| | | <el-table-column width="180" prop="idcard" label="证件号码"></el-table-column> |
| | | <el-table-column width="100" prop="isCommission" label="是否审核"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.isCommission == 1">是</span> |
| | | <el-popover |
| | | v-if="scope.row.status == 2" |
| | | placement="bottom" |
| | | title="驳回原因" |
| | | width="200" |
| | | trigger="click" |
| | | :content="scope.row.remarks"> |
| | | <el-button type="text" slot="reference">已驳回</el-button> |
| | | </el-popover> |
| | | <span v-else>否</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </el-row> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="addAduitDialogVisible = false">取 消</el-button> |
| | | |
| | | <el-button type="primary" @click="addAduit">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | </el-row> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="checkVisible = false">取 消</el-button> |
| | | <el-button type="danger" @click="innerLayerVisible =true">驳 回</el-button> |
| | | <el-button type="primary" @click="checkAdd">确 定</el-button> |
| | | </span> |
| | | |
| | | <el-dialog |
| | | width="30%" |
| | | title="驳回原因" |
| | | :visible.sync="innerLayerVisible" |
| | | append-to-body> |
| | | <div class="reason-for-rejection"> |
| | | <label class="reason-for-rejection-lable">驳回原因:</label> |
| | | <el-input v-model="reasonForRejectionInput" placeholder="请输入内容"></el-input> |
| | | |
| | | </div> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="innerLayerVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="rejectionConfirmation">确定</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </el-dialog> |
| | | |
| | | |
| | |
| | | |
| | | <script> |
| | | import { getAuditList, getImgUrl, getReportById, report, checkPass } from '@/api/common' |
| | | import {reasonForRejection} from "@/api/Audit"; |
| | | |
| | | export default { |
| | | name: "Audit", |
| | | data() { |
| | | return { |
| | | |
| | | reasonForRejectionInput:'', |
| | | innerLayerVisible:false, |
| | | current: null, |
| | | size: null, |
| | | queryInfo: { |
| | |
| | | message: '请输入被骗时间', |
| | | trigger: 'blur' |
| | | }], |
| | | cheatTime: [{ |
| | | required: true, |
| | | message: '请输入被骗时间', |
| | | trigger: 'blur' |
| | | }], |
| | | amountInvolved: [{ |
| | | required: true, |
| | | message: '请输入涉案金额', |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | openInnerLayerVisible(){ |
| | | |
| | | }, |
| | | //案件人员导入成功后 |
| | | reporterRespond(res) { |
| | | if (res.code == 200) { |
| | |
| | | return false |
| | | } |
| | | }, |
| | | rejectionConfirmation(){ |
| | | let data={ |
| | | id:this.auditInfo.id, |
| | | reason:this.reasonForRejectionInput |
| | | } |
| | | reasonForRejection(data).then(res=>{ |
| | | console.log(res) |
| | | this.getList() |
| | | this.checkVisible=false |
| | | this.innerLayerVisible =false |
| | | }) |
| | | }, |
| | | //审核确定 |
| | | checkAdd() { |
| | | let form = null; |
| | | |
| | | form = this.auditInfo; |
| | | console.log(form) |
| | | this.$refs.infoAduitForm.validate((valid)=>{ |
| | | if(valid){ |
| | | checkPass(form).then(res => { |
| | |
| | | check(val) { |
| | | getReportById(val).then(res => { |
| | | this.auditInfo = res |
| | | this.reasonForRejectionInput= this.auditInfo.remarks||'' |
| | | if (res.pic === '' || res.pic === null) { |
| | | this.picShow = './logo.jpg'; |
| | | } else { |
| | |
| | | .el-form-item { |
| | | margin-top: 20px; |
| | | } |
| | | .reason-for-rejection{ |
| | | display: flex; |
| | | align-items: center; |
| | | .reason-for-rejection-lable{ |
| | | width: 120px; |
| | | } |
| | | } |
| | | </style> |