apply-clients 5.0.35-55 → 5.0.35-58
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.
- package/package.json +1 -1
- package/src/components/app_apply/ApplyToDoList.vue +2581 -2583
- package/src/components/app_apply/Gongcheng.vue +63 -49
- package/src/components/app_apply/ServiceControl.vue +495 -354
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +1 -1
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +2 -2
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2058 -2057
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<span v-if="!rows">(暂无待处理工程单)</span>
|
|
12
12
|
<button class="btn btn-primary btn-sm" type="button" style="float:right"
|
|
13
13
|
@click="addactive('踏勘、建立工程编号')">
|
|
14
|
-
<span class="glyphicon glyphicon-plus"
|
|
14
|
+
<span class="glyphicon glyphicon-plus"></span>新增流程
|
|
15
15
|
</button>
|
|
16
16
|
<img @click="search" src="../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
|
|
17
17
|
<div style="margin-right: 3%;float:right;height: 30px " class="button_spacing"
|
|
@@ -109,7 +109,17 @@ export default {
|
|
|
109
109
|
return {
|
|
110
110
|
// rows: Object
|
|
111
111
|
rows: [],
|
|
112
|
-
model: {
|
|
112
|
+
model: {
|
|
113
|
+
button: {
|
|
114
|
+
button_name: null,
|
|
115
|
+
button_index: null
|
|
116
|
+
},
|
|
117
|
+
f_filiale: null,
|
|
118
|
+
f_parentname: null,
|
|
119
|
+
f_operate_date: null,
|
|
120
|
+
f_operator: null,
|
|
121
|
+
f_hege: false
|
|
122
|
+
},
|
|
113
123
|
criteriaShow: false,
|
|
114
124
|
editshow: false,
|
|
115
125
|
row: {
|
|
@@ -150,7 +160,7 @@ export default {
|
|
|
150
160
|
search() {
|
|
151
161
|
// app正式运行程序
|
|
152
162
|
console.log('------app开始查询本地代办工单------')
|
|
153
|
-
var condition = "defname in ('
|
|
163
|
+
var condition = "defname not in ('完工')"
|
|
154
164
|
|
|
155
165
|
console.log(JSON.stringify(this.model))
|
|
156
166
|
if (this.model.f_user_name) {
|
|
@@ -188,20 +198,39 @@ export default {
|
|
|
188
198
|
this.$goto('up-load')
|
|
189
199
|
},
|
|
190
200
|
addactive(modify) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
201
|
+
this.$showMessage('是否开启一个新的流程?', ['confirm', 'cancel']).then((res) => {
|
|
202
|
+
if (res === 'confirm') {
|
|
203
|
+
let http = new HttpResetClass()
|
|
204
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetProcessID`, {
|
|
205
|
+
data: {
|
|
206
|
+
filename: '鄂州报建流程',
|
|
207
|
+
start_activity: modify
|
|
208
|
+
}
|
|
209
|
+
}).then(res => {
|
|
210
|
+
let data = {
|
|
211
|
+
f_process_id: res.data.f_process_id,
|
|
212
|
+
f_product_id: res.data.f_product_id,
|
|
213
|
+
start_activity: modify,
|
|
214
|
+
user: Vue.user,
|
|
215
|
+
defname: modify
|
|
216
|
+
}
|
|
217
|
+
setTimeout(() => {
|
|
218
|
+
}, 200)
|
|
219
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
|
|
220
|
+
this.click(data)
|
|
221
|
+
})
|
|
222
|
+
}
|
|
195
223
|
})
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
224
|
+
},
|
|
225
|
+
click (row) {
|
|
226
|
+
let _this = this
|
|
227
|
+
this.$dispatch('gotoson', {
|
|
228
|
+
_this: _this,
|
|
229
|
+
title: row.defname,
|
|
230
|
+
safe: true
|
|
231
|
+
})
|
|
232
|
+
|
|
233
|
+
this.$goto('service-control-app', {selectdata: row,show_data: {ppp: {}},selectmodel: this.model}, 'self', _this.search)
|
|
205
234
|
}
|
|
206
235
|
},
|
|
207
236
|
ready() {
|
|
@@ -209,23 +238,18 @@ export default {
|
|
|
209
238
|
var _this = this;
|
|
210
239
|
this.timeoutHandle = window.setInterval(function () {
|
|
211
240
|
_this.search()
|
|
212
|
-
}, 6000000)//60000
|
|
241
|
+
}, 6000000)// 60000
|
|
213
242
|
},
|
|
214
243
|
created() {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
//
|
|
221
|
-
// var data = JSON.parse(result)
|
|
222
|
-
// console.log(data)
|
|
223
|
-
|
|
224
|
-
|
|
244
|
+
var result = HostApp.readLocalFile('workflow_apply.json')
|
|
245
|
+
if (result.code == 500) {
|
|
246
|
+
this.$showMessage('获取流程配置文件失败,请联系系统管理员')
|
|
247
|
+
return
|
|
248
|
+
}
|
|
225
249
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
var data={
|
|
250
|
+
var data = JSON.parse(result)
|
|
251
|
+
console.log(data)
|
|
252
|
+
/* var data={
|
|
229
253
|
"start_activitys": [
|
|
230
254
|
"集体报装申请",
|
|
231
255
|
"报装申请",
|
|
@@ -429,8 +453,7 @@ export default {
|
|
|
429
453
|
"required": true,
|
|
430
454
|
"value": null,
|
|
431
455
|
"hidden": true,
|
|
432
|
-
"options": [
|
|
433
|
-
]
|
|
456
|
+
"options": []
|
|
434
457
|
},
|
|
435
458
|
{
|
|
436
459
|
"label": "电话号码",
|
|
@@ -453,8 +476,7 @@ export default {
|
|
|
453
476
|
"disabled": false,
|
|
454
477
|
"required": true,
|
|
455
478
|
"value": null,
|
|
456
|
-
"options": [
|
|
457
|
-
]
|
|
479
|
+
"options": []
|
|
458
480
|
},
|
|
459
481
|
{
|
|
460
482
|
"label": "勘察人员",
|
|
@@ -1893,8 +1915,7 @@ export default {
|
|
|
1893
1915
|
"tables": [
|
|
1894
1916
|
"t_apply"
|
|
1895
1917
|
],
|
|
1896
|
-
"fields": [
|
|
1897
|
-
],
|
|
1918
|
+
"fields": [],
|
|
1898
1919
|
"buttons": [
|
|
1899
1920
|
{
|
|
1900
1921
|
"button_name": "保存"
|
|
@@ -1909,8 +1930,7 @@ export default {
|
|
|
1909
1930
|
"tables": [
|
|
1910
1931
|
"t_apply"
|
|
1911
1932
|
],
|
|
1912
|
-
"fields": [
|
|
1913
|
-
]
|
|
1933
|
+
"fields": []
|
|
1914
1934
|
},
|
|
1915
1935
|
{
|
|
1916
1936
|
"title": "报装申请",
|
|
@@ -2207,8 +2227,7 @@ export default {
|
|
|
2207
2227
|
"disabled": false,
|
|
2208
2228
|
"hidden": true,
|
|
2209
2229
|
"value": null,
|
|
2210
|
-
"options": [
|
|
2211
|
-
]
|
|
2230
|
+
"options": []
|
|
2212
2231
|
},
|
|
2213
2232
|
{
|
|
2214
2233
|
"label": "电话号码",
|
|
@@ -2231,8 +2250,7 @@ export default {
|
|
|
2231
2250
|
"disabled": false,
|
|
2232
2251
|
"required": true,
|
|
2233
2252
|
"value": null,
|
|
2234
|
-
"options": [
|
|
2235
|
-
]
|
|
2253
|
+
"options": []
|
|
2236
2254
|
},
|
|
2237
2255
|
{
|
|
2238
2256
|
"label": "勘察人员",
|
|
@@ -2284,8 +2302,7 @@ export default {
|
|
|
2284
2302
|
"readonly": true,
|
|
2285
2303
|
"required": true,
|
|
2286
2304
|
"value": "1",
|
|
2287
|
-
"options": [
|
|
2288
|
-
]
|
|
2305
|
+
"options": []
|
|
2289
2306
|
},
|
|
2290
2307
|
{
|
|
2291
2308
|
"label": "证件号码",
|
|
@@ -3380,8 +3397,7 @@ export default {
|
|
|
3380
3397
|
"required": false
|
|
3381
3398
|
}
|
|
3382
3399
|
],
|
|
3383
|
-
"onetomany": [
|
|
3384
|
-
],
|
|
3400
|
+
"onetomany": [],
|
|
3385
3401
|
"buttons": [
|
|
3386
3402
|
{
|
|
3387
3403
|
"button_name": "保存"
|
|
@@ -3522,13 +3538,11 @@ export default {
|
|
|
3522
3538
|
]
|
|
3523
3539
|
}
|
|
3524
3540
|
]
|
|
3525
|
-
}
|
|
3541
|
+
}*/
|
|
3526
3542
|
|
|
3527
3543
|
console.log('前台存入缓存中的data=>' + JSON.stringify(data))
|
|
3528
3544
|
Vue.workflow_vue = Vue.prototype.$workflow_vue = data
|
|
3529
3545
|
}
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
3546
|
}
|
|
3533
3547
|
</script>
|
|
3534
3548
|
|