修改用户查询接口接口
This commit is contained in:
@@ -7,3 +7,10 @@ export const getPartitionInfoList = query => {
|
|||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
export const listAll = query => {
|
||||||
|
return request({
|
||||||
|
url: '/partition/listAll',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
});
|
||||||
|
};
|
@@ -271,7 +271,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TableHelper from '@/utils/bootstrap-table-helper';
|
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';
|
import { buildSelectOption } from '@/utils/system-helper';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -902,7 +902,7 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
initPartition() {
|
initPartition() {
|
||||||
getPartitionInfoList().then(res => {
|
listAll().then(res => {
|
||||||
let data = res.data;
|
let data = res.data;
|
||||||
this.partitionInfos = data;
|
this.partitionInfos = data;
|
||||||
buildSelectOption(
|
buildSelectOption(
|
||||||
|
Reference in New Issue
Block a user