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
fe7866e5
Commit
fe7866e5
authored
Dec 01, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风险维护和设置
parent
de8eb8d9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
93 deletions
+19
-93
edit.vue
src/views/riskPrecontrol/riskSet/edit.vue
+3
-48
selecter.vue
src/views/riskPrecontrol/riskSet/selecter.vue
+6
-37
content.vue
src/views/riskPrecontrol/screeningCriteria/content.vue
+2
-2
contentEdit.vue
src/views/riskPrecontrol/screeningCriteria/contentEdit.vue
+3
-3
index.vue
src/views/riskPrecontrol/screeningCriteria/index.vue
+5
-3
No files found.
src/views/riskPrecontrol/riskSet/edit.vue
View file @
fe7866e5
...
@@ -10,29 +10,6 @@
...
@@ -10,29 +10,6 @@
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"检查人"
ref=
"jcrid"
prop=
"jcrid"
>
<personSelector
:label=
"form.jcrName||form.jcrid||'暂无'"
@
selected=
'jcrSelected'
></personSelector>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"检查时间"
ref=
"sjjcsj"
prop=
"sjjcsj"
>
<el-date-picker
style=
"width: 100%;"
value-format=
'timestamp'
type=
"datetime"
v-model=
"form.sjjcsj"
></el-date-picker>
</el-form-item>
</el-col>
-->
<el-col
:span=
"12"
>
<el-form-item
label=
"岗位"
ref=
"gwid"
prop=
"gwid"
>
<RelSelect
style=
"width:100%"
src=
'/aqgl/jcsj/scgw/query'
:match=
"
{value:'id',label:'name'}" v-model='form.gwid' >
</RelSelect>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.gwid"
></el-input>
-->
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"检查人"
ref=
"jcr"
prop=
"jcr"
>
<RelSelect
linkage
:linkParams=
"
{gwid:form.gwid}" filterable style="width: 100%;" clearable :readonly="readonly" src='kzzx/user/query' :match="{value:'id',label:'username'}" v-model='form.jcr' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -167,11 +144,7 @@
...
@@ -167,11 +144,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
jcr
:
''
,
table
:
'FXSZMX'
,
table
:
'FXSZMX'
,
gwid
:
''
,
// sjjcsj:'',
// jcrid:'',
name
:
''
,
name
:
''
,
jldw
:
''
,
jldw
:
''
,
begintime
:
''
,
begintime
:
''
,
...
@@ -188,27 +161,9 @@
...
@@ -188,27 +161,9 @@
},
},
/* 多表表头*/
/* 多表表头*/
editTableTitle
:[
editTableTitle
:[
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"检查内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"车间"
,
prop
:
"cjName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"岗位"
,
prop
:
"gwName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"检查人"
,
prop
:
"fzrName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"风险地点"
,
prop
:
"fxpcdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"事故类型"
,
prop
:
"sglx"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"危险等级"
,
prop
:
"wxdj"
,
fieldType
:
"ftString"
,
width
:
160
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/wxdj'
,
label
:
'name'
,
value
:
'id'
}},
{
label
:
"分值"
,
prop
:
"fz"
,
fieldType
:
"float"
},
{
label
:
"风险类型"
,
prop
:
"fxlx"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"管控落实后等级"
,
prop
:
"lsdj"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"管理层级"
,
prop
:
"glcj"
,
width
:
160
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/glcj'
,
label
:
'name'
,
value
:
'id'
}},
{
label
:
"拍照选项"
,
prop
:
"pzxx"
,
fieldType
:
"ftString"
,
width
:
160
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/pzxx'
,
label
:
'name'
,
value
:
'id'
}},
{
label
:
"序号"
,
prop
:
"xh"
,
fieldType
:
"int"
},
{
label
:
"图形编号"
,
prop
:
"txcode"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"措施类型"
,
prop
:
"cslx"
,
fieldType
:
"ftString"
,
width
:
192
},
]
]
}
}
},
},
...
...
src/views/riskPrecontrol/riskSet/selecter.vue
View file @
fe7866e5
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
},
},
methods
:
{
methods
:
{
query
:
doQuery
,
query
:
doQuery
Jcnr
,
/* 基础增*/
/* 基础增*/
apiAdd
:
doAdd
,
apiAdd
:
doAdd
,
/* 基础更新*/
/* 基础更新*/
...
@@ -66,11 +66,11 @@
...
@@ -66,11 +66,11 @@
idList
.
push
(
e
.
id
)
idList
.
push
(
e
.
id
)
})
})
this
.
multipleSelection
.
forEach
(
item
=>
{
this
.
multipleSelection
.
forEach
(
item
=>
{
item
.
fxbz
id
=
item
.
id
item
.
jcnr
id
=
item
.
id
item
.
id
=
''
item
.
id
=
''
})
})
let
addData
=
this
.
multipleSelection
.
filter
((
item
)
=>
{
let
addData
=
this
.
multipleSelection
.
filter
((
item
)
=>
{
if
(
idList
.
indexOf
(
item
.
fxbz
id
)
==-
1
){
if
(
idList
.
indexOf
(
item
.
jcnr
id
)
==-
1
){
return
true
return
true
}
else
{
}
else
{
return
false
return
false
...
@@ -87,40 +87,9 @@
...
@@ -87,40 +87,9 @@
return
{
return
{
queryParams
:{},
queryParams
:{},
tableTitle
:
[
tableTitle
:
[
// {label: "序号", prop: "xh", fieldType: "int"},
{
label
:
"检查内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"车间"
,
prop
:
"cjName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"检查人"
,
prop
:
"fzrName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"岗位"
,
prop
:
"gwName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"风险地点"
,
prop
:
"fxpcdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"事故类型"
,
prop
:
"sglx"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"危险等级"
,
prop
:
"wxdj"
,
fieldType
:
"ftString"
,
width
:
160
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/wxdj'
,
label
:
'name'
,
value
:
'id'
}},
{
label
:
"分值"
,
prop
:
"fz"
,
fieldType
:
"float"
},
{
label
:
"风险类型"
,
prop
:
"fxlxName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"管控落实后等级"
,
prop
:
"lsdj"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"管理层级"
,
prop
:
"glcj"
,
width
:
160
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/glcj'
,
label
:
'name'
,
value
:
'id'
}},
{
label
:
"拍照选项"
,
prop
:
"pzxx"
,
fieldType
:
"ftString"
,
width
:
160
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/pzxx'
,
label
:
'name'
,
value
:
'id'
}},
{
label
:
"图形编号"
,
prop
:
"txcode"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"措施类型"
,
prop
:
"cslx"
,
fieldType
:
"ftString"
,
width
:
192
},
// {label: "基准精度", prop: "jzjd", fieldType: "ftString",width:160},
// {label: "基准维度", prop: "jzwd", fieldType: "ftString",width:160},
// {label: "检查要点", prop: "jcyd", fieldType: "ftString",width:300},
// {label: "危害因素", prop: "whys", fieldType: "ftString",width:300},
// {label: "事故后果", prop: "sghg", fieldType: "ftString",width:300},
// {label: "检查措施描述", prop: "jccsms", fieldType: "ftString",width:300},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
// {label: "责任人", prop: "zrr", fieldType: "ftString",width:300},
// {label: "维护人", prop: "whr", fieldType: "ftString"},
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
// {label: "创建人", prop: "cjr", fieldType: "ftString"},
// {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
],
],
baseUrl
:
'/aqgl/fxyk/fxbz'
,
baseUrl
:
'/aqgl/fxyk/fxbz'
,
}
}
...
...
src/views/riskPrecontrol/screeningCriteria/content.vue
View file @
fe7866e5
...
@@ -71,8 +71,8 @@
...
@@ -71,8 +71,8 @@
tableTitle
:
[
tableTitle
:
[
// {label: "标准ID", prop: "mid", fieldType: "ftString",width:192},
// {label: "标准ID", prop: "mid", fieldType: "ftString",width:192},
{
label
:
"检查内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检查内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"岗位"
,
prop
:
"gwName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"岗位"
,
prop
:
"
sc
gwName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检查人"
,
prop
:
"
jc
rName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检查人"
,
prop
:
"
fz
rName"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "检查分值", prop: "jcfz", fieldType: "float"},
// {label: "检查分值", prop: "jcfz", fieldType: "float"},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
// {label: "维护人", prop: "whr", fieldType: "ftString"},
// {label: "维护人", prop: "whr", fieldType: "ftString"},
...
...
src/views/riskPrecontrol/screeningCriteria/contentEdit.vue
View file @
fe7866e5
...
@@ -24,8 +24,8 @@
...
@@ -24,8 +24,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"检查人"
ref=
"
jcr"
prop=
"jcr
"
>
<el-form-item
label=
"检查人"
ref=
"
fzrid"
prop=
"fzrid
"
>
<RelSelect
linkage
:linkParams=
"
{gwid:form.gwid}" filterable style="width: 100%;" :params="{bmid:app.vMain.rowItem.gsid}" clearable :readonly="readonly" src='kzzx/user/query' :match="{value:'id',label:'username'}" v-model='form.
jcr
' >
</RelSelect>
<RelSelect
linkage
:linkParams=
"
{gwid:form.gwid}" filterable style="width: 100%;" :params="{bmid:app.vMain.rowItem.gsid}" clearable :readonly="readonly" src='kzzx/user/query' :match="{value:'id',label:'username'}" v-model='form.
fzrid
' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
gwid
:
''
,
gwid
:
''
,
jcr
:
''
,
fzrid
:
''
,
id
:
''
,
id
:
''
,
mid
:
''
,
mid
:
''
,
...
...
src/views/riskPrecontrol/screeningCriteria/index.vue
View file @
fe7866e5
...
@@ -145,13 +145,15 @@
...
@@ -145,13 +145,15 @@
{
label
:
"风险地点"
,
prop
:
"fxpcdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"风险地点"
,
prop
:
"fxpcdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"风险点"
,
prop
:
"fxdName"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"风险点"
,
prop
:
"fxdName"
,
fieldType
:
"ftString"
,
width
:
300
},
/* 假*/
/* 假*/
{
label
:
"检查部位"
,
prop
:
"jc
bw
"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检查部位"
,
prop
:
"jc
yd
"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"事故后果"
,
prop
:
"sghg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"事故后果"
,
prop
:
"sghg"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"固有风险等级"
,
prop
:
"gyfxdj"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"固有风险等级"
,
prop
:
"wxdj"
,
fieldType
:
"ftString"
,
width
:
300
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/wxdj'
,
label
:
'name'
,
value
:
'id'
}},
/* 检查部位 事故后果 固有风险等级 现有风险等级*/
/* 检查部位 事故后果 固有风险等级 现有风险等级*/
// {label: "事故类型", prop: "sglx", fieldType: "ftString",width:192},
// {label: "事故类型", prop: "sglx", fieldType: "ftString",width:192},
{
label
:
"
危险等级"
,
prop
:
"wx
dj"
,
fieldType
:
"ftString"
,
width
:
160
,
transform
:{
{
label
:
"
现有风险等级"
,
prop
:
"ls
dj"
,
fieldType
:
"ftString"
,
width
:
160
,
transform
:{
url
:
'/aqgl/fxyk/fxpc/init/wxdj'
,
label
:
'name'
,
value
:
'id'
url
:
'/aqgl/fxyk/fxpc/init/wxdj'
,
label
:
'name'
,
value
:
'id'
}},
}},
// {label: "分值", prop: "fz", fieldType: "float"},
// {label: "分值", prop: "fz", fieldType: "float"},
...
...
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