修改仲裁bug
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm" class="endbutton"
|
||||
<el-button type="primary" @click="submitForm" class="endbutton" :loading="loadingSubmit"
|
||||
><span>确 定</span></el-button
|
||||
>
|
||||
<el-button @click="cancel" class="endbutton1"
|
||||
@@ -86,6 +86,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
dataList: [],
|
||||
loadingSubmit: false,
|
||||
queryParams1: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
@@ -99,7 +100,7 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getarbitrAtor();
|
||||
// this.getarbitrAtor();
|
||||
},
|
||||
watch: {
|
||||
showformateCourt(val){
|
||||
@@ -107,6 +108,7 @@ export default {
|
||||
this.Arbitor = ""
|
||||
if(val){
|
||||
this.isAgreePendTral = 1;
|
||||
this.getarbitrAtor({caseId:this.formateCourtData.id});
|
||||
}
|
||||
},
|
||||
formateCourtData: {
|
||||
@@ -121,8 +123,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
// 获取仲裁员信息
|
||||
getarbitrAtor() {
|
||||
arbitrAtor({}).then((res) => {
|
||||
getarbitrAtor(val) {
|
||||
console.log(val,"ppppppppppppppppppp")
|
||||
arbitrAtor(val).then((res) => {
|
||||
this.dataList = res.rows;
|
||||
// console.log(this.dataList, "this.dataList");
|
||||
});
|
||||
@@ -144,6 +147,9 @@ export default {
|
||||
this.paramsdata = {
|
||||
id: this.formateCourtData.id,
|
||||
arbitrators: this.arbitrators,
|
||||
arbitratorId:this.formateCourtData.arbitratorId,
|
||||
arbitratorName:this.formateCourtData.arbitratorName
|
||||
|
||||
};
|
||||
} else {
|
||||
if (this.isAgreePendTral == 0) {
|
||||
@@ -151,24 +157,33 @@ export default {
|
||||
isAgreePendTral: 0,
|
||||
id: this.formateCourtData.id,
|
||||
arbitrators: this.arbitrators,
|
||||
arbitratorId:this.formateCourtData.arbitratorId,
|
||||
arbitratorName:this.formateCourtData.arbitratorName
|
||||
};
|
||||
} else {
|
||||
this.paramsdata = {
|
||||
isAgreePendTral: 1,
|
||||
id: this.formateCourtData.id,
|
||||
arbitratorId:this.formateCourtData.arbitratorId,
|
||||
arbitratorName:this.formateCourtData.arbitratorName
|
||||
};
|
||||
}
|
||||
}
|
||||
console.log(this.paramsdata)
|
||||
this.$refs["formateCourtform"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.loadingSubmit = true;
|
||||
pendTralCheck(this.paramsdata).then((res) => {
|
||||
|
||||
this.cancel();
|
||||
this.$modal.msgSuccess("组庭成功");
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
this.loadingSubmit = false;
|
||||
// 初始化页面
|
||||
this.formateCourtform={}
|
||||
});
|
||||
}).catch((err) => {
|
||||
this.loadingSubmit = false;
|
||||
});;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user