From 07a41ade45c962e93a9d449ce1be0eec52e66a6a Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 19 三月 2025 10:44:32 +0800 Subject: [PATCH] 内部单不能修改报告 --- src/components/view/a6-personnel-detail.vue | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/components/view/a6-personnel-detail.vue b/src/components/view/a6-personnel-detail.vue index 16b4eb7..93750e2 100644 --- a/src/components/view/a6-personnel-detail.vue +++ b/src/components/view/a6-personnel-detail.vue @@ -67,7 +67,7 @@ background-color: #fff; height: 100%; display: flex; - align-items: center; + align-items: right; justify-content: end; } @@ -170,6 +170,13 @@ </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> @@ -245,6 +252,7 @@ expandedKeys: [], selectUserDia: false, componentData2: { + name: null, entity: { orderBy: { field: 'id', @@ -286,8 +294,8 @@ searchFilter() { this.$refs.tree.filter(this.search) }, - refreshTable() { - this.$refs.ValueTable.selectList() + refreshTable(e) { + this.$refs.ValueTable.selectList(e) }, refresh() { this.upIndex++; @@ -305,7 +313,7 @@ } 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) { @@ -438,7 +446,7 @@ return } this.$message.success('娣诲姞鎴愬姛') - this.refreshTable() + this.refreshTable('page') }) } } -- Gitblit v1.9.3