qa-regulatory-gwj-app/pages/general-hidden-management/index/index.vue

42 lines
821 B
Vue
Raw Permalink Normal View History

2023-11-07 10:08:37 +08:00
<template>
<view class="content">
<u-cell-group>
<u-cell v-for="(item,index) in baseList" :key="index" :title="item.title" isLink :url="item.url"></u-cell>
</u-cell-group>
</view>
</template>
<script>
export default {
data() {
return {
baseList: [
{
title: '忽略隐患',
url: '/pages/general-hidden-management/ignore-hidden/list'
},
{
title: '一般隐患',
url: '/pages/general-hidden-management/general-hidden/list'
},
{
title: '特殊处置隐患',
url: '/pages/general-hidden-management/special-hidden/list'
}
]
}
},
methods: {
fnNavigator(e) {
uni.$u.route({
url: this.baseList[e].url
})
}
},
}
</script>
<style scoped>
</style>