|
|
@@ -57,7 +57,8 @@
|
|
57
|
57
|
|
|
58
|
58
|
<script>
|
|
59
|
59
|
import {
|
|
60
|
|
- verificationArbitrateRecord
|
|
|
60
|
+ verificationArbitrateRecord,
|
|
|
61
|
+ checkArbitrateRecord
|
|
61
|
62
|
} from "@/api/awardManagement/awardManagement";
|
|
62
|
63
|
export default {
|
|
63
|
64
|
props: ["openDialog", "title", "flag", "detailform"],
|
|
|
@@ -74,6 +75,7 @@ export default {
|
|
74
|
75
|
if (val) {
|
|
75
|
76
|
setTimeout(() => {
|
|
76
|
77
|
this.form = this.detailform;
|
|
|
78
|
+ this.arbitrateRecord = this.form.arbitrateRecord;
|
|
77
|
79
|
console.log(this.form, "this.form");
|
|
78
|
80
|
}, 1000);
|
|
79
|
81
|
}
|
|
|
@@ -89,9 +91,21 @@ export default {
|
|
89
|
91
|
this.$message('成功');
|
|
90
|
92
|
})
|
|
91
|
93
|
},
|
|
|
94
|
+ //审核裁决书
|
|
|
95
|
+ checkArbitrateRecordFn(parms){
|
|
|
96
|
+ checkArbitrateRecord(parms).then(res=>{
|
|
|
97
|
+ this.cancel();
|
|
|
98
|
+ this.$emit("updataList");
|
|
|
99
|
+ this.$message('成功');
|
|
|
100
|
+ })
|
|
|
101
|
+ },
|
|
92
|
102
|
submitForm(parms) {
|
|
93
|
103
|
if(parms == 0){
|
|
94
|
104
|
this.verificationArbitrateRecordFn({id:this.form.id,arbitrateRecord:this.arbitrateRecord})
|
|
|
105
|
+ }else if(parms == 1){
|
|
|
106
|
+ this.checkArbitrateRecordFn({id:this.form.id,agreeOrNotCheck:1,arbitrateRecord:this.arbitrateRecord})
|
|
|
107
|
+ }else if(parms == 2){
|
|
|
108
|
+ this.checkArbitrateRecordFn({id:this.form.id,agreeOrNotCheck:2,arbitrateRecord:this.arbitrateRecord})
|
|
95
|
109
|
}
|
|
96
|
110
|
},
|
|
97
|
111
|
cancel() {
|