确认裁决书

This commit is contained in:
fz
2023-09-21 19:46:43 +08:00
parent 4d62752c88
commit 60fa9d90b0
3 changed files with 26 additions and 2 deletions
@@ -32,3 +32,14 @@ export function verificationArbitrateRecord(data) {
data: data
})
}
// 审核裁决书
export function checkArbitrateRecord(data) {
return request({
url: '/caseApplication/checkArbitrateRecord',
// headers: {
// isToken: false
// },
method: 'post',
data: data
})
}
@@ -57,7 +57,8 @@
<script>
import {
verificationArbitrateRecord
verificationArbitrateRecord,
checkArbitrateRecord
} from "@/api/awardManagement/awardManagement";
export default {
props: ["openDialog", "title", "flag", "detailform"],
@@ -74,6 +75,7 @@ export default {
if (val) {
setTimeout(() => {
this.form = this.detailform;
this.arbitrateRecord = this.form.arbitrateRecord;
console.log(this.form, "this.form");
}, 1000);
}
@@ -89,9 +91,21 @@ export default {
this.$message('成功');
})
},
//审核裁决书
checkArbitrateRecordFn(parms){
checkArbitrateRecord(parms).then(res=>{
this.cancel();
this.$emit("updataList");
this.$message('成功');
})
},
submitForm(parms) {
if(parms == 0){
this.verificationArbitrateRecordFn({id:this.form.id,arbitrateRecord:this.arbitrateRecord})
}else if(parms == 1){
this.checkArbitrateRecordFn({id:this.form.id,agreeOrNotCheck:1,arbitrateRecord:this.arbitrateRecord})
}else if(parms == 2){
this.checkArbitrateRecordFn({id:this.form.id,agreeOrNotCheck:2,arbitrateRecord:this.arbitrateRecord})
}
},
cancel() {
@@ -34,7 +34,6 @@
<el-table-column label="立案日期" align="center" prop="registerDate" :show-overflow-tooltip="true" />
<!-- 缴费人 -->
<el-table-column label="案件状态" align="center" prop="caseStatusName" />
<el-table-column label="裁决书状态" align="center" prop="caseStatusName" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-reading" v-if="scope.row.caseStatus == 10" @click="showModel(scope.row, 0)"