|
@ -1,32 +1,101 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
|
|
|
|
|
|
<div class="app-container"> |
|
|
<div class="head-container"> |
|
|
<div class="head-container"> |
|
|
<p class="warning"> |
|
|
<p class="warning"> |
|
|
<svg-icon icon-class="warning" /> |
|
|
<svg-icon icon-class="warning" /> |
|
|
<span>温馨提示:如需配置层位,请直接前往库房管理进行设备维护</span> |
|
|
<span>温馨提示:如需配置层位,请直接前往库房管理进行设备维护</span> |
|
|
</p> |
|
|
</p> |
|
|
<div> |
|
|
<div> |
|
|
<el-button type="primary" class="el-icon-more" size="mini" @click="handleBindParam">绑定参数</el-button> |
|
|
|
|
|
|
|
|
<el-button type="primary" class="iconfont icon-jiechubangding-fanbai" size="mini" @click="handleBindParam">绑定参数</el-button> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<el-row class="container-main"> |
|
|
|
|
|
<el-col class="curd-in-out" :xs="10" :sm="8" :md="5" :lg="6" :xl="5"> |
|
|
|
|
|
<div class="container-left left-tree-item" style="height:calc(100vh - 240px)"> |
|
|
|
|
|
<span class="right-top-line" /> |
|
|
|
|
|
<span class="left-bottom-line" /> |
|
|
|
|
|
<!--树状结构--> |
|
|
|
|
|
<div class="tree-scroll"> |
|
|
|
|
|
<el-tree ref="smartTree" :data="menuTree" :props="defaultProps" node-key="id" :expand-on-click-node="false" highlight-current @node-click="handleNodeClick" /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 档案管理列表 --> |
|
|
|
|
|
<el-col class="container-right" style="min-height: calc(100vh - 240px);" :xs="14" :sm="18" :md="19" :lg="18" :xl="19"> |
|
|
|
|
|
<span class="right-top-line" /> |
|
|
|
|
|
<span class="left-bottom-line" /> |
|
|
|
|
|
<!--表格渲染--> |
|
|
|
|
|
<el-table ref="table" :data="tableData" highlight-current-row style="width: 100%;"> |
|
|
|
|
|
<el-table-column type="selection" width="55" /> |
|
|
|
|
|
<el-table-column type="index" label="序号" width="55" /> |
|
|
|
|
|
<el-table-column prop="" label="库房" /> |
|
|
|
|
|
<el-table-column prop="" label="层位名称" /> |
|
|
|
|
|
<el-table-column prop="" label="层位编号" /> |
|
|
|
|
|
<el-table-column prop="" label="库房代码" /> |
|
|
|
|
|
<el-table-column prop="" label="区号" /> |
|
|
|
|
|
<el-table-column prop="" label="列号" /> |
|
|
|
|
|
<el-table-column prop="" label="节号" /> |
|
|
|
|
|
<el-table-column prop="" label="层号" /> |
|
|
|
|
|
<el-table-column prop="" label="方向" /> |
|
|
|
|
|
<el-table-column prop="" label="标签" /> |
|
|
|
|
|
<el-table-column prop="" label="操作时间" /> |
|
|
|
|
|
</el-table> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
|
|
|
import CRUD, { presenter } from '@crud/crud' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
|
|
|
name: 'LevelManage', |
|
|
|
|
|
components: { }, |
|
|
|
|
|
mixins: [presenter()], |
|
|
|
|
|
cruds() { |
|
|
|
|
|
return [ |
|
|
|
|
|
CRUD({ |
|
|
|
|
|
title: '档案', url: 'api/archives-type/menu' |
|
|
|
|
|
// crudMethod: { ...crudCategory } |
|
|
|
|
|
}) |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
data() { |
|
|
|
|
|
return { |
|
|
|
|
|
menuTree: [], |
|
|
|
|
|
defaultProps: { |
|
|
|
|
|
children: 'children', |
|
|
|
|
|
label: 'cnName' |
|
|
|
|
|
}, |
|
|
|
|
|
tableData: [] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
methods: { |
|
|
|
|
|
handleNodeClick() { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
// 参数绑定 |
|
|
|
|
|
handleBindParam() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.head-container{ |
|
|
.head-container{ |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
|
|
|
align-items: center; |
|
|
.el-button{ |
|
|
.el-button{ |
|
|
width: 106px; |
|
|
width: 106px; |
|
|
height: 32px; |
|
|
|
|
|
|
|
|
height: 30px; |
|
|
background-color: #1AAE93; |
|
|
background-color: #1AAE93; |
|
|
border: none; |
|
|
border: none; |
|
|
|
|
|
&::before{ |
|
|
|
|
|
padding-right:5px ; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
::v-deep .el-icon-more:before{ |
|
|
::v-deep .el-icon-more:before{ |
|
@ -34,7 +103,6 @@ export default { |
|
|
} |
|
|
} |
|
|
.app-container{ |
|
|
.app-container{ |
|
|
margin-top: 0; |
|
|
margin-top: 0; |
|
|
min-height: calc(100vh - 242px); |
|
|
|
|
|
} |
|
|
} |
|
|
.warning{ |
|
|
.warning{ |
|
|
font-size: 14px; |
|
|
font-size: 14px; |
|
|