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
0a706607
authored
2020-11-24 16:52:56 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
b3866baa
b0ed247e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
26 deletions
src/components/lineTree/lineItem.vue
src/components/lineTree/lineTree.vue
src/views/Home.vue
src/views/panel/add/index.vue
src/views/panel/modify/index.vue
src/views/zd/zddcb/index.vue
src/components/lineTree/lineItem.vue
View file @
0a70660
<
template
>
<div
class=
"tree_item_box"
:class=
"list.length>10 ? 'ofy_scroll':''"
:style=
"
{maxHeight:(list.length > 10 ? treeXzqHeight:'unset')+'px'}"
>
<div
class=
"tree_item_box"
>
<div
class=
"column-start-start linkLine_default"
v-for=
"(item, s_index) in list"
...
...
@@ -97,9 +97,7 @@ export default {
}
},
mounted
(){
this
.
$nextTick
(()
=>
{
this
.
treeXzqHeight
=
this
.
$parent
.
$el
.
clientHeight
-
(
this
.
formatData
.
length
-
1
)
*
26
+
60
;
})
},
methods
:
{
itemClick
(
item
)
{
...
...
@@ -231,10 +229,10 @@ export default {
width
:
100%
;
cursor
:
pointer
;
}
.ofy_scroll
{
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
//
.ofy_scroll
{
//
overflow-y
:
scroll
;
//
overflow-x
:
hidden
;
//
}
.basic_layer
{
width
:
100%
;
position
:
relative
;
...
...
src/components/lineTree/lineTree.vue
View file @
0a70660
...
...
@@ -299,8 +299,10 @@ export default {
},
//右键菜单的删除
deleteByBsm
(){
console
.
log
(
this
.
zdData
.
zdbsm
);
let
params
=
{
"bsm"
:
this
.
zdData
.
zdbsm
,
"type"
:
this
.
zdData
.
type
}
let
params
=
{
"bsm"
:
this
.
zdData
.
bsm
,
"type"
:
this
.
zdData
.
type
};
if
(
this
.
zdData
.
type
==
'zd'
){
params
=
{
"bsm"
:
this
.
zdData
.
zdbsm
,
"type"
:
this
.
zdData
.
type
};
}
deleteZdInfoByBsm
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
=
200
){
...
...
@@ -326,6 +328,8 @@ export default {
.content
{
height
:
100%
;
width
:
100%
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
.column-start-center
{
display
:
flex
;
...
...
src/views/Home.vue
View file @
0a70660
...
...
@@ -14,7 +14,7 @@
<LineTree
:pd=
"pd"
@
itemClick=
"itemClick"
></LineTree>
</div>
</el-aside>
<el-container>
<el-container
class=
"calcWidth"
>
<el-header>
<div
class=
"header-top"
>
<div
class=
"top-items"
@
click=
"toggleClick"
>
...
...
@@ -328,6 +328,9 @@ export default {
.home-box
{
width
:
100%
;
height
:
100vh
;
.calcWidth{
width
:
calc
(
100%
-
300px
);
}
.el-container
{
height
:
100%
;
}
...
...
src/views/panel/add/index.vue
View file @
0a70660
...
...
@@ -69,7 +69,7 @@
type
:
[],
},
tableData
:
[],
tableHeight
:
""
,
tableHeight
:
0
,
};
},
created
()
{
...
...
@@ -79,9 +79,9 @@
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
})
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
})
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
255
;
});
},
methods
:
{
handleCurrentChange
(
val
)
{
...
...
@@ -150,7 +150,7 @@
padding
:
0
18px
;
display
:
flex
;
flex-direction
:
column
;
background-color
:
#
fcfdff
;
background-color
:
#
EAEDF5
;
.demo-form-inline
{
margin-top
:
18px
;
.moreSearchBtn
{
...
...
src/views/panel/modify/index.vue
View file @
0a70660
...
...
@@ -71,16 +71,16 @@
},
queryData
:
{},
tableData
:
[],
tableHeight
:
""
,
tableHeight
:
0
,
};
},
created
()
{
},
mounted
()
{
this
.
getData
({})
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
dataGrid
.
offsetHeight
-
68
;
})
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
255
;
});
},
methods
:
{
handleCurrentChange
(
val
)
{
...
...
@@ -168,7 +168,7 @@
padding
:
0
18px
;
display
:
flex
;
flex-direction
:
column
;
background-color
:
#
fcfdff
;
background-color
:
#
EAEDF5
;
.demo-form-inline
{
margin-top
:
18px
;
.moreSearchBtn
{
...
...
@@ -182,7 +182,6 @@
}
.dataGrid
{
flex
:
1
;
margin-top
:
20px
;
.pagination
{
padding
:
18px
0
;
}
...
...
src/views/zd/zddcb/index.vue
View file @
0a70660
...
...
@@ -413,11 +413,12 @@ export default {
formData
:
{},
};
},
created
()
{
let
bsm
=
this
.
$store
.
state
.
zdbsm
;
this
.
getZdjbxxData
(
bsm
);
created
()
{
},
mounted
()
{
this
.
getZdjbxxData
(
this
.
$store
.
state
.
zdbsm
);
},
mounted
()
{},
methods
:
{
//根据zdbsm查询基本信息
getZdjbxxData
(
bsm
)
{
...
...
Please
register
or
sign in
to post a comment