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
620e44f5
Commit
620e44f5
authored
Nov 04, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
维护风险接口
parent
79ee169b
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
445 additions
and
303 deletions
+445
-303
content.vue
src/views/riskPrecontrol/screeningCriteria/content.vue
+31
-77
contentEdit.vue
src/views/riskPrecontrol/screeningCriteria/contentEdit.vue
+105
-0
details.vue
src/views/riskPrecontrol/screeningCriteria/details.vue
+28
-28
edit.vue
src/views/riskPrecontrol/screeningCriteria/edit.vue
+233
-83
index.vue
src/views/riskPrecontrol/screeningCriteria/index.vue
+44
-110
index.vue
src/views/riskPrecontrol/screeningCriteria/jcnr/index.vue
+4
-4
index.vue
src/views/riskPrecontrol/screeningCriteria/main/index.vue
+0
-1
No files found.
src/views/riskPrecontrol/screeningCriteria/content.vue
View file @
620e44f5
<
template
>
<
template
>
<div
class=
"min_full"
style=
"height: calc(84vh - 75px);"
>
<div
v-show=
"queryParams.mid"
class=
"min_full"
style=
"height: calc(84vh - 75px);"
>
<!-- 按钮操作-->
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<PrintButton
:app=
'app'
></PrintButton>
...
@@ -23,104 +23,58 @@
...
@@ -23,104 +23,58 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryAppversion
,
doQueryJcnr
,
QueryApptype
,
doAddJcnr
,
AddAppversion
,
doUpdateJcnr
,
DelAppversion
,
doDeleteJcnr
UpdateAppversion
}
from
'@/api/riskPrecontrol/screeningCriteria'
;
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./contentEdit.vue'
import
{
tableMixin
}
from
'common'
import
{
tableMixin
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
name
:
'appVersion'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
await
this
.
$asRun
(
[
QueryApptype
(),
res
=>
{
var
data
=
res
[
'data'
][
'records'
];
let
typeMap
=
[]
for
(
var
i
in
data
)
{
typeMap
[
data
[
i
].
id
]
=
data
[
i
].
name
}
this
.
systemType
=
data
this
.
typeMap
=
typeMap
}
]
)
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
return
{
return
{
/*需要的额外参数 */
/*需要的额外参数 */
typeMap
:
[],
typeMap
:
[],
systemType
:
[],
systemType
:
[],
baseUrl
:
'
kzzx/appversion
'
,
baseUrl
:
'
/aqgl/fxyk/fxjcnr
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{},
queryParams
:
{
/* 表格标题对应参数*/
mid
:
''
tableTitle
:
[{
prop
:
'appid'
,
label
:
'APPID'
,
width
:
'120'
},
{
prop
:
'name'
,
label
:
'APP名称'
,
width
:
'120'
},
{
prop
:
'type'
,
label
:
'系统类型'
,
width
:
'120'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
var
text
=
this
.
typeMap
[
cellValue
]
return
text
;
}
},
{
prop
:
'version'
,
label
:
'app版本'
,
width
:
'120'
},
{
prop
:
'url'
,
label
:
'下载路径'
,
width
:
'350'
},
{
prop
:
'bz'
,
label
:
'备注'
,
width
:
'140'
},
{
prop
:
'whr'
,
label
:
'维护人'
,
width
:
'100'
},
{
prop
:
'whsj'
,
label
:
'维护时间'
,
...
this
.
$common
(
'ftDateTime'
)
},
},
/* 表格标题对应参数*/
tableTitle
:
[{
label
:
"标准ID"
,
prop
:
"mid"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"检查内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检查分值"
,
prop
:
"jcfz"
,
fieldType
:
"float"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
]
]
}
}
},
},
methods
:
{
methods
:
{
/* 基础查询*/
query
:
doQueryJcnr
,
query
:
QueryAppversion
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddAppversion
,
apiAdd
:
doAddJcnr
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
UpdateAppversion
,
apiUpdate
:
doUpdateJcnr
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
DelAppversion
,
apiDelete
:
doDeleteJcnr
,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
},
},
/* 注册组件*/
/* 注册组件*/
components
:
{
components
:
{
Edit
}
}
}
}
</
script
>
</
script
>
...
...
src/views/riskPrecontrol/screeningCriteria/contentEdit.vue
0 → 100644
View file @
620e44f5
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"标准ID"
ref=
"mid"
prop=
"mid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mid"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"检查内容"
ref=
"nr"
prop=
"nr"
>
<el-input
type=
"textarea"
:readonly=
"readonly"
v-model=
"form.nr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"检查分值"
ref=
"jcfz"
prop=
"jcfz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jcfz"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
</el-row>
<!--
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-col>
</el-row>
-->
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
this
.
form
.
mid
=
this
.
app
.
queryParams
.
mid
},
/* 组件名称*/
name
:
"aqgl/fxykFxjcnrEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
mid
:
''
,
nr
:
''
,
jcfz
:
''
,
bz
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/riskPrecontrol/screeningCriteria/details.vue
View file @
620e44f5
<
template
>
<
template
>
<div
class=
"form-detail"
>
<div
class=
"form-detail"
>
<el-form
ref=
"form"
label-width=
'auto'
:model=
"form"
>
<el-form
v-if=
"details.hasOwnProperty('id')"
ref=
"form"
label-width=
'auto'
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"部门或分厂"
>
<el-form-item
label=
"部门或分厂"
>
<el-input
>
<el-input
:value=
"details.bmid"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"车间"
>
<el-form-item
label=
"车间"
>
<el-input
>
<el-input
:value=
"details.cjid"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"岗位"
>
<el-form-item
label=
"岗位"
>
<el-input
>
<el-input
:value=
"details.gwid"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"地点"
>
<el-form-item
:value=
"details.fxpcdd"
label=
"地点"
>
<el-input
>
<el-input
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"作业活动设施风险点"
>
<el-form-item
label=
"作业活动设施风险点"
>
<el-input
>
<el-input
:value=
"details.fxd"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"事故类型"
>
<el-form-item
label=
"事故类型"
>
<el-input
>
<el-input
:value=
"details.sglx"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"危险等级"
>
<el-form-item
label=
"危险等级"
>
<el-input
>
<el-input
:value=
"details.wxdj"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"危险分值"
>
<el-form-item
label=
"危险分值"
>
<el-input
>
<el-input
:value=
"details.fz"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
" 风险类型"
>
<el-form-item
label=
" 风险类型"
>
<el-input
>
<el-input
:value=
"details.fxlx"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"管控措施落实后等级"
>
<el-form-item
label=
"管控措施落实后等级"
>
<el-input
>
<el-input
:value=
"details.lsdj"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"管理层级"
>
<el-form-item
label=
"管理层级"
>
<el-input
>
<el-input
:value=
"details.glcj"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"拍照选项"
>
<el-form-item
label=
"拍照选项"
>
<el-input
>
<el-input
:value=
"details.pzxx"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"检查要点"
>
<el-form-item
label=
"检查要点"
>
<el-input
type=
"textarea"
>
<el-input
:value=
"details.jcyd"
type=
"textarea"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"危害因素"
>
<el-form-item
label=
"危害因素"
>
<el-input
type=
"textarea"
>
<el-input
:value=
"details.whys"
type=
"textarea"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"事故后果"
>
<el-form-item
label=
"事故后果"
>
<el-input
type=
"textarea"
>
<el-input
:value=
"details.sghg"
type=
"textarea"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"检查措施描述"
>
<el-form-item
label=
"检查措施描述"
>
<el-input
type=
"textarea"
>
<el-input
:value=
"details.jccsms"
type=
"textarea"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
>
<el-form-item
label=
"备注"
>
<el-input
type=
"textarea"
>
<el-input
:value=
"details.bz"
type=
"textarea"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"序号"
>
<el-form-item
label=
"序号"
>
<el-input
>
<el-input
:value=
"details.xh"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"图形编号"
>
<el-form-item
label=
"图形编号"
>
<el-input
>
<el-input
:value=
"details.txcode"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"措施类型"
>
<el-form-item
label=
"措施类型"
>
<el-input
>
<el-input
:value=
"details.cslx"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"基准精度"
>
<el-form-item
label=
"基准精度"
>
<el-input
>
<el-input
:value=
"details.jzjd"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"基准维度"
>
<el-form-item
label=
"基准维度"
>
<el-input
>
<el-input
:value=
"details.jzwd"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"责任人"
>
<el-form-item
label=
"责任人"
>
<el-input
>
<el-input
:value=
"details.zrrName"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -154,13 +154,13 @@
...
@@ -154,13 +154,13 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
details
:{}
}
},
methods
:
{
methods
:
{
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/views/riskPrecontrol/screeningCriteria/edit.vue
View file @
620e44f5
This diff is collapsed.
Click to expand it.
src/views/riskPrecontrol/screeningCriteria/index.vue
View file @
620e44f5
...
@@ -47,13 +47,13 @@
...
@@ -47,13 +47,13 @@
<!-- tabs -->
<!-- tabs -->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"详细"
name=
"first"
>
<el-tab-pane
label=
"详细"
name=
"first"
>
<Details
/>
<Details
ref=
"Details"
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"检查周期"
name=
"second"
>
<el-tab-pane
label=
"检查周期"
name=
"second"
>
<Cycle
/>
<Cycle
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"检查内容"
name=
"third"
>
<el-tab-pane
label=
"检查内容"
name=
"third"
>
<Content
/>
<Content
ref=
"Content"
/>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"责任人"
name=
"fourth"
>
<el-tab-pane
label=
"责任人"
name=
"fourth"
>
<PersonLiable
/>
<PersonLiable
/>
...
@@ -92,7 +92,6 @@
...
@@ -92,7 +92,6 @@
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
console
.
log
(
_
)
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -103,7 +102,7 @@
...
@@ -103,7 +102,7 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'
kzzx/role
'
,
baseUrl
:
'
/aqgl/fxyk/fxbz
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
ksrq
:
''
,
ksrq
:
''
,
...
@@ -111,125 +110,60 @@
...
@@ -111,125 +110,60 @@
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
label
:
"部门ID"
,
prop
:
"bmid"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
'whsj'
,
{
label
:
"车间ID"
,
prop
:
"cjid"
,
fieldType
:
"ftString"
,
width
:
192
},
label
:
'时间'
,
{
label
:
"岗位ID"
,
prop
:
"gwid"
,
fieldType
:
"ftString"
,
width
:
192
},
show
:
false
,
{
label
:
"风险地点"
,
prop
:
"fxpcdd"
,
fieldType
:
"ftString"
,
width
:
300
},
fieldType
:
'ftDateTime'
,
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
width
:
'100'
,
{
label
:
"事故类型"
,
prop
:
"sglx"
,
fieldType
:
"ftString"
,
width
:
192
},
align
:
'left'
{
label
:
"危险等级"
,
prop
:
"wxdj"
,
fieldType
:
"ftString"
,
width
:
160
},
},
{
label
:
"分值"
,
prop
:
"fz"
,
fieldType
:
"float"
},
{
{
label
:
"风险类型"
,
prop
:
"fxlx"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
'whsj'
,
{
label
:
"管控落实后等级"
,
prop
:
"lsdj"
,
fieldType
:
"ftString"
,
width
:
160
},
label
:
'车间'
,
{
label
:
"管理层级"
,
prop
:
"glcj"
,
fieldType
:
"ftString"
,
width
:
160
},
...
this
.
$common
(
'ftDateTime'
)
{
label
:
"拍照选项"
,
prop
:
"pzxx"
,
fieldType
:
"ftString"
,
width
:
160
},
},
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
},
{
{
label
:
"图形编号"
,
prop
:
"txcode"
,
fieldType
:
"ftString"
,
width
:
180
},
prop
:
'whr'
,
{
label
:
"措施类型"
,
prop
:
"cslx"
,
fieldType
:
"ftString"
,
width
:
192
},
label
:
'岗位'
,
// {label: "基准精度", prop: "jzjd", fieldType: "ftString",width:160},
width
:
'100'
// {label: "基准维度", prop: "jzwd", fieldType: "ftString",width:160},
},
// {label: "检查要点", prop: "jcyd", fieldType: "ftString",width:300},
{
// {label: "危害因素", prop: "whys", fieldType: "ftString",width:300},
prop
:
'whr'
,
// {label: "事故后果", prop: "sghg", fieldType: "ftString",width:300},
label
:
'地点'
,
// {label: "检查措施描述", prop: "jccsms", fieldType: "ftString",width:300},
width
:
'100'
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
},
// {label: "责任人", prop: "zrr", fieldType: "ftString",width:300},
{
// {label: "维护人", prop: "whr", fieldType: "ftString"},
prop
:
'whr'
,
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
label
:
'作业活动设施风险点'
,
// {label: "创建人", prop: "cjr", fieldType: "ftString"},
width
:
'100'
// {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
},
{
prop
:
'whr'
,
label
:
'事故类型'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'危险等级'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'危险分值'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'风险类型'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'管控措施落实后等级'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'管理层级'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'拍照选项'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'序号'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'图形编号'
,
width
:
'100'
},
{
prop
:
'whr'
,
label
:
'措施类型'
,
width
:
'100'
}
]
]
}
}
},
},
methods
:
{
methods
:
{
handleClick
(
val
){
handleClick
(
val
){
console
.
log
(
val
,
'val'
)
},
},
/* 基础查询*/
/* 基础查询*/
query
:
QueryKzzxRole
,
query
:
doQuery
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddKzzxRole
,
apiAdd
:
doAdd
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
UpdateKzzxRol
e
,
apiUpdate
:
doUpdat
e
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
DeleteKzzxRol
e
,
apiDelete
:
doDelet
e
,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
init
()
{
init
()
{
},
},
/* 启用停用*/
/* 重写点击事件*/
setEnable
(
id
)
{
getRow
:
function
(
e
)
{
this
.
$confirm
(
'是否启用/停用该角色, 是否继续?'
,
'提示'
,
{
this
.
rowItem
=
e
confirmButtonText
:
'确定'
,
this
.
$refs
.
Details
.
details
=
e
cancelButtonText
:
'取消'
,
this
.
$refs
.
Content
.
queryParams
.
mid
=
e
.
id
type
:
'warning'
this
.
$nextTick
(()
=>
{
}).
then
(()
=>
{
this
.
$refs
.
Content
.
$refs
[
'TablePager'
].
pageQuery
()
let
params
=
{
id
:
id
}
QtKzzxRole
(
params
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
app
.
$refs
[
'TablePager'
].
reLoad
()
}
else
{
this
.
$error
(
res
.
message
||
'操作失败'
)
}
})
})
})
}
}
...
...
src/views/riskPrecontrol/screeningCriteria/jcnr/index.vue
View file @
620e44f5
...
@@ -88,13 +88,13 @@
...
@@ -88,13 +88,13 @@
methods
:
{
methods
:
{
/* 基础查询*/
/* 基础查询*/
query
:
doQuery
,
query
:
doQuery
Jcnr
,
/* 基础增*/
/* 基础增*/
apiAdd
:
doAdd
,
apiAdd
:
doAdd
Jcnr
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
doUpdate
,
apiUpdate
:
doUpdate
Jcnr
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
doDelete
,
apiDelete
:
doDelete
Jcnr
,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
init
()
{
init
()
{
...
...
src/views/riskPrecontrol/screeningCriteria/main/index.vue
View file @
620e44f5
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
</div>
</div>
<!-- 按钮操作-->
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
...
...
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