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
d21c88e6
Commit
d21c88e6
authored
May 06, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
56e8ff43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
65 deletions
+41
-65
TravelContractNew.vue
src/components/TravelContractNew.vue
+41
-65
No files found.
src/components/TravelContractNew.vue
View file @
d21c88e6
...
@@ -294,7 +294,7 @@
...
@@ -294,7 +294,7 @@
</span>
</span>
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.companySignature=='' && CtObj.auditContract==2"
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.companySignature=='' && CtObj.auditContract==2"
@
click=
"isShowFade=true,GetQrCode()"
value=
"客户签字链接"
/>
@
click=
"isShowFade=true,GetQrCode()"
value=
"客户签字链接"
/>
<span
v-if=
"CtObj.auditContract==1"
style=
"font-size:12px;color:red;"
>
等待行政审批通过后获取签字链接
</span>
<span
v-if=
"CtObj.auditContract==1"
style=
"font-size:12px;color:red;"
>
等待行政审批通过后获取签字链接
</span>
<input
type=
"button"
v-if=
"CtObj.status==1&&CtObj.auditContract==0"
class=
"TCbtn-info"
@
click=
"sendAudit()"
<input
type=
"button"
v-if=
"CtObj.status==1&&CtObj.auditContract==0"
class=
"TCbtn-info"
@
click=
"sendAudit()"
value=
"提交审核"
/>
value=
"提交审核"
/>
...
@@ -303,8 +303,7 @@
...
@@ -303,8 +303,7 @@
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.status==1"
@
click=
"goUrl()"
value=
"预览"
>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.status==1"
@
click=
"goUrl()"
value=
"预览"
>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.auditContract==2"
@
click=
"getinvalid()"
value=
"作废"
>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.auditContract==2"
@
click=
"getinvalid()"
value=
"作废"
>
<input
type=
"button"
class=
"TCbtn-info"
@
click=
"dialogVisible=true,getGuestList()"
value=
"复制合同"
/>
<input
type=
"button"
class=
"TCbtn-info"
@
click=
"dialogVisible=true,getGuestList()"
value=
"复制合同"
/>
<!--
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.status==1"
@
click=
"msgDialog=true,getMsgList()"
value=
"发送短信"
/>
-->
<input
type=
"button"
v-if=
"CtObj.auditContract!=2"
class=
"btn-warning"
@
click=
"submitForm('CtObj')"
<input
type=
"button"
v-if=
"CtObj.auditContract!=2"
class=
"btn-warning"
@
click=
"submitForm('CtObj')"
value=
"保存"
/>
value=
"保存"
/>
</div>
</div>
...
@@ -381,14 +380,16 @@
...
@@ -381,14 +380,16 @@
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"公司名称"
>
<el-form-item
label=
"公司名称"
>
<el-input
type=
"text"
v-model=
"CtObj.company"
:disabled=
"CurrentUserInfo.RB_Group_id==2?true:false"
class=
"w300"
></el-input>
<el-input
type=
"text"
v-model=
"CtObj.company"
:disabled=
"CurrentUserInfo.RB_Group_id==2?true:false"
class=
"w300"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"经营许可证号"
>
<el-form-item
label=
"经营许可证号"
>
<el-input
type=
"text"
class=
"w300"
:disabled=
"CurrentUserInfo.RB_Group_id==2?true:false"
v-model=
"CtObj.businessCertificate"
></el-input>
<el-input
type=
"text"
class=
"w300"
:disabled=
"CurrentUserInfo.RB_Group_id==2?true:false"
v-model=
"CtObj.businessCertificate"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
</tr>
...
@@ -864,7 +865,6 @@
...
@@ -864,7 +865,6 @@
《行程单》用语须准确清晰,在表明服务标准用语中不应当出现“准×星级”、“豪华”、“仅供参考”、“以××为准”、“与××同级”等不确定用语。
《行程单》用语须准确清晰,在表明服务标准用语中不应当出现“准×星级”、“豪华”、“仅供参考”、“以××为准”、“与××同级”等不确定用语。
</div>
</div>
<div
v-if=
"CtObj.travelContent!=''"
v-html=
"CtObj.travelContent"
ref=
"TcTravel_Table"
>
<div
v-if=
"CtObj.travelContent!=''"
v-html=
"CtObj.travelContent"
ref=
"TcTravel_Table"
>
</div>
</div>
<div
v-else
ref=
"TcTravel_Table"
>
<div
v-else
ref=
"TcTravel_Table"
>
<table
class=
"TcTravel_Table"
>
<table
class=
"TcTravel_Table"
>
...
@@ -881,16 +881,16 @@
...
@@ -881,16 +881,16 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"5"
>
<td
colspan=
"5"
contenteditable=
"true"
>
出发时间:
{{
getDate
(
CtObj
.
startDate
)
}}
出发时间:
{{
getDate
(
CtObj
.
startDate
)
}}
出发地点:
{{
CtObj
.
goAirport
}}
出发地点:
{{
CtObj
.
goAirport
}}
目的地:
{{
CtObj
.
touristDestination
}}
目的地:
{{
CtObj
.
touristDestination
}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"5"
>
<td
colspan=
"5"
contenteditable=
"true"
>
结束时间:
{{
getDate
(
CtObj
.
returnDate
)
}}
结束时间:
{{
getDate
(
CtObj
.
returnDate
)
}}
返回地点:
{{
CtObj
.
backAirport
}}
返回地点:
{{
CtObj
.
backAirport
}}
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -901,9 +901,6 @@
...
@@ -901,9 +901,6 @@
</div>
</div>
</td>
</td>
</tr>
</tr>
<!--
<tr>
<td
colspan=
"5"
>
地址:
</td>
</tr>
-->
<tr>
<tr>
<td
style=
"width:15%"
>
行程时间
</td>
<td
style=
"width:15%"
>
行程时间
</td>
<td
style=
"width:50%"
>
主要景点名称(游览时间)
</td>
<td
style=
"width:50%"
>
主要景点名称(游览时间)
</td>
...
@@ -941,27 +938,6 @@
...
@@ -941,27 +938,6 @@
<span
v-else
>
无
</span>
<span
v-else
>
无
</span>
</td>
</td>
</tr>
</tr>
<!-- <tr v-for="(item,index) in tripList">
<td contenteditable="true">{{getDayAddOne(CtObj.startDate,index)}}</td>
<td contenteditable="true">
<div v-for="subItem in item.details">
<span v-if="subItem.content">{{subItem.content}}</span>
<span v-else>{{subItem.title}}</span>
<span v-if="subItem.content==''&&subItem.title==''">温暖的家</span>
</div>
</td>
<td contenteditable="true">
{{item.TrifficType}}
</td>
<td contenteditable="true">
<span v-if="index!=tripList.length-1">旅游酒店</span>
<span v-else>无</span>
</td>
<td contenteditable="true">
<span v-if="index!=tripList.length-1">双人间</span>
<span v-else>无</span>
</td>
</tr> -->
<tr>
<tr>
<td
colspan=
"5"
class=
"TC_LASTTD"
contenteditable=
"true"
>
<td
colspan=
"5"
class=
"TC_LASTTD"
contenteditable=
"true"
>
<div>
备注:1、在主要景点的游览时间不小于此数的时间,以小时填; 2、交通工具不含景区观光车、索道等; 3、“交通工具”栏中的“标准”按各类别的标准填写。
</div>
<div>
备注:1、在主要景点的游览时间不小于此数的时间,以小时填; 2、交通工具不含景区观光车、索道等; 3、“交通工具”栏中的“标准”按各类别的标准填写。
</div>
...
@@ -1157,7 +1133,7 @@
...
@@ -1157,7 +1133,7 @@
</div>
</div>
</el-form>
</el-form>
<el-dialog
custom-class=
'w600'
title=
'合同复制'
:visible
.
sync=
"dialogVisible"
center
>
<el-dialog
custom-class=
'w600'
title=
'合同复制'
:visible
.
sync=
"dialogVisible"
center
>
<input
type=
"button"
v-if=
"backGuest.length>0"
class=
"TCbtn-info"
<input
type=
"button"
v-if=
"backGuest
&&backGuest
.length>0"
class=
"TCbtn-info"
style=
"padding:8px 10px;float:right;margin-bottom:10px;"
@
click=
"copyContract()"
value=
"批量复制合同"
/>
style=
"padding:8px 10px;float:right;margin-bottom:10px;"
@
click=
"copyContract()"
value=
"批量复制合同"
/>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<tr>
<tr>
...
@@ -1276,7 +1252,7 @@
...
@@ -1276,7 +1252,7 @@
dialogVisible
:
false
,
dialogVisible
:
false
,
//发送短信
//发送短信
msgDialog
:
false
,
msgDialog
:
false
,
CurrentUserInfo
:
{},
//当前用户信息
CurrentUserInfo
:
{},
//当前用户信息
//参数
//参数
CtObj
:
{
CtObj
:
{
//基本信息
//基本信息
...
@@ -1356,7 +1332,7 @@
...
@@ -1356,7 +1332,7 @@
tCNum
:
''
,
tCNum
:
''
,
payProtocol
:
''
,
payProtocol
:
''
,
shopProtocol
:
''
,
shopProtocol
:
''
,
dmcName
:
''
dmcName
:
''
},
},
//旅客名单
//旅客名单
guestList
:
[],
guestList
:
[],
...
@@ -1493,7 +1469,7 @@
...
@@ -1493,7 +1469,7 @@
orderID
:
this
.
$route
.
query
.
orderID
,
orderID
:
this
.
$route
.
query
.
orderID
,
},
},
});
});
location
.
href
=
routeData
.
href
location
.
href
=
routeData
.
href
},
},
GetQrCode
:
function
()
{
GetQrCode
:
function
()
{
let
urlObj
=
this
.
domainManager
();
let
urlObj
=
this
.
domainManager
();
...
@@ -1528,7 +1504,9 @@
...
@@ -1528,7 +1504,9 @@
getList
()
{
getList
()
{
this
.
apiJavaPost
(
"/api/contract/getContractInfo"
,
this
.
msg
,
res
=>
{
this
.
apiJavaPost
(
"/api/contract/getContractInfo"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
CtObj
=
res
.
data
.
data
;
var
tempObj
=
res
.
data
.
data
;
console
.
log
(
"tempObj"
,
tempObj
);
this
.
CtObj
=
tempObj
;
this
.
guestList
=
res
.
data
.
data
.
guestList
;
this
.
guestList
=
res
.
data
.
data
.
guestList
;
this
.
CtObj
.
tcid
=
this
.
$route
.
query
.
TCID
;
this
.
CtObj
.
tcid
=
this
.
$route
.
query
.
TCID
;
this
.
CtObj
.
orderId
=
this
.
$route
.
query
.
orderID
;
this
.
CtObj
.
orderId
=
this
.
$route
.
query
.
orderID
;
...
@@ -1554,17 +1532,30 @@
...
@@ -1554,17 +1532,30 @@
if
(
this
.
CtObj
.
regulatorProvinceid
>
0
)
{
if
(
this
.
CtObj
.
regulatorProvinceid
>
0
)
{
this
.
GetJianAreaList
(
this
.
CtObj
.
regulatorProvinceid
,
2
,
1
);
this
.
GetJianAreaList
(
this
.
CtObj
.
regulatorProvinceid
,
2
,
1
);
}
}
if
(
this
.
CurrentUserInfo
.
RB_Group_id
==
2
)
if
(
tempObj
&&
tempObj
.
id
<=
0
)
{
{
this
.
CtObj
.
company
=
'四川和平国际旅行社有限公司'
;
this
.
CtObj
.
company
=
'四川和平国际旅行社有限公司'
;
this
.
CtObj
.
businessCertificate
=
'L-SC-CJ00015'
;
this
.
CtObj
.
businessCertificate
=
'L-SC-CJ00015'
;
this
.
CtObj
.
companyAddress
=
'成都市锦江区一环路东五段87号2幢23层2310.2311.2312号'
;
this
.
CtObj
.
companyAddress
=
'成都市锦江区一环路东五段87号2幢23层2310.2311.2312号'
;
this
.
CtObj
.
regulatorName
=
'四川省成都市旅游质监执法机构'
;
this
.
CtObj
.
regulatorName
=
'四川省成都市旅游质监执法机构'
;
this
.
CtObj
.
regulatorComplainCall
=
'17708046437'
;
this
.
CtObj
.
regulatorComplainCall
=
'17708046437'
;
this
.
CtObj
.
companyComplainCall
=
'028-96927'
;
this
.
CtObj
.
companyComplainCall
=
'028-96927'
;
//生成其他约定事项
let
otherMatter
=
''
;
otherMatter
+=
`本人已阅读了本合同所有条款,乙方(旅行社)已就合同条款对本人进行了真实、准确、完整的说明,本人已完全了解合同条款的内容及含义并同意本合同条款包括行程中有关自愿购物活动以及自愿参加另付费旅游项目的说明,同时本人悉知自身身体适宜此次旅行。\n`
otherMatter
+=
'烦请务必携带自身常用药品,如有身体不适必须第一时间告知随团导游或领队,并及时到当地医院做检查,如因个人原因耽误病情,一切后果均由客人自行承担。
\
n'
otherMatter
+=
'旅游意外伤害险:若旅行社购买赠送客人,如有出险理赔视为旅行社责任风险分摊,保险公司赔偿金额为最终赔付,旅行社不再进行赔偿。
\
n'
otherMatter
+=
'签约委托授权书:本人已征得其余全体委托人同意作为本次旅游出行签约代表(全体委托人名单详见游客名单),全体委托人享受本合同约定的权利,履行本合同约定的义务,受托人在旅游合同及其附件上的签字全体委托人均予以认可。
\
n'
otherMatter
+=
'健康承诺书:在旅游过程中,如本人未按贵社要求如实告知相关健康情况,本人承担因此而产生的全部后果,并承担给贵社造成损失的赔偿责任。本人自愿放弃不适宜本人身体状况参加的相应景点或相应活动;若因本人坚持参加而所产生的全部后果均由本人自行承担。本人因自身过错,造成的一切其他损失由本人承担。本人作为此次出行的签约代表,已就此承诺告知了全体委托人及其直系亲属并得到他们的同意。
\
n'
otherMatter
+=
'如其他游客不予认可本合同或者本人未取得授权、未告知本合同及相关告知书内容的,由本人承担相应责任。'
this
.
CtObj
.
otherMatter
=
otherMatter
;
//初始化行程
this
.
GetTrip
(
0
,
this
.
msg
.
TCID
);
}
}
if
(
this
.
CtObj
.
auditContract
==
2
)
{
if
(
this
.
CtObj
.
auditContract
==
2
){
this
.
goContract
()
this
.
goContract
()
}
}
}
else
{
}
else
{
...
@@ -1706,7 +1697,7 @@
...
@@ -1706,7 +1697,7 @@
}
}
}
}
this
.
CtObj
.
travelContent
=
this
.
$refs
.
TcTravel_Table
.
innerHTML
;
this
.
CtObj
.
travelContent
=
this
.
$refs
.
TcTravel_Table
.
innerHTML
;
this
.
CtObj
.
rbGroupId
=
this
.
CurrentUserInfo
.
RB_Group_id
this
.
CtObj
.
rbGroupId
=
this
.
CurrentUserInfo
.
RB_Group_id
this
.
apiJavaPost
(
"/api/contract/dosaveOrUpdate"
,
this
.
CtObj
,
res
=>
{
this
.
apiJavaPost
(
"/api/contract/dosaveOrUpdate"
,
this
.
CtObj
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
...
@@ -2341,7 +2332,6 @@
...
@@ -2341,7 +2332,6 @@
this
.
tripList
[
i
].
can
.
breakfirst
=
"酒店内享用早餐"
;
this
.
tripList
[
i
].
can
.
breakfirst
=
"酒店内享用早餐"
;
}
}
}
}
this
.
trifficList
.
forEach
((
x
,
index
)
=>
{
this
.
trifficList
.
forEach
((
x
,
index
)
=>
{
if
(
x
.
airportPickUp
==
1
||
x
.
airportPickUp
==
2
)
{
if
(
x
.
airportPickUp
==
1
||
x
.
airportPickUp
==
2
)
{
if
(
x
.
isUseBus
==
1
)
{
if
(
x
.
isUseBus
==
1
)
{
...
@@ -2362,19 +2352,6 @@
...
@@ -2362,19 +2352,6 @@
}
}
}
}
})
})
//生成其他约定事项
let
otherMatter
=
''
;
otherMatter
+=
`本人已阅读了本合同所有条款,乙方(旅行社)已就合同条款对本人进行了真实、准确、完整的说明,本人已完全了解合同条款的内容及含义并同意本合同条款包括行程中有关自愿购物活动以及自愿参加另付费旅游项目的说明,同时本人悉知自身身体适宜此次旅行。\n`
otherMatter
+=
'烦请务必携带自身常用药品,如有身体不适必须第一时间告知随团导游或领队,并及时到当地医院做检查,如因个人原因耽误病情,一切后果均由客人自行承担。
\
n'
otherMatter
+=
'旅游意外伤害险:若旅行社购买赠送客人,如有出险理赔视为旅行社责任风险分摊,保险公司赔偿金额为最终赔付,旅行社不再进行赔偿。
\
n'
otherMatter
+=
'签约委托授权书:本人已征得其余全体委托人同意作为本次旅游出行签约代表(全体委托人名单详见游客名单),全体委托人享受本合同约定的权利,履行本合同约定的义务,受托人在旅游合同及其附件上的签字全体委托人均予以认可。
\
n'
otherMatter
+=
'健康承诺书:在旅游过程中,如本人未按贵社要求如实告知相关健康情况,本人承担因此而产生的全部后果,并承担给贵社造成损失的赔偿责任。本人自愿放弃不适宜本人身体状况参加的相应景点或相应活动;若因本人坚持参加而所产生的全部后果均由本人自行承担。本人因自身过错,造成的一切其他损失由本人承担。本人作为此次出行的签约代表,已就此承诺告知了全体委托人及其直系亲属并得到他们的同意。
\
n'
otherMatter
+=
'如其他游客不予认可本合同或者本人未取得授权、未告知本合同及相关告知书内容的,由本人承担相应责任。'
this
.
CtObj
.
otherMatter
=
otherMatter
;
},
},
},
},
mounted
()
{
mounted
()
{
...
@@ -2384,7 +2361,6 @@
...
@@ -2384,7 +2361,6 @@
this
.
msg
.
orderID
=
this
.
$route
.
query
.
orderID
;
this
.
msg
.
orderID
=
this
.
$route
.
query
.
orderID
;
this
.
msg
.
guestId
=
this
.
$route
.
query
.
guestId
;
this
.
msg
.
guestId
=
this
.
$route
.
query
.
guestId
;
this
.
getList
();
this
.
getList
();
this
.
GetTrip
(
0
,
this
.
msg
.
TCID
);
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
//滚动监听事件
//滚动监听事件
window
.
addEventListener
(
'scroll'
,
this
.
menu
)
window
.
addEventListener
(
'scroll'
,
this
.
menu
)
...
...
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