Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录/注册
切换导航
M
mcep-h5
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jiangzaicheng
mcep-h5
提交
c072be13
提交
c072be13
编写于
9月 05, 2022
作者:
“grape”
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
注册登录
上级
d78c3de8
变更
8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
29 行增加
和
12 行删除
+29
-12
.env.dev
.env.dev
+2
-0
login-mgt.api.ts
src/constants/api/login/login-mgt.api.ts
+6
-3
regist-mgt.api.ts
src/constants/api/login/regist-mgt.api.ts
+3
-1
api.service.ts
src/services/api.service.ts
+5
-2
LoginView.vue
src/views/authentication/LoginView.vue
+5
-3
Register.vue
src/views/login/Register.vue
+2
-1
Main.vue
src/views/main/Main.vue
+5
-1
businessProgress.vue
src/views/workbench/businessProgress.vue
+1
-1
未找到文件。
.env.dev
浏览文件 @
c072be13
...
...
@@ -21,5 +21,7 @@ VUE_APP_MS_APPLICATION_API = http://15.1.48.21:9140/ms-application
VUE_APP_QL_FORM_API = http://152.136.68.93:9018/ms-qing-long/api/v1/des-cache-info/permit_endpoint/query-cacheversion-by-appid-cachetype
// 启动网关 (on | off)
VUE_APP_ENABLE_GATEWAY = off
VUE_APP_BASE_API = http://10.2.3.118:9165/online-financial-service/api/v1/cust-info/permit_endpoint
src/constants/api/login/login-mgt.api.ts
浏览文件 @
c072be13
...
...
@@ -8,9 +8,12 @@
*/
import
{
MethodType
}
from
"
@/constants/enum/general/method-type.enum
"
;
import
{
HeaderType
}
from
"
@/constants/enum/general/header-type.enum
"
;
const
prefix
=
"
http://10.0.2.248:9165/online-financial-service/api/v1/cust-info/permit_endpoint
"
// const prefix = process.env.VUE_APP_BASE_API;
console
.
log
(
prefix
+
"
=================
"
);
// const prefix = "http://10.0.2.248:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
const
prefix
=
process
.
env
.
VUE_APP_BASE_API
;
// const prefix = "http://10.0.3.144:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
// console.log(prefix+"=================");
const
loginApi
=
{
updatePicCode
:
{
url
:
prefix
+
"
/getVerifyCode
"
,
...
...
src/constants/api/login/regist-mgt.api.ts
浏览文件 @
c072be13
...
...
@@ -10,7 +10,9 @@ import { MethodType } from "@/constants/enum/general/method-type.enum";
import
{
HeaderType
}
from
"
@/constants/enum/general/header-type.enum
"
;
// const prefix = "http://10.2.3.118:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
const
prefix
=
"
http://10.0.2.248:9165/online-financial-service/api/v1/cust-info/permit_endpoint
"
// const prefix = "http://10.0.3.144:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
const
prefix
=
process
.
env
.
VUE_APP_BASE_API
;
const
registApi
=
{
registSystem
:
{
url
:
prefix
+
"
/register
"
,
...
...
src/services/api.service.ts
浏览文件 @
c072be13
...
...
@@ -176,9 +176,12 @@ class ApiService {
path
=
query
!=
null
?
this
.
urlQueryConvert
(
path
,
query
)
:
path
;
console
.
log
(
"
服务调用--
"
+
path
);
return
Vue
.
axios
.
post
(
`
${
path
}
`
,
params
,
requestConfig
).
then
(
this
.
createBusCodeHandler
(
query
)).
catch
(
this
.
createErrorHandler
());
// return Vue.axios.post(`${path}`, params, requestConfig).then(this.createBusCodeHandler(query)).catch(this.createErrorHandler());
return
Vue
.
axios
.
post
(
`
${
path
}
`
,
params
,
requestConfig
).
then
(
res
=>
{
//TODO
return
res
.
data
});
}
/**
* POST请求 文件上传
...
...
src/views/authentication/LoginView.vue
浏览文件 @
c072be13
...
...
@@ -195,21 +195,23 @@ export default class LoginView extends Vue {
//验证码失败刷新
//this._updatePicCode();
let
param
=
{
phone
:
this
.
loginNo
,
loginNo
:
this
.
loginNo
,
//图形验证码
imageVerifyKey
:
this
.
imageSrcValue
,
//渠道
loginType
:
"
2
"
,
loginType
:
"
5
"
,
//手机验证码
messCode
:
this
.
sms
,
//密码
passWord
:
this
.
password
credential
:
this
.
password
}
apiService
.
general
(
loginApi
.
loginSystem
,
undefined
,
param
,
undefined
).
then
((
response
:
RestfulResponse
)
=>
{
console
.
log
(
response
);
//发送请求就保存账号
localStorage
.
setItem
(
'
loginNo
'
,
this
.
loginNo
);
// debugger;
if
(
response
.
code
==
Code
.
SUCCESS
.
code
)
{
Toast
(
response
.
msg
+
""
);
this
.
$router
.
push
({
name
:
`Mianview`
,
params
:
{
...
...
src/views/login/Register.vue
浏览文件 @
c072be13
...
...
@@ -152,7 +152,7 @@ export default class ForgetPassView extends Vue {
registSystem
()
{
if
(
this
.
password
===
this
.
restpassword
&&
this
.
checked
)
{
let
param
=
{
phone
:
this
.
phone
,
loginNo
:
this
.
phone
,
//短信验证码TODO
phoneVerifyCode
:
this
.
sms
,
//数字渠道
...
...
@@ -170,6 +170,7 @@ export default class ForgetPassView extends Vue {
}
})
}
Toast
(
response
.
msg
+
""
);
});
}
}
...
...
src/views/main/Main.vue
浏览文件 @
c072be13
...
...
@@ -302,7 +302,7 @@
</van-row>
</div>
<scroller-view
v-calculate-height
class=
"product"
>
<scroller-view
v-calculate-height
pulldown=
"true"
pullup=
"true"
:height=
"10000"
class=
"product"
>
<div
v-for=
"(item, index) in productList"
:key=
"index"
...
...
@@ -374,6 +374,10 @@ export default class Main extends Vue {
vanvcol42
=
"
vandilote
"
;
vanvcol43
=
"
vandilote
"
;
vanvcol44
=
"
vandilote
"
;
active
=
0
;
areaList
=
area
;
outcsinfo
=
{
...
...
src/views/workbench/businessProgress.vue
浏览文件 @
c072be13
...
...
@@ -2,7 +2,7 @@
* @ Author: zhaowei
* @ Create Time: 2022-09-3 10:20:17
* @ Modified by: zhaowei
* @ Modified time: 2022-09-03 11:
39:54
* @ Modified time: 2022-09-03 11:
41:35
* @ Description:
-->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录