Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
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
1
Merge Requests
1
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
mobi
Commits
29ad9921
Commit
29ad9921
authored
Dec 10, 2020
by
蒋金城
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业委会增加街道
parent
8d20f0f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
3 deletions
+31
-3
indCous.vue
src/views/houseData/indCous.vue
+23
-0
propertyInfoView.vue
src/views/houseData/propertyInfoView.vue
+1
-1
tbls.vue
src/views/houseData/tbls.vue
+7
-2
No files found.
src/views/houseData/indCous.vue
View file @
29ad9921
...
@@ -14,6 +14,13 @@
...
@@ -14,6 +14,13 @@
<a-input
placeholder=
"请输入查询内容"
v-decorator=
"['hocName_l']"
/>
<a-input
placeholder=
"请输入查询内容"
v-decorator=
"['hocName_l']"
/>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
span=
"8"
>
<a-form-item
label=
"所属街道"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-select
allowClear
placeholder=
"请选择查询内容"
v-decorator=
"['streetId']"
>
<a-select-option
v-for=
"(item) in street"
:key=
"item.streetId"
:value=
"item.streetId"
>
{{
item
.
strName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<!-- 动态搜索条件 -->
<!-- 动态搜索条件 -->
<template
v-if=
"customKeyEnable"
>
<template
v-if=
"customKeyEnable"
>
<a-col
span=
"8"
v-for=
"i in searchList"
:key=
"i.id"
>
<a-col
span=
"8"
v-for=
"i in searchList"
:key=
"i.id"
>
...
@@ -102,6 +109,7 @@ export default {
...
@@ -102,6 +109,7 @@ export default {
pageSizeOptions
:
[
'10'
,
'20'
,
'50'
,
'100'
],
pageSizeOptions
:
[
'10'
,
'20'
,
'50'
,
'100'
],
},
},
tableData
:
[],
tableData
:
[],
street
:
[],
// 街道数据
}
}
},
},
beforeCreate
()
{
// 页面进来创建form
beforeCreate
()
{
// 页面进来创建form
...
@@ -120,10 +128,21 @@ export default {
...
@@ -120,10 +128,21 @@ export default {
if
(
this
.
$route
.
name
==
'indCous'
)
{
if
(
this
.
$route
.
name
==
'indCous'
)
{
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
this
.
getSearchParams
()
this
.
getSearchParams
()
this
.
getStreet
()
})
})
}
}
},
},
methods
:
{
methods
:
{
getStreet
(){
//获取街道下拉
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_STREET_LIST
,
params
:
{
pageSize
:
10000
}
}).
then
(
res
=>
{
this
.
street
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
})
},
handleChangeZdy
(
i
,
e
){
// 自定义字段 - 搜索条件的 change
handleChangeZdy
(
i
,
e
){
// 自定义字段 - 搜索条件的 change
if
(
Object
.
prototype
.
toString
.
call
(
e
)
==
'[object Array]'
)
{
if
(
Object
.
prototype
.
toString
.
call
(
e
)
==
'[object Array]'
)
{
e2
=
e
.
join
(
','
)
e2
=
e
.
join
(
','
)
...
@@ -152,6 +171,7 @@ export default {
...
@@ -152,6 +171,7 @@ export default {
const
searchParams
=
Object
.
assign
({},
{
const
searchParams
=
Object
.
assign
({},
{
'hocCode_l'
:
this
.
form
.
getFieldValue
(
'hocCode_l'
)
||
''
,
'hocCode_l'
:
this
.
form
.
getFieldValue
(
'hocCode_l'
)
||
''
,
'hocName_l'
:
this
.
form
.
getFieldValue
(
'hocName_l'
)
||
''
,
'hocName_l'
:
this
.
form
.
getFieldValue
(
'hocName_l'
)
||
''
,
'streetId'
:
this
.
form
.
getFieldValue
(
'streetId'
)?
this
.
form
.
getFieldValue
(
'streetId'
):
''
,
'sectType_in'
:
'1'
,
'sectType_in'
:
'1'
,
},
obj
)
},
obj
)
this
.
searchParams
=
searchParams
this
.
searchParams
=
searchParams
...
@@ -192,6 +212,9 @@ export default {
...
@@ -192,6 +212,9 @@ export default {
case
'hocName_l'
:
case
'hocName_l'
:
this
.
form
.
setFieldsValue
({
'hocName_l'
:
searchParams
.
params
[
elem
]
})
this
.
form
.
setFieldsValue
({
'hocName_l'
:
searchParams
.
params
[
elem
]
})
break
break
case
'streetId'
:
this
.
form
.
setFieldsValue
({
'streetId'
:
searchParams
.
params
[
elem
]
})
break
default
:
default
:
break
break
}
}
...
...
src/views/houseData/propertyInfoView.vue
View file @
29ad9921
...
@@ -463,7 +463,7 @@
...
@@ -463,7 +463,7 @@
</a-row>
</a-row>
<a-row
type=
"flex"
justify=
"start"
class=
"detailsPartLine"
>
<a-row
type=
"flex"
justify=
"start"
class=
"detailsPartLine"
>
<a-col
span=
"24"
>
<a-col
span=
"24"
>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
label=
'
'
:text=
'""
'
/>
<DetailsItem
:labelSpan=
'12'
:textSpan=
'12'
label=
'
所属街道'
:text=
'detail.streetName
'
/>
</a-col>
</a-col>
</a-row>
</a-row>
</a-col>
</a-col>
...
...
src/views/houseData/tbls.vue
View file @
29ad9921
...
@@ -274,13 +274,18 @@ export default {
...
@@ -274,13 +274,18 @@ export default {
this
.
$ajax
.
get
({
this
.
$ajax
.
get
({
url
:
this
.
$api
.
GET_TBLS_KEYS
,
url
:
this
.
$api
.
GET_TBLS_KEYS
,
params
:
{
params
:
{
tbl
:
params
tbl
:
params
,
pageSize
:
this
.
pagination
.
pageSize
,
pageNo
:
this
.
pagination
.
current
},
},
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
taskCollectList
=
[]
this
.
taskCollectList
=
[]
if
(
res
.
code
==
'200'
)
{
if
(
res
.
code
==
'200'
)
{
let
list
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
let
list
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
this
.
pagination
.
total
=
this
.
$com
.
confirm
(
res
,
'data.totalRows'
,
0
)
this
.
pagination
.
total
=
this
.
$com
.
confirm
(
res
,
'data.totalRows'
,
0
)
this
.
pagination
.
pageSize
=
res
.
data
.
pageSize
this
.
pagination
.
current
=
res
.
data
.
page
this
.
pagination
.
pageNo
=
res
.
data
.
totalPages
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
){
if
(
list
[
i
].
compntType
==
'select'
)
{
if
(
list
[
i
].
compntType
==
'select'
)
{
list
[
i
].
compntType
=
'选择项'
list
[
i
].
compntType
=
'选择项'
...
...
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