diff --git a/web-vue/src/pages/build/history.vue b/web-vue/src/pages/build/history.vue index cce3fc9da..cdbbd4127 100644 --- a/web-vue/src/pages/build/history.vue +++ b/web-vue/src/pages/build/history.vue @@ -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, diff --git a/web-vue/src/pages/build/list-info.vue b/web-vue/src/pages/build/list-info.vue index a480024a6..d24e8bc61 100644 --- a/web-vue/src/pages/build/list-info.vue +++ b/web-vue/src/pages/build/list-info.vue @@ -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: [], diff --git a/web-vue/src/pages/dispatch/list.vue b/web-vue/src/pages/dispatch/list.vue index 409c00ad0..4f76472b6 100644 --- a/web-vue/src/pages/dispatch/list.vue +++ b/web-vue/src/pages/dispatch/list.vue @@ -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: [], diff --git a/web-vue/src/pages/dispatch/log.vue b/web-vue/src/pages/dispatch/log.vue index 848f99319..53176cea6 100644 --- a/web-vue/src/pages/dispatch/log.vue +++ b/web-vue/src/pages/dispatch/log.vue @@ -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, diff --git a/web-vue/src/pages/monitor/list.vue b/web-vue/src/pages/monitor/list.vue index 1831f0d4a..e4965909f 100644 --- a/web-vue/src/pages/monitor/list.vue +++ b/web-vue/src/pages/monitor/list.vue @@ -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: [], diff --git a/web-vue/src/pages/monitor/log.vue b/web-vue/src/pages/monitor/log.vue index 4d71871d1..3db587126 100644 --- a/web-vue/src/pages/monitor/log.vue +++ b/web-vue/src/pages/monitor/log.vue @@ -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: [], diff --git a/web-vue/src/pages/monitor/operate-log.vue b/web-vue/src/pages/monitor/operate-log.vue index 4fd9797d7..fc57377c3 100644 --- a/web-vue/src/pages/monitor/operate-log.vue +++ b/web-vue/src/pages/monitor/operate-log.vue @@ -79,7 +79,7 @@ export default { data() { return { loading: false, - listQuery: PAGE_DEFAULT_LIST_QUERY, + listQuery: Object.assign({}, PAGE_DEFAULT_LIST_QUERY), list: [], classFeature: [], diff --git a/web-vue/src/pages/node/list.vue b/web-vue/src/pages/node/list.vue index 11fd408da..92a992e77 100644 --- a/web-vue/src/pages/node/list.vue +++ b/web-vue/src/pages/node/list.vue @@ -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: { diff --git a/web-vue/src/pages/node/node-layout/project/project-list.vue b/web-vue/src/pages/node/node-layout/project/project-list.vue index 0ef4770cf..1612f23d1 100644 --- a/web-vue/src/pages/node/node-layout/project/project-list.vue +++ b/web-vue/src/pages/node/node-layout/project/project-list.vue @@ -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"], diff --git a/web-vue/src/pages/node/search.vue b/web-vue/src/pages/node/search.vue index 79124a31a..ae10eb280 100644 --- a/web-vue/src/pages/node/search.vue +++ b/web-vue/src/pages/node/search.vue @@ -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: {}, diff --git a/web-vue/src/pages/node/ssh.vue b/web-vue/src/pages/node/ssh.vue index 91e40c6a1..78216d41c 100644 --- a/web-vue/src/pages/node/ssh.vue +++ b/web-vue/src/pages/node/ssh.vue @@ -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: {}, diff --git a/web-vue/src/pages/operation-log/index.vue b/web-vue/src/pages/operation-log/index.vue index baf0523d6..bdcadf705 100644 --- a/web-vue/src/pages/operation-log/index.vue +++ b/web-vue/src/pages/operation-log/index.vue @@ -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: {}, diff --git a/web-vue/src/pages/repository/list.vue b/web-vue/src/pages/repository/list.vue index 3d88aef9b..4e851779c 100644 --- a/web-vue/src/pages/repository/list.vue +++ b/web-vue/src/pages/repository/list.vue @@ -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: {}, diff --git a/web-vue/src/pages/system/backup.vue b/web-vue/src/pages/system/backup.vue index f0da96d33..45f35f5fd 100644 --- a/web-vue/src/pages/system/backup.vue +++ b/web-vue/src/pages/system/backup.vue @@ -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: "部分" }, diff --git a/web-vue/src/pages/system/workspace.vue b/web-vue/src/pages/system/workspace.vue index 416862993..0cc277368 100644 --- a/web-vue/src/pages/system/workspace.vue +++ b/web-vue/src/pages/system/workspace.vue @@ -30,7 +30,7 @@