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
11442a0c
Commit
11442a0c
authored
Oct 09, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
98a5b086
ab5a763b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1425 additions
and
654 deletions
+1425
-654
DomesticTravelcontract.vue
src/components/DomesticTravelcontract.vue
+456
-14
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+1
-14
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+0
-14
TravelContractNew.vue
src/components/TravelContractNew.vue
+20
-158
TravelContractNewRB.vue
src/components/TravelContractNewRB.vue
+7
-4
directorOrderList.vue
src/components/TravelManager/Lxy/directorOrderList.vue
+28
-21
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+17
-4
travelOrders.vue
src/components/TravelManager/customizedcar/travelOrders.vue
+408
-385
index.vue
src/components/index.vue
+12
-17
onedayTripContract.vue
src/components/onedayTripContract.vue
+466
-23
index.js
src/plug/index.js
+10
-0
No files found.
src/components/DomesticTravelcontract.vue
View file @
11442a0c
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/BasicDocuments.vue
View file @
11442a0c
...
@@ -2734,20 +2734,7 @@ else if (Type==2) {
...
@@ -2734,20 +2734,7 @@ else if (Type==2) {
tab
:
this
.
$t
(
'objFill.djpxq'
)
tab
:
this
.
$t
(
'objFill.djpxq'
)
}
}
});
});
// return
// let href
// let url
// if (this.isOnline()) {
// url = 'http://fcrmyx.oytour.com/#/'
// } else {
// url = 'http://localhost:8081/#/'
// }
// let data = [{
// path: 'customerOrder',
// OrderId: this.GetDetail.ReFinanceId,
// }]
// href = url + 'automaticLogin?token=' + this.getLocalStorage().token + '&data=' + JSON.stringify(data)
// window.open(href);
},
},
GetAuth
()
{
GetAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
TeamShouZhi
;
var
actionCode
=
this
.
$AuthCode
.
TeamShouZhi
;
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
11442a0c
...
@@ -1962,20 +1962,6 @@
...
@@ -1962,20 +1962,6 @@
tab
:
this
.
$t
(
'objFill.djpxq'
)
tab
:
this
.
$t
(
'objFill.djpxq'
)
}
}
});
});
// return
// let href
// let url
// if (this.isOnline()) {
// url = 'http://fcrmyx.oytour.com/#/'
// } else {
// url = 'http://localhost:8081/#/'
// }
// let data = [{
// path: 'customerOrder',
// OrderId: this.GetDetail.ReFinanceId,
// }]
// href = url + 'automaticLogin?token=' + this.getLocalStorage().token + '&data=' + JSON.stringify(data)
// window.open(href);
},
},
GetAuth
()
{
GetAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
TeamShouZhi
;
var
actionCode
=
this
.
$AuthCode
.
TeamShouZhi
;
...
...
src/components/TravelContractNew.vue
View file @
11442a0c
...
@@ -2211,165 +2211,27 @@
...
@@ -2211,165 +2211,27 @@
tcid
:
nTCID
,
tcid
:
nTCID
,
isClick
:
1
,
//不算统计
isClick
:
1
,
//不算统计
};
};
if
(
id
!==
undefined
)
{
//根据ID 获取行程内容
//根据ID 获取行程内容
this
.
apipost
(
this
.
apipost
(
"b2b_get_GetB2BTravelInfoNoDes"
,
"b2b_get_GetB2BTravelInfoNoDes"
,
msg
,
msg
,
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
if
(
res
.
data
.
data
.
priceList
&&
res
.
data
.
data
.
priceList
&&
res
.
data
.
data
.
priceList
.
length
>
0
res
.
data
.
data
.
priceList
.
length
>
0
)
{
)
{
this
.
startDate
=
res
.
data
.
data
.
priceList
[
0
].
startDate
;
this
.
startDate
=
res
.
data
.
data
.
priceList
[
0
].
startDate
;
}
this
.
tripDays
=
res
.
data
.
data
.
dayList
;
this
.
trifficList
=
res
.
data
.
data
.
trafficList
;
this
.
tripList
=
res
.
data
.
data
.
dayList
;
this
.
LineName
=
res
.
data
.
data
.
lineName
;
this
.
init
();
}
},
(
err
)
=>
{}
);
}
else
{
var
dayList
=
[];
this
.
subConfig
.
DayList
.
forEach
((
objItem
,
objIndex
)
=>
{
var
dayItem
=
this
.
$tripUtils
.
daysArrayObj
();
dayItem
.
dayNum
=
objItem
.
dayNum
;
//每一天的数组
var
dayArray
=
[];
//子项遍历
objItem
.
dayArray
.
forEach
((
subItem
)
=>
{
switch
(
subItem
.
Type
)
{
//交通
case
"1"
:
var
subTraffiArray
=
[];
subItem
.
childItem
.
SubTraffic
.
forEach
((
subTrafficItem
)
=>
{
subTraffiArray
.
push
({
startCityName
:
subTrafficItem
.
StartCityName
,
arrivalType
:
subTrafficItem
.
ArrivalType
,
arrivalCityName
:
subTrafficItem
.
ArrivalCityName
,
});
});
var
trafficObj
=
{
type
:
subItem
.
Type
,
childItem
:
{
description
:
subItem
.
childItem
.
Description
,
subTraffic
:
subTraffiArray
,
},
};
dayArray
.
push
(
trafficObj
);
break
;
//景点
case
"2"
:
var
imgArray
=
[];
subItem
.
childItem
.
ImaArray
.
forEach
((
imgItem
)
=>
{
imgArray
.
push
({
url
:
imgItem
.
Url
,
name
:
imgItem
.
Name
,
});
});
var
scenicObj
=
{
type
:
subItem
.
Type
,
childItem
:
{
couponsName
:
subItem
.
childItem
.
CouponsName
,
couponsTicketName
:
subItem
.
childItem
.
CouponsTicketName
,
playTimeHour
:
subItem
.
childItem
.
PlayTimeHour
,
playTimeMinutes
:
subItem
.
childItem
.
PlayTimeMinutes
,
description
:
subItem
.
childItem
.
Description
,
imaArray
:
imgArray
,
},
};
dayArray
.
push
(
scenicObj
);
break
;
//酒店
case
"3"
:
var
imgArray
=
[];
subItem
.
childItem
.
ImaArray
.
forEach
((
imgItem
)
=>
{
imgArray
.
push
({
url
:
imgItem
.
Url
,
name
:
imgItem
.
Name
,
});
});
var
hotelObj
=
{
type
:
subItem
.
Type
,
childItem
:
{
hotelName
:
subItem
.
childItem
.
HotelName
,
hotelProductName
:
subItem
.
childItem
.
HotelProductName
,
useDinnerType
:
subItem
.
childItem
.
UseDinnerType
,
description
:
subItem
.
childItem
.
Description
,
imaArray
:
imgArray
,
},
};
dayArray
.
push
(
hotelObj
);
break
;
//餐厅
case
"4"
:
var
imgArray
=
[];
subItem
.
childItem
.
ImaArray
.
forEach
((
imgItem
)
=>
{
imgArray
.
push
({
url
:
imgItem
.
Url
,
name
:
imgItem
.
Name
,
});
});
var
dinnerObj
=
{
type
:
subItem
.
Type
,
childItem
:
{
dinnerName
:
subItem
.
childItem
.
DinnerName
,
mealName
:
subItem
.
childItem
.
MinnerName
,
useDinnerType
:
subItem
.
childItem
.
UseDinnerType
,
useTimeHour
:
subItem
.
childItem
.
UseTimeHour
,
useTimeMinutes
:
subItem
.
childItem
.
UseTimeMinutes
,
description
:
subItem
.
childItem
.
Description
,
descriptionText
:
subItem
.
childItem
.
Description
,
imaArray
:
imgArray
,
},
};
dayArray
.
push
(
dinnerObj
);
break
;
//自由活动
case
"5"
:
var
freedomObj
=
{
type
:
subItem
.
Type
,
childItem
:
{
description
:
subItem
.
Description
,
descriptionText
:
subItem
.
Description
,
},
};
dayArray
.
push
(
freedomObj
);
break
;
//温馨提示
case
"6"
:
var
warmObj
=
{
type
:
subItem
.
Type
,
childItem
:
{
description
:
subItem
.
Description
,
descriptionText
:
subItem
.
Description
,
},
};
dayArray
.
push
(
warmObj
);
break
;
//行程大点
case
"7"
:
var
titleObj
=
{
type
:
subItem
.
Type
,
childItem
:
{
title
:
subItem
.
childItem
.
Title
,
description
:
subItem
.
childItem
.
Description
,
},
};
dayArray
.
push
(
titleObj
);
break
;
}
}
});
this
.
tripDays
=
res
.
data
.
data
.
dayList
;
dayItem
.
dayArray
=
dayArray
;
this
.
trifficList
=
res
.
data
.
data
.
trafficList
;
dayList
.
push
(
dayItem
);
this
.
tripList
=
res
.
data
.
data
.
dayList
;
});
this
.
LineName
=
res
.
data
.
data
.
lineName
;
this
.
tripList
=
dayList
;
this
.
init
();
this
.
init
();
}
}
},
(
err
)
=>
{}
);
},
},
init
()
{
init
()
{
this
.
tripList
.
forEach
((
x
,
j
)
=>
{
this
.
tripList
.
forEach
((
x
,
j
)
=>
{
...
...
src/components/TravelContractNewRB.vue
View file @
11442a0c
...
@@ -389,7 +389,8 @@
...
@@ -389,7 +389,8 @@
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"公司名称"
>
<el-form-item
label=
"公司名称"
>
<el-select
v-model=
"CtObj.SignType"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeSignType"
class=
"w300"
>
<el-select
v-model=
"CtObj.SignType"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"changeSignType"
class=
"w300"
>
<el-option
key=
"0"
label=
"四川和平国际旅行社有限公司"
:value=
"0"
>
<el-option
key=
"0"
label=
"四川和平国际旅行社有限公司"
:value=
"0"
>
</el-option>
</el-option>
<el-option
key=
"1"
label=
"(株)ピースインターナショナル"
:value=
"1"
>
<el-option
key=
"1"
label=
"(株)ピースインターナショナル"
:value=
"1"
>
...
@@ -471,7 +472,8 @@
...
@@ -471,7 +472,8 @@
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"旅游者同意选择下列第"
>
<el-form-item
label=
"旅游者同意选择下列第"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'w150'
v-model=
"CtObj.carpoolOpinion"
>
<el-select
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'w150'
v-model=
"CtObj.carpoolOpinion"
>
<el-option
label=
"A"
:value=
'1'
></el-option>
<el-option
label=
"A"
:value=
'1'
></el-option>
<el-option
label=
"B"
:value=
'2'
></el-option>
<el-option
label=
"B"
:value=
'2'
></el-option>
<el-option
label=
"C"
:value=
'3'
></el-option>
<el-option
label=
"C"
:value=
'3'
></el-option>
...
@@ -1444,12 +1446,13 @@
...
@@ -1444,12 +1446,13 @@
let
lineTeam
=
this
.
CtObj
.
productName
;
let
lineTeam
=
this
.
CtObj
.
productName
;
let
days
=
this
.
CtObj
.
dayNum
;
let
days
=
this
.
CtObj
.
dayNum
;
let
nights
=
this
.
CtObj
.
nightNum
;
let
nights
=
this
.
CtObj
.
nightNum
;
var
erpUrl
=
this
.
domainManager
().
erpSiteUrl
;
this
.
msgGuest
.
forEach
(
x
=>
{
this
.
msgGuest
.
forEach
(
x
=>
{
let
obj
=
{};
let
obj
=
{};
if
(
x
.
checked
)
{
if
(
x
.
checked
)
{
obj
.
mobiles
=
x
.
clientCall
;
obj
.
mobiles
=
x
.
clientCall
;
obj
.
Url
=
obj
.
Url
=
erpUrl
+
`
http://yx.oytour.com/#/
clientConfirm?TCID=
${
this
.
msg
.
TCID
}
&orderID=
${
this
.
msg
.
orderID
}
&guestId=
${
x
.
guestId
}
`
;
`clientConfirm?TCID=
${
this
.
msg
.
TCID
}
&orderID=
${
this
.
msg
.
orderID
}
&guestId=
${
x
.
guestId
}
`
;
msgObj
.
push
(
obj
);
msgObj
.
push
(
obj
);
}
}
})
})
...
...
src/components/TravelManager/Lxy/directorOrderList.vue
View file @
11442a0c
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
<div>
<div>
<span>
下单时间:
</span>
<span>
下单时间:
</span>
<el-date-picker
v-model=
"dateList"
@
change=
"msg.pageIndex=1,getList()"
size=
"small"
type=
"datetimerange"
<el-date-picker
v-model=
"dateList"
@
change=
"msg.pageIndex=1,getList()"
size=
"small"
type=
"datetimerange"
:range-separator=
"$t('OrderList.zhi')"
value-format=
"yyyy-MM-dd HH:mm:ss"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
>
:range-separator=
"$t('OrderList.zhi')"
value-format=
"yyyy-MM-dd HH:mm:ss"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
>
</el-date-picker>
</el-date-picker>
<span
style=
"margin-left:15px"
>
所属平台:
</span>
<span
style=
"margin-left:15px"
>
所属平台:
</span>
<el-select
class=
"w120"
@
change=
"msg.pageIndex=1,getList()"
v-model=
"msg.OrderSource"
size=
"small"
<el-select
class=
"w120"
@
change=
"msg.pageIndex=1,getList()"
v-model=
"msg.OrderSource"
size=
"small"
...
@@ -35,9 +36,10 @@
...
@@ -35,9 +36,10 @@
</el-option>
</el-option>
</el-select>
</el-select>
<el-input
@
clear=
"msg.pageIndex=1,getList()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
clearable
<el-input
@
clear=
"msg.pageIndex=1,getList()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
clearable
style=
"margin-left:15px;width:300px"
class=
"input-with-select"
:placeholder=
"$t('fnc.qsrneirong')"
v-model=
"msgVal"
style=
"margin-left:15px;width:300px"
class=
"input-with-select"
:placeholder=
"$t('fnc.qsrneirong')"
size=
"small"
>
v-model=
"msgVal"
size=
"small"
>
<el-select
class=
"pendSelect"
@
change=
"ChangeId"
v-model=
"msgId"
slot=
"prepend"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
"pendSelect"
@
change=
"ChangeId"
v-model=
"msgId"
slot=
"prepend"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in option"
:key=
"item.Id"
:label=
"item.name"
:value=
"item.Id"
>
<el-option
v-for=
"item in option"
:key=
"item.Id"
:label=
"item.name"
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -205,7 +207,7 @@
...
@@ -205,7 +207,7 @@
src=
"../../../assets/img/userman/edit1.png"
alt=
""
>
src=
"../../../assets/img/userman/edit1.png"
alt=
""
>
</span>
</span>
</div>
</div>
<div
flex=
"cross:center main:center"
>
人数:x
{{
list
.
Number
}}
</div>
<div
flex=
"cross:center main:center"
>
人数:x
{{
list
.
Number
}}
</div>
</div>
</div>
<div
style=
"width: 200px; display: flex;flex-direction:column;justify-content: center"
<div
style=
"width: 200px; display: flex;flex-direction:column;justify-content: center"
v-if=
"TenantId==1"
>
v-if=
"TenantId==1"
>
...
@@ -451,7 +453,8 @@
...
@@ -451,7 +453,8 @@
</el-form-item>
</el-form-item>
<
template
v-if=
"fhMsg.Type==1"
>
<
template
v-if=
"fhMsg.Type==1"
>
<el-form-item
label=
"快递公司"
prop=
"ExpressId"
>
<el-form-item
label=
"快递公司"
prop=
"ExpressId"
>
<el-select
class=
"w200"
size=
"small"
v-model=
"fhMsg.ExpressId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
"w200"
size=
"small"
v-model=
"fhMsg.ExpressId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in ExpressList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
"item in ExpressList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -498,7 +501,8 @@
...
@@ -498,7 +501,8 @@
<el-option
v-for=
"item in cityList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
"item in cityList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-select
size=
"small"
v-model=
"shMsg.District"
style=
"width:144px"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
size=
"small"
v-model=
"shMsg.District"
style=
"width:144px"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in areaList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
"item in areaList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -1580,9 +1584,10 @@
...
@@ -1580,9 +1584,10 @@
ECOrderDetailId
:
list
.
Id
ECOrderDetailId
:
list
.
Id
}]
}]
}
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=1&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
var
newUrl
=
this
.
domainManager
().
erpSiteUrl
+
'ChoiceAddFinancialDocuments?Type=1&companyID='
+
companyID
+
window
.
open
(
'http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=1&companyID='
+
companyID
+
'&orderObj='
+
'&orderObj='
+
JSON
.
stringify
(
orderObj
))
JSON
.
stringify
(
orderObj
)
window
.
open
(
newUrl
)
},
},
goPayment
(
item
,
list
)
{
//跳到erp付款单
goPayment
(
item
,
list
)
{
//跳到erp付款单
let
currentUser
=
this
.
getLocalStorage
()
let
currentUser
=
this
.
getLocalStorage
()
...
@@ -1597,19 +1602,20 @@
...
@@ -1597,19 +1602,20 @@
ECOrderDetailId
:
list
.
Id
ECOrderDetailId
:
list
.
Id
}]
}]
}
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
var
newUrl
=
this
.
domainManager
().
erpSiteUrl
+
'ChoiceAddFinancialDocuments?Type=2&companyID='
+
companyID
+
window
.
open
(
'http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=2&companyID='
+
companyID
+
'&orderObj='
+
'&orderObj='
+
JSON
.
stringify
(
orderObj
))
JSON
.
stringify
(
orderObj
)
window
.
open
(
newUrl
)
},
},
goSF
(
item
)
{
//收入详情
goSF
(
item
)
{
//收入详情
// window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
this
.
CommonJump
(
'FinancialDocumentsDetail'
,
{
// '&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
id
:
item
.
FrID
this
.
CommonJump
(
'FinancialDocumentsDetail'
,{
id
:
item
.
FrID
})
})
},
},
goZF
(
item
)
{
//付款详情
goZF
(
item
)
{
//付款详情
// window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
this
.
CommonJump
(
'FinancialDocumentsDetail'
,
{
// '&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
id
:
item
.
FrID
this
.
CommonJump
(
'FinancialDocumentsDetail'
,{
id
:
item
.
FrID
})
})
}
}
},
},
};
};
...
@@ -1621,10 +1627,11 @@
...
@@ -1621,10 +1627,11 @@
padding-top
:
3px
;
padding-top
:
3px
;
margin-left
:
7px
;
margin-left
:
7px
;
}
}
.orderList
span
{
.orderList
span
{
font-size
:
13px
;
font-size
:
13px
;
font-weight
:
normal
;
font-weight
:
normal
;
}
}
.orderList
.upload-demo
{
.orderList
.upload-demo
{
float
:
right
;
float
:
right
;
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
11442a0c
...
@@ -1465,6 +1465,11 @@
...
@@ -1465,6 +1465,11 @@
},
},
data
()
{
data
()
{
return
{
return
{
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
();
}
},
GroupTypeVisible
:
false
,
GroupTypeVisible
:
false
,
GroupTypeObj
:
{},
GroupTypeObj
:
{},
dialog
:
{
dialog
:
{
...
@@ -1704,10 +1709,18 @@
...
@@ -1704,10 +1709,18 @@
pickerBeginDateBefore
:
{
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
return
false
;
if
(
this
.
queryMsg
.
StartGroupDate
){
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
return
false
;
}
else
{
}
else
{
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
);
if
(
this
.
queryMsg
.
StartGroupDate
){
return
endTime
.
getTime
()
<
time
.
getTime
();
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
{
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
);
return
endTime
.
getTime
()
<
time
.
getTime
();
}
}
}
}
}
},
},
...
@@ -1837,7 +1850,7 @@
...
@@ -1837,7 +1850,7 @@
resultStr
+=
'已取消订车,取消时间:'
+
item
.
CarPushDate
+
'<br/>点击可重新推送用车'
;
resultStr
+=
'已取消订车,取消时间:'
+
item
.
CarPushDate
+
'<br/>点击可重新推送用车'
;
}
}
}
}
//订房推送
//订房推送
else
if
(
type
==
1
)
{
else
if
(
type
==
1
)
{
if
(
item
.
IsPush
==
1
)
{
if
(
item
.
IsPush
==
1
)
{
resultStr
=
'已推送订房,推送时间:'
+
item
.
HotelPushDate
+
'<br/> 点击可取消订房'
;
resultStr
=
'已推送订房,推送时间:'
+
item
.
HotelPushDate
+
'<br/> 点击可取消订房'
;
...
...
src/components/TravelManager/customizedcar/travelOrders.vue
View file @
11442a0c
This diff is collapsed.
Click to expand it.
src/components/index.vue
View file @
11442a0c
...
@@ -2177,16 +2177,19 @@
...
@@ -2177,16 +2177,19 @@
testApi
()
{
testApi
()
{
var
postMsg
=
{};
var
postMsg
=
{};
var
cmd
=
""
;
var
cmd
=
""
;
cmd
=
"
ppt_trip_DeleteTripMain
"
;
cmd
=
""
;
postMsg
=
{
postMsg
=
{
MainId
:
1
,
}
}
this
.
apipost
(
if
(
cmd
!=
''
)
{
cmd
,
postMsg
,
this
.
apipost
(
res
=>
{
cmd
,
postMsg
,
console
.
log
(
"testApi"
,
res
);
res
=>
{
}
console
.
log
(
"testApi"
,
res
);
);
}
);
}
},
},
//测试方法
//测试方法
testEmp
()
{
testEmp
()
{
...
@@ -2394,16 +2397,8 @@
...
@@ -2394,16 +2397,8 @@
},
},
LogSetReadStatus
(
s
)
{
LogSetReadStatus
(
s
)
{
if
(
s
.
Type
==
7
)
{
if
(
s
.
Type
==
7
)
{
let
url
=
""
;
let
url
=
this
.
domainManager
().
erpSiteUrl
;
if
(
!
this
.
isOnline
())
{
url
=
"http://testerp.oytour.com:8081/#/"
;
}
else
{
url
=
"http://yx.oytour.com/#/"
;
}
let
path
=
url
+
s
.
Link
;
let
path
=
url
+
s
.
Link
;
let
routeData
=
this
.
$router
.
resolve
({
name
:
path
})
window
.
open
(
path
,
'_blank'
)
window
.
open
(
path
,
'_blank'
)
}
else
{
}
else
{
this
.
apipost
(
this
.
apipost
(
...
...
src/components/onedayTripContract.vue
View file @
11442a0c
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
11442a0c
...
@@ -118,6 +118,7 @@ export default {
...
@@ -118,6 +118,7 @@ export default {
let
mallUrl
=
""
;
//商城API
let
mallUrl
=
""
;
//商城API
let
lxymallUrl
=
''
;
//国内游api
let
lxymallUrl
=
''
;
//国内游api
let
crmUrl
=
""
;
//crm API
let
crmUrl
=
""
;
//crm API
let
erpSiteUrl
=
""
;
//ERP站点
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
let
isOnline
=
0
;
//0-本地测试,1-线上
let
isOnline
=
0
;
//0-本地测试,1-线上
let
ocrUrl
=
"http://192.168.5.46:8888"
;
let
ocrUrl
=
"http://192.168.5.46:8888"
;
...
@@ -130,12 +131,14 @@ export default {
...
@@ -130,12 +131,14 @@ export default {
mallUrl
=
"http://192.168.5.214:8200"
;
mallUrl
=
"http://192.168.5.214:8200"
;
lxymallUrl
=
"http://192.168.20.13:8088"
;
lxymallUrl
=
"http://192.168.20.13:8088"
;
crmUrl
=
"http://192.168.5.46:5003"
crmUrl
=
"http://192.168.5.46:5003"
erpSiteUrl
=
"http://localhost:8080/#/"
;
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
domainUrl
=
"http://testapi.oytour.com"
;
domainUrl
=
"http://testapi.oytour.com"
;
mallUrl
=
"https://mallapi.oytour.com"
;
mallUrl
=
"https://mallapi.oytour.com"
;
lxymallUrl
=
"https://erpmallapi.oytour.com"
;
lxymallUrl
=
"https://erpmallapi.oytour.com"
;
crmUrl
=
"http://testcrm.oytour.com"
;
crmUrl
=
"http://testcrm.oytour.com"
;
ocrUrl
=
"http://ocr.oytour.com"
;
ocrUrl
=
"http://ocr.oytour.com"
;
erpSiteUrl
=
"http://admin.oytour.com/#/"
;
isOnline
=
1
;
isOnline
=
1
;
}
else
if
(
locationName
.
indexOf
(
'ys.oytour'
)
!==
-
1
)
{
}
else
if
(
locationName
.
indexOf
(
'ys.oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
domainUrl
=
"http://reborn.oytour.com"
;
...
@@ -143,6 +146,7 @@ export default {
...
@@ -143,6 +146,7 @@ export default {
lxymallUrl
=
"https://erpmallapi.oytour.com"
;
lxymallUrl
=
"https://erpmallapi.oytour.com"
;
crmUrl
=
"http://crm.oytour.com"
;
crmUrl
=
"http://crm.oytour.com"
;
ocrUrl
=
"http://ocr.oytour.com"
;
ocrUrl
=
"http://ocr.oytour.com"
;
erpSiteUrl
=
"http://admin.oytour.com/#/"
;
isOnline
=
1
;
isOnline
=
1
;
}
else
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
}
else
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
domainUrl
=
"http://reborn.oytour.com"
;
...
@@ -150,13 +154,19 @@ export default {
...
@@ -150,13 +154,19 @@ export default {
lxymallUrl
=
"https://erpmallapi.oytour.com"
;
lxymallUrl
=
"https://erpmallapi.oytour.com"
;
crmUrl
=
"http://crm.oytour.com"
;
crmUrl
=
"http://crm.oytour.com"
;
ocrUrl
=
"http://ocr.oytour.com"
;
ocrUrl
=
"http://ocr.oytour.com"
;
erpSiteUrl
=
"http://admin.oytour.com/#/"
;
isOnline
=
1
;
isOnline
=
1
;
}
}
var
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
&&
userInfo
.
ERPUrl
&&
userInfo
.
ERPUrl
!=
''
)
{
erpSiteUrl
=
userInfo
.
ERPUrl
;
}
var
obj
=
{
var
obj
=
{
IsOnline
:
isOnline
,
//0-本地,1-线上
IsOnline
:
isOnline
,
//0-本地,1-线上
//主地址
//主地址
DomainUrl
:
domainUrl
,
DomainUrl
:
domainUrl
,
ocrUrl
:
ocrUrl
,
//行程下载地址
ocrUrl
:
ocrUrl
,
//行程下载地址
erpSiteUrl
:
erpSiteUrl
,
//ERP站点地址
//常用提交数据URL
//常用提交数据URL
PostUrl
:
domainUrl
+
"/api/common/post"
,
PostUrl
:
domainUrl
+
"/api/common/post"
,
//上传文件URL
//上传文件URL
...
...
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