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
2f49ec6a
authored
2020-12-16 09:25:04 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
判断是否户合并分割业务下的楼盘表
1 parent
ed5aff1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
4 deletions
src/views/zrz/lpb/bjlp/lpbContent/index.vue
src/views/zrz/lpb/bjlp/lpbContent/index.vue
View file @
2f49ec6
...
...
@@ -303,7 +303,16 @@ import { getLpb, insertUpDownC, deleteCByBsm } from "../../../../../api/lpb";
export
default
{
name
:
""
,
components
:
{
moveH
},
props
:
{},
props
:
{
isHbfg
:{
type
:
Boolean
,
default
:
false
},
zrzbsm
:{
type
:
String
,
default
:
''
}
},
data
()
{
return
{
moveHvisible
:
false
,
...
...
@@ -344,13 +353,13 @@ export default {
},
formLabelWidth
:
"120px"
,
yclpbData
:{},
sclpbData
:{}
sclpbData
:{}
,
};
},
created
()
{},
mounted
()
{
this
.
getLpb
(
this
.
$store
.
state
.
zrzbsm
,
"0"
);
this
.
getLpb
(
this
.
$store
.
state
.
zrzbsm
,
"1"
);
this
.
getLpb
(
this
.
zrzbsm
,
"0"
);
this
.
getLpb
(
this
.
zrzbsm
,
"1"
);
setTimeout
(()
=>
{
//tab-content宽度 - 右侧图例宽度 - lp-overview滚动条宽度 - lpbContent的pandingRight
this
.
lpbContentWidth
=
this
.
$store
.
state
.
contentWidth
-
34
-
20
;
...
...
@@ -510,8 +519,12 @@ export default {
//户双击事件
dbclick
(
bsm
)
{
clearTimeout
(
this
.
time
);
if
(
this
.
isHbfg
)
{
}
else
{
// this.hbsmList.push(bsm); // 将户bsm放进hbsmList
this
.
$parent
.
getHbsm
(
bsm
,
true
);
}
},
//删除多重数组中的某一项
deleteArrOption
(
arr
,
item
)
{
...
...
@@ -536,15 +549,23 @@ export default {
},
//户右键点击事件
openMenu
(
e
,
item
,
type
)
{
if
(
this
.
isHbfg
)
{
}
else
{
console
.
log
(
e
,
"e"
);
this
.
lpbChLeft
=
e
.
pageX
;
this
.
lpbChTop
=
e
.
pageY
;
this
.
chData
=
item
;
this
.
rightClickFlag
=
type
;
this
.
lpbChVisible
=
true
;
}
},
// 层选中事件
handleClickC
(
e
,
item
)
{
if
(
this
.
isHbfg
)
{
}
else
{
//判断点击的层是否选中
if
(
e
.
target
.
className
.
indexOf
(
"tdSelect"
)
==
-
1
)
{
//未选中→选中
...
...
@@ -556,6 +577,7 @@ export default {
this
.
deleteArrOption
(
this
.
cbsmList
,
item
.
bsm
);
}
this
.
$parent
.
getCbsm
(
this
.
cbsmList
);
}
},
//关闭右键菜单
closeMenu
()
{
...
...
Please
register
or
sign in
to post a comment