apply-clients 5.0.35-55 → 5.0.35-56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -188,20 +188,24 @@ export default {
|
|
|
188
188
|
this.$goto('up-load')
|
|
189
189
|
},
|
|
190
190
|
addactive(modify) {
|
|
191
|
-
var processid = ''
|
|
192
191
|
let http = new HttpResetClass()
|
|
193
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetProcessID`, {
|
|
194
|
-
|
|
192
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetProcessID`, {
|
|
193
|
+
data: {
|
|
194
|
+
filename: '鄂州报建流程',
|
|
195
|
+
start_activity: modify
|
|
196
|
+
}
|
|
197
|
+
}).then(res => {
|
|
198
|
+
let data = {
|
|
199
|
+
f_process_id: res.data.f_process_id,
|
|
200
|
+
f_product_id: res.data.f_product_id,
|
|
201
|
+
start_activity: modify,
|
|
202
|
+
user: Vue.user,
|
|
203
|
+
defname: modify
|
|
204
|
+
}
|
|
205
|
+
setTimeout(() => {
|
|
206
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
207
|
+
}, 400)
|
|
195
208
|
})
|
|
196
|
-
let data = {
|
|
197
|
-
f_process_id: processid,
|
|
198
|
-
f_product_id: 1,
|
|
199
|
-
start_activity: modify,
|
|
200
|
-
user: Vue.user
|
|
201
|
-
}
|
|
202
|
-
setTimeout(() => {
|
|
203
|
-
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
204
|
-
}, 200)
|
|
205
209
|
}
|
|
206
210
|
},
|
|
207
211
|
ready() {
|
|
@@ -209,23 +213,18 @@ export default {
|
|
|
209
213
|
var _this = this;
|
|
210
214
|
this.timeoutHandle = window.setInterval(function () {
|
|
211
215
|
_this.search()
|
|
212
|
-
}, 6000000)//60000
|
|
216
|
+
}, 6000000)// 60000
|
|
213
217
|
},
|
|
214
218
|
created() {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
//
|
|
221
|
-
// var data = JSON.parse(result)
|
|
222
|
-
// console.log(data)
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
219
|
+
var result = HostApp.readLocalFile('workflow_apply.json')
|
|
220
|
+
if (result.code == 500) {
|
|
221
|
+
this.$showMessage('获取流程配置文件失败,请联系系统管理员')
|
|
222
|
+
return
|
|
223
|
+
}
|
|
227
224
|
|
|
228
|
-
var data=
|
|
225
|
+
var data = JSON.parse(result)
|
|
226
|
+
console.log(data)
|
|
227
|
+
/* var data={
|
|
229
228
|
"start_activitys": [
|
|
230
229
|
"集体报装申请",
|
|
231
230
|
"报装申请",
|
|
@@ -3522,13 +3521,11 @@ export default {
|
|
|
3522
3521
|
]
|
|
3523
3522
|
}
|
|
3524
3523
|
]
|
|
3525
|
-
}
|
|
3524
|
+
}*/
|
|
3526
3525
|
|
|
3527
3526
|
console.log('前台存入缓存中的data=>' + JSON.stringify(data))
|
|
3528
3527
|
Vue.workflow_vue = Vue.prototype.$workflow_vue = data
|
|
3529
3528
|
}
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
3529
|
}
|
|
3533
3530
|
</script>
|
|
3534
3531
|
|