Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
pc
Commits
1f75d5b0
Commit
1f75d5b0
authored
Feb 04, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1小区列表条件新增 物业合同到期日 2小区详情拓展字段增加各项目的拓展字段,
parent
1b286a52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
basicInfo.vue
src/views/houseData/basicInfo.vue
+6
-0
basicView.vue
src/views/houseData/basicView.vue
+12
-13
No files found.
src/views/houseData/basicInfo.vue
View file @
1f75d5b0
...
@@ -48,6 +48,11 @@
...
@@ -48,6 +48,11 @@
</a-select>
</a-select>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
span=
"8"
>
<a-form-item
v-if=
"!simpleSearchForm"
label=
"物业合同服务到期日"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-date-picker
placeholder=
"请选择查询内容"
v-decorator=
"['cspEndTime_btw']"
/>
</a-form-item>
</a-col>
<a-col
span=
"8"
>
<a-col
span=
"8"
>
<a-form-item
v-if=
"!simpleSearchForm"
label=
"小区性质"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-form-item
v-if=
"!simpleSearchForm"
label=
"小区性质"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-select
<a-select
...
@@ -528,6 +533,7 @@ export default {
...
@@ -528,6 +533,7 @@ export default {
// 'finishDate_lt': !!this.isBeforeTwoThousand? '2000-01-01': '',
// 'finishDate_lt': !!this.isBeforeTwoThousand? '2000-01-01': '',
'finishDate_lt'
:
this
.
isBeforeTwoThousand
==
'1'
?
'2020-01-01'
:
''
,
'finishDate_lt'
:
this
.
isBeforeTwoThousand
==
'1'
?
'2020-01-01'
:
''
,
'finishDate_gt'
:
this
.
isBeforeTwoThousand
==
'2'
?
'2020-01-01'
:
''
,
'finishDate_gt'
:
this
.
isBeforeTwoThousand
==
'2'
?
'2020-01-01'
:
''
,
'cspEndTime_btw'
:
!!
this
.
form
.
getFieldValue
(
'cspEndTime_btw'
)
?
this
.
$moment
(
this
.
form
.
getFieldValue
(
'cspEndTime_btw'
)).
format
(
'YYYY-MM-DD'
)
:
''
},
obj
,
isHocId
)
// 融合obj 和isHocId 到入参
},
obj
,
isHocId
)
// 融合obj 和isHocId 到入参
searchParams
[
this
.
personalizedKey
]
=
!
this
.
formed
?
''
:
this
.
formed
searchParams
[
this
.
personalizedKey
]
=
!
this
.
formed
?
''
:
this
.
formed
...
...
src/views/houseData/basicView.vue
View file @
1f75d5b0
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<div
class=
"detailOperations"
>
<div
class=
"detailOperations"
>
<a-button
@
click=
"$router.push(
{path: `/houseData/buildings`,query:{id:$route.query.id,name:$route.query.name}})"> 门牌幢
</a-button>
<a-button
@
click=
"$router.push(
{path: `/houseData/buildings`,query:{id:$route.query.id,name:$route.query.name}})"> 门牌幢
</a-button>
<a-button
@
click=
"$router.push(
{path: `/houseData/shebei/${$route.query.id}`})"> 设施设备
</a-button>
<a-button
@
click=
"$router.push(
{path: `/houseData/shebei/${$route.query.id}`})"> 设施设备
</a-button>
<a-button
@
click=
"$router.push(
{path: `/houseData/shebei/${$route.query.id}`})"> 设施设备(勘验)
</a-button>
<a-button
@
click=
"handleReturn"
>
返回
</a-button>
<a-button
@
click=
"handleReturn"
>
返回
</a-button>
</div>
</div>
</div>
</div>
...
@@ -133,7 +134,7 @@
...
@@ -133,7 +134,7 @@
</a-col>
</a-col>
<!-- 自定义字段 -->
<!-- 自定义字段 -->
<a-col
span=
"8"
v-for=
"i in extList['tbl_community_amst_office']"
:key=
"i.id"
>
<a-col
span=
"8"
v-for=
"i in extList['tbl_community_amst_office']"
:key=
"i.id"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName'
:text=
'detail[i.keyCode]'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName
+"(拓展)"
'
:text=
'detail[i.keyCode]'
></DetailsItem>
</a-col>
</a-col>
</a-row>
</a-row>
</div>
</div>
...
@@ -168,7 +169,7 @@
...
@@ -168,7 +169,7 @@
</a-col>
</a-col>
<!-- 自定义字段 -->
<!-- 自定义字段 -->
<a-col
span=
"8"
v-for=
"i in extList['tbl_prop_company']"
:key=
"i.id"
>
<a-col
span=
"8"
v-for=
"i in extList['tbl_prop_company']"
:key=
"i.id"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName'
:text=
'detail[i.keyCode]'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName
+"(拓展)"
'
:text=
'detail[i.keyCode]'
></DetailsItem>
</a-col>
</a-col>
</a-row>
</a-row>
</div>
</div>
...
@@ -201,7 +202,7 @@
...
@@ -201,7 +202,7 @@
</a-col>
</a-col>
<!-- 自定义字段 -->
<!-- 自定义字段 -->
<a-col
span=
"8"
v-for=
"i in extList['tbl_community_manager']"
:key=
"i.id"
>
<a-col
span=
"8"
v-for=
"i in extList['tbl_community_manager']"
:key=
"i.id"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName'
:text=
'detail[i.keyCode]'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName
+"(拓展)"
'
:text=
'detail[i.keyCode]'
></DetailsItem>
</a-col>
</a-col>
</a-row>
</a-row>
</div>
</div>
...
@@ -257,14 +258,14 @@
...
@@ -257,14 +258,14 @@
</a-col>
</a-col>
<!-- 自定义字段 -->
<!-- 自定义字段 -->
<a-col
span=
"8"
v-for=
"i in extList['tbl_industry_council']"
:key=
"i.id"
>
<a-col
span=
"8"
v-for=
"i in extList['tbl_industry_council']"
:key=
"i.id"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName'
:text=
'detail[i.keyCode]'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName
+"(拓展)"
'
:text=
'detail[i.keyCode]'
></DetailsItem>
</a-col>
</a-col>
</a-row>
</a-row>
</div>
</div>
</div>
</div>
<!-- 居委会信息 -->
<div
class=
"layoutMargin detailsPartSection"
>
<div
class=
"layoutMargin detailsPartSection"
>
<p
id=
"
cmt
Info"
class=
"detailsPartTitle"
>
居委会信息
</p>
<p
id=
"
jwh
Info"
class=
"detailsPartTitle"
>
居委会信息
</p>
<div
style=
"margin:0 16px;"
>
<div
style=
"margin:0 16px;"
>
<a-row
type=
"flex"
justify=
"start"
>
<a-row
type=
"flex"
justify=
"start"
>
<a-col
span=
"8"
>
<a-col
span=
"8"
>
...
@@ -281,7 +282,7 @@
...
@@ -281,7 +282,7 @@
</a-col>
</a-col>
<!-- 自定义字段 -->
<!-- 自定义字段 -->
<a-col
span=
"8"
v-for=
"i in extList['tbl_residents_committees']"
:key=
"i.id"
>
<a-col
span=
"8"
v-for=
"i in extList['tbl_residents_committees']"
:key=
"i.id"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName'
:text=
'detail[i.keyCode]'
></DetailsItem>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
:label=
'i.keyName
+"(拓展)"
'
:text=
'detail[i.keyCode]'
></DetailsItem>
</a-col>
</a-col>
</a-row>
</a-row>
</div>
</div>
...
@@ -315,7 +316,7 @@
...
@@ -315,7 +316,7 @@
<a-anchor-link
href=
"#train"
title=
"物业企业信息"
/>
<a-anchor-link
href=
"#train"
title=
"物业企业信息"
/>
<a-anchor-link
href=
"#cmInfo"
title=
"小区经理信息"
/>
<a-anchor-link
href=
"#cmInfo"
title=
"小区经理信息"
/>
<a-anchor-link
href=
"#ertificate"
title=
"业主大会信息"
/>
<a-anchor-link
href=
"#ertificate"
title=
"业主大会信息"
/>
<a-anchor-link
href=
"#
cmt
Info"
title=
"居委会信息"
/>
<a-anchor-link
href=
"#
jwh
Info"
title=
"居委会信息"
/>
<a-anchor-link
v-if=
"customKeyEnable == 'true' && extList.length>0"
href=
"#extList"
title=
"拓展信息"
/>
<a-anchor-link
v-if=
"customKeyEnable == 'true' && extList.length>0"
href=
"#extList"
title=
"拓展信息"
/>
</a-anchor>
</a-anchor>
</div>
</div>
...
@@ -353,14 +354,13 @@ export default {
...
@@ -353,14 +354,13 @@ export default {
this
.
customKeyEnable
=
this
.
$cookie
.
get
(
'customKeyEnable'
)
this
.
customKeyEnable
=
this
.
$cookie
.
get
(
'customKeyEnable'
)
if
(
this
.
customKeyEnable
&&
this
.
customKeyEnable
==
'true'
){
if
(
this
.
customKeyEnable
&&
this
.
customKeyEnable
==
'true'
){
this
.
getExt
(
'tbl_community'
)
this
.
getExt
(
'tbl_community'
)
this
.
getExt
(
'
tbl_community_amst_office'
)
this
.
getExt
(
'tbl_community_amst_office'
)
this
.
getExt
(
'tbl_prop_company'
)
this
.
getExt
(
'tbl_prop_company'
)
this
.
getExt
(
'tbl_community_manager'
)
this
.
getExt
(
'tbl_community_manager'
)
this
.
getExt
(
'tbl_industry_council'
)
this
.
getExt
(
'tbl_industry_council'
)
this
.
getExt
(
'tbl_residents_committees'
)
this
.
getExt
(
'tbl_residents_committees'
)
}
else
{
this
.
getList
()
}
}
this
.
getList
()
},
},
methods
:
{
methods
:
{
handleReturn
()
{
handleReturn
()
{
...
@@ -452,8 +452,7 @@ export default {
...
@@ -452,8 +452,7 @@ export default {
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
//先获取全部的自定义字段列表
//先获取全部的自定义字段列表
this
.
extList
[
tblName
]
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
this
.
extList
[
tblName
]
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
console
.
log
(
this
.
extList
)
// console.log(this.extList)
this
.
getList
()
}
}
})
})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment