Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
海康威视
web-project
Commits
85b3fe0f
Commit
85b3fe0f
authored
Jul 27, 2024
by
qjeslks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7.27.1
parent
80ed63e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
AlarmStatusPage.vue
src/views/AlarmPage/AlarmStatusPage.vue
+8
-1
No files found.
src/views/AlarmPage/AlarmStatusPage.vue
View file @
85b3fe0f
...
@@ -219,6 +219,13 @@
...
@@ -219,6 +219,13 @@
}
}
}
}
//获取用户信息
getuser
()
function
getuser
(){
var
user
=
store
.
getters
.
getUserInfo
();
console
.
log
(
user
);
}
//获取总管列表
//获取总管列表
function
getPipes
(){
function
getPipes
(){
loading
.
value
=
true
;
loading
.
value
=
true
;
...
@@ -258,6 +265,7 @@
...
@@ -258,6 +265,7 @@
AlarmInfo
.
length
=
0
;
AlarmInfo
.
length
=
0
;
var
result
=
store
.
getters
.
getEnterprise
();
var
result
=
store
.
getters
.
getEnterprise
();
if
(
result
)
{
if
(
result
)
{
console
.
log
(
result
)
result
.
forEach
(
element
=>
{
result
.
forEach
(
element
=>
{
if
(
element
.
enterpriseId
===
enterpriseId
.
value
){
if
(
element
.
enterpriseId
===
enterpriseId
.
value
){
if
(
element
.
enterpriseId
===
"9BCA54BC-8F27-4849-8D7D-50C5099E1949"
.
toLowerCase
()){
if
(
element
.
enterpriseId
===
"9BCA54BC-8F27-4849-8D7D-50C5099E1949"
.
toLowerCase
()){
...
@@ -329,7 +337,6 @@
...
@@ -329,7 +337,6 @@
}
}
function
getImgUrl
(
scope
,
item
)
{
function
getImgUrl
(
scope
,
item
)
{
console
.
log
(
scope
,
item
)
var
url
=
null
;
var
url
=
null
;
switch
(
scope
.
row
[
item
])
{
switch
(
scope
.
row
[
item
])
{
case
true
:
url
=
new
URL
(
'/imgs/status/status_alarm.png'
,
import
.
meta
.
url
).
href
;
break
;
case
true
:
url
=
new
URL
(
'/imgs/status/status_alarm.png'
,
import
.
meta
.
url
).
href
;
break
;
...
...
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