Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
山
山西华远大屏
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
lichunliang
山西华远大屏
Commits
3d9edc03
Commit
3d9edc03
authored
Feb 21, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 用户密码 大屏替换修改
parent
34c3d30f
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
112 additions
and
85 deletions
+112
-85
ai.js
src/api/avoidanceSys/ai.js
+2
-2
home.js
src/api/avoidanceSys/home.js
+1
-1
plans.js
src/api/avoidanceSys/plans.js
+1
-1
qiaoliang.js
src/api/avoidanceSys/qiaoliang.js
+2
-2
suidao.js
src/api/avoidanceSys/suidao.js
+1
-1
AiAnalysis.vue
src/components/BigScreen/AiAnalysis.vue
+1
-1
BianpoMonitor.vue
src/components/BigScreen/BianpoMonitor.vue
+3
-3
index.js
src/router/index.js
+16
-4
bigscreen.vue
src/views/bigscreen.vue
+15
-1
index.vue
src/views/system/user/index.vue
+67
-66
resetPwd.vue
src/views/system/user/profile/resetPwd.vue
+2
-2
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/avoidanceSys/ai.js
View file @
3d9edc03
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询应急仓库信息列表
export
function
getChartData
()
{
return
request
({
url
:
'
/s
lope/screen
/count
'
,
url
:
'
/s
ystem/slope
/count
'
,
method
:
'
get
'
,
})
}
...
...
@@ -11,7 +11,7 @@ export function getChartData() {
// 查询应急仓库信息详细
export
function
getListData
(
query
)
{
return
request
({
url
:
'
/s
lope/screen
/day
'
,
url
:
'
/s
ystem/slope
/day
'
,
method
:
'
get
'
,
params
:
query
})
...
...
src/api/avoidanceSys/home.js
View file @
3d9edc03
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 应急预案更新提醒
export
function
getEquipmentNum
(
query
)
{
return
request
({
url
:
'
/s
lope/screen
/equipmentNum
'
,
url
:
'
/s
ystem/slope
/equipmentNum
'
,
method
:
'
get
'
,
params
:
query
})
...
...
src/api/avoidanceSys/plans.js
View file @
3d9edc03
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询应急预案信息列表
export
function
listPlans
(
query
)
{
return
request
({
url
:
'
/s
lope/screen
/list
'
,
url
:
'
/s
ystem/slope
/list
'
,
method
:
'
get
'
,
params
:
query
})
...
...
src/api/avoidanceSys/qiaoliang.js
View file @
3d9edc03
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询应急仓库信息列表
export
function
getChartData
()
{
return
request
({
url
:
'
/s
lope/screen
/getAlarmCount
'
,
url
:
'
/s
ystem/slope
/getAlarmCount
'
,
method
:
'
get
'
,
})
}
...
...
@@ -11,7 +11,7 @@ export function getChartData() {
// 查询应急仓库信息详细
export
function
getListData
(
query
)
{
return
request
({
url
:
'
/s
lope/screen
/getTypeMon
'
,
url
:
'
/s
ystem/slope
/getTypeMon
'
,
method
:
'
get
'
,
params
:
query
})
...
...
src/api/avoidanceSys/suidao.js
View file @
3d9edc03
...
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询数据字典-物资类别信息列表
export
function
getList
(
query
)
{
return
request
({
url
:
'
/s
lope/screen
/listMax
'
,
url
:
'
/s
ystem/slope
/listMax
'
,
method
:
'
get
'
,
params
:
query
})
...
...
src/components/BigScreen/AiAnalysis.vue
View file @
3d9edc03
...
...
@@ -65,7 +65,7 @@ export default {
pageNum
:
1
,
pageSize
:
99999
,
}).
then
((
response
)
=>
{
this
.
dataList
=
response
.
data
;
this
.
dataList
=
response
.
data
.
data
;
});
},
...
...
src/components/BigScreen/BianpoMonitor.vue
View file @
3d9edc03
...
...
@@ -104,9 +104,9 @@ export default {
pageNum
:
1
,
pageSize
:
99999
,
}).
then
((
response
)
=>
{
this
.
plansList
=
response
.
voList
;
this
.
plansNum
.
hiddenNum
=
response
.
total
[
0
]
this
.
plansNum
.
dealNum
=
response
.
total
[
1
]
this
.
plansList
=
response
.
data
.
voList
;
this
.
plansNum
.
hiddenNum
=
response
.
data
.
total
[
0
]
this
.
plansNum
.
dealNum
=
response
.
data
.
total
[
1
]
this
.
startScrolling
(
"
.bottom-yuan .list-wrap
"
,
...
...
src/router/index.js
View file @
3d9edc03
...
...
@@ -63,13 +63,25 @@ export const constantRoutes = [
},
{
path
:
''
,
// component: Layout,
redirect
:
'
/bigscreen/index
'
,
// children: [
// {
// path: 'index',
// component: () => import('@/views/system/user/index'),
// name: 'Index',
// meta: { title: '首页', icon: 'dashboard', affix: true }
// }
// ]
},
{
path
:
'
/home
'
,
component
:
Layout
,
redirect
:
'
index
'
,
children
:
[
{
path
:
'
index
'
,
component
:
()
=>
import
(
'
@/views/
bigscreen
'
),
name
:
'
Index
'
,
component
:
()
=>
import
(
'
@/views/
system/user/index
'
),
name
:
'
Home
'
,
meta
:
{
title
:
'
首页
'
,
icon
:
'
dashboard
'
,
affix
:
true
}
}
]
...
...
@@ -90,7 +102,7 @@ export const constantRoutes = [
},
{
path
:
'
/bigscreen/index
'
,
component
:
bigscreen
,
component
:
()
=>
import
(
'
@/views/bigscreen
'
)
,
meta
:
{
title
:
'
一张图
'
},
name
:
'
一张图
'
,
hidden
:
true
...
...
src/views/bigscreen.vue
View file @
3d9edc03
...
...
@@ -6,11 +6,13 @@
<header
id=
"header"
>
<div
class=
"b1_bg"
>
<h2>
山西华远陆港平台
</h2>
</div>
</header>
<div
class=
"content"
>
<div
class=
"map"
>
<i
class=
"el-icon-user home"
@
click=
"gohome"
></i>
<div
class=
"sys-tit"
>
<span
@
click=
"toOtherSys(1)"
>
边坡监测
</span>
<span
@
click=
"toOtherSys(2)"
>
桥梁监测
</span>
...
...
@@ -141,6 +143,9 @@ export default {
});
},
methods
:
{
gohome
(){
this
.
$router
.
push
({
path
:
"
/home/index
"
});
},
getEquipmentNum
()
{
getEquipmentNum
().
then
((
response
)
=>
{
this
.
equipList
=
response
.
data
||
[];
...
...
@@ -365,7 +370,15 @@ footer{
width
:
100%
;
height
:
100vh
;
position
:
relative
;
.home
{
font-size
:
0
.34rem
;
color
:
#11a8e7
;
position
:
absolute
;
right
:
0
.2rem
;
top
:
0
.36rem
;
cursor
:
pointer
;
z-index
:
12
;
}
.sys-tit
{
width
:
8
.49rem
;
height
:
0
.63rem
;
...
...
@@ -464,6 +477,7 @@ footer{
z-index
:
5
;
display
:
flex
;
user-select
:
none
;
.b1_bg
{
position
:
relative
;
height
:
1
.03rem
;
...
...
src/views/system/user/index.vue
View file @
3d9edc03
This diff is collapsed.
Click to expand it.
src/views/system/user/profile/resetPwd.vue
View file @
3d9edc03
...
...
@@ -41,8 +41,8 @@ export default {
],
newPassword
:
[
{
required
:
true
,
message
:
"
新密码不能为空
"
,
trigger
:
"
blur
"
},
{
min
:
6
,
max
:
20
,
message
:
"
长度在 6
到 20 个字符
"
,
trigger
:
"
blur
"
},
{
pattern
:
/^
[^
<>"'|
\\]
+$/
,
message
:
"
不能包含非法字符:< >
\"
'
\\\
|
"
,
trigger
:
"
blur
"
}
{
min
:
8
,
max
:
20
,
message
:
"
长度在 8
到 20 个字符
"
,
trigger
:
"
blur
"
},
{
pattern
:
/^
(?=
.*
[
A-Za-z
])(?=
.*
\d)(?=
.*
[
!@#$%^&*
])
.
{9,}
$/
,
message
:
"
密码需要包含数字、字母、符号
"
,
trigger
:
"
blur
"
}
],
confirmPassword
:
[
{
required
:
true
,
message
:
"
确认密码不能为空
"
,
trigger
:
"
blur
"
},
...
...
vue.config.js
View file @
3d9edc03
...
...
@@ -37,7 +37,7 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.3.226:8579`,
target
:
`http://192.168.2.16:
9090
`
,
target
:
`http://192.168.2.16:
8579
`
,
// target: `http://182.92.170.89:10080`,
changeOrigin
:
true
,
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