| | |
| | | import dizhi from '../components/dizhi.vue' |
| | | import { userInfoStore } from '@/stores/userInfo' |
| | | const userInfo = userInfoStore() |
| | | const emit = defineEmits(['fanhuiFun']) |
| | | const AllChecked=ref(false) |
| | | const loading = ref(false) |
| | | const isAdmin=ref(false) |
| | |
| | | Toast.success('删除成功') |
| | | console.log(re) |
| | | isAdmin.value=false |
| | | emit('fanhuiFun') |
| | | getPages() |
| | | }) |
| | | |
| | |
| | | console.log(re) |
| | | if (re==='OK'){ |
| | | Toast.success('您已经兑换成功') |
| | | emit('fanhuiFun') |
| | | show.value=false |
| | | } else { |
| | | Toast('兑换失败') |
| | |
| | | <dizhi @fanhui-fun="feihuDizhi" ref="dizhiRef"></dizhi> |
| | | </div> |
| | | <div> |
| | | <gouwuche ref="gouwucheRef"></gouwuche> |
| | | <gouwuche ref="gouwucheRef" @fanhui-fun="feihuGwc"></gouwuche> |
| | | </div> |
| | | <div> |
| | | <myOrder ref="myOrderRef"></myOrder> |
| | |
| | | patientAddress:row.address, |
| | | } |
| | | } |
| | | const feihuGwc=()=>{ |
| | | getListGwc() |
| | | } |
| | | const getListGwc=()=>{ |
| | | ajaxPost('/eshop/cart/list',`page=0&size=0&wherecondition=patient_code=\'${patientInfo.value.patientInfo.code}\'`) |
| | | .then((re:any)=>{ |