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
7c5378ab
authored
2020-12-24 14:36:47 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
重新落宗选中户判断
1 parent
b06136ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
20 deletions
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
7c5378a
...
...
@@ -608,27 +608,45 @@ export default {
if
(
e
.
className
.
indexOf
(
"tdSelect"
)
==
-
1
)
{
//未选中→选中
e
.
className
=
"tdSelect"
;
//加边框
if
(
this
.
isHbfg
){
this
.
fghbChoosedList
.
push
(
hs
);
this
.
hbsmList
.
push
(
bsm
);
// 将户bsm放进hbsmList
}
else
{
this
.
hbsmList
.
push
(
bsm
);
// 将户bsm放进hbsmList
this
.
hbsmList
.
push
(
bsm
);
// 将户bsm放进hbsmList
switch
(
this
.
lpbParent
)
{
case
'isHbfg'
:
this
.
fghbChoosedList
.
push
(
hs
);
break
;
case
'isFwsxbg'
:
break
;
case
'isCxlz'
:
break
;
case
'isLpb'
:
break
;
default
:
break
;
}
}
else
{
//选中→未选中
e
.
className
=
""
;
if
(
this
.
isHbfg
){
this
.
deleteArrOption
(
this
.
fghbChoosedList
,
hs
)
this
.
deleteArrOption
(
this
.
hbsmList
,
bsm
);
}
else
{
this
.
deleteArrOption
(
this
.
hbsmList
,
bsm
);
switch
(
this
.
lpbParent
)
{
case
'isHbfg'
:
break
;
case
'isFwsxbg'
:
break
;
case
'isCxlz'
:
break
;
case
'isLpb'
:
this
.
$parent
.
getHbsm
(
this
.
hbsmList
,
false
);
break
;
default
:
break
;
}
}
if
(
this
.
isHbfg
){
}
else
{
this
.
$parent
.
getHbsm
(
this
.
hbsmList
,
false
);
}
},
200
);
},
//户双击事件
...
...
@@ -740,9 +758,7 @@ export default {
},
// 层选中事件
handleClickC
(
e
,
item
)
{
if
(
this
.
isHbfg
)
{
}
else
{
if
(
this
.
lpbParent
==
'isLpb'
)
{
//判断点击的层是否选中
if
(
e
.
target
.
className
.
indexOf
(
"tdSelect"
)
==
-
1
)
{
//未选中→选中
...
...
@@ -754,6 +770,8 @@ export default {
this
.
deleteArrOption
(
this
.
cbsmList
,
item
.
bsm
);
}
this
.
$parent
.
getCbsm
(
this
.
cbsmList
);
}
else
{
}
},
//关闭右键菜单
...
...
@@ -922,8 +940,7 @@ export default {
//户重新落宗
handleCxlz
(){
if
(
this
.
hbsmList
.
length
<=
0
)
{
Message
.
warning
(
"请选择操作户"
)
return
this
.
hbsmList
.
push
(
this
.
chData
);
}
this
.
hcxlzVisible
=
true
}
...
...
Please
register
or
sign in
to post a comment