apply-clients 3.3.15 → 3.3.19
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/apply.js +2 -2
- package/src/components/android/Process/AppServiceControl.vue +9 -9
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +1 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +2 -2
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/components/product/Process/Processes/{printCharge.vue → Print/printCharge.vue} +17 -2
- package/src/components/product/Process/Processes/{printRefund.vue → Print/printRefund.vue} +2 -2
- package/src/components/product/Process/Service/ServiceControl.vue +103 -66
package/package.json
CHANGED
package/src/apply.js
CHANGED
|
@@ -59,8 +59,8 @@ export default function (filiale) {
|
|
|
59
59
|
Vue.component('installation-details', (resolve) => { require(['./components/product/Process/Processes/InstallationDetails'], resolve) })
|
|
60
60
|
// 收费管理
|
|
61
61
|
Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
|
|
62
|
-
Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/printCharge'], resolve) })
|
|
63
|
-
Vue.component('apply-print-refund', (resolve) => { require(['./components/product/Process/Processes/printRefund'], resolve) })
|
|
62
|
+
Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/Print/printCharge'], resolve) })
|
|
63
|
+
Vue.component('apply-print-refund', (resolve) => { require(['./components/product/Process/Processes/Print/printRefund'], resolve) })
|
|
64
64
|
// 补充协议
|
|
65
65
|
Vue.component('supplemental-agreement', (resolve) => { require(['./components/product/Process/Processes/supplementalAgreement'], resolve) })
|
|
66
66
|
// 选择用户信息
|
|
@@ -487,13 +487,10 @@ export default {
|
|
|
487
487
|
item.hidden = false
|
|
488
488
|
}
|
|
489
489
|
} else {
|
|
490
|
-
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
|
|
490
|
+
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
|
|
491
491
|
item.hidden = true
|
|
492
492
|
item.required = false
|
|
493
493
|
}
|
|
494
|
-
if (item.label === '保险备注') {
|
|
495
|
-
item.hidden = true
|
|
496
|
-
}
|
|
497
494
|
}
|
|
498
495
|
}
|
|
499
496
|
},
|
|
@@ -545,13 +542,16 @@ export default {
|
|
|
545
542
|
if (item.label === '保险备注') {
|
|
546
543
|
item.hidden = false
|
|
547
544
|
}
|
|
548
|
-
|
|
549
|
-
if (
|
|
550
|
-
|
|
551
|
-
|
|
545
|
+
// 本期保费到期时间默认一年
|
|
546
|
+
if (isEmpty(this.selectdata.f_ins_expiration_date)) {
|
|
547
|
+
let f_ins_expiration_date = new Date().setFullYear(new Date().getFullYear() + 1)
|
|
548
|
+
this.setLabelValue("保费结束日期", new Date(f_ins_expiration_date).Format('yyyy-MM-dd'))
|
|
552
549
|
}
|
|
553
|
-
|
|
550
|
+
}
|
|
551
|
+
if (f_is_insure === '否') {
|
|
552
|
+
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
|
|
554
553
|
item.hidden = true
|
|
554
|
+
item.required = false
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
}
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
</article>
|
|
187
187
|
<footer slot="modal-footer" class="modal-footer">
|
|
188
188
|
<!-- 去除一户多表 -->
|
|
189
|
-
<button type="button" class="btn btn-primary" @click="addUserFile">添加表具</button>
|
|
189
|
+
<button type="button" class="btn btn-primary" @click="addUserFile" v-if="false">添加表具</button>
|
|
190
190
|
<button type="button" class="btn btn-primary" @click="saveUserFile">确认</button>
|
|
191
191
|
</footer>
|
|
192
192
|
</modal>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
href="/apply/download/excel/安装明细.xlsx" download>模板下载</a>
|
|
23
23
|
<export-excel :data="$parent.$parent.$parent.getCondition"
|
|
24
24
|
:field="$parent.$parent.$parent.getfield"
|
|
25
|
-
sqlurl="rs/logic/
|
|
25
|
+
sqlurl="rs/logic/exportfile"
|
|
26
26
|
sql-name="getInstallableAddress"
|
|
27
27
|
template-name='可安装地址'
|
|
28
28
|
btn-name="导出可安装"
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
<footer slot="modal-footer" class="modal-footer">
|
|
239
239
|
<template v-if="mark !== 1">
|
|
240
240
|
<!-- 去除一户多表 -->
|
|
241
|
-
<button type="button" class="btn btn-primary" @click="addUserFile">添加表具</button>
|
|
241
|
+
<button type="button" class="btn btn-primary" @click="addUserFile" v-if="false">添加表具</button>
|
|
242
242
|
<button type="button" class="btn btn-primary" @click="saveUserFile" :disabled="!$v.valid">确认</button>
|
|
243
243
|
</template>
|
|
244
244
|
</footer>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -26,6 +26,15 @@
|
|
|
26
26
|
float: right;
|
|
27
27
|
padding-right: 10px;
|
|
28
28
|
}
|
|
29
|
+
.seal {
|
|
30
|
+
position: absolute;
|
|
31
|
+
right: 100px;
|
|
32
|
+
top: 120px;
|
|
33
|
+
width: 150px;
|
|
34
|
+
height: 150px;
|
|
35
|
+
/*opacity: 0.5;*/
|
|
36
|
+
z-index: -1;
|
|
37
|
+
}
|
|
29
38
|
</style>
|
|
30
39
|
<div id="print">
|
|
31
40
|
<h4>
|
|
@@ -43,7 +52,7 @@
|
|
|
43
52
|
</tr>
|
|
44
53
|
<tr>
|
|
45
54
|
<td style="width: 17%">用户姓名</td>
|
|
46
|
-
<td colspan="2" style="width: 33%">{{
|
|
55
|
+
<td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
|
|
47
56
|
<td style="width: 17%">用户编号</td>
|
|
48
57
|
<td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
|
|
49
58
|
</tr>
|
|
@@ -79,6 +88,7 @@
|
|
|
79
88
|
</td>
|
|
80
89
|
</tr>
|
|
81
90
|
</table>
|
|
91
|
+
<img class="seal" border="0" :src="src" alt="">
|
|
82
92
|
</div>
|
|
83
93
|
|
|
84
94
|
<print-element v-show="false" v-ref:print id='print' styleid='style'
|
|
@@ -87,7 +97,7 @@
|
|
|
87
97
|
</template>
|
|
88
98
|
|
|
89
99
|
<script>
|
|
90
|
-
import { isEmpty } from '
|
|
100
|
+
import { isEmpty } from '../../../../Util'
|
|
91
101
|
Date.prototype.Format = function (fmt) {
|
|
92
102
|
var o = {
|
|
93
103
|
"M+": this.getMonth() + 1, //月份
|
|
@@ -111,9 +121,14 @@ export default {
|
|
|
111
121
|
},
|
|
112
122
|
ready () {
|
|
113
123
|
},
|
|
124
|
+
methods: {
|
|
125
|
+
},
|
|
114
126
|
computed: {
|
|
115
127
|
orgs () {
|
|
116
128
|
return this.$login.f.orgs
|
|
129
|
+
},
|
|
130
|
+
src () {
|
|
131
|
+
return require(`./img/${this.$login.f.number}.png`)
|
|
117
132
|
}
|
|
118
133
|
}
|
|
119
134
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<tr>
|
|
51
51
|
<td colspan="6">
|
|
52
52
|
<span class="date">开票日期:{{ new Date().Format('yyyy年MM月dd日') }}</span>
|
|
53
|
-
|
|
53
|
+
<span>工程编号:{{ selectdata.f_parent_apply_num }}</span>
|
|
54
54
|
<span class="status">经办人:{{ username }}</span>
|
|
55
55
|
</td>
|
|
56
56
|
</tr>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
</template>
|
|
99
99
|
|
|
100
100
|
<script>
|
|
101
|
-
import { isEmpty } from '
|
|
101
|
+
import { isEmpty } from '../../../../Util'
|
|
102
102
|
Date.prototype.Format = function (fmt) {
|
|
103
103
|
var o = {
|
|
104
104
|
"M+": this.getMonth() + 1, //月份
|
|
@@ -328,6 +328,34 @@ export default {
|
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
},
|
|
331
|
+
showLabels(...labels) {
|
|
332
|
+
for (const item of this.show_data.fields) {
|
|
333
|
+
if (labels.includes(item.label)) {
|
|
334
|
+
item.hidden = false
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
hideLabels(...labels) {
|
|
339
|
+
for (const item of this.show_data.fields) {
|
|
340
|
+
if (labels.includes(item.label)) {
|
|
341
|
+
item.hidden = true
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
requiredLabels(...labels) {
|
|
346
|
+
for (const item of this.show_data.fields) {
|
|
347
|
+
if (labels.includes(item.label)) {
|
|
348
|
+
item.required = true
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
electiveLabels(...labels) {
|
|
353
|
+
for (const item of this.show_data.fields) {
|
|
354
|
+
if (labels.includes(item.label)) {
|
|
355
|
+
item.required = false
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
},
|
|
331
359
|
async checkDuplicate(index) {
|
|
332
360
|
let http = new HttpResetClass()
|
|
333
361
|
let data = {
|
|
@@ -465,6 +493,65 @@ export default {
|
|
|
465
493
|
value: item
|
|
466
494
|
}
|
|
467
495
|
})
|
|
496
|
+
},
|
|
497
|
+
addressInitialization () {
|
|
498
|
+
this.$getConfig(this, 'UserAddress')
|
|
499
|
+
|
|
500
|
+
let f_address_type = this.show_data.f_address_type
|
|
501
|
+
|
|
502
|
+
for (const item of this.show_data.fields) {
|
|
503
|
+
if (f_address_type === '民用市区') {
|
|
504
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
505
|
+
item.hidden = false
|
|
506
|
+
item.required = true
|
|
507
|
+
}
|
|
508
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
509
|
+
item.hidden = false
|
|
510
|
+
item.required = false
|
|
511
|
+
}
|
|
512
|
+
if (item.label === '地址') {
|
|
513
|
+
item.readonly = true
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
if (f_address_type === '民用乡镇') {
|
|
517
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
518
|
+
item.hidden = false
|
|
519
|
+
item.required = true
|
|
520
|
+
}
|
|
521
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
522
|
+
item.hidden = false
|
|
523
|
+
item.required = false
|
|
524
|
+
}
|
|
525
|
+
if (item.label === '楼层') {
|
|
526
|
+
item.hidden = true
|
|
527
|
+
item.required = false
|
|
528
|
+
}
|
|
529
|
+
if (item.label === '地址') {
|
|
530
|
+
item.readonly = true
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
if (f_address_type === '特殊地址') {
|
|
534
|
+
if (item.label === '区/县' || item.label === '街道/乡镇') {
|
|
535
|
+
item.hidden = false
|
|
536
|
+
item.required = true
|
|
537
|
+
}
|
|
538
|
+
if (item.label === '集收单位') {
|
|
539
|
+
item.hidden = false
|
|
540
|
+
item.required = false
|
|
541
|
+
}
|
|
542
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
|
|
543
|
+
item.hidden = true
|
|
544
|
+
item.required = false
|
|
545
|
+
}
|
|
546
|
+
if (item.label === '地址') {
|
|
547
|
+
item.readonly = false
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
|
|
552
|
+
item.hidden = true
|
|
553
|
+
}
|
|
554
|
+
}
|
|
468
555
|
}
|
|
469
556
|
},
|
|
470
557
|
events: {
|
|
@@ -627,13 +714,10 @@ export default {
|
|
|
627
714
|
item.hidden = false
|
|
628
715
|
}
|
|
629
716
|
} else {
|
|
630
|
-
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
|
|
717
|
+
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
|
|
631
718
|
item.hidden = true
|
|
632
719
|
item.required = false
|
|
633
720
|
}
|
|
634
|
-
if (item.label === '保险备注') {
|
|
635
|
-
item.hidden = true
|
|
636
|
-
}
|
|
637
721
|
}
|
|
638
722
|
}
|
|
639
723
|
},
|
|
@@ -693,13 +777,10 @@ export default {
|
|
|
693
777
|
}
|
|
694
778
|
}
|
|
695
779
|
if (f_is_insure === '否') {
|
|
696
|
-
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
|
|
780
|
+
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
|
|
697
781
|
item.hidden = true
|
|
698
782
|
item.required = false
|
|
699
783
|
}
|
|
700
|
-
if (item.label === '保险备注') {
|
|
701
|
-
item.hidden = true
|
|
702
|
-
}
|
|
703
784
|
}
|
|
704
785
|
}
|
|
705
786
|
},
|
|
@@ -850,65 +931,21 @@ export default {
|
|
|
850
931
|
}
|
|
851
932
|
}
|
|
852
933
|
},
|
|
934
|
+
// 团购转散户初始化
|
|
935
|
+
'apply2ReadyEvent' () {
|
|
936
|
+
if (this.show_data.f_apply_source === '线下发起') {
|
|
937
|
+
this.addressInitialization()
|
|
938
|
+
this.hideLabels('用户编号')
|
|
939
|
+
this.electiveLabels('用户编号')
|
|
940
|
+
}
|
|
941
|
+
if (this.show_data.f_apply_source === '自动发起') {
|
|
942
|
+
this.hideLabels('片区', '地址类型')
|
|
943
|
+
this.electiveLabels('片区', '地址类型',)
|
|
944
|
+
}
|
|
945
|
+
},
|
|
853
946
|
// 申请节点初始化
|
|
854
947
|
'applyReadyEvent' () {
|
|
855
|
-
this
|
|
856
|
-
|
|
857
|
-
let f_address_type = this.show_data.f_address_type
|
|
858
|
-
|
|
859
|
-
for (const item of this.show_data.fields) {
|
|
860
|
-
if (f_address_type === '民用市区') {
|
|
861
|
-
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
862
|
-
item.hidden = false
|
|
863
|
-
item.required = true
|
|
864
|
-
}
|
|
865
|
-
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
866
|
-
item.hidden = false
|
|
867
|
-
item.required = false
|
|
868
|
-
}
|
|
869
|
-
if (item.label === '地址') {
|
|
870
|
-
item.readonly = true
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
if (f_address_type === '民用乡镇') {
|
|
874
|
-
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
875
|
-
item.hidden = false
|
|
876
|
-
item.required = true
|
|
877
|
-
}
|
|
878
|
-
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
879
|
-
item.hidden = false
|
|
880
|
-
item.required = false
|
|
881
|
-
}
|
|
882
|
-
if (item.label === '楼层') {
|
|
883
|
-
item.hidden = true
|
|
884
|
-
item.required = false
|
|
885
|
-
}
|
|
886
|
-
if (item.label === '地址') {
|
|
887
|
-
item.readonly = true
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
if (f_address_type === '特殊地址') {
|
|
891
|
-
if (item.label === '区/县' || item.label === '街道/乡镇') {
|
|
892
|
-
item.hidden = false
|
|
893
|
-
item.required = true
|
|
894
|
-
}
|
|
895
|
-
if (item.label === '集收单位') {
|
|
896
|
-
item.hidden = false
|
|
897
|
-
item.required = false
|
|
898
|
-
}
|
|
899
|
-
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
|
|
900
|
-
item.hidden = true
|
|
901
|
-
item.required = false
|
|
902
|
-
}
|
|
903
|
-
if (item.label === '地址') {
|
|
904
|
-
item.readonly = false
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
|
|
909
|
-
item.hidden = true
|
|
910
|
-
}
|
|
911
|
-
}
|
|
948
|
+
this.addressInitialization()
|
|
912
949
|
},
|
|
913
950
|
// ===========================================
|
|
914
951
|
async 'button'() {
|
|
@@ -938,7 +975,7 @@ export default {
|
|
|
938
975
|
},
|
|
939
976
|
// 失去焦点出触发事件
|
|
940
977
|
'onchange' (index) {
|
|
941
|
-
if (this.show_data.defname === '报装申请') {
|
|
978
|
+
if (this.show_data.defname === '报装申请' || this.show_data.defname === '信息确认') {
|
|
942
979
|
if (
|
|
943
980
|
this.show_data.fields[index].label === '区/县' ||
|
|
944
981
|
this.show_data.fields[index].label === '街道/乡镇' ||
|