|
|
@@ -44,7 +44,8 @@
|
|
44
|
44
|
<button class="btnItem" type="primary" size="mini" @tap="modify">修改</button>
|
|
45
|
45
|
<!-- <button class="btnItem" type="primary" size="mini" @tap="clickPay">申请人缴费</button>
|
|
46
|
46
|
<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
|
|
47
|
|
- <button class="btnItem" type="primary" size="mini" v-for="(item) in buttonList" :key="item.id"
|
|
|
47
|
+ <button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
|
|
|
48
|
+ :key="item.id"
|
|
48
|
49
|
v-if="item.id == defalutVal.caseFlowId && checkPermi([item.buttonAuthFlag])">{{ item.nodeName }}</button>
|
|
49
|
50
|
<!-- <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence">确认证据</button>
|
|
50
|
51
|
<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
|
|
|
@@ -56,12 +57,13 @@
|
|
56
|
57
|
|
|
57
|
58
|
<script>
|
|
58
|
59
|
import {
|
|
59
|
|
- queryCaseFlowInfo
|
|
|
60
|
+ queryCaseFlowInfo,
|
|
|
61
|
+ caseAppSubmit
|
|
60
|
62
|
} from '@/api/handlecase/index.js'
|
|
61
|
63
|
export default {
|
|
62
|
64
|
data() {
|
|
63
|
65
|
return {
|
|
64
|
|
- buttonList: []
|
|
|
66
|
+
|
|
65
|
67
|
}
|
|
66
|
68
|
},
|
|
67
|
69
|
props: {
|
|
|
@@ -72,9 +74,57 @@
|
|
72
|
74
|
sysType: {
|
|
73
|
75
|
type: Number,
|
|
74
|
76
|
default: () => {}
|
|
|
77
|
+ },
|
|
|
78
|
+ buttonList: {
|
|
|
79
|
+ type: Array,
|
|
|
80
|
+ default: () => {}
|
|
75
|
81
|
}
|
|
76
|
82
|
},
|
|
77
|
83
|
methods: {
|
|
|
84
|
+ /**点击列表按钮*/
|
|
|
85
|
+ clickType(type) {
|
|
|
86
|
+ if (type == 1) {
|
|
|
87
|
+ // 提交案件
|
|
|
88
|
+ this.onsubmitRow()
|
|
|
89
|
+ } else if (type == 2) {
|
|
|
90
|
+ // 缴费
|
|
|
91
|
+ this.clickPay()
|
|
|
92
|
+ } else if (type == 3 || type == 45) {
|
|
|
93
|
+ // 确认缴费
|
|
|
94
|
+ } else if (type == 4) {
|
|
|
95
|
+ // 受理分配
|
|
|
96
|
+ } else if (type == 5) {
|
|
|
97
|
+ // 选择调解员
|
|
|
98
|
+ this.caseDetail()
|
|
|
99
|
+ } else if (type == 6) {
|
|
|
100
|
+ // 核实调解员
|
|
|
101
|
+ } else if (type == 7) {
|
|
|
102
|
+ // 确认调解员
|
|
|
103
|
+ } else if (type == 8) {
|
|
|
104
|
+ // 确定调解时间
|
|
|
105
|
+ } else if (type == 9) {
|
|
|
106
|
+ // 调解
|
|
|
107
|
+ } else if (type == 10) {
|
|
|
108
|
+ // 确认调解书
|
|
|
109
|
+ } else if (type == 11) {
|
|
|
110
|
+ // 签名
|
|
|
111
|
+ } else if (type == 12) {
|
|
|
112
|
+ // 用印申请
|
|
|
113
|
+ } else if (type == 13) {
|
|
|
114
|
+ // 用印
|
|
|
115
|
+ } else if (type == 14) {
|
|
|
116
|
+ // 归档
|
|
|
117
|
+ } else if (type == 15) {
|
|
|
118
|
+ // 申请人签收
|
|
|
119
|
+ } else if (type == 16) {
|
|
|
120
|
+ // 被申请人签收
|
|
|
121
|
+ } else if (type == 17) {
|
|
|
122
|
+ //结束
|
|
|
123
|
+ } else if (type == 44) {
|
|
|
124
|
+ // 被申请人缴费
|
|
|
125
|
+ this.clickPay()
|
|
|
126
|
+ }
|
|
|
127
|
+ },
|
|
78
|
128
|
// 案件详情以及操作
|
|
79
|
129
|
caseDetail() {
|
|
80
|
130
|
uni.navigateTo({
|
|
|
@@ -86,6 +136,17 @@
|
|
86
|
136
|
url: `/pages/handlecase/component/payList?id=${this.defalutVal.id}`
|
|
87
|
137
|
})
|
|
88
|
138
|
},
|
|
|
139
|
+ /**提交案件*/
|
|
|
140
|
+ onsubmitRow() {
|
|
|
141
|
+ caseAppSubmit().then(res => {
|
|
|
142
|
+ uni.showToast({
|
|
|
143
|
+ title: '成功',
|
|
|
144
|
+ icon: 'none',
|
|
|
145
|
+ duration: 1000
|
|
|
146
|
+ })
|
|
|
147
|
+ this.$emit("getList");
|
|
|
148
|
+ })
|
|
|
149
|
+ },
|
|
89
|
150
|
// 修改
|
|
90
|
151
|
modify(){
|
|
91
|
152
|
uni.redirectTo({
|
|
|
@@ -107,7 +168,7 @@
|
|
107
|
168
|
},
|
|
108
|
169
|
},
|
|
109
|
170
|
created() {
|
|
110
|
|
- this.getButtonList()
|
|
|
171
|
+ // this.getButtonList()
|
|
111
|
172
|
}
|
|
112
|
173
|
}
|
|
113
|
174
|
</script>
|