修改仲裁bug
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<!-- </div> -->
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm" class="endbutton"
|
||||
<el-button type="primary" :loading="loadingSubmit" @click="submitForm" class="endbutton"
|
||||
><span>确 定</span>
|
||||
</el-button>
|
||||
<el-button @click="cancel" class="endbutton1"
|
||||
@@ -86,6 +86,7 @@ export default {
|
||||
hearDate: null,
|
||||
},
|
||||
noArbitrator: false,
|
||||
loadingSubmit: false,
|
||||
isAgreePendTral: 1,
|
||||
total: 0,
|
||||
queryParams1: {
|
||||
@@ -102,13 +103,14 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getarbitrAtor();
|
||||
// this.getarbitrAtor();
|
||||
},
|
||||
watch: {
|
||||
showcourtReview(val) {
|
||||
if (val) {
|
||||
this.isAgreePendTral = 1;
|
||||
this.courtReviewform.hearDate = null;
|
||||
this.getarbitrAtor({caseId:this.form.id});
|
||||
}
|
||||
},
|
||||
form: {
|
||||
@@ -123,8 +125,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
// 获取仲裁员信息
|
||||
getarbitrAtor() {
|
||||
arbitrAtor({}).then((res) => {
|
||||
getarbitrAtor(val) {
|
||||
arbitrAtor(val).then((res) => {
|
||||
this.dataList = res.rows;
|
||||
this.total = res.total;
|
||||
});
|
||||
@@ -162,13 +164,17 @@ export default {
|
||||
}
|
||||
this.$refs["courtReviewform"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.loadingSubmit = true;
|
||||
pendTralSure(this.paramsdata)
|
||||
.then((res) => {
|
||||
this.$modal.msgSuccess("确认成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
this.loadingSubmit = false;
|
||||
})
|
||||
.catch((err) => {});
|
||||
.catch((err) => {
|
||||
this.loadingSubmit = false;
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user