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
523116ec
Commit
523116ec
authored
Mar 14, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改上传@
parent
09c344a3
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
20 additions
and
26 deletions
+20
-26
EditTemplate.vue
src/components/EditTemplate.vue
+1
-1
VisaProduct.vue
src/components/SalesVisa/VisaProduct.vue
+1
-1
TravelConfig.vue
...TravelManager/TravelBasic/BasicComponent/TravelConfig.vue
+1
-1
TravelFeature.vue
...ravelManager/TravelBasic/BasicComponent/TravelFeature.vue
+1
-1
TravelConfig.vue
...ponents/TravelManager/TravelGroupControl/TravelConfig.vue
+1
-1
TravelFeature.vue
...onents/TravelManager/TravelGroupControl/TravelFeature.vue
+1
-1
dinnerTrip_Direct.vue
...onents/TravelManager/travelLineTrip/dinnerTrip_Direct.vue
+2
-3
dinnerTrip_disDirect.vue
...nts/TravelManager/travelLineTrip/dinnerTrip_disDirect.vue
+2
-3
freedomTrip.vue
src/components/TravelManager/travelLineTrip/freedomTrip.vue
+2
-3
hotelTrip_Direct.vue
...ponents/TravelManager/travelLineTrip/hotelTrip_Direct.vue
+2
-3
hotelTrip_disDirect.vue
...ents/TravelManager/travelLineTrip/hotelTrip_disDirect.vue
+2
-3
scienTrip_Direct.vue
...ponents/TravelManager/travelLineTrip/scienTrip_Direct.vue
+2
-3
scienTrip_disDirect.vue
...ents/TravelManager/travelLineTrip/scienTrip_disDirect.vue
+2
-2
No files found.
src/components/EditTemplate.vue
View file @
523116ec
...
...
@@ -653,7 +653,7 @@
let
myDate
=
new
Date
();
let
path
=
"/Upload/Editor/"
+
myDate
.
getFullYear
()
+
"/"
+
(
myDate
.
getMonth
()
+
1
)
+
"/"
;
this
.
uploadFile
(
path
,
newArr
,
x
=>
{
let
url
=
this
.
$commonUtils
.
GetALiFileUrl
(
x
.
res
.
requestUrls
[
0
])
;
let
url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
// 如果上传成功
if
(
url
!=
null
&&
url
.
length
>
0
)
{
// 获取光标所在位置
...
...
src/components/SalesVisa/VisaProduct.vue
View file @
523116ec
...
...
@@ -637,7 +637,7 @@ export default {
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
path
=
"/Upload/Temporary/"
;
this
.
UploadSelfFile
(
path
,
newArr
,
x
=>
{
this
.
UploadSelfFile
T
(
path
,
newArr
,
x
=>
{
this
.
apipost
(
"dmc_get_visa_UploadVisaAdvertisingImage"
,
{
...
...
src/components/TravelManager/TravelBasic/BasicComponent/TravelConfig.vue
View file @
523116ec
...
...
@@ -191,7 +191,7 @@ export default {
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
that
.
PostConfig
.
fileList
[
this
.
updateChoseIndex
].
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
)
;
].
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
that
.
PostConfig
.
fileList
[
this
.
updateChoseIndex
].
Name
=
fileName
;
});
},
...
...
src/components/TravelManager/TravelBasic/BasicComponent/TravelFeature.vue
View file @
523116ec
...
...
@@ -199,7 +199,7 @@ export default {
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
that
.
FeatureData
.
fileList
[
this
.
updateChoseIndex
].
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
)
;
].
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
that
.
FeatureData
.
fileList
[
this
.
updateChoseIndex
].
Name
=
fileName
;
});
},
...
...
src/components/TravelManager/TravelGroupControl/TravelConfig.vue
View file @
523116ec
...
...
@@ -216,7 +216,7 @@ export default {
var
str
=
x
.
res
.
requestUrls
[
0
];
that
.
PostConfig
.
fileList
[
this
.
updateChoseIndex
].
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
)
;
].
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
that
.
PostConfig
.
fileList
[
this
.
updateChoseIndex
].
Name
=
fileName
;
});
},
...
...
src/components/TravelManager/TravelGroupControl/TravelFeature.vue
View file @
523116ec
...
...
@@ -348,7 +348,7 @@ export default {
var
str
=
x
.
res
.
requestUrls
[
0
];
that
.
FeatureData
.
fileList
[
this
.
updateChoseIndex
].
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
)
;
].
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
that
.
FeatureData
.
fileList
[
this
.
updateChoseIndex
].
Name
=
fileName
;
});
},
...
...
src/components/TravelManager/travelLineTrip/dinnerTrip_Direct.vue
View file @
523116ec
...
...
@@ -317,10 +317,9 @@ export default {
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
// var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
n
ame
;
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileN
ame
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/dinnerTrip_disDirect.vue
View file @
523116ec
...
...
@@ -220,10 +220,9 @@
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
// var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
n
ame
;
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileN
ame
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/freedomTrip.vue
View file @
523116ec
...
...
@@ -145,10 +145,9 @@
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
// var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
n
ame
;
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileN
ame
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/hotelTrip_Direct.vue
View file @
523116ec
...
...
@@ -371,10 +371,9 @@ export default {
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
// var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
n
ame
;
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
FileN
ame
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/hotelTrip_disDirect.vue
View file @
523116ec
...
...
@@ -215,10 +215,9 @@
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
// var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
data
.
File
Path
;
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
File
Name
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/scienTrip_Direct.vue
View file @
523116ec
...
...
@@ -304,10 +304,9 @@
newArr
.
push
(
item
.
file
);
let
path
=
"/Upload/DMC/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
// var str = x.res.requestUrls[0];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
data
.
File
Path
;
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
File
Name
;
item
.
data
.
ImaArray
.
push
(
fileObj
);
});
},
...
...
src/components/TravelManager/travelLineTrip/scienTrip_disDirect.vue
View file @
523116ec
...
...
@@ -199,8 +199,8 @@
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
res
.
requestUrls
[
0
];
var
fileObj
=
this
.
$commonUtils
.
FileObject
();
fileObj
.
Url
=
this
.
$commonUtils
.
GetALiFileUrl
(
str
);
fileObj
.
fileName
=
x
.
data
.
File
Path
fileObj
.
Url
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
fileObj
.
fileName
=
x
.
data
.
File
Name
;
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