Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
9c222fd6
authored
2022-11-07 16:50:53 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:楼盘表
1 parent
83f1fbe2
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
172 additions
and
132 deletions
src/api/lpb.js
src/components/formMenu/qlr.vue
src/components/hCxlz/hCxlz.vue
src/components/lineTree/lineTree.vue
src/components/moveH/moveH.vue
src/components/plc/plC.vue
src/components/plh/plH.vue
src/components/plsh/plSh.vue
src/components/plzl/plZl.vue
src/permission.js
src/router/index.js
src/store/modules/lpb.js
src/store/modules/user.js
src/views/components/bjlp/hbj/lpb-hbj/index.vue
src/views/components/bjlp/index.vue
src/views/components/bjlp/lpbContent/index.vue
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/javascript/fwsyq.js
src/views/ywbl/ywsq/ywsq.vue
src/views/zhcx/djbcx/djbcx.vue
src/views/zhcx/djbcx/djbcxdata.js
src/api/lpb.js
View file @
9c222fd
...
...
@@ -13,10 +13,9 @@ export function getLpZrz (data) {
}
// 获取楼盘表
export
function
getLpb
(
params
)
{
export
function
getLpb
(
zrzbsm
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/zhcx/lpcx/getLpb/'
,
method
:
'get'
,
params
url
:
SERVER
.
SERVERAPI
+
'/rest/zhcx/lpcx/getLpb?zrzbsm='
+
zrzbsm
,
method
:
'get'
})
}
...
...
src/components/formMenu/qlr.vue
View file @
9c222fd
...
...
@@ -65,8 +65,8 @@
<el-table-column
prop=
"dh"
label=
"联系电话"
align=
"center"
>
</el-table-column>
</el-table>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"权利人信息"
:visible
.
sync=
"dialogVisible
"
custom-class=
"insetDialog"
append-to-body
width=
"50%"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"权利人信息"
:visible
.
sync=
"dialogVisible"
custom-class=
"insetDialog
"
append-to-body
width=
"50%"
>
<el-form
:model=
"formData"
class=
"qlrForm"
>
<table
class=
"zdjbxxTable"
cellspacing=
"0"
cellpadding=
"0"
border=
"1"
>
<tr>
...
...
src/components/hCxlz/hCxlz.vue
View file @
9c222fd
<
template
>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"户重新落宗"
:visible
.
sync=
"isVisible"
width=
"50%
"
@
close=
"close"
:modal-append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"户重新落宗"
:visible
.
sync=
"isVisible"
width=
"50%"
@
close=
"close
"
:modal-append-to-body=
"false"
>
<div
class=
"content"
>
<table>
<tr>
...
...
@@ -59,7 +59,7 @@
import
{
Message
}
from
'element-ui'
export
default
{
name
:
"hCxlz"
,
components
:
{
zdQueryData
},
//
components: { zdQueryData },
data
()
{
return
{
zd
:
{},
...
...
src/components/lineTree/lineTree.vue
View file @
9c222fd
...
...
@@ -18,7 +18,7 @@
reTree_expand_icon: !islpb
&&
!item.expand
&&
item.children.length > 0,
lpbTree_collapse_icon: islpb
&&
item.expand
&&
item.children.length > 0,
lpbTree_expand_icon: islpb
&&
!item.expand
&&
item.children.length > 0,
}">
</div>
}">
</div>
</div>
<lineItem
v-if=
"item.expand && item.children.length > 0"
v-on=
"$listeners"
@
ownerMethod=
"ownerMethod(arguments)"
...
...
@@ -70,14 +70,13 @@
</ul>
<!--@close="closeImportDialog"-->
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"导入图形"
:modal=
"false"
custom-class=
"importDialog"
<el-dialog
:close-on-click-modal=
"false"
title=
"导入图形"
:modal=
"false"
custom-class=
"importDialog"
:visible
.
sync=
"improtDialog"
width=
"30%"
@
close=
"closeImportDialog"
>
<import-geo
:property-info=
"zdData"
:timeLine=
"new Date().getTime()"
:geo-info=
"currentClickZdGeo"
@
closeImportDialog=
"closeImportDialog"
></import-geo>
</el-dialog>
<!-- 添加定着物弹框 -->
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"新建"
:modal=
"false"
:visible
.
sync=
"dialogVisible"
width=
"48%"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"新建"
:modal=
"false"
:visible
.
sync=
"dialogVisible"
width=
"48%"
>
<!--
<Create
@
closeDialog=
"closeDialog"
:auth=
"true"
:createZrz=
"createZrz"
></Create>
-->
</el-dialog>
<!--
<sxdr
:sxdr-visible=
"sxdrVisible"
@
close=
"sxdrClose"
:dylx=
"zdData.type"
:bsm=
"zdData.bsm"
></sxdr>
-->
...
...
@@ -99,7 +98,7 @@ import ImportGeo from './tx/importGeo'
{
e
:
Array
,
ault
:
()
=>
{
turn
[];
turn
[];
:
{
e
:
Number
,
...
...
@@ -110,17 +109,17 @@ import ImportGeo from './tx/importGeo'
omponents
:
{
lineItem
,
Create
,
ImportGeo
,
sxdr
},
ixins
:
[
geoUtils
,
featureUpdate
],
a
()
{
a
()
{
rn
{
rVisible
:
false
,
electedDetail
:
{
},
timer
:
{
},
electedDetail
:
{
},
timer
:
{
},
formatData
:
this
.
$store
.
state
.
treeData
,
isible
:
false
,
top
:
0
,
left
:
0
,
sZD
:
true
,
ata
:
{
},
ata
:
{
},
rentClickZdGeo
:
""
,
mprotDialog
:
false
,
ialogVisible
:
false
,
...
...
@@ -144,25 +143,25 @@ import ImportGeo from './tx/importGeo'
ch
:
{
(
n
,
o
)
{
s
.
formatData
=
this
.
preDealData
(
n
);
isible
(
value
)
{
isible
(
value
)
{
(
value
)
{
ment
.
body
.
addEventListener
(
"click"
,
this
.
closeMenu
);
lse
{
cument
.
body
.
removeEventListener
(
"click"
,
this
.
closeMenu
);
Visible
(
value
)
{
Visible
(
value
)
{
(
value
)
{
cument
.
body
.
addEventListener
(
"click"
,
this
.
closeMenu
);
lse
{
cument
.
body
.
removeEventListener
(
"click"
,
this
.
closeMenu
);
wVisible
(
value
)
{
f
(
value
)
{
wVisible
(
value
)
{
f
(
value
)
{
document
.
body
.
addEventListener
(
"click"
,
this
.
closeMenu
);
lse
{
cument
.
body
.
removeEventListener
(
"click"
,
this
.
closeMenu
);
}
zrzVisible
(
value
)
{
zrzVisible
(
value
)
{
(
value
)
{
ment
.
body
.
addEventListener
(
"click"
,
this
.
closeMenu
);
lse
{
...
...
@@ -174,7 +173,7 @@ import ImportGeo from './tx/importGeo'
document
.
body
.
removeEventListener
(
"click"
,
this
.
closeMenu
);
}
}
ed
()
{
ed
()
{
nextTick
(()
=>
{
eDealData
(
this
.
pd
);
ndTreeItemById
([
"6b5af49d803f97baf06afb897de257f5"
]);
...
...
@@ -191,71 +190,71 @@ import ImportGeo from './tx/importGeo'
his
.
zdQszt
!=
'0'
)
{
drVisible
=
true
;
e
()
{
e
()
{
sxdrVisible
=
false
;
ading
()
{
ading
()
{
his
.
$emit
(
"loading"
)
eleteLjz
()
{
eleteLjz
()
{
console
.
log
(
"删除逻辑幢"
)
console
.
log
(
this
.
zdData
,
"zdData"
)
deleteLjz
(
this
.
zdData
.
bsm
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
loading
()
else
{
dy
()
{
dy
()
{
log
(
"删除幢单元"
)
e
.
log
(
this
.
zdData
,
"zdData"
)
teZdy
(
this
.
zdData
.
bsm
).
then
(
res
=>
{
f
(
res
.
success
)
{
f
(
res
.
success
)
{
this
.
loading
()
}
,
变菜单数据
Visible
(
data
)
{
Visible
(
data
)
{
s
.
zrzVisible
=
data
;
s
.
lpbvisible
=
false
;
dzVisible
=
false
;
wVisible
=
false
;
ta
(
data
)
{
ta
(
data
)
{
=
data
;
zt
=
data
.
qszt
;
(
data
)
{
p
=
data
;
lpbtop
=
data
;
angeLeft
(
data
)
{
angeLeft
(
data
)
{
this
.
left
=
data
;
this
.
lpbleft
=
data
;
},
changeIsZD
(
data
)
{
changeIsZD
(
data
)
{
this
.
isZD
=
data
;
},
changeLpbVisible
(
data
)
{
changeLpbVisible
(
data
)
{
this
.
lpbvisible
=
data
;
this
.
zrzVisible
=
false
;
this
.
dzVisible
=
false
;
this
.
gzwVisible
=
false
;
},
changeCreateVisible
(
data
)
{
changeCreateVisible
(
data
)
{
this
.
createVisible
=
true
;
},
//多幢
changeDzVisible
(
data
)
{
changeDzVisible
(
data
)
{
this
.
dzVisible
=
data
;
this
.
zrzVisible
=
false
;
this
.
lpbvisible
=
false
;
this
.
gzwVisible
=
false
;
},
//构筑物
changeGzwVisible
(
data
)
{
changeGzwVisible
(
data
)
{
this
.
gzwVisible
=
data
;
this
.
zrzVisible
=
false
;
this
.
lpbvisible
=
false
;
this
.
dzVisible
=
false
;
},
//添加定着物
openCreateDialog
(
type
)
{
openCreateDialog
(
type
)
{
if
(
type
==
'zrz'
)
{
this
.
createZrz
=
true
;
}
...
...
@@ -269,11 +268,11 @@ import ImportGeo from './tx/importGeo'
}
},
//关闭添加定着物弹框
closeDialog
()
{
closeDialog
()
{
this
.
dialogVisible
=
false
;
this
.
createZrz
=
false
;
},
preDealData
(
list
)
{
preDealData
(
list
)
{
//楼盘表目录树没有expand属性
// if(list == null){
// return list
...
...
@@ -288,7 +287,7 @@ import ImportGeo from './tx/importGeo'
// }
},
// 根据id展开树的具体项
expandTreeItemById
(
idList
)
{
expandTreeItemById
(
idList
)
{
let
_this
=
this
;
function
loopTree
(
list
)
{
list
.
forEach
((
x
)
=>
{
...
...
@@ -304,7 +303,7 @@ import ImportGeo from './tx/importGeo'
this
.
formatData
=
loopTree
(
this
.
pd
);
console
.
log
(
this
.
formatData
,
"this.formatData"
);
},
itemClick
(
item
)
{
itemClick
(
item
)
{
// item.expand = item.expand == undefined? true:!item.expand;
this
.
formatData
.
forEach
(
i
=>
{
if
(
i
.
bsm
!=
item
.
bsm
)
{
...
...
@@ -317,7 +316,7 @@ import ImportGeo from './tx/importGeo'
// this.$emit("itemClick", item);
},
//给所有权类型添加子节点
ownerMethod
(
arr
)
{
ownerMethod
(
arr
)
{
let
item
=
arr
[
0
];
let
list
=
arr
[
1
]
this
.
formatData
.
forEach
(
i
=>
{
...
...
@@ -342,30 +341,30 @@ import ImportGeo from './tx/importGeo'
this
.
$store
.
state
.
treeData
=
this
.
formatData
;
},
//自然幢右键点击事件
openMenu
(
e
,
item
)
{
openMenu
(
e
,
item
)
{
this
.
lpbleft
=
e
.
pageX
;
this
.
lpbtop
=
e
.
pageY
;
this
.
zdData
=
item
;
this
.
changeLpbVisible
(
true
);
},
//关闭右键菜单
closeMenu
()
{
closeMenu
()
{
this
.
zrzVisible
=
false
;
this
.
lpbvisible
=
false
;
this
.
dzVisible
=
false
;
this
.
gzwVisible
=
false
;
},
//楼盘表右键菜单项打开父组件弹框
openLpbDialog
(
type
)
{
openLpbDialog
(
type
)
{
this
.
$parent
.
openLpbDialog
(
this
.
zdData
,
type
);
},
detailDoubleClick
(
data
)
{
detailDoubleClick
(
data
)
{
clearTimeout
(
this
.
timer
);
this
.
selectedDetail
=
data
;
this
.
$emit
(
"detailDoubleClick"
,
data
);
},
//右键菜单的删除
deleteByBsm
()
{
deleteByBsm
()
{
let
name
=
''
;
switch
(
this
.
zdData
.
type
)
{
case
'zd'
:
...
...
@@ -436,7 +435,7 @@ import ImportGeo from './tx/importGeo'
});
},
//删除图形
deleteGeoByBsm
()
{
deleteGeoByBsm
()
{
var
self
=
this
;
var
BSM
=
""
;
var
type
=
this
.
zdData
.
type
;
...
...
@@ -477,7 +476,7 @@ import ImportGeo from './tx/importGeo'
});
},
//删除宗地界址点 界址线
delJzdAndJzx
(
bsm
)
{
delJzdAndJzx
(
bsm
)
{
delJzdByBsm
({
zdbsm
:
bsm
}).
then
(
res
=>
{
if
(
res
.
success
)
{
console
.
log
(
"删除界址点成功!!!"
);
...
...
@@ -492,7 +491,7 @@ import ImportGeo from './tx/importGeo'
/*
* 导入图形
* */
importGeo
()
{
importGeo
()
{
var
self
=
this
;
var
BSM
=
""
;
if
(
this
.
zdData
.
qszt
!=
'0'
)
{
...
...
@@ -537,7 +536,7 @@ import ImportGeo from './tx/importGeo'
});
},
//导出文本文件
exportText
()
{
exportText
()
{
var
self
=
this
;
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
...
...
@@ -566,7 +565,7 @@ import ImportGeo from './tx/importGeo'
},
{
wkt
:
this
.
wkt
});
},
//导出shp文件
exportToShp
()
{
exportToShp
()
{
var
self
=
this
;
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
...
...
@@ -585,7 +584,7 @@ import ImportGeo from './tx/importGeo'
},
{
wkt
:
this
.
wkt
});
},
//导出excel
exportExcel
()
{
exportExcel
()
{
var
self
=
this
;
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
...
...
@@ -615,10 +614,10 @@ import ImportGeo from './tx/importGeo'
},
{
wkt
:
this
.
wkt
})
},
//导出CAD
exportCad
()
{
exportCad
()
{
//TODO
},
downloadTxt
(
text
,
fileName
)
{
downloadTxt
(
text
,
fileName
)
{
let
element
=
document
.
createElement
(
'a'
)
element
.
setAttribute
(
'href'
,
'data:text/plain;charset=utf-8,'
+
encodeURIComponent
(
text
))
element
.
setAttribute
(
'download'
,
fileName
)
...
...
@@ -626,7 +625,7 @@ import ImportGeo from './tx/importGeo'
element
.
click
()
},
//图形定位
postionToMap
()
{
postionToMap
()
{
var
type
=
this
.
zdData
.
type
;
var
BSM
=
type
==
'zd'
?
this
.
zdData
.
zdbsm
:
this
.
zdData
.
bsm
;
if
(
this
.
$route
.
path
==
"/viewMap"
)
{
...
...
@@ -650,7 +649,7 @@ import ImportGeo from './tx/importGeo'
},
//关闭图形弹框
closeImportDialog
()
{
closeImportDialog
()
{
this
.
improtDialog
=
false
;
this
.
clearOverLayer
();
}
...
...
src/components/moveH/moveH.vue
View file @
9c222fd
<
template
>
<div>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"移动户"
:visible
.
sync=
"isVisible"
width=
"50%
"
@
close=
"close"
:modal-append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"移动户"
:visible
.
sync=
"isVisible"
width=
"50%"
@
close=
"close
"
:modal-append-to-body=
"false"
>
<div>
<div
class=
"bottom-radio"
>
<el-radio-group
v-model=
"moveHdata.sxzylx"
>
...
...
src/components/plc/plC.vue
View file @
9c222fd
<
template
>
<div>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"批量层"
:visible
.
sync=
"isVisible"
width=
"50%
"
@
close=
"close"
:modal-append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"批量层"
:visible
.
sync=
"isVisible"
width=
"50%"
@
close=
"close
"
:modal-append-to-body=
"false"
>
<div>
<table
border=
"1"
>
<tr>
...
...
src/components/plh/plH.vue
View file @
9c222fd
<
template
>
<div>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"批量户"
:visible
.
sync=
"isVisible"
width=
"72%
"
@
close=
"close"
:modal-append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"批量户"
:visible
.
sync=
"isVisible"
width=
"72%"
@
close=
"close
"
:modal-append-to-body=
"false"
>
<div>
<table
border=
"1"
>
<tr>
...
...
src/components/plsh/plSh.vue
View file @
9c222fd
<
template
>
<div
class=
""
>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"批量室号"
:visible
.
sync=
"isVisible"
width=
"50%
"
@
close=
"close"
:modal-append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"批量室号"
:visible
.
sync=
"isVisible"
width=
"50%"
@
close=
"close
"
:modal-append-to-body=
"false"
>
<div>
<table
border=
"1"
>
<tr>
...
...
src/components/plzl/plZl.vue
View file @
9c222fd
<
template
>
<div>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"批量坐落"
:visible
.
sync=
"isVisible"
width=
"60%
"
@
close=
"close"
:modal-append-to-body=
"false"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"批量坐落"
:visible
.
sync=
"isVisible"
width=
"60%"
@
close=
"close
"
:modal-append-to-body=
"false"
>
<div>
<table
border=
"1"
>
<tr>
...
...
src/permission.js
View file @
9c222fd
...
...
@@ -18,11 +18,17 @@ router.beforeEach(async (to, from, next) => {
}
if
(
hasAddRoute
)
{
next
()
// next({ ...to, replace: true })
}
else
{
const
{
result
:
getMenuData
}
=
await
getMenuInfo
()
const
accessRoutes
=
await
store
.
dispatch
(
'permission/generateRoutes'
,
getMenuData
)
router
.
addRoutes
([...
accessRoutes
,
{
path
:
'*'
,
redirect
:
'/404'
,
hidden
:
true
}])
next
({
...
to
,
replace
:
true
})
const
routeTo
=
Cookies
.
get
(
'routerTo'
)
if
(
routeTo
)
{
next
(
routeTo
)
}
else
{
next
(
'/home'
)
}
}
NProgress
.
done
()
...
...
src/router/index.js
View file @
9c222fd
...
...
@@ -21,13 +21,13 @@ export const constantRoutes = [
]
},
{
path
:
'/'
,
path
:
'/
404
'
,
component
:
Layout
,
hidden
:
true
,
redirect
:
'/404'
,
redirect
:
'/404
/index
'
,
children
:
[
{
path
:
'
404
'
,
path
:
'
/index
'
,
component
:
()
=>
import
(
'@/views/error-page/404'
),
name
:
'404'
,
meta
:
{
title
:
'404'
}
...
...
src/store/modules/lpb.js
0 → 100644
View file @
9c222fd
const
state
=
{
contentWidth
:
''
}
const
mutations
=
{
}
const
actions
=
{
}
export
default
{
namespaced
:
true
,
state
,
mutations
,
actions
}
src/store/modules/user.js
View file @
9c222fd
import
store
from
'../index'
import
router
,
{
resetRouter
}
from
'@/router'
import
{
Message
}
from
"element-ui"
;
import
Cookies
from
'js-cookie'
;
const
state
=
{
name
:
Cookies
.
get
(
'username'
),
...
...
src/views/components/bjlp/hbj/lpb-hbj/index.vue
View file @
9c222fd
...
...
@@ -21,7 +21,9 @@ import hbj from "../index"
export
default
{
name
:
"index"
,
components
:
{
hbj
,
djb
,
fjcl
hbj
,
// djb,
// fjcl
},
props
:
{
bsm
:
String
,
//户标识码
...
...
src/views/components/bjlp/index.vue
View file @
9c222fd
...
...
@@ -47,8 +47,7 @@
<i
class=
"iconfont iconloupanbiaobianji"
v-show=
"!bjztFlag"
@
click=
"bjztChange"
title=
"编辑楼盘"
></i>
</div>
</div>
-->
<div
class=
"tab-content"
ref=
"tabContent"
:style=
"
{ height: lpbContentHight + 'px' }" v-loading="lpbloading"
v-show="bjztFlag">
<div
class=
"tab-content"
ref=
"tabContent"
:style=
"
{ height: lpbContentHight + 'px' }" v-show="bjztFlag">
<!-- 左侧树结构 -->
<!--
<div
class=
"lp-tree"
:class=
"createFlag ? 'w260' : 'w0'"
>
<LineTree
:pd=
"pd"
class=
"treeData"
:islpb=
"islpb"
@
loading=
"loading"
></LineTree>
...
...
@@ -58,7 +57,7 @@
</div>
-->
<!-- 楼盘表主体 -->
<div
class=
"lp-overview"
:style=
"
{ width: lpbContentwidth + 'px' }">
<lpbContent
ref=
"lpbContent"
:zrzbsm=
"
$route.query
.bsm"
:key=
"time"
></lpbContent>
<lpbContent
ref=
"lpbContent"
:zrzbsm=
"
formData
.bsm"
:key=
"time"
></lpbContent>
</div>
<!-- 右侧图例 -->
<div
class=
"lp-legend"
>
...
...
@@ -158,7 +157,7 @@
<!-- 详细信息 -->
<!--
<xxxx
v-show=
"!bjztFlag"
></xxxx>
-->
<!-- 右键菜单弹出框 根据菜单类型(menuType)和右键点击的楼盘类型(treeData.type)来区分弹框内容 -->
<!--
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
:title=
"taskTitle"
:visible
.
sync=
"dialogVisible"
width=
"50%"
>
<!--
<el-dialog
:close-on-click-modal=
"false"
:title=
"taskTitle"
:visible
.
sync=
"dialogVisible"
width=
"50%"
>
<div
class=
"addCh"
v-if=
"menuType == 'ljz'"
>
<addLjz
ref=
"ljz"
:ljzbsm=
"curBsm"
></addLjz>
</div>
...
...
@@ -182,7 +181,7 @@
<pl-zl
:pl-zl-visible=
"plzlVisible"
:bsms=
"bsms"
@
close=
"plZlClose"
@
lodding=
"lodding"
></pl-zl>
<pl-c
:plc-visible=
"plcVisible"
:bsms=
"cbsmList"
@
close=
"plcClose"
@
lodding=
"lodding"
></pl-c>
<pl-sh
:plShVisible=
"plShVisible"
:bsms=
"bsms"
@
close=
"plshClose"
@
lodding=
"lodding"
></pl-sh>
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"批量上传"
:visible
.
sync=
"uploadVisible"
width=
"30%"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"批量上传"
:visible
.
sync=
"uploadVisible"
width=
"30%"
>
<div
class=
"wrap"
>
<div
class=
"main-button"
>
<el-upload
class=
"upload-demo"
action=
"/api/file/uploadListByGlbsm"
:data=
"fileData"
...
...
@@ -217,7 +216,13 @@ import lpbContent from "./lpbContent/index";
// import xxxx from '../xxxx/index'
export
default
{
name
:
""
,
name
:
"bjlp"
,
props
:
{
formData
:
{
type
:
Object
,
default
:
{}
}
},
components
:
{
// LineTree,
addLjz
,
...
...
@@ -315,7 +320,6 @@ export default {
time
:
""
,
dyztBsmList
:
{},
//单元状态bsmList
cbsmList
:
[],
// 层bsmlist
lpbloading
:
true
,
bjztFlag
:
true
,
taskTitle
:
'添加'
,
curBsm
:
''
,
...
...
@@ -329,18 +333,18 @@ export default {
},
created
()
{
window
.
addEventListener
(
"resize"
,
this
.
getHeight
);
//
this.getHeight();
this
.
getHeight
();
},
mounted
()
{
//获取楼盘表树结构
// this.getLpbMenuTree(
this.$store.state
.zrzbsm);
// this.getLpbMenuTree(
formData
.zrzbsm);
//获取各项单元状态的户bsm
// this.getDyztBsmList();
//获取房屋用途统计数据
// this.getLpbFwytAndQlxz();
// 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6
setTimeout
(()
=>
{
this
.
lpbContentwidth
=
this
.
$store
.
state
.
contentWidth
-
34
-
6
;
this
.
lpbContentwidth
=
((
document
.
documentElement
.
clientWidth
||
document
.
body
.
clientWidth
)
-
340
)
-
34
-
6
;
},
100
);
},
methods
:
{
...
...
@@ -429,7 +433,6 @@ export default {
console
.
log
(
file
);
},
handleExceed
(
files
,
fileList
)
{
console
.
log
(
fileList
)
// this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
this
.
$message
.
warning
(
"上传失败"
)
},
...
...
@@ -524,7 +527,7 @@ export default {
},
//获取高度计算lpb内容区高度
getHeight
()
{
this
.
lpbContentHight
=
window
.
innerHeight
-
285
;
this
.
lpbContentHight
=
window
.
innerHeight
-
190
;
},
//创建楼盘
create
()
{
...
...
src/views/components/bjlp/lpbContent/index.vue
View file @
9c222fd
...
...
@@ -7,18 +7,18 @@
: 'ljz-wrap'
"
:style=
"
{ 'width': ljzWidth + 'px' }" v-show="lpbData.ljzs.length > 0">
<!-- 循环逻辑幢数据 -->
<div
class=
"ljz"
ref=
"ljz"
v-for=
"(ljzs, ljzIndex) in lpbData.ljzs"
:key=
"ljzIndex"
:class=
"[
{ 'mt30': ljzIndex == 0 }, { 'mt60': ljzIndex == 1 || lpbData.ljzs.length == 1 }]">
<div
class=
"ljz"
ref=
"ljz"
v-for=
"(ljzs, ljzIndex) in lpbData.ljzs"
:key=
"ljzIndex"
>
<!-- :class="[
{ 'mt30': ljzIndex == 0 }, { 'mt60': ljzIndex == 1 || lpbData.ljzs.length == 1 }]" -->
<!-- :style="
{'marginTop':ljzs.zdys.length>0?'0':'30px'}" -->
<!-- 循环逻辑幢下的幢单元 -->
<div
class=
"ljz-zdy-wrap"
>
<div
class=
"ljz-zdy-wrap"
:style=
"
{ 'marginTop': ljzs.zdys.length > 0 ? '0' : '30px' }"
>
<div
class=
"ljz-zdy column-reverse"
:style=
"
{ 'min-height': ljzzdyHeight + 'px', 'marginRight': zdyIndex
<
(ljzs.zdys.length - 1) || ljzs.cs.length > 1 ? '20px' : '0' }"
ref="ljzzdy" v-show="ljzs.zdys.length > 0" v-for="(zdys, zdyIndex) in ljzs.zdys" :key="zdyIndex">
<!-- 幢单元名称 -->
<div
class=
"zdy-name name"
>
<p
class=
"cp"
@
dblclick=
"openZxx(zdys.bsm, 'zdy')"
>
<!--
{{
zdys
.
zdymc
}}
-->
<el-checkbox
@
change=
'zdySelectAll($event, zdys.cs)'
>
{{
zdys
.
zdymc
}}
</el-checkbox>
</p>
</div>
...
...
@@ -94,8 +94,6 @@
</tr>
</table>
</div>
<!--
</div>
-->
<!-- 逻辑幢名称 -->
<div
class=
"ljz-name name"
>
<p
class=
"cp"
@
dblclick=
"openZxx(ljzs.bsm, 'ljz')"
>
...
...
@@ -178,9 +176,8 @@
</tr>
</table>
</div>
<!--
</
template
>
-->
</div>
<!--
<div class="ch-wrap">层户</div>
-->
<!--
层户
-->
<div
class=
"zrz"
:style=
"
{ width: lpbContentWidth + 'px' }">
<el-checkbox
v-model=
"zrzChecked"
@
change=
'lpbSelectAll'
>
{{
lpbData
.
xmmc
}}
</el-checkbox>
</div>
...
...
@@ -188,7 +185,6 @@
<ul
v-show=
"lpbChVisible"
:style=
"
{ left: lpbChLeft + 'px', top: lpbChTop + 'px' }" class="contextmenu">
<li
v-show=
"rightClickFlag == 'h'"
@
click=
"handleAddH"
>
添加
</li>
<li
v-show=
"rightClickFlag == 'h'"
@
click=
"handleMoveH"
>
移动
</li>
<!-- <li v-show="rightClickFlag == 'h'" @click="handleDeleteH">删除</li> -->
<li
v-show=
"rightClickFlag == 'h'"
@
click=
"handleSyczh"
>
实预测转换
</li>
<li
v-show=
"rightClickFlag == 'c'"
@
click=
"handleAddC('up')"
>
向上添加层
...
...
@@ -210,8 +206,7 @@
</ul>
<!-- 层操作弹框 -->
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
:title=
"addCData.title"
:visible
.
sync=
"addCVisible"
width=
"50%"
>
<el-dialog
:close-on-click-modal=
"false"
:title=
"addCData.title"
:visible
.
sync=
"addCVisible"
width=
"50%"
>
<el-form
:model=
"addCData"
>
<el-form-item
label=
"层号"
:label-width=
"formLabelWidth"
>
<el-input
disabled
v-model=
"addCData.sjc"
autocomplete=
"off"
></el-input>
...
...
@@ -229,7 +224,7 @@
</div>
</el-dialog>
<!-- 户分割弹框 -->
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"户分割"
:visible
.
sync=
"hfgDialogVisible"
width=
"800px"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"户分割"
:visible
.
sync=
"hfgDialogVisible"
width=
"800px"
>
<el-form
:model=
"fgData"
>
<el-form-item
label=
"分割户数"
required=
""
:label-width=
"formLabelWidth"
>
<el-input
:disabled=
"fgData.fgfx != 0"
v-model=
"fgData.fghs"
autocomplete=
"off"
></el-input>
...
...
@@ -243,8 +238,7 @@
<move-h
:hbsm=
"chData.bsm"
@
close=
"moveHClose"
:move-hvisible=
"moveHvisible"
:type=
"scyclx"
@
loading=
"loadingData($store.state.zrzbsm, $parent.scyclx)"
></move-h>
<!-- 双击户的弹出框 -->
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"户编辑"
class=
"hbjDialog"
:visible
.
sync=
"hbjVisible"
width=
"80%"
>
<el-dialog
:close-on-click-modal=
"false"
title=
"户编辑"
class=
"hbjDialog"
:visible
.
sync=
"hbjVisible"
width=
"80%"
>
<hbj
ref=
"hbj"
:bsm=
"hbsm"
:scyclx=
"scyclx"
:lpbParent=
"lpbParent"
></hbj>
</el-dialog>
<!-- 户重新落宗 -->
...
...
@@ -254,6 +248,7 @@
<
script
>
import
moveH
from
"@/components/moveH/moveH"
;
import
HCxlz
from
"@/components/hCxlz/hCxlz"
;
import
{
getLpb
}
from
'@/api/lpb'
// import { getLpb, insertUpDownC, deleteCByBsm } from "@api/lpb";
// import { hhb, hfg } from "@api/h";
import
{
Message
}
from
'element-ui'
;
...
...
@@ -332,10 +327,9 @@ export default {
zrzChecked
:
false
,
//自然幢全选
};
},
created
()
{
},
mounted
()
{
// this.getLpb(this.zrzbsm, "0"
);
// this.getLpb(this.zrzbsm
, "1"
);
this
.
getLpb
(
'9434bdb243ba342cc6c043065fc9e480'
);
// this.getLpb(this.zrzbsm);
setTimeout
(()
=>
{
//让滚动条滚动至最下面 -6是横向滚动条的高度
this
.
$refs
.
lpbContent
.
scrollTop
=
...
...
@@ -353,24 +347,23 @@ export default {
getLpb
(
zrzbsm
,
scyclx
,
actual
)
{
getLpb
(
zrzbsm
,
scyclx
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$parent
.
lpbloading
=
false
;
res
.
result
.
ljzs
=
res
.
result
.
ljzs
.
sort
(
this
.
compare
(
"place"
))
.
reverse
();
//
this.lpbData = res.result == null ? this.lpbData : res.result;
this
.
lpbData
=
res
.
result
==
null
?
this
.
lpbData
:
res
.
result
;
//给实预测楼盘表对象赋值,默认加载预测楼盘表数据
if
(
scyclx
==
0
)
{
this
.
yclpbData
=
res
.
result
==
null
?
this
.
yclpbData
:
res
.
result
;
this
.
lpbData
=
this
.
yclpbData
;
}
else
{
this
.
sclpbData
=
res
.
result
==
null
?
this
.
sclpbData
:
res
.
result
;
}
if
(
actual
)
{
this
.
lpbData
=
res
.
result
==
null
?
this
.
yclpbData
:
res
.
result
;
}
if
(
this
.
lpbParent
==
'isFwsxbg'
)
{
this
.
lpbData
=
this
.
$parent
.
scyclx
==
'0'
?
this
.
yclpbData
:
this
.
sclpbData
;
}
//
if (scyclx == 0) {
//
this.yclpbData = res.result == null ? this.yclpbData : res.result;
//
this.lpbData = this.yclpbData;
//
} else {
//
this.sclpbData = res.result == null ? this.sclpbData : res.result;
//
}
//
if (actual) {
//
this.lpbData = res.result == null ? this.yclpbData : res.result;
//
}
//
if (this.lpbParent == 'isFwsxbg') {
//
this.lpbData = this.$parent.scyclx == '0' ? this.yclpbData : this.sclpbData;
//
}
this
.
$nextTick
(()
=>
{
//渲染楼盘表
this
.
dataChange
();
...
...
@@ -1028,11 +1021,9 @@ export default {
overflow
:
hidden
;
.ljz
{
//
margin-bottom
:
20px
;
display
:
table
;
margin-top
:
30px
;
//
position
:
relative
;
//
margin-top
:
30px
;
.ljz-zdy-wrap
{
width
:
auto
;
display
:
table
;
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
9c222fd
...
...
@@ -113,7 +113,6 @@ export default {
}
},
handleTabClick
()
{
this
.
pageData
.
currentPage
=
1
;
this
.
fetchData
();
},
...
...
@@ -161,6 +160,17 @@ export default {
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
},
handleLpbClick
(
item
)
{
console
.
log
(
item
,
'eeeeeeeeeeeeee'
);
this
.
$popup
(
'楼盘表'
,
'components/bjlp/index'
,
{
width
:
'85%'
,
formData
:
{
bsm
:
item
.
bsm
},
cancel
:
function
()
{
},
//取消事件的回调
confirm
:
function
()
{
},
//确认事件的回调
})
}
}
}
...
...
src/views/ywbl/ywsq/javascript/fwsyq.js
View file @
9c222fd
...
...
@@ -73,7 +73,7 @@ class data extends filter {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{(
scope
.
row
.
tdxzmc
)
+
(
' / '
)
+
(
scope
.
row
.
tdxzmc
)}
{(
scope
.
row
.
tdxzmc
)
+
(
' / '
)
+
(
scope
.
row
.
tdxzmc
)}
<
/div
>
)
}
...
...
@@ -83,7 +83,7 @@ class data extends filter {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{(
scope
.
row
.
zdmj
)
+
(
' / '
)
+
(
scope
.
row
.
scjzmj
)}
{(
scope
.
row
.
zdmj
)
+
(
' / '
)
+
(
scope
.
row
.
scjzmj
)}
<
/div
>
)
}
...
...
@@ -106,6 +106,15 @@ class data extends filter {
prop
:
"zl"
,
label
:
"自然幢坐落"
,
},
{
label
:
'操作'
,
width
:
'80'
,
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
handleLpbClick
(
scope
.
row
)
}}
>
楼盘表
<
/el-button
>
}
}
]
}
...
...
src/views/ywbl/ywsq/ywsq.vue
View file @
9c222fd
...
...
@@ -130,6 +130,7 @@ export default {
this
.
btnDisabled
=
false
Cookies
.
set
(
"bsmSqyw"
,
item
.
bsmSqyw
)
this
.
djywbm
=
item
.
djywbm
console
.
log
(
this
.
djywbm
,
'this.djywbm'
);
}
},
handleList
(
list
,
obj
)
{
...
...
src/views/zhcx/djbcx/djbcx.vue
View file @
9c222fd
...
...
@@ -110,15 +110,10 @@ export default {
// 高级查询
moreQueryClick
()
{
},
openDialog
(
scroll
)
{
this
.
$popup
({
titleStyle
:
"left"
,
title
:
"登记簿详情"
,
// 弹窗标题
editItem
:
"registerBook/djbFrame"
,
// 弹窗内容
this
.
$popup
(
'登记簿详情'
,
'registerBook/djbFrame'
,
{
formData
:
scroll
,
width
:
"1220px"
,
height
:
"790px"
,
// cancelText: '取消摆烂', // 右边按钮文本
// confirmText: '确定点击', //左边按钮文本
cancel
:
()
=>
{
console
.
log
(
"取消回调"
);
},
...
...
@@ -127,8 +122,17 @@ export default {
},
});
},
},
};
handleLpbClick
(
item
)
{
this
.
$popup
(
'楼盘表'
,
'components/bjlp/index'
,
{
width
:
'90%'
,
height
:
"90%"
,
formData
:
{
bsm
:
''
}
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
...
...
src/views/zhcx/djbcx/djbcxdata.js
View file @
9c222fd
...
...
@@ -102,7 +102,7 @@ class data extends filter {
return
(
<
div
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
登记薄
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-film"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
楼盘表
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-film"
onClick
=
{()
=>
{
vm
.
handleLpbClick
(
scope
.
row
)
}}
>
楼盘表
<
/el-button
>
<
/div
>
)
}
...
...
Please
register
or
sign in
to post a comment