From 4be224400234c42063adb12f94f83db7f759dde6 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Fri, 6 Oct 2023 14:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=80=E6=AD=A5?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/dialog/index.vue | 38 ++++++++++----------------- 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index 0892ee2..aa84469 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -402,20 +402,20 @@ export default { // mydict: (state) => state.user.mydict, }), }, - watch:{ - tableData:{ - handler(newData,oldData){ - newData.map((item)=>{ - if(item.isPoint == 1) { - this.$nextTick(() => { - this.$refs.multipleTable.toggleRowSelection(item,false); - }); - } - }) - }, - deep:true, - } - }, + // watch:{ + // tableData:{ + // handler(newData,oldData){ + // newData.map((item)=>{ + // if(item.isPoint == 1) { + // this.$nextTick(() => { + // this.$refs.multipleTable.toggleRowSelection(item,false); + // }); + // } + // }) + // }, + // deep:true, + // } + // }, methods: { // 返回上一步 selectFirm(){ @@ -423,15 +423,6 @@ export default { this.nextStep = false; this.filtrate(); this.nextText = "下一步"; - // this.multipleSelection.forEach((_item)=>{ - // this.tableData.map((item)=>{ - // if(_item.uscCode == item.uscCode){ - // this.$nextTick(() => { - // this.$refs.multipleTable.toggleRowSelection(item); - // }); - // } - // }) - // }) this.multipleSelection.map((item)=>{ this.$nextTick(() => { this.$refs.multipleTable.toggleRowSelection(item); @@ -559,7 +550,6 @@ export default { let count = 0; let data = await this.$api.yingji.bPlanEnterpriseList(); this.selectList = data.data; - // console.log(data) data.data.map((item) => { item["uscCode"] = item.enterpriseId; this.$nextTick(() => {