Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录/注册
切换导航
M
mcep-h5
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jiangzaicheng
mcep-h5
提交
484df916
提交
484df916
编写于
11月 30, 2022
作者:
“grape”
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
个人业务相关接口联调与优化
上级
cb12ea70
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
142 行增加
和
37 行删除
+142
-37
application.api.ts
src/constants/api/ms-application/application.api.ts
+12
-0
LoginView.vue
src/views/authentication/LoginView.vue
+1
-1
Intention.vue
src/views/recognition/Intention.vue
+120
-33
Recognition.vue
src/views/recognition/Recognition.vue
+9
-3
未找到文件。
src/constants/api/ms-application/application.api.ts
浏览文件 @
484df916
...
@@ -247,6 +247,18 @@ const applicationApi = {
...
@@ -247,6 +247,18 @@ const applicationApi = {
header
:
HeaderType
.
AUTH
.
code
,
header
:
HeaderType
.
AUTH
.
code
,
// MCEP: 'MCEP'
// MCEP: 'MCEP'
},
},
getBussOrgList
:{
url
:
prefix
+
"
/persBusiAccept/getBussOrgList
"
,
method
:
MethodType
.
GET
.
code
,
header
:
HeaderType
.
AUTH
.
code
,
// MCEP: 'MCEP'
},
getBussAccountManagerList
:{
url
:
prefix
+
"
/bussAccountManager/getBussAccountManagerList
"
,
method
:
MethodType
.
GET
.
code
,
header
:
HeaderType
.
AUTH
.
code
,
// MCEP: 'MCEP'
},
};
};
export
default
applicationApi
;
export
default
applicationApi
;
src/views/authentication/LoginView.vue
浏览文件 @
484df916
...
@@ -257,7 +257,7 @@ export default class LoginView extends Vue {
...
@@ -257,7 +257,7 @@ export default class LoginView extends Vue {
}
}
apiService
.
general
(
loginApi
.
loginSystem
,
undefined
,
param
,
undefined
).
then
((
response
:
RestfulResponse
)
=>
{
apiService
.
general
(
loginApi
.
loginSystem
,
undefined
,
param
,
undefined
).
then
((
response
:
RestfulResponse
)
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
//发送请求就保存账号
//发送请求就保存账号
账号:18746555531 密码:123456
localStorage
.
setItem
(
'
loginNo
'
,
this
.
loginNo
);
localStorage
.
setItem
(
'
loginNo
'
,
this
.
loginNo
);
// debugger;
// debugger;
if
(
response
.
code
==
Code
.
SUCCESS
.
code
)
{
if
(
response
.
code
==
Code
.
SUCCESS
.
code
)
{
...
...
src/views/recognition/Intention.vue
浏览文件 @
484df916
<!--
<!--
* @Author: jiangzaicheng jiangzaicheng_jzc@163.com
* @Author: jiangzaicheng jiangzaicheng_jzc@163.com
* @Date: 2022-07-07 16:13:13
* @Date: 2022-07-07 16:13:13
* @LastEditors:
jiangzaicheng jiangzaicheng_jzc@163.com
* @LastEditors:
zhaowei
* @LastEditTime: 2022-
07-28
14:56:06
* @LastEditTime: 2022-
11-24
14:56:06
* @FilePath: \mcep-h5\src\components\common\Bottom.vue
* @FilePath: \mcep-h5\src\components\common\Bottom.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<van-row
type=
"flex"
class=
"layoutName"
>
<van-row
type=
"flex"
class=
"layoutName"
>
<van-col
span=
"24"
>
<van-col
span=
"24"
>
<van-cell-group>
<van-cell-group>
<van-field
label=
"借款金额"
v-model=
"amount"
input-align=
"right"
/>
<van-field
label=
"借款金额"
placeholder=
"请输入借款金额"
v-model=
"amount"
input-align=
"right"
/>
</van-cell-group>
</van-cell-group>
</van-col>
</van-col>
</van-row>
</van-row>
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
<van-field
<van-field
is-link
is-link
readonly
readonly
:value=
"
orgValue
"
:value=
"
handleOrg
"
label=
"意向机构"
label=
"意向机构"
input-align=
"right"
input-align=
"right"
placeholder=
"请选择意向机构"
placeholder=
"请选择意向机构"
...
@@ -139,7 +139,14 @@
...
@@ -139,7 +139,14 @@
:columns=
"orgList"
:columns=
"orgList"
@
cancel=
"showOrg = false"
@
cancel=
"showOrg = false"
@
confirm=
"onConfirmOrg"
@
confirm=
"onConfirmOrg"
/>
>
<template
#option
="
option
"
>
<div
style=
" display: flex; flex-direction:colum; align-item: center;"
>
<div>
{{
option
.
handleOrg
}}
</div>
</div>
</
template
>
</van-picker>
</van-popup>
</van-popup>
</van-col>
</van-col>
</van-row>
</van-row>
...
@@ -151,7 +158,7 @@
...
@@ -151,7 +158,7 @@
<van-field
<van-field
is-link
is-link
readonly
readonly
:value=
"
mangerValue
"
:value=
"
accountManager
"
label=
"意向客户经理"
label=
"意向客户经理"
input-align=
"right"
input-align=
"right"
placeholder=
"请选择意向客户经理"
placeholder=
"请选择意向客户经理"
...
@@ -163,7 +170,14 @@
...
@@ -163,7 +170,14 @@
:columns=
"mangerList"
:columns=
"mangerList"
@
cancel=
"showManager = false"
@
cancel=
"showManager = false"
@
confirm=
"onConfirmManager"
@
confirm=
"onConfirmManager"
/>
>
<
template
#option
="
option
"
>
<div
style=
" display: flex; flex-direction:colum; align-item: center;"
>
<div>
{{
option
.
accountManager
}}
</div>
</div>
</
template
>
</van-picker>
</van-popup>
</van-popup>
</van-col>
</van-col>
</van-row>
</van-row>
...
@@ -223,17 +237,22 @@ import applicationApi from "@/constants/api/ms-application/application.api";
...
@@ -223,17 +237,22 @@ import applicationApi from "@/constants/api/ms-application/application.api";
import
apiService
from
"
@/services/api.service
"
;
import
apiService
from
"
@/services/api.service
"
;
import
{
Code
}
from
"
@/constants/enum/general/code.enum
"
;
import
{
Code
}
from
"
@/constants/enum/general/code.enum
"
;
import
{
RestfulResponse
}
from
"
@/model/domain/RestfulResponse
"
;
import
{
RestfulResponse
}
from
"
@/model/domain/RestfulResponse
"
;
import
eventBus
from
"
@/services/goBackEntity
"
import
{
json
}
from
"
mathjs
"
;
import
{
List
}
from
"
echarts
"
;
Vue
.
use
(
Picker
);
Vue
.
use
(
Picker
);
@
Component
({
@
Component
({
name
:
"
Intention
"
,
name
:
"
Intention
"
,
})
})
export
default
class
Intention
extends
Vue
{
export
default
class
Intention
extends
Vue
{
tatleName
=
"
产品意向申请
"
;
tatleName
=
"
产品意向申请
"
;
//身份证
//身份证
idcard
=
"
23232111978221
"
;
idcard
=
"
23232111978221
"
;
//姓名
//姓名
name
=
"
刘明明
"
;
name
=
""
;
//电话
//电话
phone
=
""
;
phone
=
""
;
//贷款详情
//贷款详情
...
@@ -248,8 +267,6 @@ export default class Intention extends Vue {
...
@@ -248,8 +267,6 @@ export default class Intention extends Vue {
// area = "黑龙江省-哈尔滨市-松北区"
// area = "黑龙江省-哈尔滨市-松北区"
//意向机构
//意向机构
intentions
=
""
;
intentions
=
""
;
//客户经理
customer
=
""
;
//客户经理电话
//客户经理电话
phoneCard
:
any
=
""
;
phoneCard
:
any
=
""
;
//地区
//地区
...
@@ -258,32 +275,92 @@ export default class Intention extends Vue {
...
@@ -258,32 +275,92 @@ export default class Intention extends Vue {
cascaderValue
=
""
;
cascaderValue
=
""
;
showOrg
=
false
;
showOrg
=
false
;
handleOrg
=
""
orgValue
=
""
;
orgValue
=
""
;
showManager
=
false
;
showManager
=
false
;
mangerValue
=
""
;
accountManager
=
""
;
mangerList
=
[
"
吕晨涛
"
,
"
龙易轩
"
,
"
范丽
"
,
"
雷娟
"
,
"
郝芳
"
];
managerValue
=
""
;
//phoneCardList = [["吕晨涛","13332323232"],["龙易轩","12321212121"],["范丽","15673989898"],["雷娟","15673981198"], ["郝芳","15622981198"]];
phoneCardList
=
new
Map
([
// mangerList = ["吕晨涛", "龙易轩", "范丽", "雷娟", "郝芳",""];
[
"
吕晨涛
"
,
"
13332323232
"
],
// phoneCardList = [["吕晨涛","13332323232"],["龙易轩","12321212121"],["范丽","15673989898"],["雷娟","15673981198"], ["郝芳","15622981198"]];
[
"
龙易轩
"
,
"
12321212121
"
],
// // phoneCardList = new Map([
[
"
范丽
"
,
"
15673989898
"
],
// // ["吕晨涛", "13332323232"],
[
"
雷娟
"
,
"
15673981198
"
],
// // ["龙易轩", "12321212121"],
[
"
郝芳
"
,
"
15622981198
"
],
// // ["范丽", "15673989898"],
]);
// // ["雷娟", "15673981198"],
// // ["郝芳", "15622981198"],
// // ]);
//机构列表
//机构列表
orgList
=
[
"
哈尔滨道里区支行
"
,
"
哈尔滨松北区支行
"
];
orgList
=
[];
//获取意向机构列表
getOrgList
(){
apiService
.
general
(
applicationApi
.
getBussOrgList
,
{},
undefined
,
undefined
).
then
((
response
:
RestfulResponse
)
=>
{
// console.log(response);
if
(
response
.
code
==
Code
.
SUCCESS
.
code
)
{
this
.
orgList
=
response
.
data
;
// console.log(JSON.parse(response.data))
// response.data.forEach((element: any[]) => {
// this.orgList.set(element[0],element[1])
// });
console
.
log
(
this
.
orgList
);
// console.log(this.phoneCardList)
}
});
}
//意向客户经理列表
mangerList
=
[];
//获取意向客户经理列表
getBussAccountManagerList
(){
apiService
.
general
(
applicationApi
.
getBussAccountManagerList
,
{},
undefined
,
undefined
).
then
((
response
:
RestfulResponse
)
=>
{
// console.log(response);
if
(
response
.
code
==
Code
.
SUCCESS
.
code
)
{
this
.
mangerList
=
response
.
data
;
// console.log(JSON.parse(response.data))
// response.data.forEach((element: any[]) => {
// this.orgList.set(element[0],element[1])
// });
console
.
log
(
this
.
mangerList
);
// console.log(this.phoneCardList)
}
});
}
areaList
=
area
;
areaList
=
area
;
outcsinfo
=
{
outcsinfo
=
{
place
:
"
请选择地区
"
,
//出行地点
place
:
"
请选择地区
"
,
//出行地点
};
};
showAddress
=
false
;
showAddress
=
false
;
created
(){
created
(){
// debugger;;
// let that = this;
//获取实名认证页面的数据
eventBus
.
$on
(
"
idcard
"
,
function
(
this
:
any
,
data
:
any
){
console
.
log
(
"
I
"
+
data
);
this
.
idcard
=
data
;
}.
bind
(
this
));
eventBus
.
$on
(
"
name
"
,
function
(
this
:
any
,
data
:
any
){
this
.
name
=
data
;
}.
bind
(
this
));
//如果之前申请过业务进行数据反显
//如果之前申请过业务进行数据反显
this
.
getInfo
();
this
.
getInfo
();
//获取意向机构列表
this
.
getOrgList
();
//获取意向客户经理列表
this
.
getBussAccountManagerList
();
};
};
...
@@ -312,14 +389,18 @@ export default class Intention extends Vue {
...
@@ -312,14 +389,18 @@ export default class Intention extends Vue {
this
.
showLoan
=
false
;
this
.
showLoan
=
false
;
}
}
onConfirmOrg
(
orgValue
:
string
)
{
onConfirmOrg
(
org
:
any
)
{
this
.
orgValue
=
orgValue
;
// console.table(org);
this
.
handleOrg
=
org
.
handleOrg
;
this
.
orgValue
=
org
.
handleOrgValue
;
this
.
showOrg
=
false
;
this
.
showOrg
=
false
;
}
}
onConfirmManager
(
mangerValue
:
string
)
{
onConfirmManager
(
manager
:
any
)
{
this
.
mangerValue
=
mangerValue
;
this
.
managerValue
=
manager
.
managerValue
;
this
.
phoneCard
=
this
.
phoneCardList
.
get
(
mangerValue
);
this
.
accountManager
=
manager
.
accountManager
;
this
.
phoneCard
=
manager
.
managerPhone
;
this
.
showManager
=
false
;
this
.
showManager
=
false
;
}
}
// 选项列表,children 代表子选项,支持多级嵌套
// 选项列表,children 代表子选项,支持多级嵌套
...
@@ -347,12 +428,16 @@ export default class Intention extends Vue {
...
@@ -347,12 +428,16 @@ export default class Intention extends Vue {
apiService
.
general
(
applicationApi
.
getInfo
,
{},
undefined
,
undefined
).
then
((
response
:
RestfulResponse
)
=>
{
apiService
.
general
(
applicationApi
.
getInfo
,
{},
undefined
,
undefined
).
then
((
response
:
RestfulResponse
)
=>
{
// console.log(response);
// console.log(response);
if
(
response
.
code
==
Code
.
SUCCESS
.
code
)
{
if
(
response
.
code
==
Code
.
SUCCESS
.
code
)
{
this
.
name
=
response
.
data
.
custName
;
this
.
phone
=
response
.
data
.
phone
;
this
.
phone
=
response
.
data
.
phone
;
this
.
amount
=
response
.
data
.
applyAmt
;
//
this.amount=response.data.applyAmt;
this
.
loanValue
=
response
.
data
.
loanUseType
;
this
.
loanValue
=
response
.
data
.
loanUseType
;
//todo 地区
//todo 地区
this
.
orgValue
=
response
.
data
.
handleOrg
;
this
.
handleOrg
=
response
.
data
.
handleOrg
;
this
.
mangerValue
=
response
.
data
.
accountManager
;
this
.
orgValue
=
response
.
data
.
handleOrgValue
;
this
.
managerValue
=
response
.
data
.
managerValue
;
this
.
accountManager
=
response
.
data
.
accountManager
;
this
.
phoneCard
=
response
.
data
.
managerPhone
this
.
phoneCard
=
response
.
data
.
managerPhone
}
}
...
@@ -362,11 +447,13 @@ export default class Intention extends Vue {
...
@@ -362,11 +447,13 @@ export default class Intention extends Vue {
recognition
()
{
recognition
()
{
let
param
=
{
let
param
=
{
accountManager
:
this
.
mangerValue
,
//客户经理
accountManager
:
this
.
accountManager
,
//客户经理
managerPhone
:
this
.
phoneCard
,
//客户电话
managerValue
:
this
.
managerValue
,
//客户经理号
managerPhone
:
this
.
phoneCard
,
//客户经理电话
applyAmt
:
this
.
amount
,
//申请金额
applyAmt
:
this
.
amount
,
//申请金额
custName
:
this
.
name
,
//客户姓名
custName
:
this
.
name
,
//客户姓名
handleOrg
:
this
.
orgValue
,
//意向机构
handleOrg
:
this
.
handleOrg
,
//意向机构
handleOrgValue
:
this
.
orgValue
,
//意向机构号
loanUseType
:
this
.
loanValue
,
//借款用途
loanUseType
:
this
.
loanValue
,
//借款用途
paperId
:
this
.
idcard
,
//身份证号
paperId
:
this
.
idcard
,
//身份证号
phone
:
this
.
phone
,
//客户电话
phone
:
this
.
phone
,
//客户电话
...
...
src/views/recognition/Recognition.vue
浏览文件 @
484df916
...
@@ -37,12 +37,12 @@
...
@@ -37,12 +37,12 @@
<van-col
span=
"8"
>
无明显高光
</van-col>
<van-col
span=
"8"
>
无明显高光
</van-col>
<van-col
span=
"8"
>
照片清晰
</van-col>
<van-col
span=
"8"
>
照片清晰
</van-col>
</van-row>
</van-row>
<van-form
style=
"margin-top:4%"
>
<van-form
style=
"margin-top:4%"
@
submit=
"volick()"
>
<van-field
v-model=
"pointCard"
name=
"身份证号"
label=
"身份证号"
placeholder=
"身份证号"
<van-field
v-model=
"pointCard"
name=
"身份证号"
label=
"身份证号"
placeholder=
"身份证号"
:rules=
"[
{ required: true, message: '请填写身份证号' }]" />
:rules=
"[
{ required: true, message: '请填写身份证号' }]" />
<van-field
v-model=
"name"
name=
"姓名"
label=
"姓名"
placeholder=
"姓名"
:rules=
"[
{ required: true, message: '请填写姓名' }]" />
<van-field
v-model=
"name"
name=
"姓名"
label=
"姓名"
placeholder=
"姓名"
:rules=
"[
{ required: true, message: '请填写姓名' }]" />
<div
style=
"margin: 16px;"
>
<div
style=
"margin: 16px;"
>
<van-button
class=
"vbutton"
style=
"background-color: #3672F1; border-radius: 5px; "
block
type=
"info"
native-type=
"submit"
@
click=
"volick()"
>
下一步
</van-button>
<van-button
class=
"vbutton"
style=
"background-color: #3672F1; border-radius: 5px; "
block
type=
"info"
native-type=
"submit"
>
下一步
</van-button>
</div>
</div>
</van-form>
</van-form>
</div>
</div>
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Prop
,
Watch
,
Emit
}
from
"
vue-property-decorator
"
;
import
{
Component
,
Vue
,
Prop
,
Watch
,
Emit
}
from
"
vue-property-decorator
"
;
import
eventBus
from
"
@/services/goBackEntity
"
/*
/*
* title
* title
*/
*/
...
@@ -58,13 +59,18 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
...
@@ -58,13 +59,18 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
})
})
export
default
class
Recognition
extends
Vue
{
export
default
class
Recognition
extends
Vue
{
//身份证号
//身份证号
pointCard
:
string
=
""
;
pointCard
:
string
=
"
23232111978221
"
;
//姓名
//姓名
name
:
string
=
""
;
name
:
string
=
""
;
//实名认证
//实名认证
tatleName
=
"
实名认证
"
tatleName
=
"
实名认证
"
//button
//button
volick
(){
volick
(){
eventBus
.
$emit
(
"
idcard
"
,
this
.
pointCard
);
console
.
log
(
this
.
pointCard
+
"
r
"
)
eventBus
.
$emit
(
"
name
"
,
this
.
name
);
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
`Agreement`
,
name
:
`Agreement`
,
})
})
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录