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
b3566898
Commit
b3566898
authored
May 18, 2022
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患级别
解润东20220518
parent
8e2df505
Pipeline
#8367
passed with stage
in 5 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
src/views/danger/dangerPatrol/implement/index.vue
src/views/danger/dangerPatrol/implement/index.vue
+21
-1
No files found.
src/views/danger/dangerPatrol/implement/index.vue
View file @
b3566898
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<span
class=
"con_title"
>
日查
</span>
<span
class=
"con_title"
>
日查
</span>
<span>
制度、规程、方案
</span>
<span>
制度、规程、方案
</span>
</van-col>
-->
</van-col>
-->
<van-col
span=
"
24
"
class=
"con_type"
>
<van-col
span=
"
12
"
class=
"con_type"
>
<van-popover
<van-popover
v-model=
"showPopoverFlag2[index]"
v-model=
"showPopoverFlag2[index]"
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<template
#reference
>
{{
item
.
postName
.
length
>
10
?
item
.
postName
.
substring
(
0
,
10
)
+
'
...
'
:
item
.
postName
}}
</
template
>
<template
#reference
>
{{
item
.
postName
.
length
>
10
?
item
.
postName
.
substring
(
0
,
10
)
+
'
...
'
:
item
.
postName
}}
</
template
>
</van-popover>
</van-popover>
</van-col>
</van-col>
<van-col
span=
"12"
class=
"cont-end"
>
{{item.hdLev|hdLev}}
</van-col>
</van-row>
</van-row>
<van-row
gutter
>
<van-row
gutter
>
<van-col
span=
"24"
>
{{item.hdName}}
</van-col>
<van-col
span=
"24"
>
{{item.hdName}}
</van-col>
...
@@ -141,6 +142,19 @@ export default {
...
@@ -141,6 +142,19 @@ export default {
showPopoverFlag2
:[]
showPopoverFlag2
:[]
};
};
},
},
filters
:{
hdLev
(
val
){
if
(
val
==
'
S
'
){
return
'
重大隐患
'
}
else
if
(
val
==
'
A
'
){
return
'
严重隐患
'
}
else
if
(
val
==
'
B
'
){
return
'
较大隐患
'
}
else
{
return
'
危险隐患
'
}
}
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
id
=
this
.
$route
.
query
.
id
;
...
@@ -376,6 +390,12 @@ export default {
...
@@ -376,6 +390,12 @@ export default {
color: #05a7f0;
color: #05a7f0;
padding-right: 10px;
padding-right: 10px;
}
}
.cont-end{
display: flex;
justify-content: flex-end;
color: #05a7f0;
padding-right: 12px;
}
}
}
.con_right {
.con_right {
display: flex;
display: flex;
...
...
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