Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
memberTag
memberTag-web
Commits
2590edc2
Commit
2590edc2
authored
Aug 08, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整开发环境域名
parent
8bd8e3c8
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
39 additions
and
39 deletions
+39
-39
proxyList.js
config/proxyList.js
+4
-4
App.vue
src/App.vue
+1
-1
api.js
src/api/api.js
+1
-1
error.js
src/common/js/error.js
+1
-1
index.js
src/components/config/index.js
+1
-1
groupTransfer.vue
src/components/groupTransfer.vue
+1
-1
config.js
src/components/selector/config.js
+1
-1
tag-config-options.vue
src/components/tag/tag-config-options.vue
+1
-1
index.js
src/components/tagDetail/mixin/index.js
+1
-1
index.js
src/config/index.js
+1
-1
index.js
src/request/index.js
+1
-1
linktools.vue
src/view/linktools/linktools.vue
+7
-7
linktoolspage.vue
src/view/linktools/linktoolspage.vue
+7
-7
import-member-dialog.vue
src/view/manualTag/import-member-dialog.vue
+1
-1
manual-tag-value-edit-info.vue
src/view/manualTag/manual-tag-value-edit-info.vue
+2
-2
manual-tag-value-edit.vue
src/view/manualTag/manual-tag-value-edit.vue
+1
-1
manualTagDetail.vue
src/view/manualTag/manualTagDetail.vue
+1
-1
memberGroupDetail.vue
src/view/memberGroup/memberGroupDetail.vue
+2
-2
memberLevelDetail.vue
src/view/memberGroup/memberLevelDetail.vue
+2
-2
myTagDetail.vue
src/view/platformTag/myTag/myTagDetail.vue
+1
-1
platformTagDetail.vue
src/view/platformTag/platformTagDetail.vue
+1
-1
No files found.
config/proxyList.js
View file @
2590edc2
module
.
exports
=
{
proxyList
:
{
'/api-auth/'
:
{
target
:
'http://
gicdev.demogic
.com/api-auth/'
,
target
:
'http://
www.gicdev
.com/api-auth/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api-auth'
:
''
}
},
'/api-admin/'
:
{
target
:
'http://
gicdev.demogic
.com/api-admin/'
,
target
:
'http://
www.gicdev
.com/api-admin/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api-admin'
:
''
}
},
'/api-plug/'
:
{
target
:
'http://
gicdev.demogic
.com/api-plug/'
,
target
:
'http://
www.gicdev
.com/api-plug/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api-plug'
:
''
}
},
'/api-mall/'
:
{
target
:
'http://
gicdev.demogic
.com/api-mall/'
,
target
:
'http://
www.gicdev
.com/api-mall/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api-mall'
:
''
...
...
src/App.vue
View file @
2590edc2
...
...
@@ -22,7 +22,7 @@ export default {
},
created
()
{
this
.
baseUrl
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
window
.
location
.
origin
;
this
.
baseUrl
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
window
.
location
.
origin
;
this
.
_getUserInfo
();
this
.
changeTab
();
},
...
...
src/api/api.js
View file @
2590edc2
...
...
@@ -7,7 +7,7 @@ Vue.axios.defaults.timeout = 15000;
let
local
=
window
.
location
.
origin
;
if
(
local
.
indexOf
(
'localhost'
)
!=
-
1
)
{
local
=
'http://
gicdev.demogic
.com'
;
local
=
'http://
www.gicdev
.com'
;
}
Vue
.
axios
.
interceptors
.
request
.
use
(
...
...
src/common/js/error.js
View file @
2590edc2
...
...
@@ -7,7 +7,7 @@ export default {
errorMsg
:
function
(
response
)
{
let
local
=
window
.
location
.
origin
;
if
(
local
.
indexOf
(
'localhost'
))
{
local
=
'http://
gicdev.demogic
.com'
;
local
=
'http://
www.gicdev
.com'
;
}
if
(
response
.
errorCode
!=
0
)
{
if
(
response
.
errorCode
==
401
)
{
...
...
src/components/config/index.js
View file @
2590edc2
const
host
=
window
.
location
.
origin
;
// eslint-disable-next-line
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
'-1'
?
'http://
gicdev.demogic
.com'
:
host
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
'-1'
?
'http://
www.gicdev
.com'
:
host
;
src/components/groupTransfer.vue
View file @
2590edc2
...
...
@@ -423,7 +423,7 @@
var
that
=
this
;
var
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
"localhost"
)
!=
"-1"
)
{
that
.
baseUrl
=
"http://
gicdev.demogic
.com"
;
that
.
baseUrl
=
"http://
www.gicdev
.com"
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/components/selector/config.js
View file @
2590edc2
const
host
=
window
.
location
.
origin
;
export
const
baseUrl
=
host
.(
'localhost'
)
?
'http://
gicdev.demogic
.com'
:
host
;
export
const
baseUrl
=
host
.(
'localhost'
)
?
'http://
www.gicdev
.com'
:
host
;
src/components/tag/tag-config-options.vue
View file @
2590edc2
...
...
@@ -2411,7 +2411,7 @@ export default {
this
.
templateObj
=
{};
let
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
this
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
this
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
this
.
baseUrl
=
host
;
}
...
...
src/components/tagDetail/mixin/index.js
View file @
2590edc2
...
...
@@ -9,7 +9,7 @@ export default {
const
that
=
this
;
let
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/config/index.js
View file @
2590edc2
const
host
=
window
.
location
.
origin
;
// eslint-disable-next-line
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
'-1'
?
'http://
gicdev.demogic
.com'
:
host
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
'-1'
?
'http://
www.gicdev
.com'
:
host
;
export
const
ERR_OK
=
0
;
...
...
src/request/index.js
View file @
2590edc2
...
...
@@ -4,7 +4,7 @@ import { Message } from 'element-ui';
const
host
=
window
.
location
.
origin
;
const
BASEURL
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com/gic-member-tag-web'
:
`
${
host
}
/gic-member-tag-web`
;
const
BASEURL
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com/gic-member-tag-web'
:
`
${
host
}
/gic-member-tag-web`
;
const
server
=
axios
.
create
({
baseURL
:
BASEURL
,
...
...
src/view/linktools/linktools.vue
View file @
2590edc2
...
...
@@ -515,7 +515,7 @@ export default {
parentId
:
'tb-cid-11'
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
let
onelevelCategory
=
''
;
...
...
@@ -573,7 +573,7 @@ export default {
let
that
=
this
;
let
para
=
{};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/list_mall_goods_tag_tree'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/list_mall_goods_tag_tree'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -692,7 +692,7 @@ export default {
parentId
:
parentId
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -823,7 +823,7 @@ export default {
// that.total = 50;
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/page-mall-goods'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/page-mall-goods'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -981,7 +981,7 @@ export default {
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-plug/list-link-data'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-plug/list-link-data'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -1057,7 +1057,7 @@ export default {
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-plug/query-store-by-code-name'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-plug/query-store-by-code-name'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -1093,7 +1093,7 @@ export default {
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-auth/do-login'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-auth/do-login'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
that
.
getLinksList
(
0
,
1
);
})
...
...
src/view/linktools/linktoolspage.vue
View file @
2590edc2
...
...
@@ -519,7 +519,7 @@ export default {
parentId
:
'tb-cid-11'
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
let
onelevelCategory
=
''
;
...
...
@@ -578,7 +578,7 @@ export default {
let
that
=
this
;
let
para
=
{};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/list_mall_goods_tag_tree'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/list_mall_goods_tag_tree'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -697,7 +697,7 @@ export default {
parentId
:
parentId
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/list_mall_goods_category'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -826,7 +826,7 @@ export default {
// that.pageSize = 10;
// that.total = 50;
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-mall/page-mall-goods'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-mall/page-mall-goods'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -982,7 +982,7 @@ export default {
parentId
:
parentId
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-plug/list-link-data'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-plug/list-link-data'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -1057,7 +1057,7 @@ export default {
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-plug/query-store-by-code-name'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-plug/query-store-by-code-name'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
0
)
{
...
...
@@ -1093,7 +1093,7 @@ export default {
};
that
.
axios
.
post
(
'http://
gicdev.demogic
.com:9310/api-auth/do-login'
,
qs
.
stringify
(
para
))
.
post
(
'http://
www.gicdev
.com:9310/api-auth/do-login'
,
qs
.
stringify
(
para
))
.
then
(
res
=>
{
that
.
getLinksList
(
0
,
1
);
})
...
...
src/view/manualTag/import-member-dialog.vue
View file @
2590edc2
...
...
@@ -94,7 +94,7 @@ export default {
// 导出 excel 模板
downloadExcelTemp
()
{
let
origin
=
window
.
location
.
origin
;
origin
=
origin
.
indexOf
(
'localhost'
)
>=
0
?
'http://
gicdev.demogic
.com/'
:
origin
;
origin
=
origin
.
indexOf
(
'localhost'
)
>=
0
?
'http://
www.gicdev
.com/'
:
origin
;
window
.
location
.
href
=
`
${
origin
}${
this
.
data
.
downLoadUrl
}
`
;
},
}
...
...
src/view/manualTag/manual-tag-value-edit-info.vue
View file @
2590edc2
...
...
@@ -632,7 +632,7 @@ export default {
var
that
=
this
;
var
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
@@ -641,7 +641,7 @@ export default {
const
{
tagItemId
}
=
this
.
$route
.
query
;
let
local
=
window
.
location
.
origin
;
if
(
local
.
indexOf
(
'localhost'
)
!=
-
1
)
{
local
=
'http://
gicdev.demogic
.com'
;
local
=
'http://
www.gicdev
.com'
;
}
this
.
pageParam
.
tagItemId
=
tagItemId
;
this
.
downTagDetailListPop
.
params
.
tagItemId
=
tagItemId
;
...
...
src/view/manualTag/manual-tag-value-edit.vue
View file @
2590edc2
...
...
@@ -546,7 +546,7 @@ export default {
exportParams
.
exportFields
=
data
.
toString
();
exportParams
.
tagId
=
this
.
tagId
;
let
origin
=
window
.
location
.
origin
;
origin
=
origin
.
indexOf
(
'localhost'
)
>=
0
?
'http://
gicdev.demogic
.com/'
:
origin
;
origin
=
origin
.
indexOf
(
'localhost'
)
>=
0
?
'http://
www.gicdev
.com/'
:
origin
;
this
.
exportMemberData
.
excelUrl
=
origin
+
this
.
exportMemberData
.
excelUrl
;
},
onDeleteTag
(
row
,
index
,
e
)
{
...
...
src/view/manualTag/manualTagDetail.vue
View file @
2590edc2
...
...
@@ -889,7 +889,7 @@ export default {
let
that
=
this
;
let
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/view/memberGroup/memberGroupDetail.vue
View file @
2590edc2
...
...
@@ -697,7 +697,7 @@ export default {
var
that
=
this
;
var
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
@@ -706,7 +706,7 @@ export default {
let
local
=
window
.
location
.
origin
;
let
memberTagGroupId
=
this
.
$route
.
query
.
memberTagGroupId
;
if
(
local
.
indexOf
(
'localhost'
)
!=
-
1
)
{
local
=
'http://
gicdev.demogic
.com'
;
local
=
'http://
www.gicdev
.com'
;
}
this
.
downMemberListPop
.
params
.
memberTagGroupId
=
memberTagGroupId
;
...
...
src/view/memberGroup/memberLevelDetail.vue
View file @
2590edc2
...
...
@@ -658,7 +658,7 @@ export default {
var
that
=
this
;
var
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
@@ -668,7 +668,7 @@ export default {
let
local
=
window
.
location
.
origin
;
let
memberTagGroupId
=
this
.
$route
.
query
.
memberTagGroupId
;
if
(
local
.
indexOf
(
'localhost'
)
!=
-
1
)
{
local
=
'http://
gicdev.demogic
.com'
;
local
=
'http://
www.gicdev
.com'
;
}
const
type
=
this
.
$route
.
query
.
type
this
.
downMemberListPop
.
params
.
gradeId
=
memberTagGroupId
;
...
...
src/view/platformTag/myTag/myTagDetail.vue
View file @
2590edc2
...
...
@@ -790,7 +790,7 @@ export default {
const
that
=
this
;
let
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/view/platformTag/platformTagDetail.vue
View file @
2590edc2
...
...
@@ -861,7 +861,7 @@ export default {
var
that
=
this
;
var
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http://
gicdev.demogic
.com'
;
that
.
baseUrl
=
'http://
www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
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