Commit d7927ee9 authored by wei's avatar wei

kk

parent c55a7209
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
> >
<van-tab v-for="item in tabs" :key="item.key" :title="item.title"> <van-tab v-for="item in tabs" :key="item.key" :title="item.title">
<!-- 内容列表 --> <!-- 内容列表 -->
<div class="con-list" @touchmove="showIndex = null"> <div class="con-list">
<van-cell-group <van-cell-group
inset inset
v-for="(item, index) in messageList" v-for="(item, index) in messageList"
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
> >
<van-cell-group title="执行情况"> <van-cell-group title="执行情况">
<!-- 内容列表 --> <!-- 内容列表 -->
<div class="con-list" @touchmove="showIndex = null"> <div class="con-list">
<van-cell-group <van-cell-group
inset inset
v-for="(item, index) in buildingList" v-for="(item, index) in buildingList"
...@@ -279,7 +279,7 @@ export default { ...@@ -279,7 +279,7 @@ export default {
}); });
sessionStorage.setItem("planId", item.id); sessionStorage.setItem("planId", item.id);
sessionStorage.setItem("buildingId", item.buildingId); sessionStorage.setItem("buildingId", item.buildingId);
this.showIndex = null; this.showIndex = false;
}, },
// 详情 // 详情
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
id: data.businessId || data.id id: data.businessId || data.id
} }
}); });
this.showIndex = null; this.showIndex = false;
}, },
// 确认 // 确认
goConfirm(data) { goConfirm(data) {
...@@ -300,7 +300,7 @@ export default { ...@@ -300,7 +300,7 @@ export default {
data: data data: data
} }
}); });
this.showIndex = null; this.showIndex = false;
} }
} }
}; };
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
> >
<van-tab v-for="item in tabs" :key="item.key" :title="item.title"> <van-tab v-for="item in tabs" :key="item.key" :title="item.title">
<!-- 内容列表 --> <!-- 内容列表 -->
<div class="con-list" @touchmove="showIndex = null"> <div class="con-list">
<van-cell-group <van-cell-group
inset inset
v-for="(item, index) in messageList" v-for="(item, index) in messageList"
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
> >
<van-cell-group title="执行情况"> <van-cell-group title="执行情况">
<!-- 内容列表 --> <!-- 内容列表 -->
<div class="con-list" @touchmove="showIndex = null"> <div class="con-list">
<van-cell-group <van-cell-group
inset inset
v-for="(item, index) in buildingList" v-for="(item, index) in buildingList"
...@@ -270,8 +270,6 @@ export default { ...@@ -270,8 +270,6 @@ export default {
}, },
//查看详情 //查看详情
todetail(index, item) { todetail(index, item) {
this.showIndex = true;
console.log(item);
this.$router.push({ this.$router.push({
name: "riskTaskList", name: "riskTaskList",
params: { params: {
...@@ -281,7 +279,7 @@ export default { ...@@ -281,7 +279,7 @@ export default {
}); });
sessionStorage.setItem("planId", item.id); sessionStorage.setItem("planId", item.id);
sessionStorage.setItem("buildingId", item.buildingId); sessionStorage.setItem("buildingId", item.buildingId);
this.showIndex = null; this.showIndex = false;;
}, },
// 详情 // 详情
...@@ -292,7 +290,7 @@ export default { ...@@ -292,7 +290,7 @@ export default {
id: data.businessId || data.id id: data.businessId || data.id
} }
}); });
this.showIndex = null; this.showIndex = false;
}, },
// 确认 // 确认
goConfirm(data) { goConfirm(data) {
...@@ -302,7 +300,7 @@ export default { ...@@ -302,7 +300,7 @@ export default {
data: data data: data
} }
}); });
this.showIndex = null; this.showIndex = false;
} }
} }
}; };
......
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