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
925d1a5c
Commit
925d1a5c
authored
Mar 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘111’
parent
db2300e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
TravelConfig.vue
...ents/newTravelmanager/TravelGroupControl/TravelConfig.vue
+3
-2
index.js
src/plug/index.js
+4
-10
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelConfig.vue
View file @
925d1a5c
...
@@ -239,11 +239,12 @@
...
@@ -239,11 +239,12 @@
let
fileName
=
file
.
file
.
name
;
let
fileName
=
file
.
file
.
name
;
let
that
=
this
;
let
that
=
this
;
let
path
=
"/Upload/DMC/"
;
let
path
=
"/Upload/DMC/"
;
this
.
uploadFile
(
path
,
newArr
,
x
=>
{
this
.
UploadSelfFile
(
path
,
newArr
,
x
=>
{
console
.
log
(
x
);
var
str
=
x
.
res
.
requestUrls
[
0
].
split
(
'?'
);
var
str
=
x
.
res
.
requestUrls
[
0
].
split
(
'?'
);
this
.
VideoStr
=
str
[
0
];
this
.
VideoStr
=
str
[
0
];
this
.
PostConfig
.
VideoStr
=
x
.
name
;
this
.
PostConfig
.
VideoStr
=
x
.
name
;
console
.
log
(
str
[
0
]);
// that.PostConfig.fileList[this.updateChoseIndex].Name = fileName;
// that.PostConfig.fileList[this.updateChoseIndex].Name = fileName;
});
});
},
},
...
...
src/plug/index.js
View file @
925d1a5c
...
@@ -115,17 +115,11 @@ export default {
...
@@ -115,17 +115,11 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
let
domainUrl
=
''
;
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
domainUrl
=
"http://127.0.0.1"
;
//214主域名
domainUrl
=
"http://192.168.2.214:8082"
;
//214主域名
// 127.0.0.12
// domainUrl = "http://192.168.2.88"; //王悦主域名
// domainUrl = "http://127.0.0.1"; //214主域名
// domainUrl = "http://192.168.2.16:8083"; //王悦主域名
// domainUrl = "http://127.0.0.1"; //214主域名
// domainUrl = "http://192.168.2.65:8025"; //吴春主域名
// domainUrl = "http://192.168.2.106:8082"; //罗超主域名
if
(
locationName
.
indexOf
(
'oytour'
)
!==-
1
)
{
if
(
locationName
.
indexOf
(
'oytour'
)
!==-
1
)
{
domainUrl
=
"https://reborn.oytour.com"
;
domainUrl
=
"http://reborn.oytour.com"
;
}
else
if
(
locationName
.
indexOf
(
'viitto'
)
!==-
1
)
{
}
else
if
(
locationName
.
indexOf
(
'viitto'
)
!==-
1
)
{
domainUrl
=
"https://test.viitto.com"
;
domainUrl
=
"https://test.viitto.com"
;
}
}
var
obj
=
{
var
obj
=
{
...
...
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