Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kd_app_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglw
kd_app_vue
Commits
e72fd256
Commit
e72fd256
authored
Jul 24, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
c77309e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
18 deletions
+12
-18
config.js
src/config.js
+3
-7
Login.vue
src/views/Login.vue
+8
-9
index.vue
src/views/MLargeScreen/index.vue
+1
-2
No files found.
src/config.js
View file @
e72fd256
// 项目配置相关
const
config
=
{
//ganxu
//
BASE_URL: 'http://192.168.3.23:9092',
//
REAL_URL: 'http://192.168.3.23:9092',
// ws: 'http://
192.168.3.23:9092',
BASE_URL
:
'
http://192.168.3.23:9092
'
,
REAL_URL
:
'
http://192.168.3.23:9092
'
,
ws
:
'
192.168.3.23:9092
'
,
//服务器
BASE_URL
:
'
http://8.143.203.103:9092
'
,
REAL_URL
:
'
http://8.143.203.103:9092
'
,
ws
:
'
http://8.143.203.103:9092
'
,
// BASE_URL: 'http://39.164.225.220:5000',
// REAL_URL: 'http://39.164.225.220:5000',
// ws: '39.164.225.220:5000',
...
...
src/views/Login.vue
View file @
e72fd256
...
...
@@ -57,8 +57,8 @@ export default {
data
()
{
return
{
loginForm
:
{
username
:
""
,
password
:
""
,
username
:
"
五号电铲司机
"
,
password
:
"
123456
"
,
uuid
:
""
,
},
loading
:
false
,
...
...
@@ -80,7 +80,6 @@ export default {
this
.
getCookie
();
},
mounted
()
{
console
.
log
(
window
,
1111111
);
//两种方法相互冲突,每次只需要一种,并且获取的id不一样
//app获取设备号方法
...
...
@@ -133,11 +132,11 @@ export default {
//5+app获取OAID方法
plusReady
()
{
let
that
=
this
;
console
.
log
(
"
设备身份码:
"
+
plus
.
device
.
imei
);
console
.
log
(
"
用户识别码:
"
+
plus
.
device
.
imsi
);
console
.
log
(
"
设备型号信息:
"
+
plus
.
device
.
model
);
console
.
log
(
"
设备厂商信息:
"
+
plus
.
device
.
vendor
);
console
.
log
(
"
设备唯一标识号:
"
+
plus
.
device
.
uuid
);
//
console.log("设备身份码:" + plus.device.imei);
//
console.log("用户识别码:" + plus.device.imsi);
//
console.log("设备型号信息:" + plus.device.model);
//
console.log("设备厂商信息:" + plus.device.vendor);
//
console.log("设备唯一标识号:" + plus.device.uuid);
// plus.device.getOAID({
// success: function (e) {
// console.log("oaid", e.oaid);
...
...
@@ -658,4 +657,4 @@ export default {
left
:
0
;
z-index
:
100
;
}
</
style
>
\ No newline at end of file
</
style
>
src/views/MLargeScreen/index.vue
View file @
e72fd256
...
...
@@ -238,7 +238,7 @@ export default {
zongTimer3
:
null
,
submitReportFormId
:
null
,
mapDom
:
null
,
mapCenter
:
[
114.14911
,
35.683
],
//[122.04700, 37.4890],
mapCenter
:
[
1
22.04700
,
37.4890
],
//[1
14.14911, 35.683],//[122.04700, 37.4890],
posTimer
:
null
,
currArea
:
null
,
optFlag
:
false
,
...
...
@@ -356,7 +356,6 @@ export default {
baseLayer
:
new
maptalks
.
TileLayer
(
'
baseTitle
'
,
{
urlTemplate
:
`http://t{s}.tianditu.com/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=de0dc270a51aaca3dd4e64d4f8c81ff6`
,
subdomains
:
[
'
1
'
,
'
2
'
,
'
3
'
,
'
4
'
],
cssFilter
:
'
sepia(75%) invert(90%)
'
,
}),
layers
:
[
new
maptalks
.
ImageLayer
(
'
images
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment