Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
voucher-h5
Project
Overview
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
潘琦
voucher-h5
Commits
c897022a
Commit
c897022a
authored
Dec 06, 2019
by
潘琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
张家港签约省市区街居委会,居委会增加remark字段展现及搜索;
parent
c8f885be
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
index.vue
src/views/signing/index.vue
+3
-5
No files found.
src/views/signing/index.vue
View file @
c897022a
...
@@ -387,7 +387,7 @@
...
@@ -387,7 +387,7 @@
<div
class=
"title"
>
选择居委会
</div>
<div
class=
"title"
>
选择居委会
</div>
<ul>
<ul>
<
template
v-for=
"(item, index) in VillagesData"
>
<
template
v-for=
"(item, index) in VillagesData"
>
<li
v-if=
"item.disabled === false"
@
click=
"setVillages(item.adminAreaCode, item.adminAreaName)"
:key=
"index"
>
{{
item
.
adminAreaName
}}
</li>
<li
v-if=
"item.disabled === false"
@
click=
"setVillages(item.adminAreaCode, item.adminAreaName)"
:key=
"index"
>
{{
item
.
adminAreaName
}}
<br
/>
<span
style=
"color:#9aa0a4;"
>
{{
item
.
remark
&&
item
.
remark
!==
'null'
?
item
.
remark
:
''
}}
</span>
</li>
</
template
>
</
template
>
</ul>
</ul>
</div>
</div>
...
@@ -1509,10 +1509,8 @@ export default {
...
@@ -1509,10 +1509,8 @@ export default {
records
.
forEach
(
item
=>
{
records
.
forEach
(
item
=>
{
if
(
item
.
adminAreaName
===
'塘桥镇'
)
{
if
(
item
.
adminAreaName
===
'塘桥镇'
)
{
item
.
disabled
=
false
item
.
disabled
=
false
}
else
{
item
.
disabled
=
true
}
this
.
StreetData
.
push
(
item
)
this
.
StreetData
.
push
(
item
)
}
})
})
}
}
})
})
...
@@ -1811,7 +1809,7 @@ export default {
...
@@ -1811,7 +1809,7 @@ export default {
case
5
:
case
5
:
if
(
searchVal
!==
''
)
{
if
(
searchVal
!==
''
)
{
this
.
VillagesData
.
forEach
(
item
=>
{
this
.
VillagesData
.
forEach
(
item
=>
{
if
(
item
.
adminAreaName
.
indexOf
(
searchVal
)
>=
0
)
{
if
(
item
.
adminAreaName
.
indexOf
(
searchVal
)
>=
0
||
item
.
remark
.
indexOf
(
searchVal
)
>=
0
)
{
item
[
'disabled'
]
=
false
item
[
'disabled'
]
=
false
}
else
{
}
else
{
item
[
'disabled'
]
=
true
item
[
'disabled'
]
=
true
...
...
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