Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuIncubator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kimber
GaoQuIncubator
Commits
a1e63816
Commit
a1e63816
authored
Nov 22, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
overview 数据切换问题
parent
38b10e76
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
settings.js
config/settings.js
+2
-2
overview.vue
src/views/system/home/overview.vue
+13
-0
No files found.
config/settings.js
View file @
a1e63816
// var ServiceURL = 'http://192.168.3.216:9002';
// var ServiceURL = 'http://192.168.3.216:9002';
// var ServiceURL = 'http://192.168.3.250:9103';
// var ServiceURL = 'http://192.168.3.250:9103';
// var ServiceURL = 'http://gqfhq.gemho.cn:9103';
// var ServiceURL = 'http://gqfhq.gemho.cn:9103';
// 正式环境
var
ServiceURL
=
'
http://192.168.3.226:9103
'
var
ServiceURL
=
'
http://192.168.3.226:9103
'
// 测试环境
...
...
src/views/system/home/overview.vue
View file @
a1e63816
...
@@ -619,10 +619,22 @@
...
@@ -619,10 +619,22 @@
if
(
~~
this
.
activeIndex
===
1
||
~~
this
.
activeIndex
===
2
||
~~
this
.
activeIndex
===
3
){
if
(
~~
this
.
activeIndex
===
1
||
~~
this
.
activeIndex
===
2
||
~~
this
.
activeIndex
===
3
){
this
.
searchQuery4panel1
=
''
// 清空公司搜索框
this
.
searchQuery4panel1
=
''
// 清空公司搜索框
// 重置分页条件查询信息
this
.
totalCount4panel1
=
0
// 总条目数
this
.
currentPage4panel1
=
0
// 当前页码
this
.
pageSize4panel1
=
10
// 每页显示的条目数量
this
.
getData4panel1
()
this
.
getData4panel1
()
}
else
if
(
~~
this
.
activeIndex
===
0
){
}
else
if
(
~~
this
.
activeIndex
===
0
){
this
.
totalCount4panel0
=
0
// 总条目数
this
.
currentPage4panel0
=
0
// 当前页码
this
.
pageSize4panel0
=
10
// 每页显示的条目数量
this
.
getData4panel0
()
this
.
getData4panel0
()
}
else
if
(
~~
this
.
activeIndex
===
4
){
}
else
if
(
~~
this
.
activeIndex
===
4
){
// 重置分页条件查询信息
this
.
totalCount4panel4
=
0
// 总条目数
this
.
currentPage4panel4
=
0
// 当前页码
this
.
pageSize4panel4
=
10
// 每页显示的条目数量
this
.
getData4panel4
()
this
.
getData4panel4
()
}
}
...
@@ -662,6 +674,7 @@
...
@@ -662,6 +674,7 @@
}
}
overviewApi
overviewApi
.
getData4enterprise
({
.
getData4enterprise
({
// 之所以减一操作时因为后台page从0开始,而组件分页时1开始。
page
:
this
.
currentPage4panel1
>
0
?
this
.
currentPage4panel1
-
1
:
this
.
currentPage4panel1
,
page
:
this
.
currentPage4panel1
>
0
?
this
.
currentPage4panel1
-
1
:
this
.
currentPage4panel1
,
size
:
this
.
pageSize4panel1
,
size
:
this
.
pageSize4panel1
,
incubatorId
:
this
.
incubatorId
,
incubatorId
:
this
.
incubatorId
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment