Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
华国豪
Athena
Commits
58057703
Commit
58057703
authored
Jun 18, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加监听
parent
4dd273be
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
8 deletions
+31
-8
IndependentList.vue
src/components/DependentTravel/IndependentList.vue
+1
-0
OrderInvoiceTwo.vue
src/components/PersonalCenter/OrderInvoiceTwo.vue
+4
-0
OneDayDetailTwo.vue
src/components/mall/OneDayDetailTwo.vue
+1
-0
detailTwo.vue
src/components/mall/detailTwo.vue
+5
-1
search.vue
src/components/mall/search.vue
+2
-0
index.vue
src/components/trade/order/index.vue
+2
-2
indexTwo.vue
src/components/trade/order/indexTwo.vue
+7
-1
index.js
src/plugins/index.js
+9
-4
No files found.
src/components/DependentTravel/IndependentList.vue
View file @
58057703
...
...
@@ -389,6 +389,7 @@ export default {
this
.
loading
=
true
;
this
.
apipost
(
'b2b_get_GetB2BFreePageList'
,
this
.
listmsg
,
res
=>
{
this
.
loading
=
false
;
this
.
getAction
(
4
);
if
(
res
.
data
.
resultCode
==
1
){
this
.
datalist
=
res
.
data
.
data
.
pageData
;
...
...
src/components/PersonalCenter/OrderInvoiceTwo.vue
View file @
58057703
...
...
@@ -11,6 +11,7 @@
:numPeople=
"numPeople"
v-if=
"tcid && ID"
:teamType=
"teamType"
:free=
"free"
></trade>
<div
class=
"baidumap"
id=
"allmap"
></div>
</el-col>
...
...
@@ -40,6 +41,7 @@ export default {
loadingDataList
:
false
,
priceList
:
[],
dataList
:
[],
free
:
-
1
,
};
},
computed
:
{},
...
...
@@ -48,6 +50,8 @@ export default {
this
.
tcid
=
decodeURIComponent
(
this
.
$route
.
query
.
tcid
)
this
.
numPeople
=
JSON
.
parse
(
this
.
$route
.
query
.
numPeople
)
this
.
teamType
=
this
.
$route
.
query
.
teamType
;
this
.
free
=
this
.
$route
.
query
.
free
;
},
mounted
()
{
this
.
b2b_get_GetCustomerInfo
();
...
...
src/components/mall/OneDayDetailTwo.vue
View file @
58057703
...
...
@@ -667,6 +667,7 @@ export default {
bus
.
$on
(
'order-chosen'
,
this
.
orderChosen
)
if
(
this
.
$route
.
query
.
local
){
this
.
local
=
1
;
this
.
getAction
(
6
);
}
},
mounted
()
{
...
...
src/components/mall/detailTwo.vue
View file @
58057703
...
...
@@ -203,7 +203,7 @@
</el-col>
</el-col>
</el-row>
<trade
:teamType=
"teamType"
:priceList=
'dataList.priceList'
:trip=
'dataList'
:numPeople=
"null"
v-if=
"dataList.priceList && dataList.priceList.length>0"
></trade>
<trade
:
free=
"free"
:
teamType=
"teamType"
:priceList=
'dataList.priceList'
:trip=
'dataList'
:numPeople=
"null"
v-if=
"dataList.priceList && dataList.priceList.length>0"
></trade>
<div
ref=
"nav"
>
<el-row>
<el-col
:span=
"20"
:offset=
"2"
>
...
...
@@ -909,12 +909,16 @@ export default {
getData
:
function
(
msg
)
{
this
.
loadingDataList
=
true
this
.
apipost
(
'b2b_get_GetB2BTravelInfoV1'
,
msg
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
let
data
=
(
r
.
data
.
data
);
this
.
sonData
=
data
;
this
.
dayList
=
data
.
dayList
;
this
.
feature
=
data
.
feature
;
this
.
isDirect
=
data
.
isDirect
;
if
(
!
this
.
$route
.
query
.
free
){
this
.
getAction
(
7
,
data
.
lineId
);
}
if
(
data
.
videoStr
)
{
let
path
=
data
.
videoStr
.
indexOf
(
'http'
)
>
-
1
?
data
.
videoStr
:
domainManager
().
ViittoFileUrl
+
data
.
videoStr
;
this
.
VideoStr
=
path
;
...
...
src/components/mall/search.vue
View file @
58057703
...
...
@@ -205,6 +205,7 @@ export default {
}
}
,
created
(){
this
.
getAction
(
8
);
this
.
cityId
=
localStorage
.
cityId
;
this
.
companyId
=
parseInt
(
localStorage
.
site
);
}
,
...
...
@@ -367,6 +368,7 @@ export default {
}
let
cmd
=
'b2b_get_GetB2BTravelPageList'
this
.
apipost
(
cmd
,
msg
,
r
=>
{
this
.
teamDatas
=
r
.
data
.
data
.
pageData
this
.
totalCount
=
r
.
data
.
data
.
pageCount
this
.
isLoading
=
false
...
...
src/components/trade/order/index.vue
View file @
58057703
...
...
@@ -193,7 +193,7 @@
import
moment
from
'moment'
import
bus
from
'../../../plugins/event-bus'
export
default
{
props
:[
'priceList'
,
'trip'
,
'numPeople'
,
"teamType"
],
props
:[
'priceList'
,
'trip'
,
'numPeople'
,
"teamType"
,
"free"
],
data
()
{
let
that
=
this
return
{
...
...
@@ -410,7 +410,7 @@ export default {
}
this
.
$router
.
push
({
path
:
'/OrderInvoiceTwo'
,
query
:
{
id
:
encodeURIComponent
(
ID
),
tcid
:
tcid
,
numPeople
:
JSON
.
stringify
(
numPeople
),
teamType
:
this
.
teamType
}
query
:
{
id
:
encodeURIComponent
(
ID
),
tcid
:
tcid
,
numPeople
:
JSON
.
stringify
(
numPeople
),
teamType
:
this
.
teamType
,
free
:
this
.
free
}
})
return
}
...
...
src/components/trade/order/indexTwo.vue
View file @
58057703
...
...
@@ -412,7 +412,7 @@ import bus from '../../../plugins/event-bus'
import
LuckDraw
from
'../../mall/LuckDraw'
export
default
{
components
:
{
LuckDraw
},
props
:[
'ID'
,
'tcid'
,
'numPeople'
,
"teamType"
],
props
:[
'ID'
,
'tcid'
,
'numPeople'
,
"teamType"
,
"free"
],
data
()
{
let
that
=
this
return
{
...
...
@@ -825,6 +825,12 @@ export default {
this
.
apipost
(
"sellorder_post_SetOrderInfoForB2B"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
if
(
this
.
free
==
1
){
this
.
getAction
(
5
);
}
if
(
this
.
free
==
0
){
this
.
getAction
(
9
);
}
this
.
$router
.
push
({
path
:
'/newPersonalCenter?key=8-1'
})
}
else
{
this
.
Error
(
res
.
data
.
message
)
...
...
src/plugins/index.js
View file @
58057703
...
...
@@ -269,10 +269,15 @@ export default {
},
faildCall
)
},
Vue
.
prototype
.
getAction
=
function
(
actionId
,
lineId
){
if
(
actionId
==
1
){
console
.
log
(
"浏览签证产品"
,
actionId
)
}
console
.
log
(
"lineId"
,
lineId
)
// if(actionId==1){
// console.log("浏览签证产品",actionId)
// }
// if(actionId==7){
// console.log("浏览跟团游",actionId)
// }
// if(actionId==9){
// console.log("浏览跟团游下单",actionId)
// }
let
msg
=
{};
msg
.
actionId
=
actionId
;
if
(
lineId
){
...
...
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