Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
654519e7
Commit
654519e7
authored
Jan 14, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保费对账与回执基础版已完成发布测试
parent
cbfe6f9f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
4 deletions
+66
-4
src/api/sign/policy.js
+39
-1
src/components/SearchForm/SearchForm.vue
+26
-3
src/components/commonDialog/index.vue
+1
-0
src/views/sign/policyReceipts/premiumRecon.vue
+0
-0
No files found.
src/api/sign/policy.js
View file @
654519e7
...
@@ -54,6 +54,14 @@ export function addPremiumReconciliation(data) {
...
@@ -54,6 +54,14 @@ export function addPremiumReconciliation(data) {
data
:
data
data
:
data
})
})
}
}
//编辑提交保费对账
export
function
editPremiumReconciliation
(
data
)
{
return
request
({
url
:
'/csf/api/premiumReconciliation/edit'
,
method
:
'put'
,
data
:
data
})
}
//保费对账编辑单个汇款记录
//保费对账编辑单个汇款记录
export
function
editPremiumRemittance
(
data
)
{
export
function
editPremiumRemittance
(
data
)
{
return
request
({
return
request
({
...
@@ -100,4 +108,34 @@ export function getPremiumRemittanceListApi(data) {
...
@@ -100,4 +108,34 @@ export function getPremiumRemittanceListApi(data) {
data
:
data
data
:
data
})
})
}
}
//检查保单号是否已经提交过保费对账
export
function
getCheckPolicyNoApi
(
policyNo
)
{
return
request
({
url
:
`/csf/api/premiumReconciliation/check/reconciliation/complete?policyNo=
${
policyNo
}
`
,
method
:
'get'
})
}
// 保费对账认定结果计算待付金额
export
function
getRemainingUnpaidAmount
(
data
)
{
return
request
({
url
:
'/csf/api/premiumReconciliation/calculate/remainingUnpaidAmount'
,
method
:
'post'
,
data
:
data
})
}
//提交保费对账认定结果
export
function
submitResult
(
data
)
{
return
request
({
url
:
'/csf/api/premiumReconciliation/edit/result'
,
method
:
'put'
,
data
:
data
})
}
//单个新增保费对账汇款记录
export
function
addSinglePremiumRemittance
(
data
)
{
return
request
({
url
:
'/csf/api/premiumRemittance/add'
,
method
:
'post'
,
data
:
data
})
}
src/components/SearchForm/SearchForm.vue
View file @
654519e7
...
@@ -129,8 +129,17 @@
...
@@ -129,8 +129,17 @@
:on-error=
"(err, file, fileList) => handleUploadError(err, file, fileList, item)"
:on-error=
"(err, file, fileList) => handleUploadError(err, file, fileList, item)"
:on-remove=
"(file, fileList) => handleUploadRemove(file, fileList, item)"
:on-remove=
"(file, fileList) => handleUploadRemove(file, fileList, item)"
>
>
<el-button
size=
"small"
type=
"primary"
:link=
"item.link"
:disabled=
"item.disabled"
>
<el-icon
class=
"iconStyle"
:size=
"20"
v-if=
"item.uploadType === 'image'"
{{
item
.
uploadType
===
'image'
?
'点击上传图片'
:
'点击上传文件'
}}
><Upload
/></el-icon>
<el-button
v-else
size=
"small"
type=
"primary"
:link=
"item.link"
:disabled=
"item.disabled"
>
{{
'点击上传文件'
}}
</el-button>
</el-button>
<template
#
tip
v-if=
"item.maxSize || item.accept"
>
<template
#
tip
v-if=
"item.maxSize || item.accept"
>
<div
class=
"el-upload__tip"
>
<div
class=
"el-upload__tip"
>
...
@@ -206,6 +215,8 @@ function handleUploadSuccess(response, file, fileList, item) {
...
@@ -206,6 +215,8 @@ function handleUploadSuccess(response, file, fileList, item) {
// 触发 model 更新
// 触发 model 更新
handleModelChange
([...
fileList
],
item
)
handleModelChange
([...
fileList
],
item
)
ElMessage
.
success
(
`文件
${
file
.
name
}
上传成功`
)
ElMessage
.
success
(
`文件
${
file
.
name
}
上传成功`
)
console
.
log
(
'上传成功'
,
item
)
}
}
function
handleExceed
(
files
,
fileList
)
{
function
handleExceed
(
files
,
fileList
)
{
ElMessage
.
warning
(
'超出文件数量限制'
)
ElMessage
.
warning
(
'超出文件数量限制'
)
...
@@ -298,7 +309,7 @@ const props = defineProps({
...
@@ -298,7 +309,7 @@ const props = defineProps({
isSearch
:
{
type
:
Boolean
,
default
:
false
}
isSearch
:
{
type
:
Boolean
,
default
:
false
}
})
})
const
emit
=
defineEmits
([
'update:modelValue'
,
'update'
])
const
emit
=
defineEmits
([
'update:modelValue'
,
'update'
,
'selectChange'
,
'uploadSuccess'
])
// ==================== Refs ====================
// ==================== Refs ====================
const
formRef
=
ref
(
null
)
const
formRef
=
ref
(
null
)
...
@@ -507,6 +518,12 @@ function handleModelChange(value, item) {
...
@@ -507,6 +518,12 @@ function handleModelChange(value, item) {
console
.
log
(
'🚫 跳过 emit:认为相等'
)
console
.
log
(
'🚫 跳过 emit:认为相等'
)
}
}
})
})
if
(
item
.
type
===
'select'
)
{
emit
(
'selectChange'
,
item
.
prop
,
value
,
item
)
}
else
if
(
item
.
type
==
'upload'
)
{
// 传给父组件最新的上传值newModel
emit
(
'uploadSuccess'
,
item
.
prop
,
newModel
)
}
console
.
groupEnd
()
console
.
groupEnd
()
}
}
// 辅助函数:浅比较两个对象
// 辅助函数:浅比较两个对象
...
@@ -803,7 +820,13 @@ defineExpose({
...
@@ -803,7 +820,13 @@ defineExpose({
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.formBox
{
box-sizing
:
border-box
;
}
.search-form-item
{
.search-form-item
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.iconStyle
{
color
:
#409eff
;
}
</
style
>
</
style
>
src/components/commonDialog/index.vue
View file @
654519e7
...
@@ -124,6 +124,7 @@ watch(
...
@@ -124,6 +124,7 @@ watch(
}
}
.content
{
.content
{
padding
:
0
15px
;
padding
:
0
15px
;
box-sizing
:
border-box
;
}
}
.dialog-footer
{
.dialog-footer
{
width
:
100%
;
width
:
100%
;
...
...
src/views/sign/policyReceipts/premiumRecon.vue
View file @
654519e7
This diff is collapsed.
Click to expand it.
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