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
cd1d73e7
authored
2020-11-30 14:45:57 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
2 parents
aa4ac7f8
ad511cad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
25 deletions
src/assets/less/main.less
src/components/lineTree/lineTree.vue
src/assets/less/main.less
View file @
cd1d73e
...
...
@@ -40,6 +40,9 @@ table{
table,td,tr,.el-col,.title{
border-color: #E6E6E6 !important;
}
.el-table th{
background-color: #FBFBFB;
}
.formInput {
height: 100%;
width: 100%;
...
...
src/components/lineTree/lineTree.vue
View file @
cd1d73e
...
...
@@ -300,26 +300,46 @@ export default {
},
//右键菜单的删除
deleteByBsm
(){
let
params
=
{
"bsm"
:
this
.
zdData
.
bsm
,
"type"
:
this
.
zdData
.
type
};
if
(
this
.
zdData
.
type
==
'zd'
){
params
=
{
"bsm"
:
this
.
zdData
.
zdbsm
,
"type"
:
this
.
zdData
.
type
};
let
name
=
''
;
switch
(
this
.
zdData
.
type
)
{
case
'zd'
:
name
=
'宗地'
break
;
case
'dz'
:
name
=
'多幢'
break
;
case
'zrz'
:
name
=
'自然幢'
break
;
default
:
break
;
}
deleteZdInfoByBsm
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
=
200
){
this
.
$message
({
message
:
res
.
message
,
type
:
"success"
,
});
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
})
.
catch
((
error
)
=>
{});
this
.
$confirm
(
'是否确定删除该'
+
name
+
'?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
let
params
=
{
"bsm"
:
this
.
zdData
.
bsm
,
"type"
:
this
.
zdData
.
type
};
deleteZdInfoByBsm
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
code
=
200
){
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
this
.
$router
.
push
(
"/panel"
);
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
})
.
catch
((
error
)
=>
{});
}).
catch
(()
=>
{
});
},
},
};
...
...
@@ -352,12 +372,6 @@ export default {
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
//
.active_color
{
//
color
:
#ffffff
;
//
}
.reTree_box
{
//
overflow-y
:
auto
;
}
.reTree_icon
{
width
:
17px
;
height
:
17px
;
...
...
@@ -369,7 +383,6 @@ export default {
position
:
relative
;
color
:
#ffffff
;
cursor
:
pointer
;
moz-user-select
:
-moz-none
;
-moz-user-select
:
none
;
-o-user-select
:
none
;
-khtml-user-select
:
none
;
...
...
Please
register
or
sign in
to post a comment