修改用户查询接口接口

This commit is contained in:
dragon
2025-01-06 15:45:25 +08:00
parent 84e86deb73
commit ed17e47390
2 changed files with 9 additions and 2 deletions

View File

@@ -6,4 +6,11 @@ export const getPartitionInfoList = query => {
method: 'get',
params: query
});
};
export const listAll = query => {
return request({
url: '/partition/listAll',
method: 'get',
params: query
});
};

View File

@@ -271,7 +271,7 @@
<script>
import TableHelper from '@/utils/bootstrap-table-helper';
import { getPartitionInfoList } from '@/api/partition/partitionInfo';
import { listAll } from '@/api/partition/partitionInfo';
import { buildSelectOption } from '@/utils/system-helper';
export default {
@@ -902,7 +902,7 @@ export default {
},
initPartition() {
getPartitionInfoList().then(res => {
listAll().then(res => {
let data = res.data;
this.partitionInfos = data;
buildSelectOption(