Commit 31656047 by huangqy

1

parent 83105c92
......@@ -43,11 +43,13 @@
{{ scope.row.statusFlag === 1 ? '正常' : '冻结' }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="300">
<el-table-column label="操作" align="center" width="400">
<template slot-scope="scope">
<a-button type="primary" icon="edit" ghost size="small" @click="editClickBtn(scope.row)">编辑</a-button>
<a-button type="primary" ghost size="small" @click="showDr(scope.row)">库房分配</a-button>
<a-button type="primary" style="margin-left: 5px" icon="edit" ghost size="small" @click="editClickBtn(scope.row)">编辑</a-button>
<a-button type="danger" style="margin-left: 5px" icon="delete" ghost size="small" @click="deleteClick(scope.row)">删除</a-button>
<a-button type="primary" style="margin-left: 5px" icon="redo-outlined" ghost size="small" @click="refrdshClick(scope.row)">重置密码</a-button>
<!-- <a-button type="primary" style="margin-left: 5px" ghost size="small" @click="grantData(scope.row)">授权</a-button> -->
</template>
</el-table-column>
......@@ -164,6 +166,45 @@
<a-button type="primary" @click="subFormData()" ghost style="margin-left: 6px;">提 交</a-button>
</span>
</el-dialog>
<!-- 抽屉 - 编辑 -->
<a-drawer
title="库房分配"
placement="right"
:visible="draFlag"
:width="400"
@close="drClose"
>
<div class="drawer_box">
<div class="drawer_body">
<a-input placeholder="搜索库房" v-model="seleName" @pressEnter="seleRome()">
<a-icon slot="prefix" type="search" />
</a-input>
<!-- 库房选择 -->
<div class="checkbox">
<a-checkbox @change="allClick" :checked="checkAll">
全选
</a-checkbox>
<!-- 库房列表 -->
<a-checkbox-group v-model="checkRoomKey" @change="allChange" class="checkbox_box">
<a-checkbox class="checkbox_child" v-for="(item, index) in roomData" :key="index" :value="item.code">
{{ item.name }}
</a-checkbox>
</a-checkbox-group>
</div>
</div>
<!-- 按钮 -->
<div class="drawer_btns top">
<a-button type="danger" ghost class="mgr15" @click="draFlag = false">
取消
</a-button>
<a-button type="primary" ghost @click="putUser()">
保存
</a-button>
</div>
</div>
</a-drawer>
</el-card>
</div>
</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论