| | |
| | | <template> |
| | | <div class="work-time-management"> |
| | | <el-radio-group v-model="currentComponent" size="small" style="margin-top: 16px;margin-bottom: 16px;"> |
| | | <el-radio-button label="workTimeStatistics"> |
| | | 工时统计 |
| | | </el-radio-button> |
| | | <el-radio-button label="workTimeManagement"> |
| | | 日工时管理 |
| | | </el-radio-button> |
| | | <el-radio-button label="workTimeConfig"> |
| | | 辅助工时配置 |
| | | </el-radio-button> |
| | | </el-radio-group> |
| | | <div style="text-align: left"> |
| | | <el-radio-group v-model="currentComponent" size="small" style="margin-top: 16px;margin-bottom: 16px;"> |
| | | <el-radio-button label="workTimeStatistics"> |
| | | 工时统计 |
| | | </el-radio-button> |
| | | <el-radio-button label="workTimeManagement"> |
| | | 日工时管理 |
| | | </el-radio-button> |
| | | <el-radio-button label="workTimeConfig"> |
| | | 辅助工时配置 |
| | | </el-radio-button> |
| | | </el-radio-group> |
| | | </div> |
| | | <component :is="currentComponent"></component> |
| | | </div> |
| | | </template> |
| | |
| | | workTimeManagement, |
| | | workTimeConfig |
| | | }, |
| | | mounted() { |
| | | }, |
| | | data() { |
| | | return{ |
| | | currentComponent:'workTimeStatistics' |