|
|
@@ -92,6 +92,13 @@
|
|
92
|
92
|
this.tap = option.tap
|
|
93
|
93
|
this.wid = option.wid;;
|
|
94
|
94
|
this.roleCode = uni.getStorageSync("roleCode")
|
|
|
95
|
+ if(option.buttons) {
|
|
|
96
|
+ JSON.parse(option.buttons).forEach(v => {
|
|
|
97
|
+ if (this.$mButtonConfig.indexOf(v.key)!=-1) {
|
|
|
98
|
+ this.orderButtonData.push(v);
|
|
|
99
|
+ }
|
|
|
100
|
+ })
|
|
|
101
|
+ }
|
|
95
|
102
|
// 获取详情
|
|
96
|
103
|
this.getDetail("0");
|
|
97
|
104
|
// 获取办理过程
|
|
|
@@ -109,15 +116,6 @@
|
|
109
|
116
|
let data = response.data;
|
|
110
|
117
|
if (type === "0") {
|
|
111
|
118
|
this.detailContentData = data.data[0];
|
|
112
|
|
- let btnData = data.btndata;
|
|
113
|
|
- if (btnData.length > 0) {
|
|
114
|
|
- btnData.forEach((element, index) => {
|
|
115
|
|
- if (this.$mButtonConfig.indexOf(element.key)!=-1) {
|
|
116
|
|
- this.orderButtonData.push(element)
|
|
117
|
|
- }
|
|
118
|
|
-
|
|
119
|
|
- });
|
|
120
|
|
- }
|
|
121
|
119
|
} else if (type === "9") {
|
|
122
|
120
|
this.handleProcessListData = data;
|
|
123
|
121
|
}
|