mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 20:08:40 +08:00
页面分页搜索问题
This commit is contained in:
parent
783d3dc2c7
commit
9443eb0a63
@ -70,7 +70,7 @@ export default {
|
||||
list: [],
|
||||
buildList: [],
|
||||
total: 0,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
|
||||
temp: {},
|
||||
buildLogVisible: false,
|
||||
|
@ -230,7 +230,7 @@ export default {
|
||||
releaseMethodMap: releaseMethodMap,
|
||||
releaseMethodArray: releaseMethodArray,
|
||||
loading: false,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
// 动态列表参数
|
||||
groupList: [],
|
||||
list: [],
|
||||
|
@ -335,7 +335,7 @@ export default {
|
||||
return {
|
||||
loading: false,
|
||||
childLoading: false,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
list: [],
|
||||
accessList: [],
|
||||
nodeList: [],
|
||||
|
@ -66,7 +66,7 @@ export default {
|
||||
nodeList: [],
|
||||
dispatchList: [],
|
||||
total: 0,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
|
||||
temp: {},
|
||||
detailVisible: false,
|
||||
|
@ -73,7 +73,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
list: [],
|
||||
userList: [],
|
||||
nodeProjectList: [],
|
||||
|
@ -54,7 +54,7 @@ export default {
|
||||
loading: false,
|
||||
list: [],
|
||||
nodeList: [],
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
temp: {},
|
||||
detailVisible: false,
|
||||
detailData: [],
|
||||
|
@ -79,7 +79,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
list: [],
|
||||
|
||||
classFeature: [],
|
||||
|
@ -136,7 +136,7 @@ export default {
|
||||
return {
|
||||
loading: false,
|
||||
childLoading: false,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
sshList: [],
|
||||
list: [],
|
||||
temp: {
|
||||
|
@ -270,7 +270,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
accessList: [],
|
||||
jdkList: [],
|
||||
runModeList: ["ClassPath", "Jar", "JarWar", "JavaExtDirsCp", "File"],
|
||||
|
@ -48,7 +48,7 @@ import { mapGetters } from "vuex";
|
||||
import File from "../node/node-layout/project/project-file";
|
||||
import Console from "../node/node-layout/project/project-console";
|
||||
import { parseTime, itemGroupBy } from "@/utils/time";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL } from "@/utils/const";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL, PAGE_DEFAULT_LIST_QUERY } from "@/utils/const";
|
||||
export default {
|
||||
components: {
|
||||
File,
|
||||
@ -59,7 +59,7 @@ export default {
|
||||
projList: [],
|
||||
|
||||
selectedRowKeys: [],
|
||||
listQuery: { page: 1, limit: PAGE_DEFAULT_LIMIT, total: 0 },
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
|
||||
drawerTitle: "",
|
||||
temp: {},
|
||||
|
@ -210,7 +210,7 @@ import { deleteSsh, editSsh, getSshList, getSshOperationLogList, installAgentNod
|
||||
import SshFile from "./ssh-file";
|
||||
import Terminal from "./terminal";
|
||||
import { parseTime } from "@/utils/time";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL } from "@/utils/const";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL, PAGE_DEFAULT_LIST_QUERY } from "@/utils/const";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@ -222,7 +222,7 @@ export default {
|
||||
loading: false,
|
||||
list: [],
|
||||
temp: {},
|
||||
listQuery: { page: 1, limit: PAGE_DEFAULT_LIMIT, total: 0 },
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
editSshVisible: false,
|
||||
nodeVisible: false,
|
||||
tempNode: {},
|
||||
|
@ -55,7 +55,7 @@ import { getMonitorOperateTypeList } from "@/api/monitor";
|
||||
import { getNodeListAll } from "@/api/node";
|
||||
import { getUserListAll } from "@/api/user";
|
||||
import { parseTime } from "@/utils/time";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL } from "@/utils/const";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL, PAGE_DEFAULT_LIST_QUERY } from "@/utils/const";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -64,11 +64,7 @@ export default {
|
||||
nodeList: [],
|
||||
nodeMap: {},
|
||||
userList: [],
|
||||
listQuery: {
|
||||
page: 1,
|
||||
limit: PAGE_DEFAULT_LIMIT,
|
||||
total: 0,
|
||||
},
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
methodFeature: [],
|
||||
classFeature: [],
|
||||
methodFeatureMap: {},
|
||||
|
@ -134,7 +134,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
listQuery: PAGE_DEFAULT_LIST_QUERY,
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
list: [],
|
||||
total: 0,
|
||||
temp: {},
|
||||
|
@ -73,7 +73,7 @@
|
||||
import { mapGetters } from "vuex";
|
||||
import { getBackupList, getTableNameList, createBackup, downloadBackupFile, deleteBackup, restoreBackup, uploadBackupFile, backupTypeMap, backupStatusMap } from "../../api/backup-info";
|
||||
import { parseTime, renderSize } from "@/utils/time";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL } from "@/utils/const";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL, PAGE_DEFAULT_LIST_QUERY } from "@/utils/const";
|
||||
|
||||
export default {
|
||||
components: {},
|
||||
@ -82,7 +82,7 @@ export default {
|
||||
backupTypeMap: backupTypeMap,
|
||||
backupStatusMap: backupStatusMap,
|
||||
loading: false,
|
||||
listQuery: { page: 1, limit: PAGE_DEFAULT_LIMIT, total: 0 },
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
backupTypeList: [
|
||||
{ key: 0, value: "全量" },
|
||||
{ key: 1, value: "部分" },
|
||||
|
@ -30,7 +30,7 @@
|
||||
<script>
|
||||
import { getWorkSpaceList, editWorkSpace, deleteWorkspace } from "@/api/workspace";
|
||||
import { parseTime } from "@/utils/time";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL } from "@/utils/const";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL, PAGE_DEFAULT_LIST_QUERY } from "@/utils/const";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@ -38,11 +38,7 @@ export default {
|
||||
loading: false,
|
||||
list: [],
|
||||
|
||||
listQuery: {
|
||||
page: 1,
|
||||
limit: PAGE_DEFAULT_LIMIT,
|
||||
total: 0,
|
||||
},
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
editVisible: false,
|
||||
temp: {},
|
||||
columns: [
|
||||
|
@ -54,7 +54,7 @@ import { getUserList, editUser, deleteUser, unlockUser, workspaceList } from "@/
|
||||
import { getWorkSpaceListAll } from "@/api/workspace";
|
||||
import { parseTime } from "@/utils/time";
|
||||
import sha1 from "sha1";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL } from "@/utils/const";
|
||||
import { PAGE_DEFAULT_LIMIT, PAGE_DEFAULT_SIZW_OPTIONS, PAGE_DEFAULT_SHOW_TOTAL, PAGE_DEFAULT_LIST_QUERY } from "@/utils/const";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -65,11 +65,7 @@ export default {
|
||||
temp: {},
|
||||
createOption: true,
|
||||
editUserVisible: false,
|
||||
listQuery: {
|
||||
page: 1,
|
||||
limit: PAGE_DEFAULT_LIMIT,
|
||||
total: 0,
|
||||
},
|
||||
listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY),
|
||||
columns: [
|
||||
{ title: "ID", dataIndex: "id", ellipsis: true, width: 150 },
|
||||
{ title: "昵称", dataIndex: "name", ellipsis: true },
|
||||
|
Loading…
Reference in New Issue
Block a user