| | |
| | | <div class="btn"> |
| | | <span @click="handleExamine(scope.row)">审核</span> |
| | | <span class="line">|</span> |
| | | <span>结案</span> |
| | | <span @click="handleClosure(scope.row)">结案</span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <el-dialog :visible.sync="dialogExamine" width="80%" title="基础信息(人工)" v-if="dialogExamine" |
| | | :before-close="handleClose"> |
| | | <MyExamine :info="info" @closeDialog="closeDialog"></MyExamine> |
| | | </el-dialog> |
| | | <!-- 结案页面 --> |
| | | <el-dialog :visible.sync="dialogClosure" width="80%" title="基础信息(人工)" v-if="dialogClosure" |
| | | :before-close="handleClose"> |
| | | <MyClosure :info="info" @closeDialog="closeDialog"></MyClosure> |
| | | </el-dialog> |
| | | <!-- tools --> |
| | | <div class="tools"> |
| | |
| | | </template> |
| | | <script> |
| | | import MyExamine from './components/examine' |
| | | import MyClosure from './components/closure' |
| | | export default { |
| | | components: { |
| | | MyExamine |
| | | MyExamine,MyClosure |
| | | }, |
| | | data() { |
| | | return { |
| | | tableData: [], |
| | | dialogExamine:false, |
| | | dialogClosure:false, |
| | | info: {}, |
| | | totalNum: null, |
| | | pageSize: 10, |
| | |
| | | .catch(_ => { }); |
| | | }, |
| | | async JumpView(data) { |
| | | console.log(data); |
| | | await this.getEventInfo(data.code); |
| | | }, |
| | | // 获取案件信息 |
| | |
| | | this.dialogExamine = true; |
| | | }) |
| | | }, |
| | | // 获取案件信息 |
| | | getEventInfo2(code) { |
| | | this.$axios({ |
| | | method: 'get', |
| | | url: `sccg/base_case/baseCaseDetail/${code}` |
| | | }) |
| | | .then(res => { |
| | | console.log(res); |
| | | this.info = res.data; |
| | | this.dialogClosure = true; |
| | | }) |
| | | }, |
| | | // 去审核 |
| | | handleExamine({code}) { |
| | | this.getEventInfo(code); |
| | | }, |
| | | // 去结案 |
| | | handleClosure({code}){ |
| | | this.getEventInfo2(code); |
| | | }, |
| | | // 关闭dialog |
| | | closeDialog({flag}){ |
| | | this.dialogExamine = flag; |
| | | this.dialogClosure = flag; |
| | | } |
| | | } |
| | | } |