修改仲裁bug
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
@close="cancel"
|
||||
:destroy-on-close="true"
|
||||
>
|
||||
<div v-show="choosetrialmethodata.arbitraMethodIssame==1">
|
||||
<div v-show="choosetrialmethodata.arbitraMethodIssame!=2">
|
||||
<el-descriptions>
|
||||
<el-descriptions-item label="当前仲裁方式:">
|
||||
<el-tag size="small">{{
|
||||
@@ -53,7 +53,7 @@
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="determine(2)">确定</el-button>
|
||||
<el-button type="primary" @click="determine(2)" :loading="loadingSubmit">确定</el-button>
|
||||
<el-button @click="cancel">取消</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -70,6 +70,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
form:{},
|
||||
loadingSubmit: false,
|
||||
rules:{
|
||||
arbitratMethod: [
|
||||
{ required: true, message: '请选择开庭方式', trigger: 'change' }
|
||||
@@ -98,6 +99,7 @@ export default {
|
||||
determine(val){
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.loadingSubmit = true;
|
||||
let paramsdata = {
|
||||
opinion: val,
|
||||
arbitratMethod:this.form.arbitratMethod
|
||||
@@ -110,8 +112,11 @@ export default {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
this.loadingSubmit = false;
|
||||
})
|
||||
.catch((err) => {});
|
||||
.catch((err) => {
|
||||
this.loadingSubmit = false;
|
||||
});
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user