apply-clients 3.4.2 → 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 (130) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +38 -13
  12. package/src/applyAndroid.js +46 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +343 -301
  15. package/src/components/android/AppServiceView.vue +189 -10
  16. package/src/components/android/AppSign.vue +19 -7
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  19. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  20. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  21. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  22. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  23. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  24. package/src/components/android/Process/AppExplorationUser.vue +500 -320
  25. package/src/components/android/Process/AppServiceControl.vue +999 -48
  26. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  27. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  28. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  29. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  30. package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
  31. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  32. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  33. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  36. package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
  37. package/src/components/android/TaskGraph.vue +125 -125
  38. package/src/components/common/TabButton.vue +149 -0
  39. package/src/components/common/Tabs.vue +67 -0
  40. package/src/components/image/dwg.jpg +0 -0
  41. package/src/components/image/txt.jpg +0 -0
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  48. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  49. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  50. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  51. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  52. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  53. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  54. package/src/components/product/Business/BusinessApply.vue +269 -0
  55. package/src/components/product/Business/CivilApply.vue +269 -0
  56. package/src/components/product/Function/InstallFunction.vue +132 -125
  57. package/src/components/product/Function/InstallInfoSelect.vue +320 -292
  58. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
  59. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  60. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  61. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  62. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  63. package/src/components/product/Install/InstallProject.vue +194 -0
  64. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  65. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  66. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  67. package/src/components/product/OldApply/OldApply.vue +209 -0
  68. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  69. package/src/components/product/Onetomany.vue +406 -377
  70. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  71. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  72. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  73. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  74. package/src/components/product/Process/ExplorationSelect.vue +495 -410
  75. package/src/components/product/Process/ExplorationUser.vue +189 -138
  76. package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
  77. package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
  78. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  79. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  80. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  81. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  82. package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
  83. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  84. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  85. package/src/components/product/Process/Service/ServiceControl.vue +638 -20
  86. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  87. package/src/components/product/Process/ShowBackReason.vue +33 -0
  88. package/src/components/product/ServiceView.vue +357 -7
  89. package/src/components/product/Stop/StopApply.vue +101 -103
  90. package/src/components/product/Stop/StopApplyList.vue +271 -269
  91. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
  92. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
  93. package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
  94. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
  95. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  96. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  97. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  98. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  99. package/src/components/product/VueUtils/Tree.vue +330 -0
  100. package/src/dingding.js +19 -0
  101. package/src/expandcssAndroid.less +517 -1034
  102. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  103. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  104. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  105. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  106. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  107. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  108. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  109. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  110. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  111. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  112. package/src/filiale/yuchuan/android.js +14 -14
  113. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  114. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  115. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  116. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  117. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  118. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  119. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  120. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  121. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  122. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  123. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  124. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  125. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  126. package/src/filiale/yuchuan/pc.js +20 -12
  127. package/src/main.js +4 -1
  128. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  129. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  130. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -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>
@@ -0,0 +1,19 @@
1
+ import Vue from 'vue'
2
+ import DingDingApp from './DingDingApp'
3
+ import { all } from 'vue-client'
4
+ import applyDingDing from './applyDingDing'
5
+
6
+ all()
7
+ applyDingDing()
8
+
9
+ require('./android-bootstrap/less/bootstrap.less')
10
+ require('./expandcssAndroid.less')
11
+
12
+ // import * as dd from 'dingtalk-jsapi'
13
+ Vue.prototype.$dd = dd
14
+
15
+ Vue.android = true
16
+ new Vue({
17
+ el: 'body',
18
+ components: { DingDingApp }
19
+ })