Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-rljj-wx
Project
Project
Details
Activity
Releases
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
rl
hls-rljj-wx
Commits
8f7c0374
Commit
8f7c0374
authored
Feb 15, 2020
by
Tyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'tyh'
parent
454980de
Pipeline
#4861
canceled with stages
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
4 deletions
+23
-4
dev.env.js
config/dev.env.js
+7
-0
prod.env.js
config/prod.env.js
+2
-1
uat.env.js
config/uat.env.js
+1
-0
App.vue
src/App.vue
+1
-1
home.vue
src/pages/home.vue
+12
-2
No files found.
config/dev.env.js
View file @
8f7c0374
...
@@ -9,7 +9,14 @@ module.exports = merge(prodEnv, {
...
@@ -9,7 +9,14 @@ module.exports = merge(prodEnv, {
isMobilePlatform
:
false
,
isMobilePlatform
:
false
,
appCode
:
'"HLS_APP"'
,
appCode
:
'"HLS_APP"'
,
clearTable
:
true
,
clearTable
:
true
,
//domainUrl:"http://123.125.154.135:10004/core/",
//loginPath: "http://123.125.154.135:10004/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password=",
//rootPath: "http://123.125.154.135:10004/core/r/api",
// basePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=",
//file_view:"http://123.125.154.135:10004/core/r/api/app/fileViewSvc?sysName=dr_dev&apiName=attment_view&attachment_id=",
//filePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=file_view&",
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
loginPathRl
:
'"http://101.133.225.167:8096/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="'
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
...
...
config/prod.env.js
View file @
8f7c0374
...
@@ -7,7 +7,8 @@ module.exports = {
...
@@ -7,7 +7,8 @@ module.exports = {
appCode
:
'"HLS_APP"'
,
appCode
:
'"HLS_APP"'
,
clearTable
:
true
,
clearTable
:
true
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
loginPathRl
:
'"http://101.133.225.167:8096/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="'
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
appId
:
'"com.hls.easy.car"'
,
appId
:
'"com.hls.easy.car"'
,
...
...
config/uat.env.js
View file @
8f7c0374
...
@@ -7,6 +7,7 @@ module.exports = {
...
@@ -7,6 +7,7 @@ module.exports = {
appCode
:
'"HLS_APP"'
,
appCode
:
'"HLS_APP"'
,
clearTable
:
true
,
clearTable
:
true
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
loginPath
:
'"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" '
,
loginPathRl
:
'"http://101.133.225.167:8096/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="'
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
basePath
:
'"http://hlsapp.hand-china.com/core/r/api?sysName=HLS_APP&apiName="'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
rootPath
:
'"http://hlsapp.hand-china.com/core/r/api"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
file_url
:
'"http://hlsapp.hand-china.com/file/"'
,
...
...
src/App.vue
View file @
8f7c0374
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
this
.
pathList
.
push
(
to
.
path
)
this
.
pathList
.
push
(
to
.
path
)
this
.
$router
.
isBack
=
false
this
.
$router
.
isBack
=
false
}
}
if
(
to
.
path
===
'/
ContractSignList
'
)
{
if
(
to
.
path
===
'/
home
'
)
{
this
.
$router
.
isBack
=
true
this
.
$router
.
isBack
=
true
this
.
pathList
=
[]
this
.
pathList
=
[]
}
}
...
...
src/pages/home.vue
View file @
8f7c0374
...
@@ -76,6 +76,8 @@ export default {
...
@@ -76,6 +76,8 @@ export default {
beforeCreate
:
function
()
{
beforeCreate
:
function
()
{
},
},
created
:
function
()
{
created
:
function
()
{
debugger
;
this
.
goToken
()
window
.
localStorage
.
setItem
(
'user_id'
,
2009
)
window
.
localStorage
.
setItem
(
'user_id'
,
2009
)
this
.
imgList
=
[...
functionState
.
bannerList
]
this
.
imgList
=
[...
functionState
.
bannerList
]
this
.
recommendList
=
[...
functionState
.
recommendList
]
this
.
recommendList
=
[...
functionState
.
recommendList
]
...
@@ -141,14 +143,22 @@ export default {
...
@@ -141,14 +143,22 @@ export default {
},
},
})
})
},
},
goAllFunction
()
{
goToken
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
loginPathRl
+
'admin'
let
param
=
{}
return
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
window
.
localStorage
.
setItem
(
'access_token_rl'
,
res
.
access_token
)
})
/*let vm = this
this.$router.push({
this.$router.push({
name: 'HomeManager',
name: 'HomeManager',
params: {
params: {
moduleSeparateList: vm.moduleSeparateList,
moduleSeparateList: vm.moduleSeparateList,
},
},
})
})
*/
},
},
goFunctionHome
(
data
)
{
goFunctionHome
(
data
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
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