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
13577256
Commit
13577256
authored
Oct 10, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a108ac81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
tripmap.vue
...omponents/newTravelmanager/TravelGroupControl/tripmap.vue
+10
-10
No files found.
src/components/newTravelmanager/TravelGroupControl/tripmap.vue
View file @
13577256
...
...
@@ -9,7 +9,7 @@
<el-option
v-for=
"(item, i) in x.NationList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"i"
></el-option>
</el-select>
<el-select
style=
"min-width: 300px;max-width: 600px;margin-left: 5px;margin-right: 5px;"
size=
"mini"
placeholder=
"选择城市"
v-model=
"x.CityListIds"
multiple
filterable
@
change=
"
get
CityListIds(x, index)"
>
placeholder=
"选择城市"
v-model=
"x.CityListIds"
multiple
filterable
@
change=
"
change
CityListIds(x, index)"
>
<el-option
v-for=
"(item, i) in x.CityListAll"
:label=
"item.Name"
:value=
"item.ID"
:key=
"i"
>
</el-option>
</el-select>
...
...
@@ -17,14 +17,14 @@
@
change=
"getColorStr"
></el-color-picker>
<div
style=
"margin-left: 5px; font-size: 23px;cursor: pointer;"
>
<i
v-if=
"TripMapList.length - 1 == index"
class=
"el-icon-circle-plus"
style=
"color: #E95252;"
@
click=
"
alter
City(x, index, 1)"
></i>
@
click=
"
operate
City(x, index, 1)"
></i>
<i
v-if=
"index != 0"
class=
"el-icon-delete-solid"
style=
"color: gray;"
@
click=
"
alter
City(x, index, 0)"
></i>
@
click=
"
operate
City(x, index, 0)"
></i>
</div>
</div>
</div>
<div
class=
"row-aic"
style=
"flex-shrink: 0;"
>
<el-button
type=
"danger"
@
click=
"Cancel"
size=
"small"
>
取消
</el-button>
<el-button
type=
"danger"
@
click=
"Cancel"
size=
"small"
>
关闭
</el-button>
<el-button
type=
"primary"
:loading=
"setLoading"
@
click=
"getResultImg()"
size=
"small"
>
生成图片
</el-button>
</div>
</div>
...
...
@@ -404,6 +404,7 @@
return
;
});
},
//关闭地图弹窗
Cancel
()
{
this
.
$emit
(
"Cancel"
);
},
...
...
@@ -413,7 +414,6 @@
"dict_get_Destination_GetCityExtList"
,
this
.
searchNation
,
res
=>
{
if
(
Type
==
1
)
{
this
.
NationList
=
res
.
data
.
data
;
this
.
NationList
.
forEach
(
x
=>
{
...
...
@@ -428,11 +428,11 @@
err
=>
{}
);
},
//
添加、删除
alter
City
(
x
,
index
,
type
)
{
//
添加、删除城市
operate
City
(
x
,
index
,
type
)
{
let
obj
=
{
CityList
:
[],
CityListAll
:
[],
CityListAll
:
[],
//国家城市下来列表
CityListIds
:
[],
NationList
:
x
.
NationList
,
ColorStr
:
x
.
ColorStr
,
...
...
@@ -467,8 +467,8 @@
getColorStr
()
{
this
.
PostConfig
.
TripMapList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
TripMapList
));
},
//
城市ids
get
CityListIds
(
x
,
index
)
{
//
选择城市或移除城市
change
CityListIds
(
x
,
index
)
{
x
.
CityList
=
[];
let
obj
=
{
CityList
:
[],
...
...
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