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