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
d2c2a5c5
Commit
d2c2a5c5
authored
Nov 19, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
622d3ed0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
15 deletions
+29
-15
confirmationOrderDownLoadNew.vue
src/components/confirmationOrderDownLoadNew.vue
+29
-15
No files found.
src/components/confirmationOrderDownLoadNew.vue
View file @
d2c2a5c5
...
...
@@ -109,11 +109,14 @@
<div
class=
"trip_cover"
v-show=
"pdfLoading"
v-loading=
"pdfLoading"
:element-loading-text=
"loadingText"
></div>
<el-row
style=
"padding: 0 0 20px 0;box-shadow: 1px 10px 10px#e6e6e6;"
>
<el-col
:span=
"14"
class=
"row-aic"
>
<a
id=
"pdfDownLoad"
style=
"display:none;"
target=
"_blank"
href=
"http://www.baidu.com"
download=
"xx.pdf"
>
{{
$t
(
'objFill.v101.yemiantiaoz'
)
}}
</a>
<a
id=
"pdfDownLoad"
style=
"display:none;"
target=
"_blank"
href=
"http://www.baidu.com"
download=
"xx.pdf"
>
{{
$t
(
'objFill.v101.yemiantiaoz'
)
}}
</a>
<template
v-if=
"orderId>0"
>
<el-button
type=
"primary"
@
click=
"toPDF_2023()"
>
{{
$t
(
'objFill.v101.chuttzhisxz'
)
}}
</el-button>
<template
v-if=
"lineId==119||lineId==168"
>
<el-button
type=
"primary"
@
click=
"ToWord_2023()"
>
{{
$t
(
'objFill.v101.chuttzhisxz'
)
}}
WROD
</el-button>
<!--
<template
v-if=
"lineId==119||lineId==168"
>
<el-dropdown
style=
"padding-left:20px;"
>
<el-button
type=
"primary"
>
{{
$t
(
'Operation.Op_teamNotice'
)
}}
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
...
...
@@ -127,29 +130,34 @@
<
template
v-else
>
<el-button
type=
"primary"
@
click=
"ToWord_2023()"
>
{{
$t
(
'objFill.v101.chuttzhisxz'
)
}}
WROD
</el-button>
</
template
>
</
template
>
-->
</template>
<
template
v-else
>
<el-button
type=
"primary"
@
click=
"toPDF_2023(1)"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
</el-button>
<template
v-if=
"lineId==119||lineId==168"
>
<el-button
type=
"primary"
@
click=
"ToWord_2023()"
style=
"margin-left:20px;"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
WORD
</el-button>
<!--
<template
v-if=
"lineId==119||lineId==168"
>
<el-dropdown
style=
"padding-left:20px;"
>
<el-button
type=
"primary"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
WORD
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
@
click
.
native=
"ToWord_2023()"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
WORD
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"OuZhouPdf2024()"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}{{
$t
(
'objFill.v101.ouzhoupdf'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"ToWord_2023()"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
WORD
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"OuZhouPdf2024()"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}{{
$t
(
'objFill.v101.ouzhoupdf'
)
}}
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</
template
>
<
template
v-else
>
<el-button
type=
"primary"
@
click=
"ToWord_2023()"
style=
"margin-left:20px;"
>
{{
$t
(
'Operation.Op_tripDownLoad'
)
}}
WORD
</el-button>
</
template
>
</
template
>
-->
</template>
<!-- 可以让销售修改基本信息-->
<el-button
v-if=
"orderId>0"
type=
"primary"
:value=
"$t('objFill.xiugaixinxi')"
@
click=
"editMsgShow=true"
style=
"margin-left:20px;"
>
<el-button
v-if=
"orderId>0"
type=
"primary"
:value=
"$t('objFill.xiugaixinxi')"
@
click=
"editMsgShow=true"
style=
"margin-left:20px;"
>
{{$t('objFill.xiugaixinxi')}}
</el-button>
</el-col>
<el-col
v-if=
"orderId<=0"
>
...
...
@@ -264,8 +272,8 @@
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"removePriceFlight(index,priceFlight,1)"
circle
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
v-if=
"index!=0"
style=
"margin-left:0"
effect=
"dark"
:content=
"$t('sm.shangyi')"
placement=
"top-start"
>
<el-tooltip
class=
"item"
v-if=
"index!=0"
style=
"margin-left:0"
effect=
"dark"
:content=
"$t('sm.shangyi')"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"iconfont icon-shangyi"
@
click=
"MoveItem(priceFlight,index,0)"
circle
>
</el-button>
</el-tooltip>
...
...
@@ -556,7 +564,9 @@
responseType
:
'arraybuffer'
,
onDownloadProgress
:
(
progressEvent
)
=>
{
const
progress
=
Math
.
round
((
progressEvent
.
loaded
/
progressEvent
.
total
)
*
100
);
that
.
loadingText
=
that
.
$t
(
'objFill.v101.zhengzxiaz'
)
+
(
that
.
orderId
>
0
?
that
.
$t
(
'Operation.Op_teamNotice'
)
:
that
.
$t
(
'Airticket.Air_Trip'
))
+
that
.
$t
(
'objFill.v101.hote.wenjian'
)
+
progress
+
that
.
loadingText
=
that
.
$t
(
'objFill.v101.zhengzxiaz'
)
+
(
that
.
orderId
>
0
?
that
.
$t
(
'Operation.Op_teamNotice'
)
:
that
.
$t
(
'Airticket.Air_Trip'
))
+
that
.
$t
(
'objFill.v101.hote.wenjian'
)
+
progress
+
that
.
$t
(
'objFill.v101.qingwugbhsxyem'
);
// 在这里处理下载进度, 如更新界面上的进度条
}
...
...
@@ -643,7 +653,8 @@
return
postData
;
},
ToWord_2023
:
function
(
title
)
{
var
title
=
this
.
orderMsg
.
startDate
+
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101.LeaveGroupDownload.riyou'
)
var
title
=
this
.
orderMsg
.
startDate
+
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101.LeaveGroupDownload.riyou'
)
this
.
pdfLoading
=
true
;
this
.
loadingText
=
this
.
$t
(
'objFill.zhengzscpdf'
);
let
msg
=
this
.
getPostMsg
();
...
...
@@ -692,7 +703,8 @@
title
+=
this
.
dataAll
.
title
;
}
}
else
{
title
+=
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101..LeaveGroupDownload.riyou'
);
title
+=
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101..LeaveGroupDownload.riyou'
);
}
this
.
pdfLoading
=
true
;
this
.
loadingText
=
this
.
$t
(
'objFill.zhengzscpdf2'
);
...
...
@@ -746,7 +758,8 @@
title
+=
this
.
dataAll
.
title
;
}
}
else
{
title
+=
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101..LeaveGroupDownload.riyou'
);
title
+=
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101..LeaveGroupDownload.riyou'
);
}
//阿里云行程下载
var
objFileKey
=
"TripDownLoad"
...
...
@@ -915,7 +928,8 @@
this
.
airLineSelectChange
(
fItem
.
airLineID
,
fItem
);
});
}
this
.
title
=
this
.
orderMsg
.
startDate
+
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101..LeaveGroupDownload.riyou'
)
this
.
title
=
this
.
orderMsg
.
startDate
+
this
.
orderMsg
.
lineteamName
+
this
.
orderMsg
.
dayNum
+
this
.
$t
(
'objFill.v101..LeaveGroupDownload.riyou'
)
document
.
title
=
this
.
title
;
//初始化行程
this
.
initTrip
(
res
,
data
);
...
...
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