|
|
@@ -8,37 +8,56 @@
|
|
8
|
8
|
@close="cancel"
|
|
9
|
9
|
:destroy-on-close="true"
|
|
10
|
10
|
>
|
|
11
|
|
- <el-descriptions>
|
|
12
|
|
- <el-descriptions-item label="当前仲裁方式:">
|
|
13
|
|
- <el-tag size="small">{{
|
|
14
|
|
- choosetrialmethodata.arbitratMethodName
|
|
15
|
|
- }}</el-tag>
|
|
16
|
|
- </el-descriptions-item>
|
|
17
|
|
- </el-descriptions>
|
|
|
11
|
+ <div v-show="choosetrialmethodata.arbitraMethodIssame==1">
|
|
|
12
|
+ <el-descriptions>
|
|
|
13
|
+ <el-descriptions-item label="当前仲裁方式:">
|
|
|
14
|
+ <el-tag size="small">{{
|
|
|
15
|
+ choosetrialmethodata.arbitratMethodName
|
|
|
16
|
+ }}</el-tag>
|
|
|
17
|
+ </el-descriptions-item>
|
|
|
18
|
+ </el-descriptions>
|
|
18
|
19
|
|
|
19
|
|
- <!-- <div class="radiobox">
|
|
20
|
|
- <el-radio-group v-model="radio">
|
|
21
|
|
- <el-radio :label="0">拒绝开庭方式</el-radio>
|
|
22
|
|
- <el-radio :label="1">同意开庭方式</el-radio>
|
|
23
|
|
- </el-radio-group>
|
|
24
|
|
- </div> -->
|
|
|
20
|
+ <!-- <div class="radiobox">
|
|
|
21
|
+ <el-radio-group v-model="radio">
|
|
|
22
|
+ <el-radio :label="0">拒绝开庭方式</el-radio>
|
|
|
23
|
+ <el-radio :label="1">同意开庭方式</el-radio>
|
|
|
24
|
+ </el-radio-group>
|
|
|
25
|
+ </div> -->
|
|
25
|
26
|
|
|
26
|
|
- <!-- <div slot="footer" class="dialog-footer">
|
|
27
|
|
- <el-button type="primary" @click="submitForm" class="endbutton"
|
|
28
|
|
- ><span>提 交</span></el-button
|
|
29
|
|
- >
|
|
30
|
|
- <el-button @click="cancel" class="endbutton1"
|
|
31
|
|
- ><span> 取 消</span></el-button
|
|
32
|
|
- >
|
|
33
|
|
- </div> -->
|
|
34
|
|
- <div slot="footer" class="dialog-footer">
|
|
35
|
|
- <el-button type="primary" @click="submitForm(1)" class="endbutton"
|
|
36
|
|
- ><span>同 意</span></el-button
|
|
37
|
|
- >
|
|
38
|
|
- <el-button class="endbutton1" @click="submitForm(0)"
|
|
39
|
|
- ><span>拒 绝</span></el-button
|
|
40
|
|
- >
|
|
41
|
|
- </div>
|
|
|
27
|
+ <!-- <div slot="footer" class="dialog-footer">
|
|
|
28
|
+ <el-button type="primary" @click="submitForm" class="endbutton"
|
|
|
29
|
+ ><span>提 交</span></el-button
|
|
|
30
|
+ >
|
|
|
31
|
+ <el-button @click="cancel" class="endbutton1"
|
|
|
32
|
+ ><span> 取 消</span></el-button
|
|
|
33
|
+ >
|
|
|
34
|
+ </div> -->
|
|
|
35
|
+ <div slot="footer" class="dialog-footer">
|
|
|
36
|
+ <el-button type="primary" @click="submitForm(1)" class="endbutton"
|
|
|
37
|
+ ><span>同 意</span></el-button
|
|
|
38
|
+ >
|
|
|
39
|
+ <el-button class="endbutton1" @click="submitForm(0)"
|
|
|
40
|
+ ><span>拒 绝</span></el-button
|
|
|
41
|
+ >
|
|
|
42
|
+ </div>
|
|
|
43
|
+ </div>
|
|
|
44
|
+ <div v-show="choosetrialmethodata.arbitraMethodIssame==2">
|
|
|
45
|
+ <el-descriptions>
|
|
|
46
|
+ <el-descriptions-item label="当前案件开庭方式">{{choosetrialmethodata.arbitratMethodIllustrate}}</el-descriptions-item>
|
|
|
47
|
+ </el-descriptions>
|
|
|
48
|
+ <el-form :model="form" :rules="rules" ref="form">
|
|
|
49
|
+ <el-form-item label="选择开庭方式" prop="arbitratMethod">
|
|
|
50
|
+ <el-radio-group v-model="form.arbitratMethod">
|
|
|
51
|
+ <el-radio :label=2>书面审理</el-radio>
|
|
|
52
|
+ <el-radio :label=1>开庭审理</el-radio>
|
|
|
53
|
+ </el-radio-group>
|
|
|
54
|
+ </el-form-item>
|
|
|
55
|
+ <el-form-item>
|
|
|
56
|
+ <el-button type="primary" @click="determine(2)">确定</el-button>
|
|
|
57
|
+ <el-button @click="cancel">取消</el-button>
|
|
|
58
|
+ </el-form-item>
|
|
|
59
|
+ </el-form>
|
|
|
60
|
+ </div>
|
|
42
|
61
|
</el-dialog>
|
|
43
|
62
|
</div>
|
|
44
|
63
|
</template>
|
|
|
@@ -49,16 +68,24 @@ export default {
|
|
49
|
68
|
name: "showchoosetrialmethodDialog",
|
|
50
|
69
|
props: ["showchoosetrialmethod", "choosetrialmethodata", "queryParams"],
|
|
51
|
70
|
data() {
|
|
52
|
|
- return {};
|
|
|
71
|
+ return {
|
|
|
72
|
+ form:{},
|
|
|
73
|
+ rules:{
|
|
|
74
|
+ arbitratMethod: [
|
|
|
75
|
+ { required: true, message: '请选择开庭方式', trigger: 'change' }
|
|
|
76
|
+ ]
|
|
|
77
|
+ }
|
|
|
78
|
+ };
|
|
53
|
79
|
},
|
|
54
|
80
|
methods: {
|
|
55
|
81
|
// 审核仲裁方式 arbitrateMethod
|
|
56
|
82
|
submitForm(val) {
|
|
57
|
83
|
let paramsdata = {
|
|
58
|
|
- opinion: val,
|
|
|
84
|
+ opinion: val
|
|
59
|
85
|
};
|
|
60
|
86
|
let id = {
|
|
61
|
87
|
id: this.choosetrialmethodata.id,
|
|
|
88
|
+ arbitratMethod:this.choosetrialmethodata.arbitratMethod
|
|
62
|
89
|
};
|
|
63
|
90
|
arbitrateMethod(paramsdata,id)
|
|
64
|
91
|
.then((res) => {
|
|
|
@@ -68,6 +95,28 @@ export default {
|
|
68
|
95
|
})
|
|
69
|
96
|
.catch((err) => {});
|
|
70
|
97
|
},
|
|
|
98
|
+ determine(val){
|
|
|
99
|
+ this.$refs["form"].validate((valid) => {
|
|
|
100
|
+ if (valid) {
|
|
|
101
|
+ let paramsdata = {
|
|
|
102
|
+ opinion: val,
|
|
|
103
|
+ arbitratMethod:this.form.arbitratMethod
|
|
|
104
|
+ };
|
|
|
105
|
+ let id = {
|
|
|
106
|
+ id: this.choosetrialmethodata.id,
|
|
|
107
|
+ };
|
|
|
108
|
+ arbitrateMethod(paramsdata,id)
|
|
|
109
|
+ .then((res) => {
|
|
|
110
|
+ this.$modal.msgSuccess("提交成功");
|
|
|
111
|
+ this.cancel();
|
|
|
112
|
+ this.$emit("getcaseApply", this.queryParams);
|
|
|
113
|
+ })
|
|
|
114
|
+ .catch((err) => {});
|
|
|
115
|
+ } else {
|
|
|
116
|
+ return false;
|
|
|
117
|
+ }
|
|
|
118
|
+ });
|
|
|
119
|
+ },
|
|
71
|
120
|
cancel() {
|
|
72
|
121
|
this.$emit("cancelshowchoosetrialMethod");
|
|
73
|
122
|
},
|