Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
loan-manager-customer
Project
Project
Details
Activity
Releases
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
zhanhai
loan-manager-customer
Commits
746411f5
Commit
746411f5
authored
May 10, 2024
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增委案商查询
parent
ed183d4c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
169 additions
and
0 deletions
+169
-0
LoanInfo.vue
src/components/byh/componments/LoanInfo.vue
+1
-0
index.js
src/router/index.js
+9
-0
index.less
src/views/commission/index.less
+11
-0
index.vue
src/views/commission/index.vue
+148
-0
No files found.
src/components/byh/componments/LoanInfo.vue
View file @
746411f5
...
...
@@ -37,6 +37,7 @@
</el-table-column>
<el-table-column
align=
"center"
prop=
"settlePlanIndex"
label=
"限制提前结清期数"
></el-table-column>
<el-table-column
align=
"center"
prop=
"cancelMemo"
label=
"备注"
></el-table-column>
<el-table-column
align=
"center"
prop=
"followUpTeam"
label=
"委案商"
></el-table-column>
<el-table-column
align=
"center"
label=
"查看详情"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handleClick(scope.row)"
>
详情
</el-button>
...
...
src/router/index.js
View file @
746411f5
...
...
@@ -187,6 +187,15 @@ export default new Router({
title
:
'信审查询'
,
filter
:
true
}
},
{
path
:
'/commission/search'
,
name
:
'CollectionSearch'
,
component
:
resolve
=>
require
([
'../views/commission/index.vue'
],
resolve
),
meta
:
{
title
:
'委案查询'
,
filter
:
true
}
},
]
...
...
src/views/commission/index.less
0 → 100644
View file @
746411f5
.page-track{
width: 100vw;
height: 100vh;
overflow: auto;
box-sizing: border-box;
}
.aside-box{
box-sizing: border-box;
padding: 20px;
}
src/views/commission/index.vue
0 → 100644
View file @
746411f5
<
template
>
<div
class=
"page-byh-service"
>
<block-header
title=
"搜索"
/>
<div
class=
"page-search"
>
<el-form
size=
"small"
label-suffix=
":"
:inline=
"true"
label-width=
"80px"
ref=
"refForm"
:model=
"form"
class=
"demo-form-inline"
>
<el-form-item
prop=
"clientInfo"
label=
"客户信息"
>
<el-input
style=
"width: 260px"
clearable
v-model
.
trim=
"form.clientInfo"
@
keyup
.
enter
.
native=
"onSubmit"
placeholder=
"姓名/手机/证件号/项目名称/借款编号"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
查询
</el-button>
<el-button
@
click=
"onReset('refForm')"
>
清空
</el-button>
</el-form-item>
</el-form>
</div>
<block-header
title=
"搜索结果"
></block-header>
<div
class=
"block-box"
>
<el-table
border
size=
"mini"
:highlight-current-row=
"true"
:header-row-class-name=
"headerStyle"
:data=
"data"
stripe
style=
"width: 100%;"
>
<el-table-column
align=
"center"
width=
"140"
prop=
"loanName"
label=
"项目名称"
></el-table-column>
<el-table-column
align=
"center"
prop=
"loanNo"
label=
"借款编号"
></el-table-column>
<el-table-column
align=
"center"
prop=
"realName"
label=
"客户姓名"
></el-table-column>
<el-table-column
align=
"center"
prop=
"mobile"
label=
"手机号"
></el-table-column>
<el-table-column
align=
"center"
prop=
"idCard"
label=
"证件号"
></el-table-column>
<el-table-column
align=
"center"
prop=
"caseName"
label=
"委案商"
></el-table-column>
</el-table>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"Commission"
,
data
()
{
return
{
form
:
{
clientInfo
:
""
},
data
:
[]
}
},
created
()
{
},
methods
:
{
/** 表格样式 */
headerStyle
()
{
return
"tableHeaderStyle"
;
},
/** 初始化订单列表 **/
async
init
()
{
try
{
const
params
=
this
.
form
const
form
=
Object
.
assign
({},
params
)
const
res
=
await
this
.
$$post
(
'/outsourcing/collectionSearch'
,
{
...
form
})
if
(
res
.
status
===
200
&&
res
.
data
.
success
)
{
const
records
=
res
.
data
.
result
.
records
;
console
.
log
(
records
,
'记录'
)
try
{
if
(
records
&&
records
.
length
)
{
console
.
log
(
'==='
)
const
data
=
[]
records
.
forEach
(
item
=>
{
if
(
item
.
loanCase
&&
item
.
loanCase
.
length
)
{
const
obj
=
{}
obj
.
loanName
=
item
.
loanCase
[
0
][
'loanName'
];
obj
.
loanNo
=
item
.
loanCase
[
0
][
'loanNo'
];
obj
.
realName
=
item
.
client
.
realName
;
obj
.
mobile
=
item
.
client
.
mobile
;
obj
.
idCard
=
item
.
client
.
idCard
;
obj
.
caseName
=
`
${
item
.
userDetailNewVO
.
customerName
}
-
${
item
.
userDetailNewVO
.
orgName
}
`
data
.
push
(
obj
)
}
})
console
.
log
(
data
,
'=='
)
this
.
data
=
data
;
}
}
catch
(
err
)
{
console
.
log
(
err
,
'oo'
)
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
catch
(
err
)
{
this
.
$Message
.
error
(
err
||
'系统异常'
);
console
.
log
(
err
,
'初始化协议列表错误'
)
}
},
/** 搜索提交 */
onSubmit
()
{
this
.
init
()
},
handleCurrentChange
(
e
)
{
this
.
form
.
current
=
e
;
this
.
init
();
},
handleSizeChange
(
e
)
{
this
.
form
.
size
=
e
;
this
.
form
.
current
=
1
;
this
.
init
();
}
}
}
</
script
>
<
style
scoped
>
.link-active
,
.link-null
{
text-decoration
:
none
;
}
.link-active
{
color
:
#155bd4
;
}
ul
,
li
{
list-style
:
none
;
margin
:
0
;
padding
:
0
;
}
.p-table
{
margin-bottom
:
20px
;
}
.pages
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
</
style
>
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