This commit is contained in:
花有清香月有阴
2021-12-08 18:33:21 +08:00
parent a97e35644e
commit 4e996d2928
3 changed files with 53 additions and 6 deletions

View File

@@ -23,8 +23,8 @@
</div>
<!-- v-if="data.length > 0" -->
<div @click="btnHide" class="datas">
<div class="cards" v-for="(item, i) in 4" :key="i">
<div @click.stop="btnHide" class="datas">
<div class="cards" @click.stop="toDetail" v-for="(item, i) in 4" :key="i">
<div class="cards-top">
<div class="cards-left">
<span class="walkName">走访对象李伟民</span>
@@ -75,11 +75,12 @@
<script>
import AiEmpty from '../../components/AiEmpty.vue'
import add from './components/add.vue'
import detail from './components/detail.vue'
export default {
name: 'AppWalkask',
appName: '走访慰问',
components: { AiEmpty, add },
components: { AiEmpty, add, detail },
props: {},
data() {
return {
@@ -137,6 +138,13 @@ export default {
// }
},
toDetail(item) {
// const { id } = item.id
this.isList = false
this.comp = 'detail'
this.params = detail
},
delet() {
console.log('delet')
},