Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dbbbf07f
authored
Aug 01, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
a66f5279
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/packages/GLProvince/src/index.vue
src/packages/GLProvince/src/index.vue
View file @
dbbbf07
...
...
@@ -2,13 +2,13 @@
<div
v-if=
"provinceView"
>
<el-form
ref=
"provinceForm"
:model=
"provinceForm"
:inline=
"inline"
class=
"province"
label-width=
"154px"
>
<el-form-item
:label=
"provinceLabel"
>
<el-select
size=
"small"
v-model=
"provinceForm.provinceName"
clearable
placeholder=
"选择省份"
@
clear=
"selectProvince"
class=
"select-padding"
>
<el-select
size=
"small"
v-model=
"provinceForm.provinceName"
clearable
placeholder=
"选择省份"
@
clear=
"selectProvince"
class=
"select-padding"
:style=
"
{ width: subdistrict == 2 ? '52%' : '33.33%' }"
>
<el-option
v-for=
"(item, index) in AllData"
:key=
"'province' + index"
:label=
"item.name"
:value=
"item.name"
@
click
.
native=
"selectProvince(item)"
></el-option>
</el-select>
<el-select
size=
"small"
v-model=
"provinceForm.cityName"
clearable
placeholder=
"选择市"
@
clear=
"selectCity"
class=
"select-padding"
>
<el-select
size=
"small"
v-model=
"provinceForm.cityName"
clearable
placeholder=
"选择市"
@
clear=
"selectCity"
class=
"select-padding"
:style=
"
{ width: subdistrict == 2 ? '52%' : '33.33%' }"
>
<el-option
v-for=
"(item, index) in cityList"
:key=
"'city' + index"
:label=
"item.name"
:value=
"item.name"
@
click
.
native=
"selectCity(item)"
></el-option>
</el-select>
<el-select
v-if=
"subdistrict == 3"
size=
"small"
v-model=
"provinceForm.townName"
clearable
placeholder=
"选择区"
@
clear=
"selectTown"
class=
"select-padding"
>
<el-select
v-if=
"subdistrict == 3"
size=
"small"
v-model=
"provinceForm.townName"
clearable
placeholder=
"选择区"
@
clear=
"selectTown"
class=
"select-padding"
:style=
"
{ width: subdistrict == 2 ? '52%' : '33.33%' }"
>
<el-option
v-for=
"(item, index) in townList"
:key=
"'town' + index"
:label=
"item.name"
:value=
"item.name"
@
click
.
native=
"selectTown(item)"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -20,7 +20,7 @@
</el-input>
</el-form-item>
</el-form>
<GLDialog
:visible
.
sync=
"dialogMapVisible"
:mode=
"'big'"
bigTitle=
"选择地址"
>
<GLDialog
:visible
.
sync=
"dialogMapVisible"
:mode=
"'big'"
bigTitle=
"选择地址"
>
<map-view
ref=
"mapForm"
:mapHeight=
"mapHeight"
></map-view>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"dialogMapVisible = false"
>
取 消
</el-button>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment