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
8192e7ee
Commit
8192e7ee
authored
Jan 15, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ecc51545
c4550d0a
Expand all
Hide 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 @
8192e7ee
...
...
@@ -61,7 +61,7 @@
{{
HotelLength
}}
</span>
</button>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList()
,msg.pageIndex=1
"
/>
</li>
</ul>
</div>
...
...
src/components/busManagement/CharteringManagement/CharteringInfoManage.vue
0 → 100644
View file @
8192e7ee
This diff is collapsed.
Click to expand it.
src/components/busManagement/CharteringManagement/CharteringProductList.vue
0 → 100644
View file @
8192e7ee
This diff is collapsed.
Click to expand it.
src/components/busManagement/CharteringManagement/CharteringQuotation.vue
0 → 100644
View file @
8192e7ee
This diff is collapsed.
Click to expand it.
src/components/busManagement/CharteringManagement/components/Map.vue
0 → 100644
View file @
8192e7ee
<
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 @
8192e7ee
...
...
@@ -127,7 +127,9 @@
watch
:
{
ticket
:
{
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
},
...
...
src/router/config.js
View file @
8192e7ee
...
...
@@ -2045,6 +2045,30 @@ export default {
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'
,
//车控内部核算详情
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