Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
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
何远江
yishuju-ui
Commits
fab2fb35
Commit
fab2fb35
authored
Mar 20, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete
parent
4cc5240d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
43 deletions
+61
-43
Customer.vue
src/views/infoGather/customerGather/components/Customer.vue
+58
-40
index.vue
src/views/infoGather/customerGather/index.vue
+3
-3
No files found.
src/views/infoGather/customerGather/components/Customer.vue
View file @
fab2fb35
...
...
@@ -12,7 +12,7 @@
>
打印信用卡信息
</el-button>
</
template
>
<el-button
type=
"primary"
@
click=
"submit()"
v-if=
"form.
over
!== 'Y'"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"submit()"
v-if=
"form.
complete
!== 'Y'"
>
保存
</el-button>
<!-- <template v-if="route.query.id"> -->
</div>
<p
class=
" text-lg text-center mb-5"
>
客户信息
</p>
...
...
@@ -23,36 +23,48 @@
<td
class=
"label"
>
录入人
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputUserName"
placeholder=
""
disabled
/></td>
<td
class=
"label"
>
推荐人
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.referee"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.referee"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
部门
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputOrg"
placeholder=
""
disabled
/></td>
<td
colspan=
"2"
>
<el-tree-select
placeholder=
"请选择部门"
clearable
:disabled=
"form.complete === 'Y'"
v-model=
"form.inputOrg"
ref=
"treeselect"
:checkStrictly=
"true"
:props=
"{ value: 'name', label: 'name', children: 'children' }"
:data=
"departlist"
:render-after-expand=
"false"
/>
</td>
<td
class=
"label"
>
角色
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.inputRole"
placeholder=
""
disabled
/></td>
</tr>
<tr>
<td
class=
"label"
>
姓名
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.name"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.name"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
年龄
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.age"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.age"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
身份证号
</td>
<td
colspan=
"2"
>
<div
class=
"flex items-center"
>
<el-input
class=
"line-input"
v-model=
"form.idCard"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
>
<el-input
class=
"line-input"
v-model=
"form.idCard"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
>
</el-input>
<el-button
:icon=
"Search"
@
click=
"handleQuery"
:disabled=
"form.
over
=== 'Y'"
></el-button>
<el-button
:icon=
"Search"
@
click=
"handleQuery"
:disabled=
"form.
complete
=== 'Y'"
></el-button>
</div>
</td>
<td
class=
"label"
>
属相
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.zodiac"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.zodiac"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
婚姻状况
</td>
<td
colspan=
"2"
>
<el-select
v-model=
"form.marriage"
class=
"line-input"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
>
<el-select
v-model=
"form.marriage"
class=
"line-input"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
>
<el-option
:label=
"item.label"
v-for=
"(item, index) in Marriage"
:key=
"index"
...
...
@@ -61,23 +73,23 @@
</el-select>
</td>
<td
class=
"label"
>
电话
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.phone"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.phone"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
学历
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.qualification"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.qualification"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
职业
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.career"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.career"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
是否为公检法系统人员、教师、医生、律师、企业法人
</td>
<td
colspan=
"2"
>
<el-radio-group
v-model=
"form.functionary"
:disabled=
"form.
over
=== 'Y'"
>
<el-radio-group
v-model=
"form.functionary"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group></td>
<td
class=
"label"
>
如职业为企事业单位人员是否同意催收
</td>
<td
colspan=
"2"
><el-radio-group
v-model=
"form.collection"
:disabled=
"form.
over
=== 'Y'"
>
<td
colspan=
"2"
><el-radio-group
v-model=
"form.collection"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group><br
/>
...
...
@@ -85,9 +97,9 @@
</tr>
<tr>
<td
class=
"label"
>
电子邮箱
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.email"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.email"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
性别
</td>
<td
colspan=
"2"
><el-select
v-model=
"form.sex"
class=
"line-input"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
>
<td
colspan=
"2"
><el-select
v-model=
"form.sex"
class=
"line-input"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
>
<el-option
:label=
"item.label"
v-for=
"(item, index) in Sex"
:key=
"index"
...
...
@@ -97,31 +109,31 @@
</tr>
<tr>
<td
class=
"label"
>
预留工作单位
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.reserveWorkUnit"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.reserveWorkUnit"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
预留家庭住址
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.reserveAddress"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.reserveAddress"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
是否有起诉案件
</td>
<td
colspan=
"2"
>
<el-radio-group
v-model=
"form.hasSueCase"
:disabled=
"form.
over
=== 'Y'"
>
<el-radio-group
v-model=
"form.hasSueCase"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group>
</td>
<td
class=
"label"
>
案件描述
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.caseDesc"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.caseDesc"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
打卡收入
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.checkInIncome"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.checkInIncome"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
打卡银行
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.checkInBank"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.checkInBank"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
打卡银行和借款银行是否为同一银行
</td>
<td
colspan=
"5"
>
<el-radio-group
v-model=
"form.borrowCheckInBank"
:disabled=
"form.
over
=== 'Y'"
>
<el-radio-group
v-model=
"form.borrowCheckInBank"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group>
...
...
@@ -129,44 +141,44 @@
</tr>
<tr>
<td
class=
"label"
>
个人及夫妻名下车辆数量
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.carNum"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.carNum"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
个人及夫妻名下房产数量
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.houseNum"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.houseNum"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
个人及夫妻名下车辆总价值
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.carPrice"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.carPrice"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
个人及夫妻名下房产总价值
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.housePrice"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.housePrice"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
公积金及金额
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.providentFund"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.providentFund"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
<td
class=
"label"
>
月收入
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.monthlyIncome"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.monthlyIncome"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
是否有理财型保单 、股票、基金 、大额存款
</td>
<td
colspan=
"2"
>
<el-radio-group
v-model=
"form.hasBigQuota"
:disabled=
"form.
over
=== 'Y'"
>
<el-radio-group
v-model=
"form.hasBigQuota"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group>
</td>
<td
class=
"label"
>
具体描述
</td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.bigQuotaDesc"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"2"
><el-input
class=
"line-input"
v-model=
"form.bigQuotaDesc"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
<tr>
<td
class=
"label"
>
是否有营业执照
</td>
<td
colspan=
"2"
>
<el-radio-group
v-model=
"form.hasBusinessLicense"
:disabled=
"form.
over
=== 'Y'"
>
<el-radio-group
v-model=
"form.hasBusinessLicense"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group>
</td>
<td
class=
"label"
>
子女工作是否需要政审
</td>
<td
colspan=
"2"
>
<el-radio-group
v-model=
"form.needPoliticalReview"
:disabled=
"form.
over
=== 'Y'"
>
<el-radio-group
v-model=
"form.needPoliticalReview"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group>
...
...
@@ -176,7 +188,7 @@
<td
class=
"label"
>
贷款类型
</td>
<td
colspan=
"5"
>
是否为抵押类贷款,人保贷款,公积金贷款,经营贷,担保、联名担保、保证类贷款,保险类贷款(保单贷),对应名下有理财保险,分红保险,现金分期,装修贷,网贷/信用贷/信用卡与资产相关联的(如与房、车、营业执照(法人/个体)、商铺、公积金等),先息后本、按期结息自由还本
<br
/>
<el-radio-group
v-model=
"form.hasLoan"
:disabled=
"form.
over
=== 'Y'"
>
<el-radio-group
v-model=
"form.hasLoan"
:disabled=
"form.
complete
=== 'Y'"
>
<el-radio
value=
"Y"
>
是
</el-radio>
<el-radio
value=
"N"
>
否
</el-radio>
</el-radio-group>
...
...
@@ -190,7 +202,7 @@
</tr>
<tr>
<td
class=
"label"
>
特殊原因备注
</td>
<td
colspan=
"5"
><el-input
class=
"line-input"
v-model=
"form.remark"
placeholder=
""
:disabled=
"form.
over
=== 'Y'"
/></td>
<td
colspan=
"5"
><el-input
class=
"line-input"
v-model=
"form.remark"
placeholder=
""
:disabled=
"form.
complete
=== 'Y'"
/></td>
</tr>
</tbody>
</table>
...
...
@@ -222,7 +234,7 @@
</div>
</div>
<div>
<el-button
type=
"primary"
@
click=
"pushCreditcard({})"
:disabled=
"form.
over
=== 'Y'"
>
新建信用卡
</el-button>
<el-button
type=
"primary"
@
click=
"pushCreditcard({})"
:disabled=
"form.
complete
=== 'Y'"
>
新建信用卡
</el-button>
</div>
</div>
<vxe-grid
v-bind=
"cardConfig"
/>
...
...
@@ -251,7 +263,7 @@
</div>
</div>
<div>
<el-button
type=
"primary"
@
click=
"pushCredit({})"
:disabled=
"form.
over
=== 'Y'"
>
新建网贷
&
信用贷
</el-button>
<el-button
type=
"primary"
@
click=
"pushCredit({})"
:disabled=
"form.
complete
=== 'Y'"
>
新建网贷
&
信用贷
</el-button>
</div>
</div>
</template>
...
...
@@ -320,6 +332,7 @@
import
customerPrint
from
'./customerPrint.vue'
;
import
cardAndCredit
from
'./cardAndCredit.vue'
;
import
creditPrint
from
'./creditPrint.vue'
;
import
{
getdepartmentTree
}
from
'@/api/departmentManage'
;
import
cardPrint
from
'./cardPrint.vue'
;
import
{
ref
,
computed
,
reactive
,
onBeforeMount
}
from
'vue'
;
import
{
useDict
}
from
'@/hooks/useDict'
;
...
...
@@ -338,6 +351,7 @@ const printContent = ref({
console
.
log
(
'开始打印之前的callback'
)
}
})
const
departlist
=
ref
([]);
const
printContentWd
=
ref
({
id
:
'customerStaticWd'
,
// preview: true, // 预览工具是否启用
...
...
@@ -362,7 +376,11 @@ const printContentXyk = ref({
console
.
log
(
'开始打印之前的callback'
)
}
})
getdepartmentTree
().
then
(
res
=>
{
if
(
res
.
success
)
{
departlist
.
value
=
res
.
result
}
})
const
form
=
ref
({
"name"
:
""
,
"age"
:
0
,
...
...
@@ -610,7 +628,7 @@ const cardConfig = reactive({
default
({
row
,
rowIndex
})
{
return
(
<>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
changeCreditcard
(
row
,
rowIndex
,
true
)}
disabled
=
{
form
.
value
.
over
===
'Y'
}
>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
changeCreditcard
(
row
,
rowIndex
,
true
)}
disabled
=
{
form
.
value
.
complete
===
'Y'
}
>
删除
<
/ElButton
>
<
/
>
...
...
@@ -694,7 +712,7 @@ const cardConfig = reactive({
default
({
row
,
rowIndex
})
{
return
(
<>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
changeCredit
(
row
,
rowIndex
,
true
)}
disabled
=
{
form
.
value
.
over
===
'Y'
}
>
<
ElButton
type
=
"primary"
link
onClick
=
{()
=>
changeCredit
(
row
,
rowIndex
,
true
)}
disabled
=
{
form
.
value
.
complete
===
'Y'
}
>
删除
<
/ElButton
>
<
/
>
...
...
src/views/infoGather/customerGather/index.vue
View file @
fab2fb35
...
...
@@ -105,11 +105,11 @@
{
field
:
'reserveWorkUnit'
,
title
:
'预留工作单位'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'reserveAddress'
,
title
:
'预留家庭地址'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'remark'
,
title
:
'备注'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'
over
'
,
title
:
'是否完成'
,
slots
:
{
{
field
:
'
complete
'
,
title
:
'是否完成'
,
slots
:
{
default
:
({
row
})
=>
{
return
(
<>
{
row
.
over
===
'Y'
?
'是'
:
'否'
}
{
row
.
complete
===
'Y'
?
'是'
:
'否'
}
<
/
>
);
},
...
...
@@ -122,7 +122,7 @@
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{(
e
)
=>
send
(
e
,
row
)}
disabled
=
{
row
.
over
===
'Y'
}
>
<
ElButton
type
=
"primary"
onClick
=
{(
e
)
=>
send
(
e
,
row
)}
disabled
=
{
row
.
complete
===
'Y'
}
>
发起风控审核
<
/ElButton
>
<
/
>
...
...
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