套餐设置套餐管理完善
This commit is contained in:
@@ -398,8 +398,13 @@ function resetQuery() {
|
||||
getPageList();
|
||||
}
|
||||
|
||||
function getPageList() {
|
||||
function getPageList(pagination) {
|
||||
loading.value = true;
|
||||
// 如果传入了分页参数,更新queryParams
|
||||
if (pagination) {
|
||||
queryParams.value.pageNo = pagination.page;
|
||||
queryParams.value.pageSize = pagination.limit;
|
||||
}
|
||||
// 创建API调用的查询参数副本,处理classEnum的转换
|
||||
const apiParams = { ...queryParams.value };
|
||||
if (Array.isArray(apiParams.classEnum)) {
|
||||
@@ -435,6 +440,7 @@ function getPageList() {
|
||||
|
||||
organization.value = processedData;
|
||||
total.value = res.data.total;
|
||||
|
||||
}).catch(error => {
|
||||
console.error('获取科室列表失败:', error);
|
||||
proxy.$modal.msgError('获取科室列表失败,请稍后重试');
|
||||
|
||||
Reference in New Issue
Block a user