From 09bdf6a9128c15fc0e40e9b886f7e4d90ac0d823 Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Mon, 9 Sep 2024 17:40:57 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E4=BF=AE=E6=94=B9=E9=A1=B5?= =?UTF-8?q?=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../guidancePartyBuilding/organizationalBuild.vue | 4 ++++ src/views/projectFront/quality/pouringOrderLedger.vue | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/projectFront/guidancePartyBuilding/organizationalBuild.vue b/src/views/projectFront/guidancePartyBuilding/organizationalBuild.vue index cb9c8721..5c47fc4f 100644 --- a/src/views/projectFront/guidancePartyBuilding/organizationalBuild.vue +++ b/src/views/projectFront/guidancePartyBuilding/organizationalBuild.vue @@ -657,6 +657,10 @@ export default { }, ...res.result]; this.getCheckedNode(this.listData[0]); } + this.$nextTick(() => { + // todo 在这里设置 + this.$refs.tree.setCurrentKey(this.listData[0].id) + }) } else { this.listData = [] } diff --git a/src/views/projectFront/quality/pouringOrderLedger.vue b/src/views/projectFront/quality/pouringOrderLedger.vue index eb455330..8afa1dda 100644 --- a/src/views/projectFront/quality/pouringOrderLedger.vue +++ b/src/views/projectFront/quality/pouringOrderLedger.vue @@ -461,6 +461,7 @@ export default { cooperatorList: [], // 所有企业信息 workerListOptions: [], // 工人列表 projectGroupTypeList: [], // 项目分组列表 + deviceUnitList: [], // 装置单位列表 }; }, created() { @@ -622,13 +623,16 @@ export default { }); this.deleteDialog = false; }, - handleSizeChange() { + //查看条数 + handleSizeChange(val) { + this.pageSize = val; this.initData(); }, - handleCurrentChange() { + //查看页 + handleCurrentChange(val) { + this.pageNo = val; this.initData(); }, - previewDetail(val) { console.log("!!!!!!!!!!!!!!!!!!", val); this.dialogFormVisible = false;