apply-clients 3.3.10 → 3.3.14
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/AndroidApp.vue +2 -2
- package/src/components/android/Function/AppFunctionServiceControl.vue +3 -1
- package/src/components/android/Function/AppInstallFunction.vue +4 -15
- package/src/components/android/Process/AppExplorationUser.vue +0 -10
- package/src/components/android/Process/AppServiceControl.vue +686 -639
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +106 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +61 -20
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +2 -2
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +0 -10
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +0 -9
- package/src/components/product/Function/InstallInfoSelect.vue +4 -13
- package/src/components/product/Order/OrderMessage.vue +0 -4
- package/src/components/product/Process/ExplorationSelect.vue +7 -14
- package/src/components/product/Process/ExplorationUser.vue +3 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +67 -20
- package/src/components/product/Process/Processes/devicesManagement.vue +97 -44
- package/src/components/product/Process/Processes/printCharge.vue +16 -25
- package/src/components/product/Process/Service/ServiceControl.vue +187 -96
- package/src/components/product/Process/ShowBackReason.vue +33 -29
- package/src/components/product/Stop/StopApplyList.vue +3 -13
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +120 -19
- package/src/components/product/Supervisory/SupervisoryList.vue +3 -13
- package/src/components/product/Supervisory/SupervisoryhCart.vue +14 -11
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<script>
|
|
8
8
|
import Vue from 'vue'
|
|
9
9
|
import {HttpResetClass} from 'vue-client'
|
|
10
|
+
import {isEmpty} from "../../../Util";
|
|
10
11
|
// Date格式化
|
|
11
12
|
Date.prototype.Format = function (fmt) {
|
|
12
13
|
var o = {
|
|
@@ -339,66 +340,166 @@
|
|
|
339
340
|
value: item.f_dev_name
|
|
340
341
|
}
|
|
341
342
|
})
|
|
343
|
+
},
|
|
344
|
+
async getPrice (f_price_id) {
|
|
345
|
+
console.log('=======================')
|
|
346
|
+
console.log(f_price_id)
|
|
347
|
+
|
|
348
|
+
let data = {
|
|
349
|
+
condition: `sp.f_orgid = '${this.$login.f.orgid}'`
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
if (!isEmpty(f_price_id)) {
|
|
353
|
+
data.condition = `sp.f_orgid = '${this.$login.f.orgid}' and sp.f_price_id = ${f_price_id}`
|
|
354
|
+
}
|
|
355
|
+
let http = new HttpResetClass()
|
|
356
|
+
let res = await http.load(
|
|
357
|
+
'POST',
|
|
358
|
+
`rs/sql/applyGetPrice`,
|
|
359
|
+
{data: data},
|
|
360
|
+
{resolveMsg: null, rejectMsg: '气价查询失败!!!'}
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
return res.data.map(item => {
|
|
364
|
+
return {
|
|
365
|
+
label: item.f_price_name,
|
|
366
|
+
value: item
|
|
367
|
+
}
|
|
368
|
+
})
|
|
342
369
|
}
|
|
343
370
|
},
|
|
344
371
|
events:{
|
|
345
|
-
//
|
|
346
|
-
'
|
|
347
|
-
this.$getConfig(this, 'UserAddress')
|
|
372
|
+
// 终止报建初始化·
|
|
373
|
+
async 'stopApplyReadyEvent' () {
|
|
348
374
|
|
|
349
|
-
let
|
|
375
|
+
let f_is_stop = this.getLableValue('是否终止')
|
|
350
376
|
|
|
351
377
|
for (const item of this.show_data.fields) {
|
|
352
|
-
if (
|
|
353
|
-
if (item.label === '
|
|
378
|
+
if (f_is_stop === '是') {
|
|
379
|
+
if (item.label === '终止原因') {
|
|
354
380
|
item.hidden = false
|
|
355
381
|
item.required = true
|
|
356
382
|
}
|
|
357
|
-
|
|
358
|
-
|
|
383
|
+
} else {
|
|
384
|
+
if (item.label === '终止原因') {
|
|
385
|
+
item.hidden = true
|
|
359
386
|
item.required = false
|
|
360
387
|
}
|
|
361
388
|
}
|
|
362
|
-
|
|
363
|
-
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
if (isEmpty(this.show_data.f_parent_process_id)) {
|
|
392
|
+
return
|
|
393
|
+
}
|
|
394
|
+
let data = {
|
|
395
|
+
condition: `f_process_id = '${this.show_data.f_parent_process_id}'`,
|
|
396
|
+
data: {
|
|
397
|
+
id: this.$login.f.id,
|
|
398
|
+
orgid: this.$login.f.orgid
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
let res = await this.$resetpost(
|
|
402
|
+
`rs/sql/supervisory`,
|
|
403
|
+
{data: data},
|
|
404
|
+
{resolveMsg: null, rejectMsg: '项目查询失败!!!'}
|
|
405
|
+
)
|
|
406
|
+
this.show_data.parentApply = res.data[0]
|
|
407
|
+
},
|
|
408
|
+
// 通气点火初始化
|
|
409
|
+
async 'gasReadyEvent' () {
|
|
410
|
+
if (!isEmpty(this.show_data.f_price_id)) {
|
|
411
|
+
let priceList = await this.getPrice(this.show_data.f_price_id)
|
|
412
|
+
this.setLabelValue('气价名称', priceList[0].value)
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
// 保险初始化显示内容
|
|
417
|
+
let f_is_insure = this.getLableValue('是否购买保险')
|
|
418
|
+
for (const item of this.show_data.fields) {
|
|
419
|
+
if (f_is_insure === '是') {
|
|
420
|
+
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
|
|
364
421
|
item.hidden = false
|
|
365
422
|
item.required = true
|
|
366
423
|
}
|
|
367
|
-
if (item.label === '
|
|
424
|
+
if (item.label === '保险备注') {
|
|
425
|
+
item.hidden = false
|
|
426
|
+
}
|
|
427
|
+
} else {
|
|
428
|
+
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
|
|
368
429
|
item.hidden = true
|
|
369
430
|
item.required = false
|
|
370
431
|
}
|
|
432
|
+
if (item.label === '保险备注') {
|
|
433
|
+
item.hidden = true
|
|
434
|
+
}
|
|
371
435
|
}
|
|
372
|
-
|
|
373
|
-
|
|
436
|
+
}
|
|
437
|
+
// 本期保费到期时间默认一年
|
|
438
|
+
if (isEmpty(this.selectdata.f_ins_expiration_date)) {
|
|
439
|
+
let f_ins_expiration_date = new Date().setFullYear(new Date().getFullYear() + 1)
|
|
440
|
+
this.setLabelValue("保费结束日期", new Date(f_ins_expiration_date).Format('yyyy-MM-dd'))
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
// 申请节点初始化
|
|
444
|
+
'applyReadyEvent' () {
|
|
445
|
+
this.$getConfig(this, 'UserAddress')
|
|
446
|
+
|
|
447
|
+
let f_address_type = this.show_data.f_address_type
|
|
448
|
+
|
|
449
|
+
for (const item of this.show_data.fields) {
|
|
450
|
+
if (f_address_type === '民用市区') {
|
|
451
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
452
|
+
item.hidden = false
|
|
453
|
+
item.required = true
|
|
454
|
+
}
|
|
455
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
456
|
+
item.hidden = false
|
|
457
|
+
item.required = false
|
|
458
|
+
}
|
|
459
|
+
if (item.label === '地址') {
|
|
460
|
+
item.readonly = true
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
if (f_address_type === '民用乡镇') {
|
|
464
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
374
465
|
item.hidden = false
|
|
375
466
|
item.required = true
|
|
376
467
|
}
|
|
377
|
-
if (item.label === '
|
|
468
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
378
469
|
item.hidden = false
|
|
379
470
|
item.required = false
|
|
380
471
|
}
|
|
381
|
-
if (item.label === '
|
|
472
|
+
if (item.label === '楼层') {
|
|
382
473
|
item.hidden = true
|
|
383
474
|
item.required = false
|
|
384
475
|
}
|
|
476
|
+
if (item.label === '地址') {
|
|
477
|
+
item.readonly = true
|
|
478
|
+
}
|
|
385
479
|
}
|
|
386
|
-
if (f_address_type === '
|
|
387
|
-
if (item.label === '区/县') {
|
|
480
|
+
if (f_address_type === '特殊地址') {
|
|
481
|
+
if (item.label === '区/县' || item.label === '街道/乡镇') {
|
|
388
482
|
item.hidden = false
|
|
389
483
|
item.required = true
|
|
390
484
|
}
|
|
391
|
-
if (item.label === '
|
|
485
|
+
if (item.label === '集收单位') {
|
|
486
|
+
item.hidden = false
|
|
487
|
+
item.required = false
|
|
488
|
+
}
|
|
489
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
|
|
392
490
|
item.hidden = true
|
|
393
491
|
item.required = false
|
|
394
492
|
}
|
|
493
|
+
if (item.label === '地址') {
|
|
494
|
+
item.readonly = false
|
|
495
|
+
}
|
|
395
496
|
}
|
|
396
497
|
|
|
397
498
|
if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
|
|
398
499
|
item.hidden = true
|
|
399
500
|
}
|
|
400
501
|
}
|
|
401
|
-
}
|
|
502
|
+
},
|
|
402
503
|
},
|
|
403
504
|
watch: {
|
|
404
505
|
deep: true
|
|
@@ -20,11 +20,10 @@
|
|
|
20
20
|
condition="f_apply_num = '{}'">
|
|
21
21
|
</div>
|
|
22
22
|
<div class="form-group col-sm-3">
|
|
23
|
-
<label class="font_normal_body"
|
|
24
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.
|
|
25
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="
|
|
23
|
+
<label class="font_normal_body">客户名称:</label>
|
|
24
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
25
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
26
26
|
</div>
|
|
27
|
-
|
|
28
27
|
<div class="form-group col-sm-2 button-range">
|
|
29
28
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
30
29
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
@@ -37,11 +36,6 @@
|
|
|
37
36
|
</div>
|
|
38
37
|
</div>
|
|
39
38
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
40
|
-
<div class="form-group col-sm-3">
|
|
41
|
-
<label class="font_normal_body">客户名称:</label>
|
|
42
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
43
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
44
|
-
</div>
|
|
45
39
|
<div class="form-group col-sm-3">
|
|
46
40
|
<label class="font_normal_body">联系电话:</label>
|
|
47
41
|
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
@@ -115,7 +109,6 @@
|
|
|
115
109
|
<tr>
|
|
116
110
|
<th style="white-space: nowrap;">序号</th>
|
|
117
111
|
<th style="white-space: nowrap;">工程编号</th>
|
|
118
|
-
<th style="white-space: nowrap;">项目名称</th>
|
|
119
112
|
<th style="white-space: nowrap;">客户名称</th>
|
|
120
113
|
<th style="white-space: nowrap;">合同编号</th>
|
|
121
114
|
<th style="white-space: nowrap;">电话</th>
|
|
@@ -135,9 +128,6 @@
|
|
|
135
128
|
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
136
129
|
<nobr>{{row.f_apply_num}}</nobr>
|
|
137
130
|
</td>
|
|
138
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
139
|
-
<nobr>{{row.f_entry_name}}</nobr>
|
|
140
|
-
</td>
|
|
141
131
|
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
142
132
|
<nobr>{{row.f_user_name}}</nobr>
|
|
143
133
|
</td>
|
|
@@ -44,17 +44,20 @@
|
|
|
44
44
|
//点击获取节点名
|
|
45
45
|
getdefname (row) {
|
|
46
46
|
// 发起节点都可查看
|
|
47
|
-
if(row.defname === this.$workflow_vue.start_activity){
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
if(this.check(row.actorexpression)){
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
47
|
+
// if(row.defname === this.$workflow_vue.start_activity){
|
|
48
|
+
// row = Object.assign({},this.selectdata,row)
|
|
49
|
+
// this.$dispatch('apply', row)
|
|
50
|
+
// return
|
|
51
|
+
// }
|
|
52
|
+
// if(this.check(row.actorexpression)){
|
|
53
|
+
// row = Object.assign({},this.selectdata,row)
|
|
54
|
+
// this.$dispatch('apply', row)
|
|
55
|
+
// return
|
|
56
|
+
// }
|
|
57
|
+
// this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
58
|
+
|
|
59
|
+
row = Object.assign({},this.selectdata,row)
|
|
60
|
+
this.$dispatch('apply', row)
|
|
58
61
|
},
|
|
59
62
|
// 检测是否有权限
|
|
60
63
|
check (actorexpression){
|