| | |
| | | export function findAll (data) { |
| | | return request.post('/business/member/findAll', data) |
| | | } |
| | | export function detail (id) { |
| | | return request.get(`/business/member/${id}`) |
| | | } |
| | | export function updateShop (data) { |
| | | return request.post('/business/member/updateShop', data) |
| | | } |
| | |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaChangeShopRecordWindow from '@/components/business/OperaChangeShopRecordWindow' |
| | | import OperaChangeIntegralWindow from '@/components/business/OperaChangeIntegralWindow' |
| | | import { detail } from '@/api/business/member' |
| | | export default { |
| | | name: 'OperaShopGoodsWindow', |
| | | extends: BaseTable, |
| | |
| | | methods: { |
| | | successBiz(){ |
| | | this.handlePageChange() |
| | | this.loadInfo() |
| | | this.$emit('success') |
| | | }, |
| | | loadInfo(){ |
| | | detail(this.info.id).then(res => { |
| | | this.info =res || this.info |
| | | }) |
| | | }, |
| | | loadInfo(){ |
| | | this.handlePageChange() |
| | | this.$emit('success') |
| | | }, |
| | | showChangeRecord () { |