Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
d9f20ed3
Commit
d9f20ed3
authored
May 21, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路
parent
72ef2902
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
876 additions
and
76 deletions
+876
-76
adddzline.vue
src/components/TravelManager/customizedcar/adddzline.vue
+553
-0
dzlineList.vue
src/components/TravelManager/customizedcar/dzlineList.vue
+300
-73
dzscenicspotList.vue
...mponents/TravelManager/customizedcar/dzscenicspotList.vue
+23
-3
No files found.
src/components/TravelManager/customizedcar/adddzline.vue
0 → 100644
View file @
d9f20ed3
This diff is collapsed.
Click to expand it.
src/components/TravelManager/customizedcar/dzlineList.vue
View file @
d9f20ed3
This diff is collapsed.
Click to expand it.
src/components/TravelManager/customizedcar/dzscenicspotList.vue
View file @
d9f20ed3
...
...
@@ -8,7 +8,7 @@
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
@
click=
"
outerVisible = true
,dialogTitle='新增景点'"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
/>
<input
type=
"button"
@
click=
"
addjd()
,dialogTitle='新增景点'"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
/>
</li>
</ul>
</div>
...
...
@@ -58,6 +58,10 @@
<el-form-item
label=
"景点名称"
prop=
"Name"
>
<el-input
class=
'w600'
type=
"text"
v-model=
"addMsg.Name"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
label=
"景点拼音"
>
<el-input
class=
'w600'
type=
"text"
v-model=
"addMsg.PinYin"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
label=
"景点地址"
>
<el-select
v-model=
"addMsg.ProvinceId"
class=
"w150"
filterable
@
change=
"getProvinceList(addMsg.ProvinceId,2)"
:placeholder=
"$t('hotel.hotel_province')"
>
...
...
@@ -122,7 +126,8 @@
Name
:
''
,
DistrictId
:
''
,
CityId
:
''
,
ProvinceId
:
''
ProvinceId
:
''
,
PinYin
:
''
,
},
rules
:{
...
...
@@ -155,6 +160,17 @@
this
.
getProvinceList
(
2
,
1
)
},
methods
:
{
addjd
(){
this
.
outerVisible
=
true
;
this
.
addMsg
=
{
Id
:
'-1'
,
Name
:
''
,
DistrictId
:
''
,
CityId
:
''
,
ProvinceId
:
''
,
PinYin
:
''
,
}
},
getProvinceList
(
ID
,
type
)
{
//根据省份获取城市
let
msg
=
{
Id
:
ID
};
...
...
@@ -200,13 +216,17 @@
},
err
=>
{})
},
Edit
(
row
){
this
.
outerVisible
=
true
;
this
.
dialogTitle
=
'修改景点'
this
.
addMsg
.
Name
=
row
.
Name
;
this
.
addMsg
.
Id
=
row
.
Id
;
this
.
addMsg
.
ProvinceId
=
row
.
ProvinceId
;
this
.
getProvinceList
(
this
.
addMsg
.
ProvinceId
,
2
)
this
.
addMsg
.
CityId
=
row
.
CityId
;
this
.
getProvinceList
(
this
.
addMsg
.
CityId
,
3
)
this
.
addMsg
.
DistrictId
=
row
.
DistrictId
;
this
.
outerVisible
=
true
;
},
addNotice
(
_status
){
...
...
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