Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
094877b4
authored
2020-11-23 18:21:04 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
height报错修复
1 parent
8a6c87a9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
7 deletions
src/views/panel/add/index.vue
src/views/panel/change/fwsxbg/index.vue
src/views/panel/index.vue
src/views/panel/modify/index.vue
src/views/panel/search/index.vue
src/views/panel/add/index.vue
View file @
094877b
...
...
@@ -79,7 +79,9 @@
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
})
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
})
},
methods
:
{
handleCurrentChange
(
val
)
{
...
...
src/views/panel/change/fwsxbg/index.vue
View file @
094877b
...
...
@@ -73,7 +73,9 @@
},
mounted
()
{
this
.
getData
({})
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
})
},
methods
:
{
onSubmit
()
{
...
...
src/views/panel/index.vue
View file @
094877b
...
...
@@ -95,7 +95,9 @@ export default {
};
},
mounted
()
{
this
.
tableHeight
=
this
.
$refs
.
notice
.
offsetHeight
-
53
;
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
notice
.
offsetHeight
-
53
;
})
},
methods
:
{
handleSelect
()
{},
...
...
src/views/panel/modify/index.vue
View file @
094877b
...
...
@@ -78,7 +78,9 @@
},
mounted
()
{
this
.
getData
({})
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
})
},
methods
:
{
handleCurrentChange
(
val
)
{
...
...
src/views/panel/search/index.vue
View file @
094877b
...
...
@@ -63,15 +63,17 @@
pageNo
:
1
,
pageSize
:
15
,
tableData
:
[],
tableHeight
:
""
,
tableHeight
:
0
,
queryData
:
{}
};
},
created
()
{
},
mounted
()
{
this
.
getData
({
pageSize
:
15
})
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
this
.
getData
({
pageSize
:
15
});
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
})
},
methods
:
{
onSubmit
()
{
...
...
Please
register
or
sign in
to post a comment