Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Administrator
dsk-cr20g
Commits
8224a308
Commit
8224a308
authored
Sep 26, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
acddeef9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
index.vue
...operate-ui/src/views/custom/historicalCustomers/index.vue
+1
-1
localEconomy.vue
...e-ui/src/views/macro/economies/component/localEconomy.vue
+10
-1
qgjjdq.vue
...ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
+10
-0
No files found.
dsk-operate-ui/src/views/custom/historicalCustomers/index.vue
View file @
8224a308
...
...
@@ -18,7 +18,7 @@
</div>
</div>
<skeleton
v-if=
"isSkeleton"
></skeleton>
<el-table
v-if=
"!isSkeleton&&tableData.total > 0"
class=
"fixed-table"
v-horizontal-scroll=
"
tableData.total > 10 ? 'hover' : 'false'
"
max-height=
"640"
<el-table
v-if=
"!isSkeleton&&tableData.total > 0"
class=
"fixed-table"
v-horizontal-scroll=
"
hover
"
max-height=
"640"
:data=
"tableData.rows"
stripe
border
style=
"width: 100%"
>
...
...
dsk-operate-ui/src/views/macro/economies/component/localEconomy.vue
View file @
8224a308
...
...
@@ -22,7 +22,7 @@
v-loading=
"tableLoading"
:data=
"tableData"
border
v-horizontal-scroll=
"
tableData.total > 15 ? 'hover' : 'false
'"
v-horizontal-scroll=
"
'hover
'"
highlight-current-row
@
sort-change=
"sortChange"
:default-sort =
"
{prop: 'gdp', order: 'descending'}"
...
...
@@ -98,6 +98,15 @@ export default {
getYears
({}).
then
(
res
=>
{
this
.
yearOptions
=
res
.
data
.
reverse
();
})
//列表一屏幕显示完整,底部滚动条隐藏
const
targetTableWrapperEl
=
document
.
querySelector
(
'.el-table__body-wrapper'
)
const
viewHeight
=
window
.
innerHeight
||
document
.
documentElement
.
clientHeight
const
{
bottom
}
=
targetTableWrapperEl
.
getBoundingClientRect
()
if
(
bottom
<=
viewHeight
)
{
targetTableWrapperEl
.
style
.
display
=
'initial'
}
else
{
targetTableWrapperEl
.
style
.
display
=
'none'
}
},
methods
:
{
getData
(){
...
...
dsk-operate-ui/src/views/macro/nationalEconomies/component/qgjjdq.vue
View file @
8224a308
...
...
@@ -156,6 +156,16 @@
this
.
querySubmit
()
this
.
dataRegion
()
this
.
getYears
()
//列表一屏幕显示完整,底部滚动条隐藏
const
targetTableWrapperEl
=
document
.
querySelector
(
'.el-table__body-wrapper'
)
const
viewHeight
=
window
.
innerHeight
||
document
.
documentElement
.
clientHeight
const
{
bottom
}
=
targetTableWrapperEl
.
getBoundingClientRect
()
if
(
bottom
<=
viewHeight
)
{
targetTableWrapperEl
.
style
.
display
=
'initial'
}
else
{
targetTableWrapperEl
.
style
.
display
=
'none'
}
},
mounted
()
{
...
...
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