Commit 471defb7 by wangchunyang

删除多余菜单路由,样式调整

parent b52a7be3
...@@ -239,14 +239,14 @@ export default [ ...@@ -239,14 +239,14 @@ export default [
}, },
component: () => import('@/view/key-person/key_dm_inventory/index') component: () => import('@/view/key-person/key_dm_inventory/index')
}, },
{ // {
path: '/key-person/dmInventoryInbound', // path: '/key-person/dmInventoryInbound',
name: 'dmInventoryInbound', // name: 'dmInventoryInbound',
meta: { // meta: {
title: '日常管理用品入库' // title: '日常管理用品入库'
}, // },
component: () => import('@/view/key-person/key_dm_inventory/inbound') // component: () => import('@/view/key-person/key_dm_inventory/inbound')
}, // },
{ {
path: '/key-person/dmInventoryStats', path: '/key-person/dmInventoryStats',
name: 'dmInventoryStats', name: 'dmInventoryStats',
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</Col> </Col>
<Col :span="4" class="text-right"> <Col :span="4" class="text-right">
<Button type="primary" class="mr10" @click="loadUsage">统计</Button> <Button type="primary" class="mr10" @click="loadUsage">统计</Button>
<Button @click="resetUsage">重置</Button> <Button type="primary" @click="resetUsage">重置</Button>
</Col> </Col>
</Row> </Row>
</div> </div>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</Col> </Col>
<Col :span="6" class="text-right"> <Col :span="6" class="text-right">
<Button type="primary" class="mr10" @click="loadWorkload">统计</Button> <Button type="primary" class="mr10" @click="loadWorkload">统计</Button>
<Button @click="resetWorkload">重置</Button> <Button type="primary" @click="resetWorkload">重置</Button>
</Col> </Col>
</Row> </Row>
</div> </div>
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
usageColumns: [ usageColumns: [
{ type: 'index', title: '序号', width: 60, align: 'center' }, { type: 'index', title: '序号', width: 60, align: 'center' },
{ title: '部门', key: 'department_name', align: 'center' }, { title: '部门', key: 'department_name', align: 'center' },
{ title: '物料', key: 'material_name', align: 'center' }, { title: '用品', key: 'material_name', align: 'center' },
{ title: '领用数量', key: 'total_quantity', align: 'center' }, { title: '领用数量', key: 'total_quantity', align: 'center' },
{ title: '操作', slot: 'action', width: 100, align: 'center' } { title: '操作', slot: 'action', width: 100, align: 'center' }
], ],
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
{ title: '请假申请次数', key: 'leave_applications', align: 'center' }, { title: '请假申请次数', key: 'leave_applications', align: 'center' },
{ title: '请假审批次数', key: 'leave_approvals', align: 'center' }, { title: '请假审批次数', key: 'leave_approvals', align: 'center' },
{ title: '用品申领次数', key: 'borrow_applications', align: 'center' }, { title: '用品申领次数', key: 'borrow_applications', align: 'center' },
{ title: '用品审批次数', key: 'borrow_approval', align: 'center' },
{ title: '入库次数', key: 'inbound_count', align: 'center' }, { title: '入库次数', key: 'inbound_count', align: 'center' },
{ title: '请假时长(天)', key: 'leave_duration', align: 'center' }, { title: '请假时长(天)', key: 'leave_duration', align: 'center' },
{ title: '操作', slot: 'action', width: 200, align: 'center' } { title: '操作', slot: 'action', width: 200, align: 'center' }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论