Browse Source

核查跳转bug

wulanhaote
hbao 3 years ago
parent
commit
a17a97598a
2 changed files with 14 additions and 3 deletions
  1. +4
    -2
      src/views/homesteadSurvey/add.vue
  2. +10
    -1
      src/views/homesteadSurvey/list.vue

+ 4
- 2
src/views/homesteadSurvey/add.vue View File

@@ -2643,13 +2643,15 @@
},
created(){
if(this.$cookies.get("search")){
console.log(this.$cookies.get("search"));
this.item = this.$cookies.get("search").mapZjdAData
if(this.item.active=="2"){
console.log(this.$cookies.get("search").active);
if(this.$cookies.get("search").active=="3"){
this.active = "3"
this.getZrzList()
this.showzrz=true
this.form3 = this.$cookies.get("search").mapZrzData
}else if(this.item.active=="3"){
}else if(this.$cookies.get("search").active=="4"){
this.active = "4"
this.getFsssList()
this.showfsss=true


+ 10
- 1
src/views/homesteadSurvey/list.vue View File

@@ -451,7 +451,7 @@
<p><van-icon name="manager" /><span>{{item.syqr}}</span><span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.houseDataConfirmStatus}}</span></p>
</template>
<template #default>
<p style="border: 1px solid #7ac943;color:#7ac943;">查看详情</p>
<p style="border: 1px solid #7ac943;color:#7ac943;" @click="zjdSs(item)">查看详情</p>
</template>
<template #label>
<p style="font-size: 0.25rem;color: #666666;">宅基地代码 {{item.zjddm}}</p>
@@ -1258,6 +1258,7 @@
mapFsssData:{},
mapZjdDataTure:"",
mapZjdTeAll:{
active:"",
mapZjdAData:{},
mapZrzAData:{},
mapFsssAData:{},
@@ -2665,6 +2666,7 @@
$("#query").on("click", function () {
//数据库查询数据------------------------------------------------------start
var val = that.seachText;
that.mapDataAll ="";
if (val == "") {
that.$toast('请填写查询条件再查询');
} else {
@@ -4300,14 +4302,17 @@
console.log(this.zjdHcDy);
if(this.zjdHcDy != "" && this.zjdHcDy != "undefined"){
if(this.mapZjdData !=undefined && this.mapZjdData !="" && this.mapZjdDataTure !=""){
this.mapZjdTeAll.active =1;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
}
if(this.mapZrzData !=undefined && this.mapZrzData !=""){
this.mapZjdTeAll.active =3;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
}
if(this.mapFsssData !=undefined && this.mapFsssData !=""){
this.mapZjdTeAll.active =4;
this.$cookies.set("search",this.mapZjdTeAll);
this.$router.push({path:'/homesteadSurvey/add'});
}
@@ -4321,6 +4326,10 @@
});
}
},
//搜索详情跳转
zjdSs(item){
console.log(item);
},
//全选
checkAll(val) {
console.log(val);


Loading…
Cancel
Save