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
d41a270e
Commit
d41a270e
authored
Jul 20, 2022
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
8a719d9f
Pipeline
#8618
passed with stage
in 5 minutes and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
12 deletions
+25
-12
src/views/danger/addDanger/addDanger.vue
src/views/danger/addDanger/addDanger.vue
+19
-11
src/views/saveWorkbench/index.vue
src/views/saveWorkbench/index.vue
+6
-1
No files found.
src/views/danger/addDanger/addDanger.vue
View file @
d41a270e
...
@@ -386,15 +386,25 @@ export default {
...
@@ -386,15 +386,25 @@ export default {
this
.
text
=
"
隐患上报退回
"
;
this
.
text
=
"
隐患上报退回
"
;
this
.
postReturnEcho
();
this
.
postReturnEcho
();
}
}
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'
obj
'
))
if
(
this
.
$route
.
params
.
isWorkbenchTo
){
console
.
log
(
obj
)
this
.
id
=
''
this
.
id
=
obj
.
id
this
.
proId
=
''
this
.
proId
=
obj
.
proId
,
this
.
hdRange
=
''
this
.
hdRange
=
obj
.
hdRange
,
this
.
hdType
=
''
this
.
hdType
=
obj
.
hdType
,
this
.
hdName
=
''
this
.
hdName
=
obj
.
hdName
,
this
.
hdId
=
''
this
.
hdId
=
obj
.
hdId
,
this
.
hdLev
=
''
this
.
hdLev
=
obj
.
hdLev
}
if
(
sessionStorage
.
getItem
(
'
obj
'
)){
var
obj
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'
obj
'
))
this
.
id
=
obj
.
id
this
.
proId
=
obj
.
proId
,
this
.
hdRange
=
obj
.
hdRange
,
this
.
hdType
=
obj
.
hdType
,
this
.
hdName
=
obj
.
hdName
,
this
.
hdId
=
obj
.
hdId
,
this
.
hdLev
=
obj
.
hdLev
}
this
.
getList
();
this
.
getList
();
//隐患巡查跳转回显
//隐患巡查跳转回显
if
(
this
.
proId
){
if
(
this
.
proId
){
...
@@ -415,8 +425,6 @@ export default {
...
@@ -415,8 +425,6 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$bus
.
$on
(
"
sourceAyy
"
,
(
res
)
=>
{
this
.
$bus
.
$on
(
"
sourceAyy
"
,
(
res
)
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
source1
=
res
.
join
(
"
,
"
);
this
.
source1
=
res
.
join
(
"
,
"
);
...
...
src/views/saveWorkbench/index.vue
View file @
d41a270e
...
@@ -286,7 +286,12 @@ export default {
...
@@ -286,7 +286,12 @@ export default {
},
},
dangerJump
(
path
)
{
dangerJump
(
path
)
{
if
(
path
)
{
if
(
path
)
{
this
.
$router
.
push
(
path
);
if
(
path
==
'
/add-danger
'
){
sessionStorage
.
removeItem
(
'
obj
'
)
this
.
$router
.
push
({
name
:
'
add-danger
'
,
params
:{
isWorkbenchTo
:
1
}});
}
else
{
this
.
$router
.
push
(
path
);
}
}
}
},
},
riskJump
(
path
)
{
riskJump
(
path
)
{
...
...
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