Commit 645e26d1 authored by 13841799530's avatar 13841799530

bug更改

解润东
2021110402
parent baeabab8
...@@ -110,6 +110,7 @@ export default { ...@@ -110,6 +110,7 @@ export default {
this.$router.push({ this.$router.push({
name: 'list', name: 'list',
query:{ query:{
name:'formwork',
planItemId:item2.id, planItemId:item2.id,
planId:this.id, planId:this.id,
checkitem:item2.checkItem,//检查项目 checkitem:item2.checkItem,//检查项目
......
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
:rules="[{ required: true, message: '请填写问题描述' }]" :rules="[{ required: true, message: '请填写问题描述' }]"
/> />
<van-field <van-field
v-if="islay"
v-model="checkBasis" v-model="checkBasis"
name="法律依据" name="法律依据"
label="法律依据" label="法律依据"
...@@ -106,19 +107,21 @@ export default { ...@@ -106,19 +107,21 @@ export default {
id:'',//检查执行id id:'',//检查执行id
ids:[],//下拉框选中值数组id ids:[],//下拉框选中值数组id
planId:'',//不合格跳转进本页面所传列表id planId:'',//不合格跳转进本页面所传列表id
planItemId:''//不合格跳转进本页面所传列id planItemId:'',//不合格跳转进本页面所传列id
islay:false,//是否显示法律依据
} }
}, },
mounted() { mounted() {
if(this.$route.query.id){ if(this.$route.query.id){
this.id=this.$route.query.id this.id=this.$route.query.id
} }
if(this.$route.name=='list'&&this.$route.query.checkitem){ if(this.$route.query.name=='formwork'){
this.problemName=this.$route.query.checkitem,//检查项目 this.problemName=this.$route.query.checkitem,//检查项目
this.problemDescribe=this.$route.query.checkContent,//检查内容 this.problemDescribe=this.$route.query.checkContent,//检查内容
this.checkBasis=this.$route.query.checkBasis//法律依据 this.checkBasis=this.$route.query.checkBasis//法律依据
this.planId=this.$route.query.planId this.planId=this.$route.query.planId
this.planItemId=this.$route.query.planItemId this.planItemId=this.$route.query.planItemId,
this.islay=true
} }
this.init() this.init()
}, },
......
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