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
88c27492
Commit
88c27492
authored
Jul 12, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏
parent
25044b1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
22 deletions
+27
-22
src/views/index/kshData.vue
+27
-22
No files found.
src/views/index/kshData.vue
View file @
88c27492
<!--
* @Author: your name
* @Date: 2021-07-11 15:04:34
* @LastEditTime: 2021-07-12 1
6:29:03
* @LastEditTime: 2021-07-12 1
7:51:25
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\index\kshData.vue
...
...
@@ -56,7 +56,7 @@
<el-row>
<el-col
:span=
"12"
>
<el-form-item
prop=
"name"
>
<el-input
v-model=
"form1.id"
disabled
></el-input>
<el-input
v-model=
"form1.id"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -69,18 +69,18 @@
</el-col>
</el-row>
<el-form-item
prop=
"name"
>
<el-
inpu
t
<el-
selec
t
v-model=
"form1.name"
class=
"w200"
placeholder=
"案件分类"
></el-
inpu
t>
></el-
selec
t>
</el-form-item>
<el-form-item
prop=
"name"
>
<el-
inpu
t
<el-
selec
t
v-model=
"form1.aa"
class=
"w200"
placeholder=
"行政区划"
></el-
inpu
t>
></el-
selec
t>
</el-form-item>
<el-form-item
prop=
"name"
>
<el-button
type=
"primary"
class=
"search"
>
查询
</el-button>
...
...
@@ -149,7 +149,7 @@
</el-date-picker>
</el-form-item>
<el-form-item>
<el-
input
v-model=
"form1.aa"
class=
"w200"
></el-inpu
t>
<el-
select
v-model=
"form1.aa"
class=
"w200"
></el-selec
t>
</el-form-item>
<el-form-item
prop=
"name"
>
<el-button
type=
"primary"
class=
"search"
>
查询
</el-button>
...
...
@@ -750,7 +750,7 @@ export default {
show
:
false
,
},
grid
:
{
left
:
"
6
%"
,
left
:
"
5
%"
,
right
:
"10%"
,
bottom
:
"3%"
,
containLabel
:
true
,
...
...
@@ -791,7 +791,7 @@ export default {
type
:
"bar"
,
barWidth
:
6
,
// 柱子宽度
itemStyle
:
{
barBorderRadius
:
[
0
,
10
,
10
,
0
],
barBorderRadius
:
[
0
,
10
,
10
,
0
],
color
:
(
params
)
=>
{
return
colorList
[
params
.
dataIndex
];
},
...
...
@@ -834,6 +834,7 @@ export default {
itemGap
:
17
,
},
tooltip
:
{
data
:
[
"发案数"
,
"破案数"
],
trigger
:
"axis"
,
show
:
true
,
axisPointer
:
{
...
...
@@ -843,7 +844,7 @@ export default {
},
grid
:
{
left
:
"6%"
,
right
:
"2
0
%"
,
right
:
"2
9
%"
,
bottom
:
"3%"
,
top
:
"20%"
,
containLabel
:
true
,
...
...
@@ -883,9 +884,9 @@ export default {
name
:
"发案数"
,
type
:
"bar"
,
barWidth
:
6
,
// 柱子宽度
barGap
:
"
95
%"
,
barGap
:
"
130
%"
,
itemStyle
:
{
barBorderRadius
:
[
0
,
10
,
10
,
0
],
barBorderRadius
:
[
0
,
10
,
10
,
0
],
color
:
new
this
.
$echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[
{
offset
:
0
,
...
...
@@ -899,13 +900,9 @@ export default {
},
label
:
{
show
:
true
,
position
:
[
280
,
3
]
,
// 位置
color
:
"#
B0BAD3
"
,
position
:
"right"
,
// 位置
color
:
"#
FDCC00
"
,
fontSize
:
12
,
formatter
:
function
(
params
)
{
console
.
log
(
params
.
dataIndex
);
return
`
${
data1
[
params
.
dataIndex
]}
/
${
data2
[
params
.
dataIndex
]}
`
;
},
// 这里是数据展示的时候显示的数据
},
// 柱子上方的数值
data
:
data1
,
},
...
...
@@ -913,8 +910,14 @@ export default {
name
:
"破案数"
,
type
:
"bar"
,
barWidth
:
6
,
// 柱子宽度
label
:
{
show
:
true
,
position
:
"right"
,
// 位置
color
:
"#2AD8FF"
,
fontSize
:
12
,
},
// 柱子上方的数值
itemStyle
:
{
barBorderRadius
:
[
0
,
10
,
10
,
0
],
barBorderRadius
:
[
0
,
10
,
10
,
0
],
color
:
new
this
.
$echarts
.
graphic
.
LinearGradient
(
0
,
0
,
1
,
0
,
[
{
offset
:
0
,
...
...
@@ -1094,7 +1097,7 @@ export default {
type
:
"bar"
,
barWidth
:
6
,
// 柱子宽度
itemStyle
:
{
barBorderRadius
:
[
0
,
10
,
10
,
0
],
barBorderRadius
:
[
0
,
10
,
10
,
0
],
color
:
(
params
)
=>
{
return
colorList
[
params
.
dataIndex
];
},
...
...
@@ -1340,14 +1343,15 @@ export default {
}
}
.content
/
deep
/
{
.el-input__inner,.el-range-input{
.el-input__inner,
.el-range-input
{
color
:
#fff
;
}
height
:
calc
(
100
%
-
90px
);
width
:
100
%;
.w200
{
width
:
235px
;
>
.el-input__inner
{
.el-input__inner
{
width
:
235px
!important
;
}
}
...
...
@@ -1425,6 +1429,7 @@ export default {
}
}
.el-form-item__content
{
//
height
:
40px
;
margin-top
:
20px
;
margin-left
:
70px
!important
;
position
:
relative
;
...
...
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