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