Commit 618d4bb0 authored by 李苏's avatar 李苏 💬

Merge branch 'master' of gitlab.gavelinfo.com:lisu/sgaqgl-vue

parents 7d99adc1 2849be97
...@@ -7,11 +7,17 @@ ...@@ -7,11 +7,17 @@
<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>
<el-select></el-select> <el-select></el-select>
</div> </div>
</el-col>-->
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">状态:</span>
<RelSelect src='aqgl/rcgl/lzbg/init/zt' clearable :match="{value:'id',label:'name'}" v-model='queryParams.zt'></RelSelect>
</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">
...@@ -56,7 +62,7 @@ ...@@ -56,7 +62,7 @@
<!-- 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" >
<Report :mapp="app" ref="report" /> <Report v-show="tabData.length>0" :mapp="app" ref="report" />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -102,7 +108,8 @@ ...@@ -102,7 +108,8 @@
queryParams: { queryParams: {
info: '', info: '',
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(),
zt:''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
...@@ -120,6 +127,7 @@ ...@@ -120,6 +127,7 @@
getRow: function(e) { getRow: function(e) {
this.rowItem = e this.rowItem = e
this.$refs.report.queryParams.rwid=e.id this.$refs.report.queryParams.rwid=e.id
this.$refs.report.queryParams.zt=this.queryParams.zt
this.$refs.report.$refs.TablePager.pageQuery() this.$refs.report.$refs.TablePager.pageQuery()
}, },
......
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.queryParams.zt=this.mapp.queryParams.zt
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}, },
props:['mapp'], props:['mapp'],
...@@ -88,7 +89,9 @@ ...@@ -88,7 +89,9 @@
baseUrl: 'aqgl/rcgl/lzbg', baseUrl: 'aqgl/rcgl/lzbg',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
rwid: '' rwid: '',
zt:''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
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