Commit f6762fc3 authored by 李苏's avatar 李苏 💬

查询安全隐患记录 查询联动

parent b61f1df4
...@@ -106,6 +106,9 @@ ...@@ -106,6 +106,9 @@
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{label: "状态", prop: "ztName", fieldType: "ftString",width:60}, {label: "状态", prop: "ztName", fieldType: "ftString",width:60},
{label: "公司", prop: "gsid", fieldType: "ftString",width:192,transform:{
url:'jcsj/common/bm/queryGs',label:'bmmc',value:'id'
}},
{label: "班组", prop: "bmid", fieldType: "ftString",width:192,transform:{ {label: "班组", prop: "bmid", fieldType: "ftString",width:192,transform:{
url:'jcsj/common/bm/queryBz',label:'bmmc',value:'id' url:'jcsj/common/bm/queryBz',label:'bmmc',value:'id'
}}, }},
......
...@@ -19,21 +19,27 @@ ...@@ -19,21 +19,27 @@
</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>
<RelSelect style="width: 100%;" src='/kzzx/bm/query' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.zrdw' ></RelSelect> <RelSelect style="width: 100%;" src='jcsj/common/bm/queryGs' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.gsid' ></RelSelect>
<!-- <el-input v-model="queryParams.zrdw"
size="small" class="search-input"></el-input> -->
</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>
<RelSelect src='aqgl/yhgl/yhfl/query' :match="{value:'id',label:'name'}" v-model='queryParams.flid' ></RelSelect> <RelSelect linkage :linkParams="{pid:queryParams.gsid}" style="width: 100%;" src='/kzzx/bm/query' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.zrdw' ></RelSelect>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20" class="search-row-1"> <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 src='aqgl/yhgl/yhfl/query' :match="{value:'id',label:'name'}" v-model='queryParams.flid' ></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>
...@@ -116,6 +122,7 @@ ...@@ -116,6 +122,7 @@
baseUrl: '/aqgl/yhgl/yhjl', baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
gsid:'',
ksrq:new Date().getTime()-1000*60*60*24*30, ksrq:new Date().getTime()-1000*60*60*24*30,
jsrq:new Date().getTime(), jsrq:new Date().getTime(),
bmid:'', bmid:'',
...@@ -132,6 +139,9 @@ ...@@ -132,6 +139,9 @@
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{label: "状态", prop: "ztName", fieldType: "ftString",width:60}, {label: "状态", prop: "ztName", fieldType: "ftString",width:60},
{label: "公司", prop: "gsid", fieldType: "ftString",width:192,transform:{
url:'jcsj/common/bm/queryGs',label:'bmmc',value:'id'
}},
{label: "班组", prop: "bmid", fieldType: "ftString",width:192,transform:{ {label: "班组", prop: "bmid", fieldType: "ftString",width:192,transform:{
url:'jcsj/common/bm/queryBz',label:'bmmc',value:'id' url:'jcsj/common/bm/queryBz',label:'bmmc',value:'id'
}}, }},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment