Merge branch 'main' of ssh://git.jizhiweb.cn:2222/clinic-v2/web
This commit is contained in:
commit
0fa3bf802e
|
|
@ -219,8 +219,8 @@ const init = () => {
|
||||||
pageSize: 50
|
pageSize: 50
|
||||||
};
|
};
|
||||||
post("vip/vip/list", query).then((res: any) => {
|
post("vip/vip/list", query).then((res: any) => {
|
||||||
list.value = res;
|
list.value = res.list;
|
||||||
listItem.value = res[0];
|
listItem.value = res.list[0];
|
||||||
// 向每个对象添加新的属性
|
// 向每个对象添加新的属性
|
||||||
list.value.forEach((item: any) => {
|
list.value.forEach((item: any) => {
|
||||||
if (!item.levelId) return
|
if (!item.levelId) return
|
||||||
|
|
@ -264,7 +264,7 @@ const purchase = (id: any) => {
|
||||||
pageSize: pageSize.value,
|
pageSize: pageSize.value,
|
||||||
vipId: id
|
vipId: id
|
||||||
}
|
}
|
||||||
post('retail/list', {query}).then((res: any) => {
|
post('charge/list', {query}).then((res: any) => {
|
||||||
tableData.value = res.list
|
tableData.value = res.list
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue