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;