| | |
| | | background-color: #fff; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | align-items: right; |
| | | justify-content: end; |
| | | } |
| | | |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="选择用户" :visible.sync="selectUserDia" width="70%"> |
| | | <div class="search" style="margin-bottom: 9px;"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">用户名:</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请输入" clearable |
| | | v-model="componentData2.entity.name" @keyup.enter.native="$refs.ValueTable2.selectList()"></el-input></div> |
| | | </div> |
| | | </div> |
| | | <div class="body" style="height: 60vh;" v-if="selectUserDia"> |
| | | <ValueTable ref="ValueTable2" :url="$api.user.selectUserList" :componentData="componentData2"/> |
| | | </div> |
| | |
| | | expandedKeys: [], |
| | | selectUserDia: false, |
| | | componentData2: { |
| | | name: null, |
| | | entity: { |
| | | orderBy: { |
| | | field: 'id', |
| | |
| | | searchFilter() { |
| | | this.$refs.tree.filter(this.search) |
| | | }, |
| | | refreshTable() { |
| | | this.$refs.ValueTable.selectList() |
| | | refreshTable(e) { |
| | | this.$refs.ValueTable.selectList(e) |
| | | }, |
| | | refresh() { |
| | | this.upIndex++; |
| | |
| | | } |
| | | this.selectTree = data2.replace(' - ', '') |
| | | this.addOb.fatherId = val.id; |
| | | this.componentData.entity.departLimsId = val.id+','; |
| | | this.componentData.entity.departLimsId = val.id; |
| | | this.refreshTable() |
| | | }, |
| | | getNodeParent(val) { |
| | |
| | | return |
| | | } |
| | | this.$message.success('添加成功') |
| | | this.refreshTable() |
| | | this.refreshTable('page') |
| | | }) |
| | | } |
| | | } |