Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
Project
Project
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
Yulun Yao
multiSystem
Commits
2a998bfc
Commit
2a998bfc
authored
Jan 08, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改token前缀, 修改登录接口地址,住宅信息菜单的导出全部改access_token并不带前缀
parent
5751b123
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
17 deletions
+17
-17
api.js
src/server/api.js
+6
-6
basicInfo.vue
src/views/houseData/basicInfo.vue
+3
-3
cmDivision.vue
src/views/houseData/cmDivision.vue
+1
-1
indCous.vue
src/views/houseData/indCous.vue
+1
-1
managers.vue
src/views/houseData/managers.vue
+1
-1
neighborhoodCommittees.vue
src/views/houseData/neighborhoodCommittees.vue
+1
-1
nonBuildingList.vue
src/views/houseData/nonBuildingList.vue
+1
-1
nonResidents.vue
src/views/houseData/nonResidents.vue
+1
-1
propertyInfo.vue
src/views/houseData/propertyInfo.vue
+1
-1
login.vue
src/views/login.vue
+1
-1
No files found.
src/server/api.js
View file @
2a998bfc
...
...
@@ -8,13 +8,13 @@ let BASE_URL = '', MOCK_URL='',
switch
(
process
.
env
.
NODE_ENV
)
{
case
'devol'
:
// 本地线上部署环境下
// BASE_URL = 'http://search.omniview.pro/api'
BASE_URL
=
'http://xuhui.hm.omniview.pro/api'
BASE_URL
=
'http://xuhui.hm.omniview.pro/api
/v2
'
// BASE_URL = 'http://hm.omniview.pro/api'
break
case
'pudong-sit'
:
BASE_URL
=
'http://xuhui.hm.omniview.pro/api'
,
BASE_URL
=
'http://xuhui.hm.omniview.pro/api
/v2
'
,
// BASE_URL = 'http://211.136.105.193/apiv2' //浦东
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
...
...
@@ -27,7 +27,7 @@ case 'pudong-prod':
break
case
'xuhui-sit'
:
BASE_URL
=
'http://xuhui.hm.omniview.pro/api'
// 徐汇
BASE_URL
=
'http://xuhui.hm.omniview.pro/api
/v2
'
// 徐汇
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
...
...
@@ -39,7 +39,7 @@ case 'xuhui-prod':
break
case
'huangpu-sit'
:
BASE_URL
=
'http://huangpu.hm.omniview.pro/api'
,
// 徐汇
BASE_URL
=
'http://huangpu.hm.omniview.pro/api
/v2
'
,
// 徐汇
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
...
...
@@ -53,7 +53,7 @@ case 'huangpu-prod':
default
:
// 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2'
BASE_URL
=
'http://xuhui.hm.omniview.pro/api'
BASE_URL
=
'http://xuhui.hm.omniview.pro/api
/v2
'
// BASE_URL = 'http://pudong.hm.omniview.pro/api'
// MOCK_URL = 'https://yapi.omniview.pro/mock/278'
...
...
@@ -148,7 +148,7 @@ export default {
// 首页统计列表
GET_RESOURE_LIST
:
'/service-basicdatasync-ddd/resource/count'
,
// 首页统计列表
POST_LOGIN
:
'/
service-user/
public/login'
,
POST_LOGIN
:
'/public/login'
,
// 居委会列表
GET_NEI_LIST
:
'/service-basicdatasync-ddd/residentsCommittees'
,
...
...
src/views/houseData/basicInfo.vue
View file @
2a998bfc
...
...
@@ -745,7 +745,7 @@ export default {
}
}
let
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'sectType=1&
token='
+
token
newUrl
+=
'sectType=1&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
/**
...
...
@@ -758,7 +758,7 @@ export default {
if
(
selectedKeys
.
length
>
0
){
let
sectId
=
selectedKeys
.
join
(
','
)
// console.log('https://hm.omniview.pro/common/public/qrCodeGenerate?sectId='+sectId+'&token='+token)
window
.
open
(
this
.
$api
.
GET_EXPORT_EWM
+
'?sectId='
+
sectId
+
'&
token='
+
token
)
window
.
open
(
this
.
$api
.
GET_EXPORT_EWM
+
'?sectId='
+
sectId
+
'&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
)
}
else
{
let
streetsId
=
formValue
.
c
.
streetId
if
(
streetsId
){
...
...
@@ -768,7 +768,7 @@ export default {
}
let
stNameFrst_l
=
formValue
.
stNameFrst_l
?
formValue
.
stNameFrst_l
:
''
// console.log(this.$api.GET_EXPORT_EWM+'?streetId='+streetsId+'&stNameFrst_l='+stNameFrst_l+'&token='+token)
window
.
open
(
this
.
$api
.
GET_EXPORT_EWM
+
'?streetId='
+
streetsId
+
'&stNameFrst_l='
+
stNameFrst_l
+
'&
token='
+
token
)
window
.
open
(
this
.
$api
.
GET_EXPORT_EWM
+
'?streetId='
+
streetsId
+
'&stNameFrst_l='
+
stNameFrst_l
+
'&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
)
}
},
changeLevel
(
val
)
{
...
...
src/views/houseData/cmDivision.vue
View file @
2a998bfc
...
...
@@ -281,7 +281,7 @@ export default {
}
}
let
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'sectType=1&
token='
+
token
newUrl
+=
'sectType=1&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
},
...
...
src/views/houseData/indCous.vue
View file @
2a998bfc
...
...
@@ -355,7 +355,7 @@ export default {
}
}
let
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'sectType=1&
token='
+
token
newUrl
+=
'sectType=1&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
},
...
...
src/views/houseData/managers.vue
View file @
2a998bfc
...
...
@@ -295,7 +295,7 @@ export default {
}
}
let
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'sectType=1&
token='
+
token
newUrl
+=
'sectType=1&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
},
...
...
src/views/houseData/neighborhoodCommittees.vue
View file @
2a998bfc
...
...
@@ -260,7 +260,7 @@ export default {
}
}
let
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'sectType=1&
token='
+
token
newUrl
+=
'sectType=1&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
},
...
...
src/views/houseData/nonBuildingList.vue
View file @
2a998bfc
...
...
@@ -321,7 +321,7 @@ export default {
}
}
const
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'&
token='
+
token
newUrl
+=
'&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
},
...
...
src/views/houseData/nonResidents.vue
View file @
2a998bfc
...
...
@@ -327,7 +327,7 @@ export default {
}
}
const
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'&
token='
+
token
newUrl
+=
'&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
toBul
(
record
){
//到非居门牌幢列表
...
...
src/views/houseData/propertyInfo.vue
View file @
2a998bfc
...
...
@@ -431,7 +431,7 @@ export default {
}
}
let
token
=
this
.
$cookie
.
get
(
'token'
)
// 获取token 并拼接到 newUrl
newUrl
+=
'sectType=1&
token='
+
token
newUrl
+=
'sectType=1&
access_token='
+
token
.
split
(
'bearer '
)[
1
]
window
.
open
(
this
.
$api
.
BASE_URL
+
'/service-basicdatasync-ddd/export/'
+
newUrl
)
},
},
...
...
src/views/login.vue
View file @
2a998bfc
...
...
@@ -83,7 +83,7 @@ export default {
if
(
res
.
code
==
200
)
{
res
.
token
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
[])
// console.log(res.token)
this
.
$cookie
.
set
(
'token'
,
res
.
token
.
access_token
)
this
.
$cookie
.
set
(
'token'
,
'bearer '
+
res
.
token
.
access_token
)
this
.
$cookie
.
set
(
'userName'
,
res
.
name
)
// 存储当前账号的用户名
this
.
$router
.
push
({
path
:
'/portal-home'
...
...
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