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
555d6086
Commit
555d6086
authored
Mar 11, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分上传修改
parent
40d737a9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
41 additions
and
33 deletions
+41
-33
GroupAdvertising.vue
src/components/TravelManager/TravelList/GroupAdvertising.vue
+4
-3
DirectQuotation.vue
...s/TravelManager/TravelQuotationCenter/DirectQuotation.vue
+4
-4
dinnerTrip_Direct.vue
...onents/TravelManager/travelLineTrip/dinnerTrip_Direct.vue
+5
-4
dinnerTrip_disDirect.vue
...nts/TravelManager/travelLineTrip/dinnerTrip_disDirect.vue
+5
-4
freedomTrip.vue
src/components/TravelManager/travelLineTrip/freedomTrip.vue
+5
-4
hotelTrip_Direct.vue
...ponents/TravelManager/travelLineTrip/hotelTrip_Direct.vue
+5
-4
hotelTrip_disDirect.vue
...ents/TravelManager/travelLineTrip/hotelTrip_disDirect.vue
+5
-4
scienTrip_Direct.vue
...ponents/TravelManager/travelLineTrip/scienTrip_Direct.vue
+5
-4
scienTrip_disDirect.vue
...ents/TravelManager/travelLineTrip/scienTrip_disDirect.vue
+3
-2
No files found.
src/components/TravelManager/TravelList/GroupAdvertising.vue
View file @
555d6086
...
...
@@ -132,6 +132,7 @@ export default {
this
.
apipost
(
"travel_post_GetPriceAdvert"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
dataList
=
res
.
data
.
data
;
console
.
log
(
this
.
dataList
,
'dataListtttt'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -153,11 +154,11 @@ export default {
let
fileName
=
file
.
file
.
name
;
var
path
=
"/Upload/DMC/Price/"
;
var
imgArr
=
[];
this
.
upload
File
(
path
,
newArr
,
x
=>
{
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
var
obj
=
this
.
$DMCUtils
.
DMCImageObj
();
var
str
=
x
.
name
;
var
imgUrl
=
this
.
domainManager
().
AliUrl
+
str
;
obj
.
Path
=
str
;
var
imgUrl
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
obj
.
Path
=
x
.
data
.
FilePath
;
obj
.
ShowPath
=
imgUrl
;
imgArr
.
push
(
obj
.
ShowPath
);
let
msg
=
{
...
...
src/components/TravelManager/TravelQuotationCenter/DirectQuotation.vue
View file @
555d6086
...
...
@@ -813,20 +813,20 @@
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
$message
.
info
(
"上传中..."
);
this
.
upload
File
(
path
,
newArr
,
x
=>
{
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
let
fileSize
=
file
.
file
.
size
<
1024
?
file
.
file
.
size
:
(
file
.
file
.
size
/
1024
).
toFixed
(
0
);
this
.
saveMsg
=
[];
this
.
saveMsg
.
push
({
Path
:
x
.
name
,
FileName
:
file
.
file
.
n
ame
,
Path
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
FileName
:
x
.
data
.
FileN
ame
,
MD5Sign
:
file
.
file
.
uid
,
FileSize
:
fileSize
});
this
.
uploadList
.
push
({
Url
:
this
.
domainManager
().
AliUrl
+
x
.
name
,
Url
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
Name
:
file
.
file
.
name
});
});
...
...
src/components/TravelManager/travelLineTrip/dinnerTrip_Direct.vue
View file @
555d6086
...
...
@@ -316,11 +316,12 @@ export default {
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
upload
File
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
//
var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
name
;
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileName
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/dinnerTrip_disDirect.vue
View file @
555d6086
...
...
@@ -219,11 +219,12 @@
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
upload
File
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
//
var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
name
;
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileName
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/freedomTrip.vue
View file @
555d6086
...
...
@@ -144,11 +144,12 @@
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
upload
File
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
//
var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
name
;
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileName
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/hotelTrip_Direct.vue
View file @
555d6086
...
...
@@ -370,11 +370,12 @@ export default {
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
upload
File
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
//
var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
name
;
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileName
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/hotelTrip_disDirect.vue
View file @
555d6086
...
...
@@ -214,11 +214,12 @@
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
upload
File
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
//
var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
name
;
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileName
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/scienTrip_Direct.vue
View file @
555d6086
...
...
@@ -303,11 +303,12 @@
let
newArr
=
[];
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
upload
File
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
this
.
UploadSelf
File
(
path
,
newArr
,
x
=>
{
//
var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
name
;
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileName
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/scienTrip_disDirect.vue
View file @
555d6086
...
...
@@ -199,8 +199,9 @@
this
.
uploadFile
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
name
;
// fileObj.Url = this.$commonUtils.GetALiFileUrl(str);
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileName
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
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