mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Change the menu bar and merge pages
This commit is contained in:
58
ui/src/pages/affair/AffairManage.vue
Normal file
58
ui/src/pages/affair/AffairManage.vue
Normal file
@@ -0,0 +1,58 @@
|
||||
<template>
|
||||
<el-row :span="24">
|
||||
<el-col :span="18">
|
||||
<div class="mt-4">
|
||||
<el-input placeholder="查询事务" class="input-with-select">
|
||||
<template #prepend>
|
||||
<el-select placeholder="查询方式">
|
||||
<el-option label="事务编号" value="1" />
|
||||
<el-option label="事务名称" value="2" />
|
||||
<el-option label="日期" value="3" />
|
||||
</el-select>
|
||||
</template>
|
||||
<template #append>
|
||||
<el-button>查询</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</div>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="6">
|
||||
<el-menu
|
||||
:default-active="$route.path"
|
||||
class="el-menu-demo"
|
||||
mode="horizontal"
|
||||
router
|
||||
background-color="white"
|
||||
>
|
||||
<el-menu-item index="/affair/manage/toApprove">
|
||||
<el-button type="warning" round>待审批</el-button>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="/affair/manage/Approved">
|
||||
<el-button type="success" round>已审批</el-button>
|
||||
</el-menu-item>
|
||||
</el-menu>
|
||||
</el-col>
|
||||
<router-view></router-view>
|
||||
</el-row>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { COLOR_BACKGROUND } from '@/constants/Common.constants'
|
||||
|
||||
export default {
|
||||
name: 'AffairManage',
|
||||
methods: {
|
||||
COLOR_BACKGROUND() {
|
||||
return COLOR_BACKGROUND
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.el-menu--horizontal > .el-menu-item {
|
||||
border-bottom: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user