From 102e0894e6be58a6b90e3ef4a18a45313c9fed1b Mon Sep 17 00:00:00 2001 From: shenyuan Date: Tue, 20 Dec 2022 18:17:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AC=BE=E5=BC=8F=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/zyclothsstyle/ZyClothsStyleList.vue | 6 +++--- .../zyclothsstyle/modules/ZyClothsStyleListDetail.vue | 9 ++------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/zyclothsstyle/ZyClothsStyleList.vue b/ant-design-vue-jeecg/src/views/zyclothsstyle/ZyClothsStyleList.vue index 33ad0d9f..a4bce06c 100644 --- a/ant-design-vue-jeecg/src/views/zyclothsstyle/ZyClothsStyleList.vue +++ b/ant-design-vue-jeecg/src/views/zyclothsstyle/ZyClothsStyleList.vue @@ -120,7 +120,7 @@ 编辑 - 详情 + 详情 删除 @@ -301,8 +301,8 @@ }); }, // 详情 - handleDetail(record){ - this.$refs.ZyClothsStyleListDetail.showModal(record) + handleDetail(id){ + this.$refs.ZyClothsStyleListDetail.showModal(id) }, getSuperFieldList() { let fieldList = []; diff --git a/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue b/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue index eadcfd84..bce304ea 100644 --- a/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue +++ b/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue @@ -368,10 +368,9 @@ } }, methods: { - showModal(record) { + showModal(id) { this.visible = true; - this.model = record - this.id = record.id + this.id = id // this.$http.get('/zyclothsstyle/zyClothsStyle/detail?id='+record.id).then( // res=>{ // console.log('res') @@ -390,8 +389,6 @@ }); } this.confirmLoading = false - console.log('res.result') - console.log(res.result) if(this.data1.length == 0){ this.data1.push(res.result.zyClothsStyle) } @@ -399,8 +396,6 @@ this.data3 = res.result.zyStyleAccessoriesList this.data = res.result.zyStyleModuleList this.data5 = res.result.zyStyleModularList - console.log('data') - console.log(this.data) }, handleOk(e) { this.confirmLoading = true;