Commit 819e8502 authored by zhuxl's avatar zhuxl

提交

parent f957970c
...@@ -122,6 +122,9 @@ export function mutiLangCode(planProject, langCode) { ...@@ -122,6 +122,9 @@ export function mutiLangCode(planProject, langCode) {
// type:login:登陆时 expertRegister:注册时 // type:login:登陆时 expertRegister:注册时
// a:时间戳 // a:时间戳
// } // }
export function randCodeImage(data) { /* export function randCodeImage(data) {
return '/bidprocurement/common-login/login/randCodeImage' + createURL(data) return '/bidprocurement/common-login/login/randCodeImage' + createURL(data)
}*/
export function randCodeImage(data) {
return '/service-app/common-login/login/randCodeImage' + createURL(data)
} }
...@@ -117,10 +117,14 @@ export function getTypeList(data) { ...@@ -117,10 +117,14 @@ export function getTypeList(data) {
method: 'post' method: 'post'
}) })
} }
// 加密的盐值-地址加密获取图片 /* // 加密的盐值-地址加密获取图片
export function getLoginRegistImage(imagePath) { export function getLoginRegistImage(imagePath) {
imagePath = Base64.encode('1be004824634e083464eef19cadb7e51' + Base64.decode(imagePath)) imagePath = Base64.encode('1be004824634e083464eef19cadb7e51' + Base64.decode(imagePath))
return '/bidprocurement/common-tools/tools/commonUpload/getLoginRegistImage?imagePath=' + 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
} }
/* /*
......
...@@ -14,7 +14,7 @@ const service = axios.create({ ...@@ -14,7 +14,7 @@ const service = axios.create({
service.interceptors.request.use( service.interceptors.request.use(
config => { config => {
config['url']=encodeURI(config['url'])//解决中文乱码问题 config['url']=encodeURI(config['url'])//解决中文乱码问题
console.log('configggg',config['url']) /* console.log('configggg',config['url'])*/
if((window.location.href).includes('bidweb')){ if((window.location.href).includes('bidweb')){
config['url'] = (config['url']).replace("bidprocurement","service-app") config['url'] = (config['url']).replace("bidprocurement","service-app")
} }
......
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
登 录 登 录
</el-button> </el-button>
</el-form-item> </el-form-item>
<el-form-item> <!-- <el-form-item>
<el-row> <el-row>
<el-col> <el-col>
<div class="fr"> <div class="fr">
...@@ -161,16 +161,16 @@ ...@@ -161,16 +161,16 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</el-form-item> </el-form-item>-->
</el-form> </el-form>
</div> </div>
</div> </div>
</div> </div>
<div class="back"> <!-- <div class="back">
<el-button @click="backHome"> <el-button @click="backHome">
返回首页 返回首页
</el-button> </el-button>
</div> </div>-->
</div> </div>
</div> </div>
<div class="desc"> <div class="desc">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment