Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
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
Administrator
dsk-cr20g
Commits
116236bf
Commit
116236bf
authored
Jun 01, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8d1c0d53
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
210 additions
and
984 deletions
+210
-984
down.png
dsk-operate-ui/src/assets/images/index/down.png
+0
-0
icon1.png
dsk-operate-ui/src/assets/images/index/icon1.png
+0
-0
icon2.png
dsk-operate-ui/src/assets/images/index/icon2.png
+0
-0
icon3.png
dsk-operate-ui/src/assets/images/index/icon3.png
+0
-0
icon4.png
dsk-operate-ui/src/assets/images/index/icon4.png
+0
-0
up.png
dsk-operate-ui/src/assets/images/index/up.png
+0
-0
login_bg.png
dsk-operate-ui/src/assets/images/login_bg.png
+0
-0
password.png
dsk-operate-ui/src/assets/images/password.png
+0
-0
title_icon.png
dsk-operate-ui/src/assets/images/title_icon.png
+0
-0
user.png
dsk-operate-ui/src/assets/images/user.png
+0
-0
validCode.png
dsk-operate-ui/src/assets/images/validCode.png
+0
-0
index.vue
dsk-operate-ui/src/views/index.vue
+107
-948
login.vue
dsk-operate-ui/src/views/login.vue
+48
-28
index.vue
dsk-operate-ui/src/views/macro/enterprises/index.vue
+15
-1
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+8
-0
zhaobiao.vue
.../src/views/macro/nationalEconomies/component/zhaobiao.vue
+32
-7
No files found.
dsk-operate-ui/src/assets/images/index/down.png
0 → 100644
View file @
116236bf
325 Bytes
dsk-operate-ui/src/assets/images/index/icon1.png
0 → 100644
View file @
116236bf
5.96 KB
dsk-operate-ui/src/assets/images/index/icon2.png
0 → 100644
View file @
116236bf
3.63 KB
dsk-operate-ui/src/assets/images/index/icon3.png
0 → 100644
View file @
116236bf
4.16 KB
dsk-operate-ui/src/assets/images/index/icon4.png
0 → 100644
View file @
116236bf
3.54 KB
dsk-operate-ui/src/assets/images/index/up.png
0 → 100644
View file @
116236bf
350 Bytes
dsk-operate-ui/src/assets/images/login_bg.png
0 → 100644
View file @
116236bf
883 KB
dsk-operate-ui/src/assets/images/password.png
0 → 100644
View file @
116236bf
913 Bytes
dsk-operate-ui/src/assets/images/title_icon.png
0 → 100644
View file @
116236bf
2.19 KB
dsk-operate-ui/src/assets/images/user.png
0 → 100644
View file @
116236bf
1.37 KB
dsk-operate-ui/src/assets/images/validCode.png
0 → 100644
View file @
116236bf
1.22 KB
dsk-operate-ui/src/views/index.vue
View file @
116236bf
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/login.vue
View file @
116236bf
<
template
>
<
template
>
<div
class=
"login"
>
<div
class=
"login"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
class=
"login-form"
>
<h3
class=
"title"
>
若依后台管理
系统
</h3>
<h3
class=
"title"
>
<img
src=
"../assets/images/title_icon.png"
/>
欢迎登录
系统
</h3>
<el-form-item
prop=
"username"
>
<el-form-item
prop=
"username"
>
<el-input
<el-input
v-model=
"loginForm.username"
v-model=
"loginForm.username"
type=
"text"
type=
"text"
auto-complete=
"off"
auto-complete=
"off"
placeholder=
"账号"
placeholder=
"
请输入登录
账号"
>
>
<
svg-icon
slot=
"prefix"
icon-class=
"user"
class=
"el-input__icon input-icon"
/>
<
img
class=
"img"
slot=
"prefix"
src=
"../assets/images/user.png"
/>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"password"
>
<el-form-item
prop=
"password"
>
...
@@ -17,33 +17,33 @@
...
@@ -17,33 +17,33 @@
v-model=
"loginForm.password"
v-model=
"loginForm.password"
type=
"password"
type=
"password"
auto-complete=
"off"
auto-complete=
"off"
placeholder=
"密码"
placeholder=
"
请输入账号
密码"
@
keyup
.
enter
.
native=
"handleLogin"
@
keyup
.
enter
.
native=
"handleLogin"
>
>
<
svg-icon
slot=
"prefix"
icon-class=
"password"
class=
"el-input__icon input-icon"
/>
<
img
class=
"img"
slot=
"prefix"
src=
"../assets/images/password.png"
/>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"code"
v-if=
"captchaEnabled"
>
<el-form-item
prop=
"code"
v-if=
"captchaEnabled"
>
<el-input
<el-input
v-model=
"loginForm.code"
v-model=
"loginForm.code"
auto-complete=
"off"
auto-complete=
"off"
placeholder=
"验证码"
placeholder=
"
请输入
验证码"
style=
"width:
63%
"
style=
"width:
56%;float: left;
"
@
keyup
.
enter
.
native=
"handleLogin"
@
keyup
.
enter
.
native=
"handleLogin"
>
>
<
svg-icon
slot=
"prefix"
icon-class=
"validCode"
class=
"el-input__icon input-icon"
/>
<
img
class=
"img"
slot=
"prefix"
src=
"../assets/images/validCode.png"
/>
</el-input>
</el-input>
<div
class=
"login-code"
>
<div
class=
"login-code"
>
<img
:src=
"codeUrl"
@
click=
"getCode"
class=
"login-code-img"
/>
<img
:src=
"codeUrl"
@
click=
"getCode"
class=
"login-code-img"
/>
</div>
</div>
</el-form-item>
</el-form-item>
<el-checkbox
v-model=
"loginForm.rememberMe"
style=
"margin:0px 0px 25px
0
px;"
>
记住密码
</el-checkbox>
<el-checkbox
v-model=
"loginForm.rememberMe"
style=
"margin:0px 0px 25px
48
px;"
>
记住密码
</el-checkbox>
<el-form-item
style=
"width:100%;"
>
<el-form-item
style=
"width:100%;"
>
<el-button
<el-button
:loading=
"loading"
:loading=
"loading"
size=
"medium"
size=
"medium"
type=
"primary"
type=
"primary"
style=
"width:100%;"
style=
"width:100%;
height: 48px;border-radius: 4px;font-size: 16px;
"
@
click
.
native
.
prevent=
"handleLogin"
@
click
.
native
.
prevent=
"handleLogin"
>
>
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-if=
"!loading"
>
登 录
</span>
...
@@ -54,10 +54,6 @@
...
@@ -54,10 +54,6 @@
</div>
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<!-- 底部 -->
<div
class=
"el-login-footer"
>
<span>
Copyright © 2018-2023 ruoyi.vip All Rights Reserved.
</span>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -161,30 +157,53 @@ export default {
...
@@ -161,30 +157,53 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
height
:
100%
;
height
:
100%
;
background-image
:
url("../assets/images/login_b
ackground.jp
g")
;
background-image
:
url("../assets/images/login_b
g.pn
g")
;
background-size
:
cover
;
background-size
:
cover
;
}
}
.title
{
.title
{
margin
:
0px
auto
30px
auto
;
padding
:
46px
0
32px
48px
;
text-align
:
center
;
border-bottom
:
1px
solid
#F0F0F0
;
color
:
#707070
;
font-size
:
22px
;
color
:
#232323
;
margin
:
0
0
32px
0
;
img
{
width
:
17px
;
height
:
17px
;
margin-bottom
:
3px
;
}
}
}
.login-form
{
.login-form
{
border-radius
:
6px
;
border-radius
:
6px
;
background
:
#ffffff
;
background
:
#ffffff
;
width
:
400px
;
width
:
420px
;
padding
:
25px
25px
5px
25px
;
/*padding: 25px 25px 5px 25px;*/
.el-form-item
{
padding
:
0
48px
;
margin-bottom
:
24px
;
}
.el-input
{
.el-input
{
height
:
38px
;
width
:
324px
;
height
:
48px
;
background
:
#F2F4F9
;
input
{
input
{
height
:
38px
;
height
:
48px
;
background
:
#F2F4F9
;
font-size
:
14px
;
}
}
.el-input__inner
{
padding-left
:
73px
;
}
}
.el-input__prefix
{
border-right
:
1px
solid
#D8D8D8
;
height
:
24px
;
margin
:
12px
0
;
}
}
.i
nput-icon
{
.i
mg
{
height
:
39
px
;
height
:
24
px
;
width
:
1
4px
;
width
:
2
4px
;
margin
-left
:
2px
;
margin
:
0
14px
0
1
2px
;
}
}
}
}
.login-tip
{
.login-tip
{
...
@@ -195,7 +214,8 @@ export default {
...
@@ -195,7 +214,8 @@ export default {
.login-code
{
.login-code
{
width
:
33%
;
width
:
33%
;
height
:
38px
;
height
:
38px
;
float
:
right
;
float
:
left
;
margin-left
:
16px
;
img
{
img
{
cursor
:
pointer
;
cursor
:
pointer
;
vertical-align
:
middle
;
vertical-align
:
middle
;
...
@@ -214,6 +234,6 @@ export default {
...
@@ -214,6 +234,6 @@ export default {
letter-spacing
:
1px
;
letter-spacing
:
1px
;
}
}
.login-code-img
{
.login-code-img
{
height
:
3
8px
;
height
:
4
8px
;
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/macro/enterprises/index.vue
View file @
116236bf
...
@@ -164,16 +164,30 @@ export default {
...
@@ -164,16 +164,30 @@ export default {
padding
:
16px
;
padding
:
16px
;
.search
{
.search
{
::v-deep
.el-cascader
{
::v-deep
.el-cascader
{
width
:
1
3
0px
;
width
:
1
8
0px
;
margin-right
:
12px
;
margin-right
:
12px
;
height
:
32px
;
height
:
32px
;
.el-input
{
.el-input
{
width
:
100%
;
width
:
100%
;
height
:
32px
;
.el-input__inner
{
height
:
32px
!
important
;
}
}
.el-cascader__tags
{
flex-wrap
:
inherit
;
.el-tag
{
max-width
:
100px
;
margin
:
5px
0
2px
6px
;
}
}
}
}
}
::v-deep
.el-input
{
::v-deep
.el-input
{
width
:
250px
;
width
:
250px
;
height
:
32px
;
height
:
32px
;
.el-input__inner
{
height
:
32px
;
}
.el-input-group__append
{
.el-input-group__append
{
width
:
59px
;
width
:
59px
;
background
:
#F5F5F5
;
background
:
#F5F5F5
;
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
116236bf
...
@@ -268,6 +268,14 @@
...
@@ -268,6 +268,14 @@
.el-form
{
.el-form
{
margin-left
:
24px
;
margin-left
:
24px
;
}
}
::v-deep
.el-cascader
{
.el-cascader__tags
{
flex-wrap
:
inherit
;
.el-tag
{
max-width
:
130px
;
}
}
}
}
}
}
}
.content
{
.content
{
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/zhaobiao.vue
View file @
116236bf
...
@@ -139,7 +139,7 @@ export default {
...
@@ -139,7 +139,7 @@ export default {
},
},
],
],
glData
:[
'1月'
,
'2月'
,
'3月'
,
'4月'
,
'5月'
,
'6月'
,
'7月'
,
'8月'
,
'9月'
,
'10月'
,
'11月'
,
'12月'
],
glData
:[
'1月'
,
'2月'
,
'3月'
,
'4月'
,
'5月'
,
'6月'
,
'7月'
,
'8月'
,
'9月'
,
'10月'
,
'11月'
,
'12月'
],
glData1
:[
1
03
,
156
,
132
,
186
,
203
,
143
,
189
,
301
,
211
,
195
,
132
,
176
],
glData1
:[
5
03
,
156
,
132
,
186
,
203
,
143
,
189
,
301
,
211
,
195
,
132
,
176
],
tableData1
:[
tableData1
:[
{
{
area
:
'1月'
,
area
:
'1月'
,
...
@@ -263,6 +263,7 @@ export default {
...
@@ -263,6 +263,7 @@ export default {
},
},
initChart1
()
{
initChart1
()
{
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"gl-echarts"
))
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
"gl-echarts"
))
let
dataList
=
this
.
glData1
;
let
option
=
{
let
option
=
{
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
,
//坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用
trigger
:
'axis'
,
//坐标轴触发,主要在柱状图,折线图等会使用类目轴的图表中使用
...
@@ -287,17 +288,41 @@ export default {
...
@@ -287,17 +288,41 @@ export default {
series
:
[
series
:
[
{
{
data
:
this
.
glData1
,
data
:
this
.
glData1
,
markPoint
:{
// markPoint:{
data
:[
// data:[
{
type
:
'max'
,
name
:
'最大值'
},
// {type:'max',name:'最大值'},
]
// {type:'min',name:'最小值'},
},
// ]
// },
type
:
'bar'
,
type
:
'bar'
,
barWidth
:
20
,
barWidth
:
20
,
itemStyle
:
{
itemStyle
:
{
normal
:
{
normal
:
{
barBorderRadius
:
[
4
,
4
,
0
,
0
],
barBorderRadius
:
[
4
,
4
,
0
,
0
],
color
:
'#2ECFCF'
,
// color: '#2ECFCF',
color
:
function
(
params
)
{
var
colorList
=
[]
//定义一个存储颜色的数组
//更改前二位柱形颜色
//定义一个变量 保存柱形图数据 因为sort方法排序会改变原数组 使用JSON方法深拷贝 将原数值暂存
let
companyValue1
=
JSON
.
parse
(
JSON
.
stringify
(
dataList
))
let
arr
=
dataList
.
sort
((
a
,
b
)
=>
{
return
b
-
a
})
//将原数组数据赋值回去 保持数据不变
dataList
=
JSON
.
parse
(
JSON
.
stringify
(
companyValue1
))
//遍历数据 将原数组和排序后的数组比较
dataList
.
map
(
i
=>
{
if
(
i
==
arr
[
0
])
{
colorList
.
push
(
'#F39F35'
)
}
else
if
(
i
==
arr
[
1
])
{
colorList
.
push
(
'#6675A5'
)
}
else
{
colorList
.
push
(
'#2ECFCF'
)
}
})
//返回一个存储着颜色的数组根据数据index顺序渲染到页面
return
colorList
[
params
.
dataIndex
]
}
},
},
}
}
}
}
...
...
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