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
5b1b13ea
Commit
5b1b13ea
authored
Aug 05, 2024
by
qjeslks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除打印语句
parent
034a9223
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
10 deletions
+0
-10
MyMenu.vue
src/components/MyMenu.vue
+0
-1
HisPatrolPage.vue
src/views/PatrolPage/HisPatrolPage.vue
+0
-5
TodayPatrolPage.vue
src/views/PatrolPage/TodayPatrolPage.vue
+0
-2
home.vue
src/views/home.vue
+0
-2
No files found.
src/components/MyMenu.vue
View file @
5b1b13ea
...
@@ -109,7 +109,6 @@
...
@@ -109,7 +109,6 @@
options
.
value
.
push
(
menus
[
i
].
childs
[
j
])
options
.
value
.
push
(
menus
[
i
].
childs
[
j
])
}
}
}
}
console
.
log
(
options
.
value
)
// options.value.push()
// options.value.push()
}
}
...
...
src/views/PatrolPage/HisPatrolPage.vue
View file @
5b1b13ea
...
@@ -85,7 +85,6 @@
...
@@ -85,7 +85,6 @@
}
else
{
}
else
{
sortField
[
prop
]
=
order
sortField
[
prop
]
=
order
}
}
// console.log(sortField)
let
sortname
=
""
;
let
sortname
=
""
;
let
sortnames
=
""
;
let
sortnames
=
""
;
let
direction
=
''
;
let
direction
=
''
;
...
@@ -100,7 +99,6 @@
...
@@ -100,7 +99,6 @@
}
else
if
(
i
===
"patrolTime"
){
}
else
if
(
i
===
"patrolTime"
){
sortname
=
"PatrolTime"
;
sortname
=
"PatrolTime"
;
}
}
// console.log(sortname)
if
(
sortnames
===
""
){
if
(
sortnames
===
""
){
sortnames
=
sortnames
+
sortname
+
" "
+
direction
;
sortnames
=
sortnames
+
sortname
+
" "
+
direction
;
}
else
{
}
else
{
...
@@ -138,7 +136,6 @@
...
@@ -138,7 +136,6 @@
day
=
"0"
+
day
;
day
=
"0"
+
day
;
}
}
var
startTime
=
sessionStorage
.
getItem
(
"DeviceQueryStart"
);
var
startTime
=
sessionStorage
.
getItem
(
"DeviceQueryStart"
);
console
.
log
(
!!
startTime
);
if
(
!!
startTime
){
if
(
!!
startTime
){
startTime
=
year
+
"-"
+
dateArr
[
0
]
+
'-'
+
day
+
" "
+
dateArr
[
2
]
+
":"
+
dateArr
[
3
]
+
":"
+
dateArr
[
4
];
startTime
=
year
+
"-"
+
dateArr
[
0
]
+
'-'
+
day
+
" "
+
dateArr
[
2
]
+
":"
+
dateArr
[
3
]
+
":"
+
dateArr
[
4
];
sessionStorage
.
setItem
(
"DeviceQueryStart"
,
startTime
);
sessionStorage
.
setItem
(
"DeviceQueryStart"
,
startTime
);
...
@@ -213,8 +210,6 @@
...
@@ -213,8 +210,6 @@
PatrolInfo
.
count
=
pageSize
.
value
-
1
;
PatrolInfo
.
count
=
pageSize
.
value
-
1
;
}
}
http
.
post
(
"/api/patrol/GetPatrolHisData"
,
PatrolInfo
).
then
((
result
)
=>
{
http
.
post
(
"/api/patrol/GetPatrolHisData"
,
PatrolInfo
).
then
((
result
)
=>
{
console
.
log
(
result
.
data
);
console
.
log
(
PatrolInfo
);
if
(
result
.
data
!==
null
){
if
(
result
.
data
!==
null
){
tableData
.
value
=
result
.
data
.
dataInfoList
;
tableData
.
value
=
result
.
data
.
dataInfoList
;
total
.
value
=
result
.
data
.
rowCount
;
total
.
value
=
result
.
data
.
rowCount
;
...
...
src/views/PatrolPage/TodayPatrolPage.vue
View file @
5b1b13ea
...
@@ -79,7 +79,6 @@
...
@@ -79,7 +79,6 @@
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
()){
...
@@ -113,7 +112,6 @@
...
@@ -113,7 +112,6 @@
function
gettransfer
()
{
function
gettransfer
()
{
loading
.
value
=
true
;
loading
.
value
=
true
;
http
.
post
(
"/api/patrol/GetPatrolTodeyData"
,
AlarmInfo
.
value
).
then
((
result
)
=>
{
http
.
post
(
"/api/patrol/GetPatrolTodeyData"
,
AlarmInfo
.
value
).
then
((
result
)
=>
{
console
.
log
(
result
.
data
);
if
(
result
.
data
!==
null
){
if
(
result
.
data
!==
null
){
tableData
.
value
=
result
.
data
;
tableData
.
value
=
result
.
data
;
}
}
...
...
src/views/home.vue
View file @
5b1b13ea
...
@@ -606,7 +606,6 @@ export default defineComponent({
...
@@ -606,7 +606,6 @@ export default defineComponent({
function
alarm
(){
function
alarm
(){
http
.
post
(
"/api/alarm/GetAlarmMsg"
,
AlarmInfo
.
value
).
then
((
result
)
=>
{
http
.
post
(
"/api/alarm/GetAlarmMsg"
,
AlarmInfo
.
value
).
then
((
result
)
=>
{
if
(
result
.
data
!==
null
&&
sta
.
value
===
0
&&
result
.
data
.
lengh
>
0
){
if
(
result
.
data
!==
null
&&
sta
.
value
===
0
&&
result
.
data
.
lengh
>
0
){
console
.
log
(
result
)
sta
.
value
=
1
;
sta
.
value
=
1
;
title
.
value
=
result
.
data
[
0
].
title
;
title
.
value
=
result
.
data
[
0
].
title
;
msg
.
value
=
result
.
data
[
0
].
msg
;
msg
.
value
=
result
.
data
[
0
].
msg
;
...
@@ -639,7 +638,6 @@ export default defineComponent({
...
@@ -639,7 +638,6 @@ export default defineComponent({
function
countalarm
(){
function
countalarm
(){
http
.
post
(
"/api/alarm/GetAlarmMsg"
,
AlarmInfo
.
value
).
then
((
result
)
=>
{
http
.
post
(
"/api/alarm/GetAlarmMsg"
,
AlarmInfo
.
value
).
then
((
result
)
=>
{
if
(
result
.
data
!==
null
&&
consta
.
value
===
0
&&
result
.
data
.
lengh
>
0
){
if
(
result
.
data
!==
null
&&
consta
.
value
===
0
&&
result
.
data
.
lengh
>
0
){
console
.
log
(
result
)
consta
.
value
=
1
;
consta
.
value
=
1
;
counttitle
.
value
=
result
.
data
[
1
].
title
;
counttitle
.
value
=
result
.
data
[
1
].
title
;
countmsg
.
value
=
result
.
data
[
1
].
msg
;
countmsg
.
value
=
result
.
data
[
1
].
msg
;
...
...
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