Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-APP
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
首开风险隐患双控平台
BCDH-APP
Commits
c599cf2e
Commit
c599cf2e
authored
May 18, 2022
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解润东
20220518
parent
d65dc206
Pipeline
#8362
passed with stage
in 5 minutes and 3 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
src/views/danger/addDanger/addDanger.vue
src/views/danger/addDanger/addDanger.vue
+2
-3
src/views/danger/dangerPatrol/implement/index.vue
src/views/danger/dangerPatrol/implement/index.vue
+13
-1
src/views/danger/dangerPatrol/recordPatrol/index.vue
src/views/danger/dangerPatrol/recordPatrol/index.vue
+1
-0
No files found.
src/views/danger/addDanger/addDanger.vue
View file @
c599cf2e
...
...
@@ -635,9 +635,8 @@ export default {
message
:
"
提交成功
"
,
duration
:
2000
,
});
console
.
log
(
this
.
$route
.
query
)
// this.$route.query={}
// console.log(this.$route.query)
console
.
log
(
this
.
type
)
sessionStorage
.
setItem
(
'
type
'
,
this
.
type
)
history
.
go
(
-
1
);
})
.
catch
(()
=>
{
...
...
src/views/danger/dangerPatrol/implement/index.vue
View file @
c599cf2e
...
...
@@ -181,7 +181,7 @@ export default {
// },
loadingTabs
(){
postWork
(
"
patrol/running/hdType?cycle=
"
+
this
.
id
).
then
(
res
=>
{
this
.
hdType
=
res
.
data
[
0
].
hdType
//
this.hdType=res.data[0].hdType
res
.
data
.
forEach
((
i
)
=>
{
this
.
tabs
.
push
({
title
:
i
.
hdType
,
...
...
@@ -192,6 +192,18 @@ export default {
refreshing
:
false
,
})
})
if
(
sessionStorage
.
getItem
(
'
type
'
)){
this
.
hdType
=
sessionStorage
.
getItem
(
'
type
'
)
var
j
=
0
this
.
tabs
.
forEach
((
i
)
=>
{
if
(
i
.
title
==
this
.
hdType
){
this
.
active
=
j
}
j
++
;
})
}
else
{
this
.
hdType
=
res
.
data
[
0
].
hdType
}
this
.
$toast
.
clear
();
})
.
catch
(
err
=>
{
...
...
src/views/danger/dangerPatrol/recordPatrol/index.vue
View file @
c599cf2e
...
...
@@ -223,6 +223,7 @@ export default {
},
onSearch
(
val
)
{
this
.
page
=
1
this
.
patrolList
=
[]
this
.
loading
()
},
touchstart
(
item
)
{
...
...
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