Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
procurementcloud_vue_dzjypt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱幸伦
procurementcloud_vue_dzjypt
Commits
819e8502
Commit
819e8502
authored
Oct 11, 2023
by
zhuxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
f957970c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
src/api/common/loginCenter.js
src/api/common/loginCenter.js
+4
-1
src/api/common/tools.js
src/api/common/tools.js
+5
-1
src/assets/js/utils/request.js
src/assets/js/utils/request.js
+1
-1
src/views/common/login/login.vue
src/views/common/login/login.vue
+4
-4
No files found.
src/api/common/loginCenter.js
View file @
819e8502
...
...
@@ -122,6 +122,9 @@ export function mutiLangCode(planProject, langCode) {
// type:login:登陆时 expertRegister:注册时
// a:时间戳
// }
export
function
randCodeImage
(
data
)
{
/*
export function randCodeImage(data) {
return '/bidprocurement/common-login/login/randCodeImage' + createURL(data)
}*/
export
function
randCodeImage
(
data
)
{
return
'
/service-app/common-login/login/randCodeImage
'
+
createURL
(
data
)
}
src/api/common/tools.js
View file @
819e8502
...
...
@@ -117,10 +117,14 @@ export function getTypeList(data) {
method
:
'
post
'
})
}
// 加密的盐值-地址加密获取图片
/
* /
/ 加密的盐值-地址加密获取图片
export function getLoginRegistImage(imagePath) {
imagePath = Base64.encode('1be004824634e083464eef19cadb7e51' + Base64.decode(imagePath))
return '/bidprocurement/common-tools/tools/commonUpload/getLoginRegistImage?imagePath=' + imagePath
}*/
export
function
getLoginRegistImage
(
imagePath
)
{
imagePath
=
Base64
.
encode
(
'
1be004824634e083464eef19cadb7e51
'
+
Base64
.
decode
(
imagePath
))
return
'
/service-app/common-tools/tools/commonUpload/getLoginRegistImage?imagePath=
'
+
imagePath
}
/*
...
...
src/assets/js/utils/request.js
View file @
819e8502
...
...
@@ -14,7 +14,7 @@ const service = axios.create({
service
.
interceptors
.
request
.
use
(
config
=>
{
config
[
'
url
'
]
=
encodeURI
(
config
[
'
url
'
])
//解决中文乱码问题
console
.
log
(
'
configggg
'
,
config
[
'
url
'
])
/* console.log('configggg',config['url'])*/
if
((
window
.
location
.
href
).
includes
(
'
bidweb
'
)){
config
[
'
url
'
]
=
(
config
[
'
url
'
]).
replace
(
"
bidprocurement
"
,
"
service-app
"
)
}
...
...
src/views/common/login/login.vue
View file @
819e8502
...
...
@@ -151,7 +151,7 @@
登 录
</el-button>
</el-form-item>
<el-form-item>
<
!--
<
el-form-item>
<el-row>
<el-col>
<div
class=
"fr"
>
...
...
@@ -161,16 +161,16 @@
</div>
</el-col>
</el-row>
</el-form-item>
</el-form-item>
-->
</el-form>
</div>
</div>
</div>
<div
class=
"back"
>
<
!--
<
div
class=
"back"
>
<el-button
@
click=
"backHome"
>
返回首页
</el-button>
</div>
</div>
-->
</div>
</div>
<div
class=
"desc"
>
...
...
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