|
|
@ -6,7 +6,7 @@
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="getList">搜索</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="getList">搜索</el-button>
|
|
|
|
<el-button type="primary" plain icon="el-icon-plus" @click="handleFormOpen('add')">新增自定义柜体</el-button>
|
|
|
|
<el-button type="primary" plain icon="el-icon-plus" @click="handleFormOpen('add')">新增自定义柜体</el-button>
|
|
|
|
<el-button icon="el-icon-unlock" @click="handleLock">柜体锁定/解锁</el-button>
|
|
|
|
<el-button icon="el-icon-unlock" @click="handleLock">柜体锁定/解锁</el-button>
|
|
|
|
<el-button @click="handleDraw"><svg-icon icon-class="分配权限" /> 分配抽屉权限</el-button>
|
|
|
|
<el-button @click="handleDraw"><svg-icon icon-class="分配权限" /> 分配单元权限</el-button>
|
|
|
|
<el-button @click="handleUser"><svg-icon icon-class="分配禁用用户" /> 分配禁用用户</el-button>
|
|
|
|
<el-button @click="handleUser"><svg-icon icon-class="分配禁用用户" /> 分配禁用用户</el-button>
|
|
|
|
<el-button type="danger" plain icon="el-icon-close" @click="handleEmpty">清空数据</el-button>
|
|
|
|
<el-button type="danger" plain icon="el-icon-close" @click="handleEmpty">清空数据</el-button>
|
|
|
|
<div class="right">
|
|
|
|
<div class="right">
|
|
|
@ -83,7 +83,7 @@
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template slot-scope="scope" style="display:flex;flex-direction: row;">
|
|
|
|
<template slot-scope="scope" style="display:flex;flex-direction: row;">
|
|
|
|
<el-button @click="handleLayerEdit(scope.row)">层级维护</el-button>
|
|
|
|
<el-button @click="handleLayerEdit(scope.row)">柜体单元维护</el-button>
|
|
|
|
<el-button @click="handleFormEdit(scope.row)">编辑</el-button>
|
|
|
|
<el-button @click="handleFormEdit(scope.row)">编辑</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
@ -146,8 +146,8 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="柜体层数" prop="layer_num">
|
|
|
|
<el-form-item label="单元数量" prop="layer_num">
|
|
|
|
<el-input v-model="formData.layer_num" placeholder="请输入柜体层数" clearable :style="{width: '100%'}" :disabled="dialogTitile =='编辑柜体信息' ? true:false" />
|
|
|
|
<el-input v-model="formData.layer_num" placeholder="请输入柜体单元数量" clearable :style="{width: '100%'}" :disabled="dialogTitile =='编辑柜体信息' ? true:false" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
@ -196,7 +196,7 @@
|
|
|
|
<el-button type="primary" @click="handelConfirm">确定</el-button>
|
|
|
|
<el-button type="primary" @click="handelConfirm">确定</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
<el-dialog :visible.sync="dialogDrawVisible" :close-on-click-modal="false" title="分配抽屉权限">
|
|
|
|
<el-dialog :visible.sync="dialogDrawVisible" :close-on-click-modal="false" title="分配单元权限">
|
|
|
|
<div class="user-header">
|
|
|
|
<div class="user-header">
|
|
|
|
<el-select v-model="drawer_id" placeholder="请选择抽屉" @change="handleDrawSelect">
|
|
|
|
<el-select v-model="drawer_id" placeholder="请选择抽屉" @change="handleDrawSelect">
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
@ -287,12 +287,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog :visible.sync="dialogLayerVisible" :close-on-click-modal="false" width="30%" title="柜体层级维护">
|
|
|
|
<el-dialog :visible.sync="dialogLayerVisible" :close-on-click-modal="false" width="30%" title="柜体单元维护">
|
|
|
|
<el-scrollbar style="height:500px;overflow: hidden;">
|
|
|
|
<el-scrollbar style="height:500px;overflow: hidden;">
|
|
|
|
<el-form ref="LayerForm" label-width="100px" style="padding-right: 20px">
|
|
|
|
<el-form ref="LayerForm" label-width="100px" style="padding-right: 20px">
|
|
|
|
<div v-for="item,index in layer" :key="index">
|
|
|
|
<div v-for="item,index in layer" :key="index">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="柜体层号">
|
|
|
|
<el-form-item label="单元编号">
|
|
|
|
{{item.cell_speci}}
|
|
|
|
{{item.cell_speci}}
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|