From e5454b769d44a34af423bf87ac8a740bf8c20341 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 29 四月 2025 13:25:29 +0800 Subject: [PATCH] Merge branch 'dev' into dev_tides --- src/views/CNAS/personnel/personnelInfo/index.vue | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/views/CNAS/personnel/personnelInfo/index.vue b/src/views/CNAS/personnel/personnelInfo/index.vue index 0fa410d..b75b5a1 100644 --- a/src/views/CNAS/personnel/personnelInfo/index.vue +++ b/src/views/CNAS/personnel/personnelInfo/index.vue @@ -78,14 +78,14 @@ <el-tab-pane label="浠昏亴鎺堟潈璁板綍" name="浠昏亴鎺堟潈璁板綍"> <Mandate v-if="activeName === '浠昏亴鎺堟潈璁板綍'" ref="manDateRef" :departId="departId" :isDepartment="isDepartment"></Mandate> </el-tab-pane> -<!-- <el-tab-pane label="浜哄憳鑳藉姏" name="浜哄憳鑳藉姏">--> -<!-- <personnel-capacity v-if="activeName === '浜哄憳鑳藉姏'" ref="personnelCapacity"--> -<!-- :departId="departId"--> -<!-- :isDepartment="isDepartment"></personnel-capacity>--> -<!-- </el-tab-pane>--> -<!-- <el-tab-pane label="娌熼�氳褰�" name="娌熼�氳褰�">--> -<!-- <Communicate v-if="activeName === '娌熼�氳褰�'" ref="communicateRef" :departId="departId" :isDepartment="isDepartment"></Communicate>--> -<!-- </el-tab-pane>--> + <el-tab-pane label="浜哄憳鑳藉姏" name="浜哄憳鑳藉姏"> + <personnel-capacity v-if="activeName === '浜哄憳鑳藉姏'" ref="personnelCapacity" + :departId="departId" + :isDepartment="isDepartment"></personnel-capacity> + </el-tab-pane> + <el-tab-pane label="娌熼�氳褰�" name="娌熼�氳褰�"> + <Communicate v-if="activeName === '娌熼�氳褰�'" ref="communicateRef" :departId="departId" :isDepartment="isDepartment"></Communicate> + </el-tab-pane> </el-tabs> </div> <el-dialog :visible.sync="addDia" title="鏋舵瀯鏂板" width="400px"> @@ -119,6 +119,7 @@ import Communicate from './tabs/communicate.vue' import {addDepartmentLims, delDepartmentLims, selectCNSAPersonTree} from "@/api/cnas/personal/personalList"; export default { + name: 'PersonnelInfo', components: { PersonnelList, personnelInformation, PersonnelTraining, JobResponsibilities, rewardPunishmentRecord, TrainingRecord, Mandate, PersonnelCapacity, Communicate }, @@ -152,6 +153,7 @@ }; }, mounted() { + this.activeName = this.$route.query.activeName || '浜哄憳鍩烘湰淇℃伅' this.geList(); }, methods: { @@ -270,10 +272,6 @@ </script> <style scoped> ->>>.el-table__body-wrapper::-webkit-scrollbar { - height: 14px; - /* 璁剧疆婊氬姩鏉″搴� */ -} .node_i { color: orange; font-size: 18px; -- Gitblit v1.9.3