From 4e33f519b682ae6e8a055e589209760750701ab3 Mon Sep 17 00:00:00 2001 From: yxt_djz <313618925@qq.com> Date: Sat, 14 May 2022 15:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=A6=E5=9E=8B=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=EF=BC=8C=E5=B8=B8=E7=94=A8=E9=85=8D=E7=BD=AE=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/cheliang/chexing/chexing.vue | 2 +- .../chexing/relation/chexingguanlianchangyong.vue | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue index 934dbb8d98..0988045cff 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue @@ -544,7 +544,7 @@ }, handlePeizhi(row) { this.viewState = 5 - this.$refs['divGuanLianPeiZhi'].showGuanlian(row.sid, row.modelName) + this.$refs['divGuanLianPeiZhi'].showGuanlian(row ) }, handleSelectionChange(row) { const aa = [] diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue index c993e28dc5..ad5acd1b2a 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue @@ -609,8 +609,6 @@ ]) }, created() { - - this.getList() // 加载列表 this.getType() }, methods: { @@ -623,12 +621,12 @@ this.searchxianshitit = '显示查询条件' } }, - showGuanlian(modelSid, modelName) { - console.log('sid:', modelSid, 'name:', modelName) - this.setRelList.modelSid = modelSid - this.checkRelieve_list.modelSid = modelSid - // this.listQuery.params.modelSid = modelSid - this.title = modelName + showGuanlian(row) { + this.setRelList.modelSid = row.sid + this.checkRelieve_list.modelSid = row.sid + this.title = row.modelName + this.listQuery.params.modelSid = row.sid + this.getList() // 加载列表 }, init() { var name = this.$store.state.modelName