apply-clients 3.3.106 → 3.3.107-366

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 (37) hide show
  1. package/build/dev-server-app.js +84 -76
  2. package/build/dev-server.js +24 -5
  3. package/package.json +1 -1
  4. package/src/App.vue +20 -20
  5. package/src/apply.js +99 -97
  6. package/src/applyAndroid.js +42 -40
  7. package/src/components/android/AppOnetomany.vue +331 -331
  8. package/src/components/android/AppServiceView.vue +3 -3
  9. package/src/components/android/AppSign.vue +143 -158
  10. package/src/components/android/AppTakePic.vue +143 -145
  11. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +127 -0
  12. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -108
  13. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -142
  14. package/src/components/android/Process/AppExplorationUser.vue +498 -495
  15. package/src/components/android/Process/AppServiceControl - /345/211/257/346/234/254.vue" +1421 -0
  16. package/src/components/android/Process/AppServiceControl.vue +12 -3
  17. package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
  18. package/src/components/android/Process/Processes/AppDevicesManagement.vue +513 -513
  19. package/src/components/android/Process/Processes/AppInstallationDetails.vue +1 -1
  20. package/src/components/android/Supervisory/AppProcessSupervisory.vue +317 -317
  21. package/src/components/android/Supervisory/AppSupervisoryCart.vue +152 -152
  22. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -423
  23. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -106
  24. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  25. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  26. package/src/components/product/Material/MaterialDetailed.vue +252 -252
  27. package/src/components/product/Onetomany.vue +406 -406
  28. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
  29. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
  30. package/src/components/product/Process/ExplorationSelect.vue +476 -473
  31. package/src/components/product/Process/Processes/InstallationDetails.vue +1 -1
  32. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  33. package/src/components/product/Process/Service/ServiceControl - /345/211/257/346/234/254.vue" +1440 -0
  34. package/src/components/product/Process/Service/ServiceControl.vue +1513 -1430
  35. package/src/components/product/ServiceView.vue +982 -963
  36. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  37. package/src/main.js +6 -4
@@ -0,0 +1,231 @@
1
+ <template>
2
+ <div id="gaoDeMap" class="display:flex">
3
+ <div :class="style">
4
+ <label :class="labelstyle" :style="lngColors">经度</label>
5
+ <div class="col-sm-6">
6
+ <input class="form-control input_view" style=""
7
+ type="input"
8
+ v-model="gaodetemplng"
9
+ placeholder="经度"
10
+ :readonly="readonly"
11
+ :disabled="disabled"
12
+ />
13
+ </div>
14
+ </div>
15
+ <div :class="style">
16
+ <label :class="labelstyle" :style="latColors">纬度</label>
17
+ <div class="col-sm-6">
18
+ <input class="form-control input_view" style=""
19
+ type="input"
20
+ v-model="gaodetemplat"
21
+ placeholder="纬度"
22
+ :readonly="readonly"
23
+ :disabled="disabled"
24
+ />
25
+ </div>
26
+ <button v-el:btn type="button" class="btn btn-default dropdown-toggle select-style margin-left:20px"
27
+ @click="openModal"
28
+ @blur="show = (search ? show : false)"
29
+ v-bind="{disabled: disabled}"
30
+ >
31
+ <span class="glyphicon glyphicon-map-marker" style="color: blue">获取位置</span>
32
+ </button>
33
+ </div>
34
+
35
+ <div>
36
+ <modal :show.sync="mapShow" v-if="mapShow" large backdrop="false" :width="900">
37
+ <header slot="modal-header" class="modal-header">
38
+ </header>
39
+ <article slot="modal-body" class="modal-body">
40
+ <amap-location :islocationclearmark="false" dom="gaodeaddboxmap" v-ref:positionInfo
41
+ @getmylocation="getmylocation"></amap-location>
42
+ </article>
43
+ <footer slot="modal-footer" class="modal-footer">
44
+ <button v-show="mapShow" type="button" class="button_clear btn-gn" @click='closeModal'>取消</button>
45
+ <button v-show="mapShow" type="button" class="button_clear btn-gn" @click='confirmLocation'>确认</button>
46
+ </footer>
47
+ </modal>
48
+ </div>
49
+ </div>
50
+ </template>
51
+ <script>
52
+
53
+ import {HttpResetClass} from 'vue-client'
54
+ import Vue from "vue";
55
+
56
+ export default {
57
+ title: '高德地图',
58
+ props: {
59
+ style: {
60
+ type: String,
61
+ default: 'col-sm-3 form-group'
62
+ },
63
+ labelstyle: {
64
+ type: String,
65
+ default: 'control-label-justify control-label col-sm-2'
66
+ },
67
+ mul: {
68
+ type: Boolean,
69
+ default: true
70
+ },
71
+ readonly: {
72
+ type: Boolean,
73
+ default: true
74
+ },
75
+ disabled: {
76
+ type: Boolean,
77
+ default: false
78
+ }
79
+ //初始值 默认选中值
80
+ // initres: {
81
+ // type: Object,
82
+ // default: null,
83
+ // }
84
+ },
85
+ data() {
86
+ return {
87
+ orgresid: [this.$login.f.orgid],
88
+ options: [],
89
+ initres: [],
90
+ lngColors: "color: #cd5c5c",//红色
91
+ latColors: "color: #cd5c5c",//红色
92
+ pubColors: "color: #0c2e4d",// 黑色
93
+ pub2Colors: "color: #cd5c5c",// 红色
94
+ mapShow: false,//弹窗
95
+ gaodetemplng: "",//临时经度
96
+ gaodetemplat: "",//临时纬度
97
+ baidutemplng: "",
98
+ baidutemplat: ""
99
+ }
100
+ },
101
+ ready() {
102
+ this.getResList();
103
+ },
104
+ methods: {
105
+ async getResList() {
106
+ },
107
+ openModal() {
108
+ this.mapShow = true
109
+ },
110
+ closeModal() {
111
+ this.mapShow = false
112
+ },
113
+ getmylocation(res) {
114
+ this.GdMapTransBMap(res.position.lng, res.position.lat)
115
+ },
116
+ confirmLocation() {
117
+ // console.log("这是确认的位置信息:", this.gaodetemplng, this.gaodetemplat)
118
+ // this.row.f_userfiles_lat = this.templat
119
+ // this.row.f_userfiles_lng = this.templng
120
+ this.mapShow = false
121
+ },
122
+ // 提交前进行 经纬度坐标装换 高德转百度
123
+ async GdMapTransBMap(lng, lat) {
124
+ try {
125
+ var lnglattemp = {
126
+ 'lnglat': lng + ',' + lat
127
+ }
128
+ var lnglat = await this.$resetpost(
129
+ `rs/logic/gdMapTransBMap`,
130
+ // `ncc/rs/logic/gdMapTransBMap`,
131
+ {data: lnglattemp},
132
+ {resolveMsg: null, rejectMsg: '地图坐标转换失败了'}
133
+ )
134
+ console.log("地图坐标转换请求返回值:",lnglat)
135
+ if (lnglat.data.status != 0) {
136
+ this.gaodetemplng = ""
137
+ this.gaodetemplat = ""
138
+ this.baidutemplng = ""
139
+ this.baidutemplat = ""
140
+ this.$showMessage("地图坐标转换失败: "+lnglat.data.message)
141
+ return
142
+ }
143
+ this.gaodetemplng = lng
144
+ this.gaodetemplat = lat
145
+ this.baidutemplng = lnglat.data.result[0].x
146
+ this.baidutemplat = lnglat.data.result[0].y
147
+ console.log("转换后的坐标:", lnglat.data.result[0].x, lnglat.data.result[0].y)
148
+ } catch (error) {
149
+ }
150
+ }
151
+ },
152
+ watch: {
153
+ 'gaodetemplng'(val) {
154
+ if (val.toString() != null && val.toString() != 0) {
155
+ this.lngColors = this.pubColors
156
+ } else {
157
+ this.lngColors = this.pub2Colors
158
+ }
159
+ this.$parent.templatlng.gaodetemplng = this.gaodetemplng
160
+ this.$parent.disableButton()
161
+ },
162
+ 'gaodetemplat'(val) {
163
+ if (val.toString() != null && val.toString() != 0) {
164
+ this.latColors = this.pubColors
165
+ } else {
166
+ this.latColors = this.pub2Colors
167
+ }
168
+ this.$parent.templatlng.gaodetemplat = this.gaodetemplat
169
+ this.$parent.disableButton()
170
+ },
171
+ 'baidutemplng'(val) {
172
+ this.$parent.templatlng.baidutemplng = this.baidutemplng
173
+ this.$parent.disableButton()
174
+ },
175
+ 'baidutemplat'(val) {
176
+ this.$parent.templatlng.baidutemplat = this.baidutemplat
177
+ this.$parent.disableButton()
178
+ }
179
+ }
180
+ }
181
+ </script>
182
+ <style lang="less">
183
+ #gaoDeMap {
184
+ #gaodeaddboxmap {
185
+ height: 300px;
186
+ }
187
+
188
+ .glyphicon-map-marker:hover {
189
+ color: red;
190
+ }
191
+
192
+ .glyphicon-map-marker {
193
+ color: blue;
194
+ cursor: pointer;
195
+ }
196
+
197
+ //.col-sm-4 {
198
+ // .font_normal_body {
199
+ // width: 73px;
200
+ // overflow: auto;
201
+ // white-space: nowrap;
202
+ // // 指滚动条两边的按钮
203
+ // &::-webkit-scrollbar-button {
204
+ // display: none;
205
+ // }
206
+ //
207
+ // // 滚动条的宽度
208
+ // &::-webkit-scrollbar {
209
+ // width: 5px !important;
210
+ // height: 5px !important;
211
+ // }
212
+ //
213
+ // // 滚动条的设置
214
+ // &::-webkit-scrollbar-thumb {
215
+ // background-color: #ddd;
216
+ // background-clip: padding-box;
217
+ // }
218
+ //
219
+ // &::-webkit-scrollbar-thumb:hover {
220
+ // background-color: #bbb;
221
+ // }
222
+ //
223
+ // &::-webkit-scrollbar-track {
224
+ // /*滚动条里面轨道*/
225
+ // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
226
+ // background: #ededed;
227
+ // }
228
+ // }
229
+ //}
230
+ }
231
+ </style>