YNUtdPlatform/pages/workPlan/workbench/index.vue

54 lines
1.1 KiB
Vue

<template>
<view class="workbench">
<u-navbar
class="u-navbar"
title="工作台"
placeholder
@leftClick="leftClick"
leftIconColor="#fff"
bgColor="#00337A"
:titleStyle="{ color: '#FFF', fontSize: '32rpx' }"
/>
<!-- 现场监护 -->
<CustodyModel />
<!-- 基建-计划审核 -->
<InfrastructureModel />
<!-- 生产-计划审核 -->
<ProductionModel />
<m-tabbar fixed fill :current="1" :tabbar="tabbar"></m-tabbar>
</view>
</template>
<script>
import TabbarConfig from '../util/tabbar'
import CustodyModel from './components/custody-model'
import InfrastructureModel from './components/infrastructure-model'
import ProductionModel from './components/production-model'
export default {
components: {
CustodyModel,
ProductionModel,
InfrastructureModel
},
data() {
return {
tabbar: TabbarConfig
}
},
methods: {
leftClick() {
uni.navigateTo({ url: '/pages/workPlan/index/index' })
}
}
}
</script>
<style lang="scss" scoped>
.workbench {
padding: 20rpx 30rpx;
}
</style>