You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.2 KiB
69 lines
1.2 KiB
<template> |
|
<view class="page-css"> |
|
<view class="page-header-txt">科研医疗建筑运维平台</view> |
|
<betone-list :tabList="tabList" ref="tablist"></betone-list> |
|
<betone-tabbar ref="tabbarRef" /> |
|
</view> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
|
|
data() { |
|
return { |
|
tabList: [ |
|
{ |
|
name: "全部", |
|
key: "9999", |
|
}, |
|
{ |
|
name: "待接单", |
|
key: "0", |
|
}, |
|
{ |
|
name: "维修中", |
|
key: "1,2,3", |
|
}, |
|
{ |
|
name: "已完成", |
|
key: "4,5,6", |
|
}, |
|
], |
|
tagColor: { |
|
维修中: "#3A62D7", |
|
待确认: "#81B337", |
|
待提报: "#81B337", |
|
已完成: "#CECECE", |
|
待维修: '#E99D42' |
|
} |
|
}; |
|
}, |
|
computed: { |
|
|
|
}, |
|
onReachBottom() { |
|
uni.$emit('onReachBottom'); |
|
|
|
}, |
|
onPullDownRefresh() { |
|
uni.$emit('onPullDownRefresh'); |
|
}, |
|
onShow() { |
|
this.$nextTick(() => { |
|
console.log(999999) |
|
this.$refs.tablist.getRecordsList() |
|
this.$refs.tabbarRef.getPermission(); |
|
}); |
|
}, |
|
methods: { |
|
|
|
}, |
|
}; |
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
.page-css { |
|
padding: 0; |
|
padding-top: var(--status-bar-height); |
|
} |
|
</style> |