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
ba2c98b1
Commit
ba2c98b1
authored
Mar 11, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改上传
parent
555d6086
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
TicketManager.vue
src/components/Ticketing/TicketManager.vue
+5
-5
scienTrip_disDirect.vue
...ents/TravelManager/travelLineTrip/scienTrip_disDirect.vue
+1
-1
No files found.
src/components/Ticketing/TicketManager.vue
View file @
ba2c98b1
...
...
@@ -1579,9 +1579,9 @@
<el-button
type=
"primary"
icon=
"iconfont icon-img_delete_small"
@
click=
"DeleteAirticket(item.ID)"
style=
"margin-left:0;"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.TripItinerary==''?'行程单上传':'行程单下载'"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.TripItinerary==
null||item.TripItinerary==
''?'行程单上传':'行程单下载'"
placement=
"top-start"
>
<el-button
v-if=
"item.TripItinerary==''"
type=
"primary"
icon=
"iconfont icon-upload"
<el-button
v-if=
"item.TripItinerary==
null||item.TripItinerary==
''"
type=
"primary"
icon=
"iconfont icon-upload"
style=
"margin-left:0;"
@
click=
"outerVisible1=true,UploadItineraryMsg.ID=item.ID"
></el-button>
<el-button
v-else
type=
"primary"
icon=
"iconfont icon-xiazai2"
style=
"margin-left:0;"
...
...
@@ -2369,9 +2369,8 @@
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/Ticket/"
;
this
.
uploadFile
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
var
fileUrl
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
this
.
UploadSelfFile
(
path
,
newArr
,
x
=>
{
var
fileUrl
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
this
.
UploadItineraryMsg
.
TripItinerary
=
fileUrl
;
this
.
apipost
(
"AirTicket_Post_SetTripItinerary"
,
...
...
@@ -2381,6 +2380,7 @@
this
.
Success
(
"上传行程单成功!"
);
this
.
UploadItineraryMsg
.
ID
=
0
;
this
.
UploadItineraryMsg
.
TripItinerary
=
""
;
this
.
getList
();
}
this
.
outerVisible1
=
false
;
},
...
...
src/components/TravelManager/travelLineTrip/scienTrip_disDirect.vue
View file @
ba2c98b1
...
...
@@ -196,7 +196,7 @@
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
upload
File
(
path
,
newArr
,
x
=>
{
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
...
...
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