Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
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
李苏
sgaqgl-vue
Commits
eeb3bed1
Commit
eeb3bed1
authored
Nov 02, 2022
by
王向前
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
7c2eec35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
56 deletions
+17
-56
index.vue
src/views/daily/nros/index.vue
+12
-55
index.vue
src/views/daily/nrtm/index.vue
+5
-1
No files found.
src/views/daily/nros/index.vue
View file @
eeb3bed1
...
...
@@ -36,19 +36,15 @@
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
:isFontPage=
"true"
:allData=
"allData"
:showOverflowTooltip=
"false"
@
getRow=
'getRow'
:cellStyle=
"cellStyle"
>
<template
slot=
"tabCustom"
>
<el-table-column
label=
"启用/停用"
width=
"90"
header-align=
"center"
>
<template
slot-scope=
"scope"
>
<el-switch
@
click
.
native=
"setEnable(scope.row.id)"
:value=
'tybz(scope)'
style=
"width: 80px;justify-content: center;"
active-color=
"#13ce66"
inactive-color=
"#eee"
>
</el-switch>
</
template
>
</el-table-column>
</
template
>
</TablePager>
</div>
</div>
</template>
...
...
@@ -78,7 +74,6 @@
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
...
...
@@ -91,55 +86,17 @@
ksrq
:
''
,
jsrq
:
''
},
allData
:[{
"gkcs"
:
"技术措施:安装声光报警器;管理措施:开口时,指挥人员站位于安全区域,无关人员禁止进入工作区域;操作设备前开启声光报警器,安全确认到位,专人指挥操作;教育措施:培训吊运风口套及直吹管SOP、危险因素辨识及预防控制措施、岗位禁令、岗位安全操作规程;个体防护措施:安全帽、工作服、劳保鞋、阻燃手套、防护面罩、防尘口罩;应急措施:发现有人受伤后,立即救治伤员,向上级上报,严重时送医院治疗;发现有人受伤后,创伤出血者迅速包扎止血,向上级上报,严重时送医院治疗"
}],
/* 表格标题对应参数*/
tableTitle
:
[
{
prop
:
'
whsj
'
,
{
prop
:
'
gkcs
'
,
label
:
'作业活动'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'事故后果'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'固有风险等级'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'地点'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'排查岗位'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'危害因素'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'管控措施'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'维护人'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'维护时间'
,
...
this
.
$common
(
'ftDateTime'
)
}
]
],
cellStyle
:{},
}
},
methods
:
{
...
...
src/views/daily/nrtm/index.vue
View file @
eeb3bed1
...
...
@@ -36,7 +36,7 @@
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
<template
slot=
"tabCustom"
>
<el-table-column
label=
"启用/停用"
width=
"90"
header-align=
"center"
>
...
...
@@ -91,6 +91,10 @@
ksrq
:
''
,
jsrq
:
''
},
allData
:[
],
/* 表格标题对应参数*/
tableTitle
:
[
{
...
...
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