Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1248bfdf
authored
Oct 27, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui走查
1 parent
e4926684
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
16 deletions
src/views/leadManage/collision.vue
src/views/leadManage/collision.vue
View file @
1248bfd
...
@@ -27,11 +27,11 @@
...
@@ -27,11 +27,11 @@
</div>
</div>
</div>
</div>
<div
class=
"accident-item"
>
<div
class=
"accident-item"
>
<span
class=
"title"
>
事故地点
</span>
<span
class=
"title"
>
行车速度趋势(Km/h)
</span>
<div
v-if=
"showMap"
id=
"mapContainer
"
></div>
<div
v-if=
"showMap"
class=
"eChart-box"
id=
"echarts
"
></div>
<div
class=
"empty-wrap"
v-else
>
<div
class=
"empty-wrap"
v-else
>
<img
class=
"empty-img"
style=
"height:
60px;"
src=
"@/images/empty-addr
.png"
alt=
""
>
<img
class=
"empty-img"
style=
"height:
70px;width: 176px;"
src=
"@/images/empty-speed
.png"
alt=
""
>
<p>
未获取到
设备定位
</p>
<p>
未获取到
行车速度趋势
</p>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -45,15 +45,15 @@
...
@@ -45,15 +45,15 @@
</div>
</div>
</div>
</div>
<div
>
<div
>
<span
class=
"title"
>
行车速度趋势(Km/h)
</span>
<span
class=
"title"
>
事故地点
</span>
<div
v-if=
"showMap"
class=
"eChart-box"
id=
"echarts
"
></div>
<div
v-if=
"showMap"
id=
"mapContainer
"
></div>
<div
class=
"empty-wrap"
v-else
>
<div
class=
"empty-wrap"
v-else
>
<img
class=
"empty-img"
style=
"height: 1
42px;width: 338px;"
src=
"@/images/empty-speed
.png"
alt=
""
>
<img
class=
"empty-img"
style=
"height: 1
20px;width: 100px;"
src=
"@/images/empty-addr
.png"
alt=
""
>
<p>
未获取到
行车速度趋势
</p>
<p>
未获取到
设备定位
</p>
</div>
</div>
</div>
</div>
<GLDialog
mode=
"mid"
title=
"新增跟进记录"
:modal-append-to-body=
"true"
:append-to-body=
"true"
:visible
.
sync=
"recordVisible"
:hasFooter=
"true"
:before-close=
"handleCancel"
@
onOk=
"handleOk"
@
onCancel=
"handleCancel"
>
<GLDialog
mode=
"mid"
title=
"新增跟进记录"
:modal-append-to-body=
"true"
:append-to-body=
"true"
:visible
.
sync=
"recordVisible"
:hasFooter=
"true"
:before-close=
"handleCancel"
@
onOk=
"handleOk"
@
onCancel=
"handleCancel"
>
<glsx-combi-form
class=
"form"
ref=
"recordRef"
:formRules=
"recordRule"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj=
"recordForm"
:formData=
"recordFormData"
>
<glsx-combi-form
class=
"
record-
form"
ref=
"recordRef"
:formRules=
"recordRule"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj=
"recordForm"
:formData=
"recordFormData"
>
</glsx-combi-form>
</glsx-combi-form>
</GLDialog>
</GLDialog>
...
@@ -323,9 +323,10 @@ export default {
...
@@ -323,9 +323,10 @@ export default {
}
}
},
},
grid
:
{
grid
:
{
top
:
'3%'
,
left
:
'3%'
,
left
:
'3%'
,
right
:
'
4
%'
,
right
:
'
8
%'
,
bottom
:
'
3
%'
,
bottom
:
'
1
%'
,
containLabel
:
true
containLabel
:
true
},
},
xAxis
:
{
xAxis
:
{
...
@@ -363,7 +364,7 @@ export default {
...
@@ -363,7 +364,7 @@ export default {
areaStyle
:
{
// 使用 areaStyle 来设置渐变背景
areaStyle
:
{
// 使用 areaStyle 来设置渐变背景
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[{
color
:
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[{
offset
:
0
,
offset
:
0
,
color
:
'rgba(88, 80, 255,
1
)'
color
:
'rgba(88, 80, 255,
0.5
)'
},
// 渐变起始颜色
},
// 渐变起始颜色
{
{
offset
:
1
,
offset
:
1
,
...
@@ -387,13 +388,15 @@ export default {
...
@@ -387,13 +388,15 @@ export default {
plugins
:
[
'AMap.Scale'
],
//需要使用的的插件列表,如比例尺'AMap.Scale'等
plugins
:
[
'AMap.Scale'
],
//需要使用的的插件列表,如比例尺'AMap.Scale'等
}).
then
((
AMap
)
=>
{
}).
then
((
AMap
)
=>
{
var
map
=
new
AMap
.
Map
(
'mapContainer'
,
{
var
map
=
new
AMap
.
Map
(
'mapContainer'
,
{
zoom
:
1
0
,
// 初始缩放级别
zoom
:
1
2
,
// 初始缩放级别
center
:
startAddr
// 初始地图中心点坐标
center
:
startAddr
// 初始地图中心点坐标
});
});
// 添加缩放控件
// 添加缩放控件
map
.
plugin
([
"AMap.ToolBar"
],
function
()
{
map
.
plugin
([
"AMap.ToolBar"
],
function
()
{
var
toolbar
=
new
AMap
.
ToolBar
();
var
toolbar
=
new
AMap
.
ToolBar
({
position
:
'RT'
});
map
.
addControl
(
toolbar
);
map
.
addControl
(
toolbar
);
});
});
...
@@ -542,6 +545,13 @@ export default {
...
@@ -542,6 +545,13 @@ export default {
}
}
}
}
}
}
.record-form
{
/deep/
.el-textarea__inner{
height
:
75px
;
}
}
.obj-item
{
.obj-item
{
display
:
inline-block
;
display
:
inline-block
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
@@ -560,11 +570,11 @@ export default {
...
@@ -560,11 +570,11 @@ export default {
}
}
.eChart-box
{
.eChart-box
{
width
:
100%
;
width
:
100%
;
height
:
300
px
;
height
:
187
px
;
}
}
#mapContainer
{
#mapContainer
{
width
:
100%
;
width
:
100%
;
height
:
104
px
;
height
:
275
px
;
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment