apply-clients 3.4.1 → 3.4.2-FuGu-4

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.
Files changed (83) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +85 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +51 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/dingding.html +23 -0
  19. package/index.html +33 -33
  20. package/package.json +2 -1
  21. package/src/AndroidApp.vue +35 -35
  22. package/src/DingDingApp.vue +51 -0
  23. package/src/android.js +21 -21
  24. package/src/apply.js +2 -8
  25. package/src/applyAndroid.js +2 -8
  26. package/src/applyDingDing.js +12 -0
  27. package/src/components/android/AppOnetomany.vue +301 -301
  28. package/src/components/android/AppServiceView.vue +566 -566
  29. package/src/components/android/AppSign.vue +142 -142
  30. package/src/components/android/AppTakePic.vue +143 -143
  31. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  32. package/src/components/android/Process/AppServiceControl.vue +757 -757
  33. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  36. package/src/components/android/TaskGraph.vue +125 -125
  37. package/src/components/build/Install/ExplorationUser.vue +304 -0
  38. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  39. package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +2 -2
  40. package/src/components/product/Function/InstallFunction.vue +131 -125
  41. package/src/components/product/Function/InstallInfoSelect.vue +300 -292
  42. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  43. package/src/components/product/Onetomany.vue +377 -377
  44. package/src/components/product/Process/ExplorationSelect.vue +11 -20
  45. package/src/components/product/Process/ExplorationUser.vue +138 -138
  46. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  47. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  48. package/src/components/product/Process/Processes/chargeManagement.vue +23 -28
  49. package/src/components/product/Process/Service/ServiceControl.vue +50 -63
  50. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  51. package/src/components/product/ServiceView.vue +631 -631
  52. package/src/components/product/Stop/StopApply.vue +105 -103
  53. package/src/components/product/Stop/StopApplyList.vue +269 -269
  54. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -186
  55. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  56. package/src/components/product/Supervisory/SupervisoryList.vue +233 -233
  57. package/src/components/product/Supervisory/SupervisoryhCart.vue +14 -11
  58. package/src/components/product/VueUtils/ApplyUpload.vue +3 -3
  59. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  60. package/src/dingding.js +20 -0
  61. package/src/expandcssAndroid.less +1034 -1034
  62. package/src/main.js +23 -23
  63. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  64. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  65. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  66. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  67. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  68. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  69. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  70. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  71. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
  72. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
  73. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
  74. package/src/filiale/yuchuan/android.js +0 -7
  75. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
  76. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
  77. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
  78. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
  79. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
  80. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
  81. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
  82. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
  83. package/src/filiale/yuchuan/pc.js +0 -11
@@ -517,11 +517,11 @@ export default {
517
517
 
518
518
  for (const item of this.show_data.fields) {
519
519
  if (f_address_type === '民用市区') {
520
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
520
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号') {
521
521
  item.hidden = false
522
522
  item.required = true
523
523
  }
524
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
524
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
525
525
  item.hidden = false
526
526
  item.required = false
527
527
  }
@@ -530,11 +530,11 @@ export default {
530
530
  }
531
531
  }
532
532
  if (f_address_type === '民用乡镇') {
533
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
533
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号') {
534
534
  item.hidden = false
535
535
  item.required = true
536
536
  }
537
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
537
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
538
538
  item.hidden = false
539
539
  item.required = false
540
540
  }
@@ -547,15 +547,15 @@ export default {
547
547
  }
548
548
  }
549
549
  if (f_address_type === '特殊地址') {
550
- if (item.label === '区/县' || item.label === '街道/乡镇') {
550
+ if (item.label === '区/县' || item.label === '街道') {
551
551
  item.hidden = false
552
552
  item.required = true
553
553
  }
554
- if (item.label === '集收单位') {
554
+ if (item.label === '小区') {
555
555
  item.hidden = false
556
556
  item.required = false
557
557
  }
558
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
558
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层' || item.label === '门牌号') {
559
559
  item.hidden = true
560
560
  item.required = false
561
561
  }
@@ -583,10 +583,10 @@ export default {
583
583
  'POST',
584
584
  `rs/sql/singleTable`,
585
585
  {data: data},
586
- {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
586
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
587
587
  )
588
588
 
589
- this.setLabelOptions('集收单位', res.data.map(item => {
589
+ this.setLabelOptions('小区', res.data.map(item => {
590
590
  return {
591
591
  label: item.f_residential_area,
592
592
  value: item.f_residential_area
@@ -616,10 +616,10 @@ export default {
616
616
  'POST',
617
617
  `rs/sql/singleTable`,
618
618
  {data: data},
619
- {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
619
+ {resolveMsg: null, rejectMsg: '街道查询失败!!!'}
620
620
  )
621
621
 
622
- this.setLabelOptions('街道/乡镇', res.data.map(item => {
622
+ this.setLabelOptions('街道', res.data.map(item => {
623
623
  return {
624
624
  label: item.f_street,
625
625
  value: item.f_street
@@ -673,14 +673,14 @@ export default {
673
673
  'POST',
674
674
  `rs/sql/singleTable`,
675
675
  {data: data},
676
- {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
676
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
677
677
  )
678
678
 
679
679
  if (res.data.length === 0) {
680
680
  return
681
681
  }
682
682
 
683
- this.setLabelOptions('集收单位', res.data.map(item => {
683
+ this.setLabelOptions('小区', res.data.map(item => {
684
684
  return {
685
685
  label: item.f_residential_area,
686
686
  value: item.f_residential_area
@@ -938,7 +938,7 @@ export default {
938
938
  return
939
939
  }
940
940
 
941
- this.setLabelValue('集收单位', null)
941
+ this.setLabelValue('小区', null)
942
942
 
943
943
  let data = {
944
944
  tablename: 't_area',
@@ -949,10 +949,10 @@ export default {
949
949
  'POST',
950
950
  `rs/sql/singleTable`,
951
951
  {data: data},
952
- {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
952
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
953
953
  )
954
954
 
955
- this.setLabelOptions('集收单位', res.data.map(item => {
955
+ this.setLabelOptions('小区', res.data.map(item => {
956
956
  return {
957
957
  label: item.f_residential_area,
958
958
  value: item.f_residential_area
@@ -965,8 +965,8 @@ export default {
965
965
  return
966
966
  }
967
967
 
968
- this.setLabelValue('街道/乡镇', null)
969
- this.setLabelValue('集收单位', null)
968
+ this.setLabelValue('街道', null)
969
+ this.setLabelValue('小区', null)
970
970
 
971
971
 
972
972
 
@@ -988,10 +988,10 @@ export default {
988
988
  'POST',
989
989
  `rs/sql/singleTable`,
990
990
  {data: data},
991
- {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
991
+ {resolveMsg: null, rejectMsg: '街道查询失败!!!'}
992
992
  )
993
993
 
994
- this.setLabelOptions('街道/乡镇', res.data.map(item => {
994
+ this.setLabelOptions('街道', res.data.map(item => {
995
995
  return {
996
996
  label: item.f_street,
997
997
  value: item.f_street
@@ -1000,17 +1000,17 @@ export default {
1000
1000
  },
1001
1001
  // 地址类型失去焦点
1002
1002
  'addressTypeChange' (index) {
1003
- this.setLabelValue('街道/乡镇', null)
1004
- this.setLabelValue('集收单位', null)
1003
+ this.setLabelValue('街道', null)
1004
+ this.setLabelValue('小区', null)
1005
1005
  let f_address_type = this.show_data.fields[index].value
1006
1006
  for (const item of this.show_data.fields) {
1007
- if (f_address_type === '民用市区') {
1008
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
1007
+ if (f_address_type === '民用地址') {
1008
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号') {
1009
1009
  item.hidden = false
1010
1010
  item.required = true
1011
1011
  item.value = null
1012
1012
  }
1013
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
1013
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
1014
1014
  item.hidden = false
1015
1015
  item.required = false
1016
1016
  item.value = null
@@ -1020,39 +1020,18 @@ export default {
1020
1020
  item.value = null
1021
1021
  }
1022
1022
  }
1023
- if (f_address_type === '民用乡镇') {
1024
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
1025
- item.hidden = false
1026
- item.required = true
1027
- item.value = null
1028
- }
1029
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
1030
- item.hidden = false
1031
- item.required = false
1032
- item.value = null
1033
- }
1034
- if (item.label === '楼层') {
1035
- item.hidden = true
1036
- item.required = false
1037
- item.value = null
1038
- }
1039
- if (item.label === '地址') {
1040
- item.readonly = true
1041
- item.value = null
1042
- }
1043
- }
1044
1023
  if (f_address_type === '特殊地址') {
1045
- if (item.label === '区/县' || item.label === '街道/乡镇') {
1024
+ if (item.label === '区/县' || item.label === '街道') {
1046
1025
  item.hidden = false
1047
1026
  item.required = true
1048
1027
  item.value = null
1049
1028
  }
1050
- if (item.label === '集收单位') {
1029
+ if (item.label === '小区') {
1051
1030
  item.hidden = false
1052
1031
  item.required = false
1053
1032
  item.value = null
1054
1033
  }
1055
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
1034
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层' || item.label === '门牌号') {
1056
1035
  item.hidden = true
1057
1036
  item.required = false
1058
1037
  item.value = null
@@ -1113,33 +1092,41 @@ export default {
1113
1092
  },
1114
1093
  // 失去焦点出触发事件
1115
1094
  'onchange' (index) {
1116
- if (this.show_data.defname === '报装申请' || this.show_data.defname === '信息确认') {
1095
+ if (this.show_data.defname === '申请登记') {
1117
1096
  if (
1097
+ this.show_data.fields[index].label === '片区' ||
1118
1098
  this.show_data.fields[index].label === '区/县' ||
1119
- this.show_data.fields[index].label === '街道/乡镇' ||
1120
- this.show_data.fields[index].label === '集收单位' ||
1121
- this.show_data.fields[index].label === '楼号/组' ||
1122
- this.show_data.fields[index].label === '单元/排' ||
1099
+ this.show_data.fields[index].label === '街道' ||
1100
+ this.show_data.fields[index].label === '小区' ||
1101
+ this.show_data.fields[index].label === '楼号' ||
1102
+ this.show_data.fields[index].label === '单元' ||
1123
1103
  this.show_data.fields[index].label === '楼层' ||
1124
1104
  this.show_data.fields[index].label === '门牌号'
1125
1105
  ) {
1126
-
1127
1106
  let f_pcd = this.getLableValue('区/县') || ''
1128
- let f_street = this.getLableValue('街道/乡镇') || ''
1129
- let f_residential_area = this.getLableValue('集收单位') || ''
1130
- let f_building = this.getLableValue('楼号/组') || ''
1131
- let f_building_suffix = f_building ? this.config.f_building_suffix : ''
1132
- let f_unit = this.getLableValue('单元/排') || ''
1133
- let f_unit_suffix = f_unit ? this.config.f_unit_suffix : ''
1107
+ let f_street = this.getLableValue('街道') || ''
1108
+ let f_residential_area = this.getLableValue('小区') || ''
1109
+ let f_building = this.getLableValue('楼号') || ''
1110
+ let f_building_suffix = isEmpty(this.getLableValue('楼号')) ? '' : '号楼'
1111
+ let f_unit = this.getLableValue('单元') || ''
1112
+ let f_unit_suffix = isEmpty(this.getLableValue('单元')) ? '' : '单元'
1134
1113
  let f_floor = this.getLableValue('楼层') || ''
1135
- let f_floor_suffix = f_floor ? this.config.f_floor_suffix : ''
1114
+ let f_floor_suffix = isEmpty(this.getLableValue('楼层')) ? '' : '层'
1136
1115
  let f_room = this.getLableValue('门牌号') || ''
1137
- let f_room_suffix = f_room ? this.config.f_room_suffix : ''
1116
+ let f_room_suffix = isEmpty(this.getLableValue('门牌号')) ? '' : '室'
1138
1117
 
1139
1118
  let f_address = f_pcd + f_street + f_residential_area + f_building + f_building_suffix + f_unit + f_unit_suffix + f_floor + f_floor_suffix + f_room + f_room_suffix
1140
1119
  this.setLabelValue("地址", f_address)
1141
1120
  }
1142
1121
  }
1122
+ if (this.show_data.fields[index].label === '联系电话') {
1123
+ let phone = this.show_data.fields[index].value
1124
+ // 电话号码效验
1125
+ if (!(/^1[3456789]\d{9}$/.test(phone))) {
1126
+ this.show_data.fields[index].value = ""
1127
+ this.$showAlert('电话号码格式不正确,请重新输入。', 'info', 2000)
1128
+ }
1129
+ }
1143
1130
  },
1144
1131
  selectSearch (val, index) {},
1145
1132
  'onblur' (index) {},
@@ -1,33 +1,33 @@
1
- <template>
2
- <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
- <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
- </div>
5
- </template>
6
- <script>
7
- import {HttpResetClass} from 'vue-client'
8
-
9
- export default {
10
- title: '退回原因展示',
11
- props: ['selectdata'],
12
- data () {
13
- return {
14
- data: null
15
- }
16
- },
17
- async ready () {
18
- let data = {
19
- tablename: 't_backcause',
20
- condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
21
- }
22
- let http = new HttpResetClass()
23
- let res = await http.load(
24
- 'POST',
25
- 'rs/sql/singleTable',
26
- {data: data}, {
27
- resolveMsg: null,
28
- rejectMsg: '退回原因查询失败!!!'
29
- })
30
- this.data = res.data[0]
31
- }
32
- }
33
- </script>
1
+ <template>
2
+ <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
+ <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
+ </div>
5
+ </template>
6
+ <script>
7
+ import {HttpResetClass} from 'vue-client'
8
+
9
+ export default {
10
+ title: '退回原因展示',
11
+ props: ['selectdata'],
12
+ data () {
13
+ return {
14
+ data: null
15
+ }
16
+ },
17
+ async ready () {
18
+ let data = {
19
+ tablename: 't_backcause',
20
+ condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
21
+ }
22
+ let http = new HttpResetClass()
23
+ let res = await http.load(
24
+ 'POST',
25
+ 'rs/sql/singleTable',
26
+ {data: data}, {
27
+ resolveMsg: null,
28
+ rejectMsg: '退回原因查询失败!!!'
29
+ })
30
+ this.data = res.data[0]
31
+ }
32
+ }
33
+ </script>