apply-clients 3.4.3 → 3.4.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 (79) hide show
  1. package/package.json +1 -1
  2. package/src/AndroidApp.vue +18 -18
  3. package/src/android.js +1 -1
  4. package/src/apply.js +39 -20
  5. package/src/applyAndroid.js +23 -9
  6. package/src/components/android/AppOnetomany.vue +47 -5
  7. package/src/components/android/AppServiceView.vue +745 -566
  8. package/src/components/android/AppSign.vue +154 -142
  9. package/src/components/android/AppTakePic.vue +11 -11
  10. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  11. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  12. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  13. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  14. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  15. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  16. package/src/components/android/Process/AppExplorationUser.vue +217 -37
  17. package/src/components/android/Process/AppServiceControl.vue +1708 -757
  18. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  19. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  20. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  21. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  22. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -456
  23. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  24. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  25. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  26. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  27. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -121
  28. package/src/components/common/TabButton.vue +149 -0
  29. package/src/components/common/Tabs.vue +67 -0
  30. package/src/components/image/dwg.jpg +0 -0
  31. package/src/components/image/txt.jpg +0 -0
  32. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  33. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  34. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  35. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  36. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  37. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  38. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  39. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  40. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  41. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  42. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  43. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  44. package/src/components/product/Function/InstallFunction.vue +3 -2
  45. package/src/components/product/Function/InstallInfoSelect.vue +41 -21
  46. package/src/components/product/Function/Service/FunctionServiceControl.vue +96 -71
  47. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  48. package/src/components/product/Install/InstallProject.vue +194 -0
  49. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  50. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  51. package/src/components/product/OldApply/OldApply.vue +209 -0
  52. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  53. package/src/components/product/Onetomany.vue +40 -11
  54. package/src/components/product/Process/ExplorationSelect.vue +495 -417
  55. package/src/components/product/Process/ExplorationUser.vue +145 -94
  56. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -592
  57. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -142
  58. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  59. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  60. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  61. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +4 -0
  62. package/src/components/product/Process/Processes/chargeManagement.vue +656 -638
  63. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  64. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  65. package/src/components/product/Process/Service/ServiceControl.vue +628 -10
  66. package/src/components/product/Process/ShowBackReason.vue +33 -0
  67. package/src/components/product/ServiceView.vue +981 -631
  68. package/src/components/product/Stop/StopApply.vue +26 -30
  69. package/src/components/product/Stop/StopApplyList.vue +27 -25
  70. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +732 -34
  71. package/src/components/product/Supervisory/SupervisoryControl.vue +38 -1
  72. package/src/components/product/Supervisory/SupervisoryList.vue +404 -233
  73. package/src/components/product/Supervisory/SupervisoryhCart.vue +51 -28
  74. package/src/components/product/VueUtils/ApplyUpload.vue +40 -38
  75. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  76. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  77. package/src/components/product/VueUtils/Tree.vue +330 -0
  78. package/src/expandcssAndroid.less +362 -879
  79. package/src/main.js +3 -0
@@ -0,0 +1,51 @@
1
+ <template>
2
+ <div class="page-header app-header auto">
3
+ <div @click='back()' v-show="needBack">
4
+ <img src="../../../assets/back.png"/>
5
+ </div>
6
+ </div>
7
+ </template>
8
+
9
+ <script>
10
+ export default {
11
+ title: '底部返回组件',
12
+ data () {
13
+ return {}
14
+ },
15
+ props: {
16
+ title: {
17
+ type: String,
18
+ default: '燃气应用'
19
+ },
20
+ needBack: {
21
+ type: Boolean,
22
+ default: true
23
+ }
24
+ },
25
+ methods: {
26
+ back () {
27
+ // console.log('发送返回事件')
28
+ this.$emit('flag')
29
+ },
30
+ // 关闭新消息响铃(静音)
31
+ mute () {
32
+ HostApp.mute()
33
+ },
34
+ }
35
+ }
36
+ </script>
37
+ <style scoped>
38
+ .app-header {
39
+ border-radius: 50%;
40
+ position:fixed;
41
+ background: rgba(73, 158, 223, 0.12);
42
+ color: #FFF;
43
+ padding: 8px;
44
+ text-align: center;
45
+ font-size: 1.2em;
46
+ z-index: 10;
47
+ opacity:0.5;
48
+ bottom: 50px;
49
+ margin-top: -20px;
50
+ }
51
+ </style>
@@ -0,0 +1,330 @@
1
+ <template>
2
+ <div id="treemx" class="tree fonte" v-if="refreshed" style="overflow-x: scroll;max-height: 80vh" >
3
+ <ul v-for='(rootindex,item) in menulist' :key="item.id">
4
+ <!-- 没有子集 -->
5
+ <li v-if='!item._child'>
6
+ <div class="treeItem" @click="selected(item)">
7
+ <a href="#">{{item.catename}}</a>
8
+ <div class="liright">
9
+ <span :class="item.enabled_text == '启用'?'bgYes':'bgNo'">{{item.enabled_text}}</span>
10
+ </div>
11
+ </div>
12
+ </li>
13
+ <!-- 有子集 -->
14
+ <li v-if='item._child'>
15
+ <div class="onechild treeItem" >
16
+ <a href="#" @click.native='toggleChildren(rootindex)'>{{item.expanded?'▼ ':'►'}}{{item.catename}}</a>
17
+ <div class="liright">
18
+ <span :class="item.enabled_text == '启用'?'bgYes':'bgNo'">{{item.enabled_text}}</span>
19
+ </div>
20
+ </div>
21
+ <ul v-show='item.expanded' class="childs" style="overflow-x: auto;">
22
+ <li v-for='(parentindex,child) in item._child' :key="child.id" >
23
+ <!-- 没有子集 -->
24
+ <div class="twochild treeItem marginL60" v-if="!child._child" @click="selected(child,rootindex)"><a href="#">{{child.catename}}</a>
25
+ <div class="liright">
26
+ <span :class="child.enabled_text == '启用'?'bgYes':'bgNo'">{{child.enabled_text}}</span>
27
+ </div>
28
+ </div>
29
+ <!-- 有子集 -->
30
+ <div class="twochild marginL60" v-if="child._child">
31
+ <div class="treeItem" >
32
+ <a href="#" @click.native='toggleChildren(rootindex,parentindex)'>{{child.expanded?'▼ ':'►'}}{{child.catename}}</a>
33
+ <div class="liright">
34
+ <span :class="child.enabled_text == '启用'?'bgYes':'bgNo'">{{child.enabled_text}}</span>
35
+ </div>
36
+ </div>
37
+
38
+ <ul v-show='child.expanded'>
39
+ <!-- 遍历第三层 -->
40
+ <li class="threechild" v-for="(childIndex,child1) in child._child" :key="child1.id" style="overflow-x: auto;">
41
+ <div class="treeItem marginL60">
42
+ <a href="#" @click.native="add(rootindex,parentindex,childIndex)">{{child1.catename}} <span v-if="child1.count">数量:{{child1.count}}</span></a>
43
+ </div>
44
+ </li>
45
+ </ul>
46
+ </div>
47
+ </li>
48
+ </ul>
49
+ </li>
50
+
51
+ </ul>
52
+ </div>
53
+
54
+ <modal :show.sync="addshow2" v-ref:modal backdrop="false">
55
+ <header slot="modal-header" class="modal-header">
56
+ <button type="button" class="close" @click="closeadd"><span>&times;</span></button>
57
+ <h4 class="modal-title">数量</h4>
58
+ </header>
59
+ <article slot="modal-body" class="modal-body">
60
+ <input class="form-control" style="background-color: #f7fbff;"
61
+ type="number"
62
+ v-model="inputvalue"
63
+ :value="inputvalue"
64
+ />
65
+ </article>
66
+ <footer slot="modal-footer" class="modal-footer">
67
+ <!--<button type="button" class="btn btn-default" @click='addclose'>取消</button>-->
68
+ <button type="button" class="btn btn-success" @click='addconfirm2'>确认</button>
69
+ </footer>
70
+ </modal>
71
+ </template>
72
+
73
+ <script>
74
+ export default {
75
+ title: 'new',
76
+ props: {
77
+ menulist: {
78
+ type: Array,
79
+ default: []
80
+ },
81
+ scrolltop:{
82
+ default:0
83
+ }
84
+ },
85
+ data() {
86
+ return {
87
+ rootindex:null,
88
+ parentindex:null,
89
+ childIndex:null,
90
+ inputvalue:null,
91
+ addshow2:false,
92
+ refreshed:true, //强制刷新
93
+ menulist: [{
94
+ catename: '水果',
95
+ expanded: false,
96
+ _child: [{
97
+ catename: '苹果',
98
+ }, {
99
+ catename: '荔枝'
100
+ }, {
101
+ catename: '葡萄'
102
+ }, {
103
+ catename: '火龙果',
104
+ expanded: false,
105
+ _child: [
106
+ {
107
+ id: 0,
108
+ catename: '白心',
109
+ }, {
110
+ id: 1,
111
+ catename: '红心',
112
+ },
113
+ ]
114
+ }]
115
+ }]
116
+ }
117
+ },
118
+ ready(){
119
+ this.updatecrollTop(this.scrolltop)
120
+ },
121
+ methods: {
122
+ updatecrollTop(hight){
123
+ console.log("scrollTop",hight)
124
+ let doc = document.getElementById("treemx")
125
+ doc.scrollTop = 0
126
+ doc.scrollTop = hight
127
+ // document.getElementById("treemx").scrollTop = hight
128
+ // document.documentElement.scrollTop = hight
129
+ // window.pageYOffset = hight
130
+ // document.body.scrollTop = hight
131
+ },
132
+ closeadd(){
133
+ this.rootindex = null
134
+ this.parentindex = null
135
+ this.childIndex = null
136
+ this.inputvalue = null
137
+ this.addshow2 = false
138
+ },
139
+ addconfirm2(){
140
+ this.menulist[this.rootindex]._child[this.parentindex]._child[this.childIndex].count = this.inputvalue
141
+ this.$dispatch('menulistSelected', this.menulist[this.rootindex]._child[this.parentindex]._child[this.childIndex],this.rootindex,this.parentindex)
142
+ this.closeadd()
143
+ },
144
+ add(rootindex,parentindex,childIndex){
145
+ this.rootindex = rootindex
146
+ this.parentindex = parentindex
147
+ this.childIndex = childIndex
148
+ this.addshow2 = true
149
+ },
150
+ selectedFormat(rootindex,parentindex,childIndex){
151
+ if(this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton == undefined){
152
+ this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton = false
153
+ }
154
+ this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton = !this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton
155
+ // this.refreshed = false
156
+ // this.$nextTick(()=>{
157
+ // this.refreshed = true
158
+ // })
159
+ },
160
+ selectedCount(rootindex,parentindex,childIndex){
161
+ this.menulist[rootindex]._child[parentindex]._child[childIndex].expanded = true
162
+ },
163
+ inputCount(item,parentindex,childIndex){
164
+ console.log('count',item.count)
165
+ this.$dispatch('menulistSelected', item,val1,val2)
166
+ },
167
+ selected(item,val1,val2) {
168
+ console.log('item', item)
169
+ this.$dispatch('menulistSelected', item,val1,val2)
170
+ },
171
+ toggleChildren(rootindex,parentindex) {
172
+ if(parentindex!=undefined){
173
+ this.menulist[rootindex]._child[parentindex].expanded = !this.menulist[rootindex]._child[parentindex].expanded
174
+ // this.refreshed = false
175
+ // this.$nextTick(()=>{
176
+ // this.refreshed = true
177
+ // })
178
+ }else if(rootindex!=undefined) {
179
+ this.menulist[rootindex].expanded = !this.menulist[rootindex].expanded
180
+ }
181
+ this.$dispatch('updateTree')
182
+
183
+ },
184
+ }
185
+ }
186
+ </script>
187
+
188
+
189
+ <style scoped>
190
+
191
+ ul {
192
+ display: block;
193
+ list-style-type: disc;
194
+ margin-block-start: 1em;
195
+ margin-block-end: 1em;
196
+ margin-inline-start: 0px;
197
+ margin-inline-end: 0px;
198
+ padding-inline-start: 40px;
199
+ }
200
+
201
+ .addressBox {
202
+ position: fixed;
203
+ bottom: 0;
204
+ left: 0;
205
+ width: 100%;
206
+ height: 5.1rem;
207
+ z-index: 9;
208
+ background: #f5f5f5;
209
+ display: block !important;
210
+ }
211
+
212
+ span:focus {
213
+ background-color: silver;
214
+ }
215
+
216
+ a {
217
+ font-size: 20px;
218
+ text-decoration: none;
219
+ color: black;
220
+ }
221
+
222
+ a:hover {
223
+ font-size: 20px;
224
+ text-decoration: none;
225
+ color: deepskyblue;
226
+ /*background-color: silver;*/
227
+ }
228
+
229
+ .addressBox ul {
230
+ width: 33%;
231
+ height: 5.1rem;
232
+ background: #E6E6E6;
233
+ overflow-y: scroll;
234
+ overflow-x: auto;
235
+ }
236
+
237
+ .addressBox li {
238
+ height: 0.62rem;
239
+ font: normal 0.26rem/0.62rem "微软雅黑";
240
+ color: #666;
241
+ text-align: center;
242
+ }
243
+
244
+ .cityBox {
245
+ position: absolute;
246
+ top: 0;
247
+ left: 33%;
248
+ width: 100%;
249
+ height: 5.1rem;
250
+ display: none;
251
+ overflow-y: scroll;
252
+ z-index: 19;
253
+ background: #E6E6E6;
254
+ -webkit-overflow-scrolling: touch;
255
+ overflow-x: auto;
256
+ }
257
+
258
+ .cityBox ul {
259
+ width: 100%;
260
+ height: 5.1rem;
261
+ }
262
+
263
+ .cityBox li {
264
+ padding-left: 0.17rem;
265
+ text-align: left;
266
+ border-bottom: 0.01rem solid #e6e6e6;
267
+ }
268
+
269
+ .areaBox {
270
+ position: absolute;
271
+ top: 0;
272
+ left: 33%;
273
+ width: 33%;
274
+ height: 5.1rem;
275
+ display: none;
276
+ overflow-y: scroll;
277
+ z-index: 9999;
278
+ -webkit-overflow-scrolling: touch;
279
+ }
280
+
281
+ /*模态框*/
282
+ .model {
283
+ position: absolute;
284
+ top: 0%;
285
+ left: 0%;
286
+ background: rgba(0, 0, 0, 0.3);
287
+ width: 100%;
288
+ height: 100%;
289
+ position: fixed;
290
+ z-index: 9999;
291
+ }
292
+
293
+ .model-content {
294
+ position: absolute;
295
+ left: 0;
296
+ right: 0;
297
+ bottom: 0;
298
+ border-radius: .15rem;
299
+ margin: auto;
300
+ background-color: #ffffff;
301
+ text-align: center;
302
+ }
303
+
304
+ input {
305
+ font-size: 0.32rem;
306
+ width: 100%;
307
+ text-align: center;
308
+ margin-top: .3rem;
309
+ border: 1px solid #ccc;
310
+ }
311
+
312
+ /*点击省份,出现城市*/
313
+ .addressBox .active {
314
+ background: #f5f5f5;
315
+ }
316
+
317
+ .addressBox .active .cityBox {
318
+ display: block;
319
+ }
320
+
321
+ /*点击城市,出现区域*/
322
+ .cityBox .active {
323
+ background: #f5f5f5;
324
+ }
325
+
326
+ .cityBox .active .areaBox {
327
+ display: block;
328
+ }
329
+
330
+ </style>