| | |
| | | { |
| | | label: '评价图片:', |
| | | id: 'commentImages', |
| | | type: 'image', |
| | | type: 'bus-upload', |
| | | readonly: true, |
| | | el: { |
| | | listType: 'picture-card', |
| | | limit: 1, |
| | | limitSize: 2, |
| | | valueType: 'string', |
| | | }, |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | {params: {id: item.id}} |
| | | ) |
| | | if (code === 0) { |
| | | console.log(data); |
| | | console.log(data[0].orderId); |
| | | this.$refs.crud.$refs.extraDialog[0].show(data[0]) |
| | | const row = data[0]; |
| | | this.$refs.crud.$refs.extraDialog[0].show(row) |
| | | |
| | | } |
| | | }, |
| | |
| | | await this.$elBusUtil.confirm( |
| | | `确定要删除这个商品吗?` |
| | | ) |
| | | const {code, data} = await this.$elBusHttp.request( |
| | | const {code} = await this.$elBusHttp.request( |
| | | 'flower/api/v2/flower-comment/' + item.id + '', |
| | | { |
| | | method: 'delete', |