Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-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
李苏
dxgaqgl-vue
Commits
ff411bdf
Commit
ff411bdf
authored
May 06, 2025
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
76f2fd38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
240 additions
and
158 deletions
+240
-158
index.vue
src/views/riskPrecontrol/maintenanceRiskTask/index.vue
+9
-1
index.vue
src/views/riskPrecontrol/queryRiskTask/index.vue
+231
-157
No files found.
src/views/riskPrecontrol/maintenanceRiskTask/index.vue
View file @
ff411bdf
...
@@ -44,11 +44,18 @@
...
@@ -44,11 +44,18 @@
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid'>
</RelSelect>
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid'>
</RelSelect>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
部门:
</span>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBm'
filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid'>
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
班组:
</span>
<span
class=
"search-span"
>
班组:
</span>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz'
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz'
filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.b
m
id'>
</RelSelect>
filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.b
z
id'>
</RelSelect>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
...
@@ -167,6 +174,7 @@
...
@@ -167,6 +174,7 @@
rwlx
:
''
,
rwlx
:
''
,
queryType
:
'fxpc'
,
queryType
:
'fxpc'
,
gsid
:
''
,
gsid
:
''
,
bzid
:
''
,
bmid
:
''
,
bmid
:
''
,
jcr
:
''
,
jcr
:
''
,
zt
:
''
,
zt
:
''
,
...
...
src/views/riskPrecontrol/queryRiskTask/index.vue
View file @
ff411bdf
<
template
>
<
template
>
<!--
<div
class=
"min_full"
style=
"height: 140vh;"
>
-->
<!--
<div
class=
"min_full"
style=
"height: 140vh;"
>
-->
<div
class=
"min_full"
>
<div
class=
"min_full"
>
<!--
<Zdzrr
:app=
'this'
v-if=
"showDialog&&DialogName=='指定检查人'"
></Zdzrr>
-->
<!--
<Zdzrr
:app=
'this'
v-if=
"showDialog&&DialogName=='指定检查人'"
></Zdzrr>
-->
<yhContent
:app=
'this'
v-if=
"showDialog&&DialogName=='关联隐患'"
></yhContent>
<yhContent
:app=
'this'
v-if=
"showDialog&&DialogName=='关联隐患'"
></yhContent>
<!-- 查询条件-->
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
状态:
</span>
<span
class=
"search-span"
>
状态:
</span>
<RelSelect
style=
"width: 100%;"
src=
'aqgl/fxyk/fxpc/init/zt'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.zt' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
src=
'aqgl/fxyk/fxpc/init/zt'
clearable
:match=
"
{value:'id',label:'name'}"
</div>
v-model='queryParams.zt'>
</RelSelect>
</el-col>
</div>
<el-col
:span=
"6"
class=
"search-col"
>
</el-col>
<div
class=
"search-item"
>
<el-col
:span=
"6"
class=
"search-col"
>
<span
class=
"search-span"
>
检查人员:
</span>
<div
class=
"search-item"
>
<el-input
v-model=
"queryParams.jcr"
></el-input>
<span
class=
"search-span"
>
检查人员:
</span>
</div>
<el-input
v-model=
"queryParams.jcr"
></el-input>
</el-col>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
开始日期:
</span>
<span
class=
"search-span"
>
开始日期:
</span>
<el-date-picker
value-format=
"timestamp"
v-model=
"queryParams.ksrq"
></el-date-picker>
<el-date-picker
value-format=
"timestamp"
v-model=
"queryParams.ksrq"
></el-date-picker>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
结束日期:
</span>
<span
class=
"search-span"
>
结束日期:
</span>
<el-date-picker
value-format=
"timestamp"
v-model=
"queryParams.jsrq"
></el-date-picker>
<el-date-picker
value-format=
"timestamp"
v-model=
"queryParams.jsrq"
></el-date-picker>
</div>
</div>
</el-col>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
公司:
</span>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid' >
</RelSelect>
</div>
</el-col>
<!--
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
部门:
</span>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' >
</RelSelect>
</div>
</el-col>
-->
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
班组:
</span>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' >
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
检查结果:
</span>
<RelSelect
style=
"width: 100%;"
src=
'aqgl/fxyk/fxpc/init/jcjg'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.jcjg' >
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
任务类型:
</span>
<RelSelect
style=
"width: 100%;"
src=
'aqgl/fxyk/fxpc/init/rwlx'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.rwlx' >
</RelSelect>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AttachFileShow
:delButton=
'false'
:addButton=
'false'
:app=
'app'
></AttachFileShow>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
</el-row>
<!-- 表格-->
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<div
class=
"tablePagers"
>
<el-col
:span=
"4"
class=
"search-col"
>
<TablePager
:delButton=
'false'
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
<div
class=
"search-item"
>
@
getRow=
'getRow'
>
<span
class=
"search-span"
>
公司:
</span>
<template
slot=
"tabCustom"
>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
<el-table-column
label=
"关联隐患"
width=
"90"
header-align=
"center"
>
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid'>
</RelSelect>
<template
slot-scope=
"scope"
>
</div>
<span
@
click=
"watchglyh(scope.row)"
style=
"color: cornflowerblue;cursor: pointer;line-height: 30px;text-align: center;width: 70px;display: inline-block;"
>
查看
</span>
</el-col>
</
template
>
<el-col
:span=
"4"
class=
"search-col"
>
</el-table-column>
<div
class=
"search-item"
>
</template>
<span
class=
"search-span"
>
部门:
</span>
</TablePager>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBm'
</div>
filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid'>
</RelSelect>
</div>
</el-col>
<el-col
:span=
"4"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
班组:
</span>
<RelSelect
linkage
:linkParams=
"
{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz'
filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bzid'>
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
检查结果:
</span>
<RelSelect
style=
"width: 100%;"
src=
'aqgl/fxyk/fxpc/init/jcjg'
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.jcjg'>
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
任务类型:
</span>
<RelSelect
style=
"width: 100%;"
src=
'aqgl/fxyk/fxpc/init/rwlx'
clearable
:match=
"
{value:'id',label:'name'}"
v-model='queryParams.rwlx'>
</RelSelect>
</div>
</el-col>
</el-row>
</div>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AttachFileShow
:delButton=
'false'
:addButton=
'false'
:app=
'app'
></AttachFileShow>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
:delButton=
'false'
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
<template
slot=
"tabCustom"
>
<el-table-column
label=
"关联隐患"
width=
"90"
header-align=
"center"
>
<template
slot-scope=
"scope"
>
<span
@
click=
"watchglyh(scope.row)"
style=
"color: cornflowerblue;cursor: pointer;line-height: 30px;text-align: center;width: 70px;display: inline-block;"
>
查看
</span>
</
template
>
</el-table-column>
</template>
</TablePager>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
// import Zdzrr from './zdzrr'
// import Zdzrr from './zdzrr'
/* 引入需要的接口*/
/* 引入需要的接口*/
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
doQuery
,
doQuery
,
doAdd
,
doAdd
,
doUpdate
,
doUpdate
,
doDelete
,
doDelete
,
}
from
"@/api/riskPrecontrol/maintenanceRiskTask.js"
;
}
from
"@/api/riskPrecontrol/maintenanceRiskTask.js"
;
import
{
import
{
doQueryScgw
doQueryScgw
}
from
"@/api/riskPrecontrol/screeningCriteria.js"
;
}
from
"@/api/riskPrecontrol/screeningCriteria.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
// import Details from './details.vue'
// import Details from './details.vue'
...
@@ -124,23 +130,25 @@
...
@@ -124,23 +130,25 @@
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
await
this
.
$asRun
(
await
this
.
$asRun
(
[
doQueryScgw
(),
[
doQueryScgw
(),
res
=>
{
res
=>
{
var
data
=
res
[
'data'
][
'records'
];
var
data
=
res
[
'data'
][
'records'
];
this
.
doQueryScgw
=
data
this
.
doQueryScgw
=
data
}
}
]
]
)
)
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
this
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
console
.
log
(
this
)
console
.
log
(
this
)
},
},
data
()
{
data
()
{
return
{
return
{
DialogTitle
:
'指定检查人'
,
DialogTitle
:
'指定检查人'
,
/*需要的额外参数 */
/*需要的额外参数 */
showDialog
:
false
,
showDialog
:
false
,
doQueryScgw
:[],
doQueryScgw
:
[],
activeName
:
'first'
,
activeName
:
'first'
,
/*需要的额外参数 */
/*需要的额外参数 */
showDialog
:
false
,
showDialog
:
false
,
...
@@ -150,56 +158,122 @@
...
@@ -150,56 +158,122 @@
baseUrl
:
'/aqgl/fxyk/fxpc'
,
baseUrl
:
'/aqgl/fxyk/fxpc'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
queryType
:
'fxpc'
,
queryType
:
'fxpc'
,
rwlx
:
''
,
rwlx
:
''
,
jcjg
:
''
,
jcjg
:
''
,
gsid
:
''
,
gsid
:
''
,
bmid
:
''
,
bmid
:
''
,
jcr
:
''
,
bzid
:
''
,
zt
:
''
,
jcr
:
''
,
zt
:
''
,
ksrq
:
''
,
ksrq
:
''
,
jsrq
:
''
jsrq
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
// {label: "ID", prop: "id", fieldType: "ftString",width:192},
// {label: "ID", prop: "id", fieldType: "ftString",width:192},
// {label: "单据来源", prop: "djly", fieldType: "ftString",width:60},
// {label: "单据来源", prop: "djly", fieldType: "ftString",width:60},
// {label: "风险排查标准编码", prop: "fxbzid", fieldType: "ftString",width:192},
// {label: "风险排查标准编码", prop: "fxbzid", fieldType: "ftString",width:192},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
50
},
{
{
label
:
"任务类型"
,
prop
:
"rwlxName"
,
fieldType
:
"ftString"
,
width
:
100
},
label
:
"状态"
,
{
label
:
"下达日期"
,
prop
:
"xdrq"
,
fieldType
:
"ftDate"
},
prop
:
"ztName"
,
// {label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"},
fieldType
:
"ftString"
,
{
label
:
"检查时间"
,
prop
:
"sjjcsj"
,
fieldType
:
"ftDateTime"
},
width
:
50
{
label
:
"检查结果"
,
prop
:
"jcjgName"
},
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
{
{
label
:
"检查岗位"
,
prop
:
"gwName"
,
fieldType
:
"ftString"
,
width
:
192
},
label
:
"任务类型"
,
{
label
:
"检查内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
prop
:
"rwlxName"
,
{
label
:
"检查部位"
,
prop
:
"jcyd"
,
fieldType
:
"ftString"
,
width
:
300
},
fieldType
:
"ftString"
,
{
label
:
"检查人"
,
prop
:
"jcrName"
,
fieldType
:
"ftString"
,
width
:
192
},
width
:
100
{
label
:
"地点"
,
prop
:
"fxpcdd"
,
fieldType
:
"ftString"
,
width
:
192
},
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
192
},
{
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
192
},
label
:
"下达日期"
,
{
label
:
"班组"
,
prop
:
"bzName"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
"xdrq"
,
],
fieldType
:
"ftDate"
timer
:
false
,
},
// {label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"},
{
label
:
"检查时间"
,
prop
:
"sjjcsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"检查结果"
,
prop
:
"jcjgName"
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"检查岗位"
,
prop
:
"gwName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"检查内容"
,
prop
:
"nr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检查部位"
,
prop
:
"jcyd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检查人"
,
prop
:
"jcrName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"地点"
,
prop
:
"fxpcdd"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"风险点"
,
prop
:
"fxd"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
192
},
{
label
:
"班组"
,
prop
:
"bzName"
,
fieldType
:
"ftString"
,
width
:
192
},
],
timer
:
false
,
}
}
},
},
methods
:
{
methods
:
{
watchglyh
(
row
){
watchglyh
(
row
)
{
this
.
watchglyh
.
fxpcid
=
row
.
id
this
.
watchglyh
.
fxpcid
=
row
.
id
this
.
showDialog
=
true
this
.
showDialog
=
true
this
.
DialogTitle
=
'关联隐患'
this
.
DialogTitle
=
'关联隐患'
this
.
DialogName
=
'关联隐患'
this
.
DialogName
=
'关联隐患'
},
},
zdzrr
(){
zdzrr
()
{
if
(
this
.
app
.
selectOne
||
this
.
app
.
clickOne
)
{
if
(
this
.
app
.
selectOne
||
this
.
app
.
clickOne
)
{
this
.
showDialog
=
true
this
.
showDialog
=
true
this
.
DialogTitle
=
'指定检查人'
this
.
DialogTitle
=
'指定检查人'
this
.
DialogName
=
'指定检查人'
this
.
DialogName
=
'指定检查人'
}
else
{
}
else
{
this
.
$warning
(
'请选中一行操作'
);
this
.
$warning
(
'请选中一行操作'
);
}
}
},
},
getRow
:
function
(
e
)
{
getRow
:
function
(
e
)
{
...
@@ -216,12 +290,12 @@
...
@@ -216,12 +290,12 @@
/* 基础查询*/
/* 基础查询*/
/* 基础查询*/
/* 基础查询*/
query
:
doQuery
,
query
:
doQuery
,
/* 基础增*/
/* 基础增*/
apiAdd
:
doAdd
,
apiAdd
:
doAdd
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
doUpdate
,
apiUpdate
:
doUpdate
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
doDelete
,
apiDelete
:
doDelete
,
init
()
{
init
()
{
},
},
...
...
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