| | |
| | | </div> |
| | | <el-dialog :visible.sync="selectUserDia" title="选择用户" width="70%"> |
| | | <div class="search" style="margin-bottom: 9px;"> |
| | | <div class="search_thing"> |
| | | <div class="search_thing" style="display: flex;"> |
| | | <div class="search_label">用户名:</div> |
| | | <div class="search_input"> |
| | | <el-input v-model="queryParams.name" clearable placeholder="请输入" size="small" |
| | | @keyup.enter.native="getList()" style="width: 200px;"></el-input> |
| | | @keyup.enter.native="getList()" style="width: 150px;"></el-input> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div v-if="selectUserDia" class="body" style="height: 60vh;"> |
| | | <lims-table :tableData="tableData" :column="column" :tableLoading="tableLoading" :height="'calc(100vh - 290px)'" |
| | | :page="personPage" @pagination="pagination" :isSelection="true" |
| | | <lims-table :tableData="personTableData" :column="column" :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 290px)'" :page="personPage" :isSelection="true" |
| | | :handleSelectionChange="handleSelectionChange"></lims-table> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | queryParams: { |
| | | name: '' |
| | | }, |
| | | tableData: [], |
| | | personTableData: [], |
| | | column: [ |
| | | { label: "姓名", prop: "name" }, |
| | | { label: "账号", prop: "account" }, |
| | |
| | | refreshTable(entity, type) { |
| | | try { |
| | | this.tableLoading = true; |
| | | this.entity.departLimsId = this.departId; |
| | | basicInformationOfPersonnelSelectPage({ ...this.page, ...this.entit }).then(res => { |
| | | this.entity.departmentId = this.departId; |
| | | let params = { ...this.page, ...this.entity } |
| | | delete params.total |
| | | basicInformationOfPersonnelSelectPage(params).then(res => { |
| | | this.tableLoading = false; |
| | | if (res.code === 201) { |
| | | return; |
| | |
| | | .then((res) => { |
| | | this.tableLoading = false; |
| | | if (res.code === 200) { |
| | | this.tableData = res.data.records; |
| | | this.personPage.total = res.data.total; |
| | | this.personTableData = res.data; |
| | | } |
| | | }) |
| | | .catch((err) => { |
| | |
| | | handleDown() { |
| | | this.outLoading = true; |
| | | let entity = this.HaveJson(this.entity) |
| | | delete entity.orderBy; |
| | | exportPersonBasicInfo(entity).then(res => { |
| | | this.outLoading = false; |
| | | if (res.code === 201) { |