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
c4550d0a
Commit
c4550d0a
authored
Jan 13, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
aa1450d2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2838 additions
and
2 deletions
+2838
-2
HotelList.vue
src/components/Hotel/singleProduct/HotelList.vue
+1
-1
CharteringInfoManage.vue
...sManagement/CharteringManagement/CharteringInfoManage.vue
+1669
-0
CharteringProductList.vue
...Management/CharteringManagement/CharteringProductList.vue
+576
-0
CharteringQuotation.vue
...usManagement/CharteringManagement/CharteringQuotation.vue
+447
-0
Map.vue
...nts/busManagement/CharteringManagement/components/Map.vue
+118
-0
OrderDetails.vue
...nents/scenicSpot/Singleticket/components/OrderDetails.vue
+3
-1
config.js
src/router/config.js
+24
-0
No files found.
src/components/Hotel/singleProduct/HotelList.vue
View file @
c4550d0a
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
{{
HotelLength
}}
{{
HotelLength
}}
</span>
</span>
</button>
</button>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList()
,msg.pageIndex=1
"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
src/components/busManagement/CharteringManagement/CharteringInfoManage.vue
0 → 100644
View file @
c4550d0a
This diff is collapsed.
Click to expand it.
src/components/busManagement/CharteringManagement/CharteringProductList.vue
0 → 100644
View file @
c4550d0a
This diff is collapsed.
Click to expand it.
src/components/busManagement/CharteringManagement/CharteringQuotation.vue
0 → 100644
View file @
c4550d0a
This diff is collapsed.
Click to expand it.
src/components/busManagement/CharteringManagement/components/Map.vue
0 → 100644
View file @
c4550d0a
<
template
>
<div>
<div
style=
"text-align: center;display: flex;justify-content: center;"
>
<el-input
style=
"margin-right: 10px;"
id=
"suggestId"
v-model=
"city"
placeholder=
"请输入搜索名称"
name=
"address_detail"
/>
<input
type=
"button"
class=
"normalBtn sureBtn"
value=
"搜索"
@
click=
"search"
/>
</div>
<div
style=
"height: 330px;width: 100%;margin-top: 15px;"
:id=
"`allmap_$
{id}`">
</div>
<div
class=
"btnList"
>
<input
type=
"button"
class=
"normalBtn sureBtn"
value=
"确定"
@
click=
"sendMsg"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"取消"
@
click=
"closeDialog"
/>
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
"Address"
,
"id"
],
data
(){
return
{
city
:
''
,
address_detail
:
null
,
//详细地址
add_housing_list
:
[
""
],
userlocation
:
null
,
dataList
:
null
,
point
:
{
lng
:
''
,
lat
:
''
}
}
},
watch
:
{
Address
:
{
handler
(
newValue
)
{
this
.
city
=
this
.
Address
this
.
search
()
},
immediate
:
true
},
},
mounted
()
{
this
.
city
=
this
.
Address
this
.
getcity
()
},
methods
:{
closeDialog
()
{
this
.
$emit
(
"refList"
);
},
sendMsg
()
{
// if (!this.isdisable) {
// this.tips("请点击选择地址", "info");
// } else {
// this.$emit("headCallBack", this.dataList);
// this.$emit("refList");
// }
},
search
(){
var
that
=
this
var
map
=
new
BMap
.
Map
(
`allmap_
${
that
.
id
}
`
)
var
local
=
new
BMap
.
LocalSearch
(
map
,
{
// 智能搜索
onSearchComplete
:
function
(){
that
.
userlocation
=
local
.
getResults
().
getPoi
(
0
).
point
// 获取第一个智能搜索的结果
that
.
point
.
lat
=
that
.
userlocation
.
lat
that
.
point
.
lng
=
that
.
userlocation
.
lng
map
.
centerAndZoom
(
that
.
userlocation
,
15
)
map
.
addOverlay
(
new
BMap
.
Marker
(
that
.
userlocation
))
// 添加标注
}
})
local
.
search
(
that
.
city
)
map
.
addEventListener
(
'click'
,
function
(
e
,
target
)
{
var
point
=
new
BMap
.
Point
(
e
.
point
.
lng
,
e
.
point
.
lat
)
// 创建点坐标,汉得公司的经纬度坐标
map
.
centerAndZoom
(
point
,
15
)
// console.log(e,target)
// // 经度
// console.log(that.userlocation.lng)
// // 纬度
// console.log(that.userlocation.lat)
})
map
.
addEventListener
(
'mousedown'
,
function
(
type
,
target
,
point
,
pixel
)
{
console
.
log
(
type
,
target
+
'---'
,
point
+
'---'
,
pixel
+
'---'
)
// // 经度
// console.log(that.userlocation.lng)
// // 纬度
// console.log(that.userlocation.lat)
})
},
getcity
(){
this
.
$nextTick
(
function
()
{
var
that
=
this
// 创建Map实例
var
map
=
new
BMap
.
Map
(
`allmap_
${
that
.
id
}
`
)
// 初始化地图,设置中心点坐标,
var
point
=
new
BMap
.
Point
(
120.211877
,
30.255194
)
// 创建点坐标
map
.
centerAndZoom
(
point
,
15
)
map
.
enableScrollWheelZoom
()
that
.
search
()
})
},
// 新增小区 点击的地址增加进list
add_housing
()
{
this
.
add_housing_list
.
push
(
this
.
city
)
},
// 删除小区
delete_housing
(
index
)
{
// console.log(index)
this
.
add_housing_list
.
splice
(
index
,
1
)
},
}
}
</
script
>
<
style
scoped
>
.btnList
{
margin
:
15px
0
0
auto
;
text-align
:
right
;
margin-bottom
:
15px
;
}
</
style
>
\ No newline at end of file
src/components/scenicSpot/Singleticket/components/OrderDetails.vue
View file @
c4550d0a
...
@@ -127,7 +127,9 @@
...
@@ -127,7 +127,9 @@
watch
:
{
watch
:
{
ticket
:
{
ticket
:
{
handler
:
function
(
val
,
oldVal
)
{
handler
:
function
(
val
,
oldVal
)
{
this
.
t
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ticket
))
this
.
images
=
this
.
t
.
PicPathList
this
.
initMap
(
this
.
t
.
Lng
,
this
.
t
.
Lat
,
this
.
t
.
Name
)
},
},
deep
:
true
deep
:
true
},
},
...
...
src/router/config.js
View file @
c4550d0a
...
@@ -2037,6 +2037,30 @@ export default {
...
@@ -2037,6 +2037,30 @@ export default {
title
:
'车月统计'
title
:
'车月统计'
},
},
},
},
{
path
:
'/CharteringProductList'
,
//包车产品
name
:
'CharteringProductList'
,
component
:
resolve
=>
require
([
'@/components/busManagement/CharteringManagement/CharteringProductList'
],
resolve
),
meta
:
{
title
:
'包车管理'
},
},
{
path
:
'/CharteringInfoManage'
,
//新增、修改包车产品
name
:
'CharteringInfoManage'
,
component
:
resolve
=>
require
([
'@/components/busManagement/CharteringManagement/CharteringInfoManage'
],
resolve
),
meta
:
{
title
:
'新增修改产品'
},
},
{
path
:
'/CharteringQuotation'
,
//包车产品报价
name
:
'CharteringQuotation'
,
component
:
resolve
=>
require
([
'@/components/busManagement/CharteringManagement/CharteringQuotation'
],
resolve
),
meta
:
{
title
:
'产品报价'
},
},
{
{
path
:
'/busAccountInfo'
,
//车控内部核算详情
path
:
'/busAccountInfo'
,
//车控内部核算详情
name
:
'busAccountInfo'
,
name
:
'busAccountInfo'
,
...
...
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