Commit 56217ac4 authored by 李苏's avatar 李苏 💬

关联隐患

parent 7311add0
...@@ -161,10 +161,11 @@ import Zdzrr from './zdzrr' ...@@ -161,10 +161,11 @@ import Zdzrr from './zdzrr'
}, },
methods: { methods: {
watchglyh(row){ watchglyh(row){
this.watchglyh.fxpcid=row.id
this.showDialog = true this.showDialog = true
this.DialogTitle='关联隐患' this.DialogTitle='关联隐患'
this.DialogName='关联隐患' this.DialogName='关联隐患'
console.log(row)
}, },
zdzrr(){ zdzrr(){
......
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.$nextTick(()=>{ this.$nextTick(()=>{
console.log(this.app.watchglyh.fxpcid)
this.queryParams.fxpcid=this.app.watchglyh.fxpcid
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}) })
...@@ -45,7 +48,7 @@ this.$nextTick(()=>{ ...@@ -45,7 +48,7 @@ this.$nextTick(()=>{
baseUrl: '/aqgl/yhgl/yhjl', baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
fxpcid:''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
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