apply-clients 3.3.104 → 3.3.107
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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/apply.js +2 -0
- package/src/applyAndroid.js +42 -40
- package/src/components/android/AppServiceView.vue +2 -2
- package/src/components/android/AppSign.vue +1 -0
- package/src/components/android/AppTakePic.vue +143 -145
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +127 -0
- package/src/components/android/Process/AppServiceControl.vue +1426 -1417
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +475 -473
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +3 -1
- package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +600 -598
- package/src/components/product/Process/Service/ServiceControl.vue +1467 -1430
- package/src/components/product/ServiceView.vue +20 -1
- package/src/main.js +26 -26
|
@@ -86,12 +86,14 @@ export default {
|
|
|
86
86
|
rejectMsg: '收费信息查询失败!!!'
|
|
87
87
|
})
|
|
88
88
|
debugger
|
|
89
|
+
console.log('打印收费记录',res.data.length)
|
|
89
90
|
if(res.data.length >0){
|
|
90
91
|
console.log("发请求了 哈哈哈哈哈哈")
|
|
91
92
|
this.shoufeis=res.data
|
|
92
93
|
this.shouju2=!this.shouju2
|
|
93
94
|
}else{
|
|
94
|
-
|
|
95
|
+
console.log("没数据 呜呜呜")
|
|
96
|
+
this.$showMessage('该数据没有缴费记录!!!')
|
|
95
97
|
return
|
|
96
98
|
}
|
|
97
99
|
}
|
|
@@ -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.gaodetemplng = res.position.lng
|
|
115
|
+
this.gaodetemplat = res.position.lat
|
|
116
|
+
this.GdMapTransBMap(this.gaodetemplng, this.gaodetemplat)
|
|
117
|
+
},
|
|
118
|
+
confirmLocation() {
|
|
119
|
+
// console.log("这是确认的位置信息:", this.gaodetemplng, this.gaodetemplat)
|
|
120
|
+
// this.row.f_userfiles_lat = this.templat
|
|
121
|
+
// this.row.f_userfiles_lng = this.templng
|
|
122
|
+
this.mapShow = false
|
|
123
|
+
},
|
|
124
|
+
// 提交前进行 经纬度坐标装换 高德转百度
|
|
125
|
+
async GdMapTransBMap(lng, lat) {
|
|
126
|
+
try {
|
|
127
|
+
var lnglattemp = {
|
|
128
|
+
'lnglat': lng + ',' + lat
|
|
129
|
+
}
|
|
130
|
+
var lnglat = await this.$resetpost(
|
|
131
|
+
`rs/logic/gdMapTransBMap`,
|
|
132
|
+
// `ncc/rs/logic/gdMapTransBMap`,
|
|
133
|
+
{data: lnglattemp},
|
|
134
|
+
{resolveMsg: null, rejectMsg: '地图坐标转换失败了'}
|
|
135
|
+
)
|
|
136
|
+
console.log("地图坐标转换请求返回值:",lnglat)
|
|
137
|
+
if (lnglat.data.status != 0) {
|
|
138
|
+
this.gaodetemplng = ""
|
|
139
|
+
this.gaodetemplat = ""
|
|
140
|
+
this.baidutemplng = ""
|
|
141
|
+
this.baidutemplat = ""
|
|
142
|
+
this.$showMessage("地图坐标转换失败: "+lnglat.data.message)
|
|
143
|
+
return
|
|
144
|
+
}
|
|
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>
|