Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
常超
founder_vue
Commits
5743d466
Commit
5743d466
authored
Aug 12, 2021
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ditu
parent
9e55a22b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
26 deletions
+29
-26
public/index.html
+1
-1
src/api/base.js
+2
-2
src/views/ryda/ryGl.vue
+2
-2
src/views/ryda/sjda.vue
+23
-20
vue.config.js
+1
-1
No files found.
public/index.html
View file @
5743d466
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<script
src=
"<%= BASE_URL %>OpMap/jquery-3.3.1.js"
></script>
<script
src=
"<%= BASE_URL %>OpMap/jquery-3.3.1.js"
></script>
<script
src=
"<%= BASE_URL %>OpMap/ol.js"
></script>
<script
src=
"<%= BASE_URL %>OpMap/ol.js"
></script>
<script
src=
"<%= BASE_URL %>OpMap/OpMap.js"
></script>
<script
src=
"<%= BASE_URL %>OpMap/OpMap.js"
></script>
<script
src=
"<%= BASE_URL %>OpMap/config
_internet
.js"
></script>
<script
src=
"<%= BASE_URL %>OpMap/config.js"
></script>
<!-- <script src="<%= BASE_URL %>OpMap/config.js"></script> -->
<!-- <script src="<%= BASE_URL %>OpMap/config.js"></script> -->
<link
type=
"text/css"
href=
"<%= BASE_URL %>OpMap/ol.css"
/>
<link
type=
"text/css"
href=
"<%= BASE_URL %>OpMap/ol.css"
/>
</head>
</head>
...
...
src/api/base.js
View file @
5743d466
...
@@ -9,8 +9,8 @@ let base = {
...
@@ -9,8 +9,8 @@ let base = {
// ztptURL: "http://26.120.5.129:8006", //通辽
// ztptURL: "http://26.120.5.129:8006", //通辽
ztptURL
:
"http://89.0.23.237:8088"
,
ztptURL
:
"http://89.0.23.237:8088"
,
codeUrl
:
""
,
codeUrl
:
""
,
BaseURL
:
"/api
AjzbGaw
"
,
//基础查询页得ip
BaseURL
:
"/api
Xzxt
"
,
//基础查询页得ip
rzURL
:
"/apiXzxt
Gaw
"
,
//刑专二期得(日志)ip
rzURL
:
"/apiXzxt"
,
//刑专二期得(日志)ip
// bigwfwurl: "",
// bigwfwurl: "",
// bigservicesurl: "",
// bigservicesurl: "",
// alyIP: "",
// alyIP: "",
...
...
src/views/ryda/ryGl.vue
View file @
5743d466
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
</div>
-->
</div>
-->
</div>
</div>
<!--3-->
<!--3-->
<div>
<
!--
<
div>
<div
class=
"wrap wrap1"
>
<div
class=
"wrap wrap1"
>
<div
class=
"bt"
>
<div
class=
"bt"
>
<img
src=
"@/assets/img/ryda/title5.svg"
/>
地址/轨迹
<img
src=
"@/assets/img/ryda/title5.svg"
/>
地址/轨迹
...
@@ -262,7 +262,7 @@
...
@@ -262,7 +262,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
-->
<!--4-->
<!--4-->
<div>
<div>
<div
class=
"wrap wrap614"
>
<div
class=
"wrap wrap614"
>
...
...
src/views/ryda/sjda.vue
View file @
5743d466
...
@@ -480,13 +480,13 @@ export default {
...
@@ -480,13 +480,13 @@ export default {
this
.
featureArry
=
[];
this
.
featureArry
=
[];
var
dataGeo
=
[];
var
dataGeo
=
[];
opMap
.
$setLayer
(
parmL
);
opMap
.
$setLayer
(
parmL
);
//
opMap.$setLayer({
opMap
.
$setLayer
({
//
layerId: "LineString",
layerId
:
"LineString"
,
//
borderColor: "#129233",
borderColor
:
"#129233"
,
//
strokeWidth: 2,
strokeWidth
:
2
,
//
fillColor: "#222293",
fillColor
:
"#222293"
,
//
img: { src: poi, scale: 1 },
img
:
{
src
:
poi
,
scale
:
1
},
//
});
});
res
.
data
.
rows
.
sort
(
function
(
a
,
b
)
{
res
.
data
.
rows
.
sort
(
function
(
a
,
b
)
{
return
new
Date
(
b
.
fxsj
)
-
new
Date
(
a
.
fxsj
);
return
new
Date
(
b
.
fxsj
)
-
new
Date
(
a
.
fxsj
);
});
});
...
@@ -522,17 +522,17 @@ export default {
...
@@ -522,17 +522,17 @@ export default {
img
:
{
src
:
poi
,
scale
:
1
},
img
:
{
src
:
poi
,
scale
:
1
},
};
};
opMap
.
$RenderLayer
(
parmR
);
opMap
.
$RenderLayer
(
parmR
);
//
opMap.$RenderLayer({
opMap
.
$RenderLayer
({
//
layerId: "LineString",
layerId
:
"LineString"
,
//
type: "LineString",
type
:
"LineString"
,
//
data: [{ geometry: this.featureArry, attributions: null }],
data
:
[{
geometry
:
this
.
featureArry
,
attributions
:
null
}],
//
text: "",
text
:
""
,
//
radius: "",
radius
:
""
,
//
borderColor: "#",
borderColor
:
"#"
,
//
fillColor: "#DC1096",
fillColor
:
"#DC1096"
,
//
strokeWidth: 2,
strokeWidth
:
2
,
//
img: { src: poi, scale: 1 },
img
:
{
src
:
poi
,
scale
:
1
},
//
});
});
}
}
});
});
},
},
...
@@ -590,6 +590,7 @@ export default {
...
@@ -590,6 +590,7 @@ export default {
target_pos
=
targetPos
,
target_pos
=
targetPos
,
//总的步长
//总的步长
count
=
Math
.
round
(
self
.
_getDistance
(
init_pos
,
target_pos
)
/
step
);
count
=
Math
.
round
(
self
.
_getDistance
(
init_pos
,
target_pos
)
/
step
);
debugger
if
(
count
<
1
)
{
if
(
count
<
1
)
{
++
self
.
indexi
;
++
self
.
indexi
;
self
.
moveFeatureFlag
(
self
.
moveFeatureFlag
(
...
@@ -600,6 +601,7 @@ export default {
...
@@ -600,6 +601,7 @@ export default {
);
);
return
;
return
;
}
}
debugger
self
.
_intervalFlag
=
setInterval
(
function
()
{
self
.
_intervalFlag
=
setInterval
(
function
()
{
if
(
currentCount
>=
count
)
{
if
(
currentCount
>=
count
)
{
clearInterval
(
self
.
_intervalFlag
);
clearInterval
(
self
.
_intervalFlag
);
...
@@ -657,7 +659,7 @@ export default {
...
@@ -657,7 +659,7 @@ export default {
img
:
{
src
:
iphone
,
scale
:
1
},
img
:
{
src
:
iphone
,
scale
:
1
},
};
};
opMap
.
$clearLayer
({
layerId
:
"carPoint"
});
opMap
.
$clearLayer
({
layerId
:
"carPoint"
});
//
self.$RenderLayer(parm); ////////////////////////////////////////////
//
opMap.$RenderLayer(parm);
opMap
opMap
.
$getLayer
({
layerId
:
"carPoint"
})
.
$getLayer
({
layerId
:
"carPoint"
})
.
getSource
()
.
getSource
()
...
@@ -696,7 +698,7 @@ export default {
...
@@ -696,7 +698,7 @@ export default {
var
b
=
initPos
,
var
b
=
initPos
,
c
=
targetPos
-
initPos
,
c
=
targetPos
-
initPos
,
t
=
currentCount
,
t
=
currentCount
,
d
=
count
;
d
=
1
;
return
(
c
*
t
)
/
d
+
b
;
return
(
c
*
t
)
/
d
+
b
;
},
},
...
@@ -704,6 +706,7 @@ export default {
...
@@ -704,6 +706,7 @@ export default {
_getDistance
(
pxA
,
pxB
)
{
_getDistance
(
pxA
,
pxB
)
{
var
opMap
=
new
OpMap
();
var
opMap
=
new
OpMap
();
var
length
=
opMap
.
$getDistance
({
leftPoint
:
pxA
,
rightPoint
:
pxB
});
var
length
=
opMap
.
$getDistance
({
leftPoint
:
pxA
,
rightPoint
:
pxB
});
debugger
return
length
;
return
length
;
},
},
/**
/**
...
...
vue.config.js
View file @
5743d466
...
@@ -69,7 +69,7 @@ module.exports = {
...
@@ -69,7 +69,7 @@ module.exports = {
}
}
},
},
"/apiXzxt"
:
{
"/apiXzxt"
:
{
target
:
"http://192.168.0.1
48
:8501/"
,
//统一的请求头部每次修改都要重启才会生效
target
:
"http://192.168.0.1
53
:8501/"
,
//统一的请求头部每次修改都要重启才会生效
ws
:
true
,
ws
:
true
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
...
...
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