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
d1888f3e
Commit
d1888f3e
authored
Mar 12, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户管理
parent
ee79a169
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
318 additions
and
105 deletions
+318
-105
customer.js
src/api/customer.js
+4
-0
addModel.vue
src/views/infoGather/constant/components/addModel.vue
+104
-36
index.vue
src/views/infoGather/constant/index.vue
+186
-26
Credit.vue
src/views/infoGather/customerGather/components/Credit.vue
+1
-1
Creditcard.vue
...views/infoGather/customerGather/components/Creditcard.vue
+1
-1
Customer.vue
src/views/infoGather/customerGather/components/Customer.vue
+12
-20
cardAndCredit.vue
...ws/infoGather/customerGather/components/cardAndCredit.vue
+1
-1
cardPrint.vue
src/views/infoGather/customerGather/components/cardPrint.vue
+1
-1
creditPrint.vue
...iews/infoGather/customerGather/components/creditPrint.vue
+1
-1
customerPrint.vue
...ws/infoGather/customerGather/components/customerPrint.vue
+1
-1
index.vue
src/views/infoGather/customerGather/index.vue
+5
-16
dangerReportDetail.vue
...infoGather/dangerReport/components/dangerReportDetail.vue
+1
-1
No files found.
src/api/customer.js
View file @
d1888f3e
...
...
@@ -22,4 +22,8 @@ export const getContractPage = (params) => {
// 保存合同
export
const
saveContract
=
(
data
)
=>
{
return
request
.
post
(
'/Contract/saveContract'
,
data
);
};
// 合同批量审核
export
const
flowStatusByIds
=
(
data
)
=>
{
return
request
.
get
(
'/Contract/flowStatusByIds'
,
data
);
};
\ No newline at end of file
src/views/infoGather/constant/components/addModel.vue
View file @
d1888f3e
This diff is collapsed.
Click to expand it.
src/views/infoGather/constant/index.vue
View file @
d1888f3e
This diff is collapsed.
Click to expand it.
src/views/infoGather/customerGather/components/Credit.vue
View file @
d1888f3e
...
...
@@ -296,7 +296,7 @@ td {
padding-left
:
5px
;
&
.label
{
text-align
:
center
;
background
:
rgb
(
222
,
233
,
244
)
;
background
:
#dfeaf5
;
font-weight
:
bold
;
color
:
#000
;
width
:
175px
;
...
...
src/views/infoGather/customerGather/components/Creditcard.vue
View file @
d1888f3e
...
...
@@ -322,7 +322,7 @@ td {
padding-left
:
5px
;
&
.label
{
text-align
:
center
;
background
:
rgb
(
222
,
233
,
244
)
;
background
:
#dfeaf5
;
width
:
175px
;
color
:
#000
;
}
...
...
src/views/infoGather/customerGather/components/Customer.vue
View file @
d1888f3e
...
...
@@ -218,7 +218,7 @@
</div>
</div>
<div>
<el-button
type=
"primary"
@
click=
"pushCreditcard()"
>
新建信用卡
</el-button>
<el-button
type=
"primary"
@
click=
"pushCreditcard(
{}
)"
>
新建信用卡
</el-button>
</div>
</div>
<vxe-grid
v-bind=
"cardConfig"
/>
...
...
@@ -247,7 +247,7 @@
</div>
</div>
<div>
<el-button
type=
"primary"
@
click=
"pushCredit()"
>
新建网贷
&
信用贷
</el-button>
<el-button
type=
"primary"
@
click=
"pushCredit(
{}
)"
>
新建网贷
&
信用贷
</el-button>
</div>
</div>
</template>
...
...
@@ -411,12 +411,12 @@ const CreditcardRef = ref();
const
creditArr
=
ref
([]);
const
cardSUM
=
computed
(()
=>
cardConfig
.
data
.
reduce
((
pre
,
cur
)
=>
pre
+
Number
(
cur
.
debt
),
0
));
const
creditSUM
=
computed
(()
=>
creditArr
.
value
.
reduce
((
pre
,
cur
)
=>
pre
+
Number
(
cur
.
debt
),
0
));
const
pushCreditcard
=
(
row
,
index
)
=>
{
CreditcardRef
.
value
.
openModal
(
row
,
i
ndex
const
pushCreditcard
=
(
{
row
,
rowIndex
}
)
=>
{
CreditcardRef
.
value
.
openModal
(
row
,
rowI
ndex
);
};
const
pushCredit
=
(
row
,
index
)
=>
{
CreditRef
.
value
.
openModal
(
row
,
i
ndex
const
pushCredit
=
(
{
row
,
rowIndex
}
)
=>
{
CreditRef
.
value
.
openModal
(
row
,
rowI
ndex
);
};
const
handleQuery
=
()
=>
{
...
...
@@ -504,6 +504,7 @@ onBeforeMount(async () => {
})
const
cardConfig
=
reactive
({
align
:
'center'
,
onCellClick
:
pushCreditcard
,
minHeight
:
250
,
rowConfig
:
{
height
:
40
,
...
...
@@ -516,12 +517,7 @@ const cardConfig = reactive({
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
div
onClick
=
{()
=>
pushCreditcard
(
row
,
rowIndex
)}
className
=
" text-blue-400 cursor-pointer inline-block"
>
{
rowIndex
+
1
}
<
/div
>
{
rowIndex
+
1
}
<
/
>
);
},
...
...
@@ -614,18 +610,14 @@ const cardConfig = reactive({
toolbarConfig
:
{
enabled
:
false
},
});
const
creditConfig
=
reactive
({
onCellClick
:
pushCredit
,
minHeight
:
200
,
columns
:
[
{
type
:
'seq'
,
width
:
60
,
title
:
'序号'
,
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
div
onClick
=
{()
=>
pushCredit
(
row
,
rowIndex
)}
className
=
" text-blue-400 cursor-pointer inline-block"
>
{
rowIndex
+
1
}
<
/div
>
{
rowIndex
+
1
}
<
/
>
);
},
...
...
@@ -717,7 +709,7 @@ td {
padding-left
:
5px
;
&
.label
{
text-align
:
center
;
background
:
rgb
(
222
,
233
,
244
)
;
background
:
#dfeaf5
;
color
:
#000
;
}
}
...
...
@@ -737,7 +729,7 @@ td {
@media
print
{
.label
{
text-align
:
center
;
background
:
rgb
(
222
,
233
,
244
)
;
background
:
#dfeaf5
;
color
:
#000
;
}
}
...
...
src/views/infoGather/customerGather/components/cardAndCredit.vue
View file @
d1888f3e
...
...
@@ -115,7 +115,7 @@ td {
text-align
:
center
;
&
.label
{
-webkit-print-color-adjust
:
exact
;
background-color
:
rgb
(
222
,
233
,
244
)
;
background-color
:
#dfeaf5
;
font-weight
:
400
!
important
;
}
}
...
...
src/views/infoGather/customerGather/components/cardPrint.vue
View file @
d1888f3e
...
...
@@ -122,7 +122,7 @@ td {
text-align
:
center
;
&
.label
{
-webkit-print-color-adjust
:
exact
;
background-color
:
rgb
(
222
,
233
,
244
)
;
background-color
:
#dfeaf5
;
font-weight
:
400
!
important
;
}
}
...
...
src/views/infoGather/customerGather/components/creditPrint.vue
View file @
d1888f3e
...
...
@@ -121,7 +121,7 @@ td {
text-align
:
center
;
&
.label
{
-webkit-print-color-adjust
:
exact
;
background-color
:
rgb
(
222
,
233
,
244
)
;
background-color
:
#dfeaf5
;
font-weight
:
400
!
important
;
}
}
...
...
src/views/infoGather/customerGather/components/customerPrint.vue
View file @
d1888f3e
...
...
@@ -118,7 +118,7 @@ td {
color
:
#000
;
&
.label
{
-webkit-print-color-adjust
:
exact
;
background-color
:
rgb
(
222
,
233
,
244
)
;
background-color
:
#dfeaf5
;
font-weight
:
400
!
important
;
}
}
...
...
src/views/infoGather/customerGather/index.vue
View file @
d1888f3e
...
...
@@ -59,26 +59,16 @@
query
:
{
id
:
44
},
//这里不能直接写成 query: JSON.stringify(item)
});
};
const
onCellClick
=
({
row
,
rowIndex
})
=>
{
pushCustomer
(
row
)
}
const
config
=
reactive
({
onCheckboxChange
:
onCheckboxChange
,
onCheckboxAll
:
onCheckboxAll
,
onCellClick
:
onCellClick
,
columns
:
[
{
type
:
'checkbox'
,
width
:
60
,
fixed
:
'left'
},
{
field
:
'id'
,
title
:
'客户ID'
,
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
<>
<
div
onClick
=
{()
=>
pushCustomer
(
row
)}
className
=
" text-blue-400 cursor-pointer inline-block"
>
{
row
.
id
}
<
/div
>
<
/
>
);
},
}
},
{
field
:
'name'
,
title
:
'客户名称'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'createTime'
,
title
:
'创建日期'
,
...
...
@@ -93,7 +83,6 @@
title
:
'创建人'
,
search
:
{
el
:
'input'
,
labelWidth
:
85
,
props
:
{
clearable
:
true
}
},
},
{
field
:
'name'
,
title
:
'客户名称'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'idCard'
,
title
:
'身份证号'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'phone'
,
title
:
'手机'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
{
field
:
'email'
,
title
:
'电子邮箱'
,
search
:
{
labelWidth
:
85
,
el
:
'input'
}
},
...
...
src/views/infoGather/dangerReport/components/dangerReportDetail.vue
View file @
d1888f3e
...
...
@@ -464,7 +464,7 @@ td {
padding-left
:
5px
;
&
.label
{
text-align
:
center
;
background
:
rgb
(
222
,
233
,
244
)
;
background
:
#dfeaf5
;
color
:
#000
;
}
&
.header
{
...
...
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