2020-09-15 14:01:26 +08:00

103 lines
2.3 KiB
Vue

<template>
<div>
<el-row>
<div>
<el-dropdown
placement="bottom"
trigger="click"
@command="batchOperate"
class="div_width div_height">
<el-button
type="primary"
class="div_width div_height">
资产回收
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="staff">人员</el-dropdown-item>
<el-dropdown-item command="depat">使用地/部门/库存</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</el-row>
<el-row>
<el-button type="warning" class="div_height div_width" @click="goto(1)">开始盘点</el-button>
</el-row>
</div>
</template>>
<script>
export default {
data () {
return{
value: ''
}
},
mounted () {
},
methods: {
batchOperate(command) {
switch (command) {
case 'staff':
//去搜索人员
this.$router.push({name: 'devicestaffdepat', query: {type: 3}})
break;
case "depat":
//去搜索人员
this.$router.push({name: 'devicestaffdepat', query: {type: 4}})
break;
}
},
goto (type) {
this.$router.push({name: 'devicedetail'})
}
}
}
</script>
<style>
.el-row {
margin-bottom: 20px;
}
.el-col {
border-radius: 10px;
}
.bg-purple-dark {
background: #99a9bf;
}
.bg-purple {
background: #d3dce6;
}
.bg-purple-light {
background: #e5f2f1;
}
.grid-content {
border-radius: 4px;
min-height: 36px;
}
.row-bg {
padding: 10px 0;
background-color: #f9fafc;
}
.div_height{
height: 60px;
}
.div_width{
width: 100%;
}
.zero_size{
width: 0px;
height: 0px;
}
.select_local{
top: 600px;
}
</style>