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
622794c3
Commit
622794c3
authored
Nov 07, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预计来佣添加保单号
parent
7623c5ef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
32 deletions
+39
-32
src/views/sign/appointment/appointmentEdit.vue
+14
-5
src/views/sign/underwritingMain/components/expectedCommission.vue
+21
-25
src/views/sign/underwritingMain/components/policyInfo.vue
+3
-2
src/views/sign/underwritingMain/index.vue
+1
-0
No files found.
src/views/sign/appointment/appointmentEdit.vue
View file @
622794c3
...
...
@@ -209,6 +209,7 @@
:activeName=
"activeName"
:policyBizId=
"route.query.policyBizId"
:policyFollowUpdateDto=
"policyDetailInfo.policyFollowUpdateDto"
@
policyEditSuccess=
"getPolicyDetail"
/>
</div>
<div
v-if=
"tab.name === 'policyAccessories'"
>
...
...
@@ -240,7 +241,7 @@
<ExpectedCommission
:activeName=
"activeName"
:policyBizId=
"route.query.policyBizId"
:
brokerList=
"policyDetailInfo.brokerList
"
:
policyNo=
"policyNo
"
/>
</div>
</div>
...
...
@@ -353,6 +354,7 @@ const processInfo = ref({
})
const
execlDialog
=
ref
(
false
)
const
isEmbed
=
ref
(
false
)
//是否作为组件插入
const
policyNo
=
ref
(
''
)
//新单跟进保单号
const
tabsList
=
ref
([
{
...
...
@@ -976,7 +978,7 @@ watch(
}
)
// 获取新单跟进详情数据
const
getPolicyDetail
=
()
=>
{
const
getPolicyDetail
=
tabName
=>
{
// 使用 Promise.all 并行发送请求
Promise
.
all
([
getPolicyfollow
(
route
.
query
.
policyBizId
),
getPolicyInfo
(
route
.
query
.
policyBizId
)])
.
then
(([
followRes
,
infoRes
])
=>
{
...
...
@@ -993,6 +995,9 @@ const getPolicyDetail = () => {
appointmentSummeryInfo
.
value
.
apiProductPlanInfoDto
.
apiProductPlanMainInfoDto
)
)
if
(
tabName
&&
tabName
==
'policyInfo'
)
{
policyNo
.
value
=
appointmentSummeryInfo
.
value
.
policyFollowUpdateDto
.
policyNo
}
}
}
})
...
...
@@ -1005,9 +1010,13 @@ if (route.query.source == 'policyList') {
idsObj
.
value
.
policyBizId
=
route
.
query
.
policyBizId
getCustomerInfo
(
props
.
policyDetailInfo
.
customerBizId
)
appointmentSummeryInfo
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
props
.
policyDetailInfo
))
appointmentSummeryInfo
.
value
.
apiAppointmentInfoDto
=
JSON
.
parse
(
JSON
.
stringify
(
appointmentSummeryInfo
.
value
.
apiProductPlanInfoDto
.
apiProductPlanMainInfoDto
)
)
if
(
appointmentSummeryInfo
.
value
.
apiProductPlanInfoDto
)
{
appointmentSummeryInfo
.
value
.
apiAppointmentInfoDto
=
JSON
.
parse
(
JSON
.
stringify
(
appointmentSummeryInfo
.
value
.
apiProductPlanInfoDto
.
apiProductPlanMainInfoDto
)
)
}
policyNo
.
value
=
route
.
query
.
policyNo
idsObj
.
value
.
appointmentBizId
=
route
.
query
.
appointmentBizId
isEmbed
.
value
=
route
.
query
.
embed
tabsList
.
value
=
[
...
...
src/views/sign/underwritingMain/components/expectedCommission.vue
View file @
622794c3
<
template
>
<div>
<div
v-if=
"tableList.length > 0"
>
<div>
<!--
<el-row>
<el-col
:span=
"12"
>
<el-form
:model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
>
<el-form-item
label=
"保单号"
prop=
"policyNo"
label-width=
"60px"
>
<el-input
v-model=
"queryParams.policyNo"
placeholder=
"请输入保单号"
clearable
@
keyup
.
enter=
"getTableList"
/>
</el-form-item>
</el-form>
</el-col>
</el-row>
-->
<el-row>
<el-col
:span=
"24"
style=
"display: flex; justify-content: flex-start; margin-bottom: 10px"
>
<el-button
...
...
@@ -14,6 +28,8 @@
</el-col>
<el-table
:data=
"tableList"
border
@
sort-change=
"sortChange"
>
<el-table-column
type=
"index"
width=
"60"
label=
"序号"
/>
<el-table-column
label=
"保单号"
prop=
"policyNo"
align=
"center"
width=
"120"
>
</el-table-column>
<el-table-column
label=
"来佣名称"
prop=
"commissionName"
align=
"center"
width=
"180"
>
</el-table-column>
<el-table-column
label=
"来佣金额"
sortable
prop=
"amount"
align=
"center"
width=
"120"
>
...
...
@@ -173,7 +189,6 @@
</
template
>
</el-dialog>
</div>
<div
v-else
class=
"domEmpty"
v-loading=
"loading"
></div>
</div>
</template>
<
script
setup
name=
"policyInfo"
>
...
...
@@ -193,6 +208,7 @@ const dictStore = useDictStore() //获取字典数据
const
props
=
defineProps
({
activeName
:
{
type
:
String
,
default
:
''
},
//tab名称
policyBizId
:
{
type
:
String
,
default
:
''
},
//提交状态,新增、修改
policyNo
:
{
type
:
String
,
default
:
''
},
//提交状态,新增、修改
dictTypeLists
:
{
type
:
Array
,
default
:
()
=>
[]
}
//多个字典值数据
})
...
...
@@ -215,7 +231,8 @@ const data = reactive({
pageNo
:
1
,
pageSize
:
5
,
sortField
:
'commissionPeriod'
,
sortOrder
:
'ascend'
sortOrder
:
'ascend'
,
policyNo
:
props
.
policyNo
||
''
}
})
const
{
queryParams
,
form
}
=
toRefs
(
data
)
...
...
@@ -296,28 +313,6 @@ const addChildren = () => {
form
.
value
=
{}
editCommission
.
value
=
true
commissionTitle
.
value
=
'添加来佣'
// let obj = {
// id: Date.now() + Math.floor(Math.random() * 1000), //唯一标识
// reconciliationCompany: '',
// currency: '',
// commissionPeriod: '',
// totalPeriod: '',
// commissionName: '',
// amount: '',
// commissionDate: '',
// remark: ''
// }
// if (tableList.value.length == 0) {
// tableList.value.unshift(obj)
// } else {
// obj.reconciliationCompany = tableList.value[0].reconciliationCompany
// obj.currency = tableList.value[0].currency
// obj.commissionPeriod = tableList.value[0].commissionPeriod
// obj.totalPeriod = tableList.value[0].totalPeriod
// obj.remark = tableList.value[0].remark
// tableList.value.unshift(obj)
// }
// total.value = total.value + 1
}
// 处理单个提交
...
...
@@ -345,6 +340,7 @@ const handleUpdate = () => {
}
})
}
else
{
obj
.
policyNo
=
props
.
policyNo
editMultipleCommission
({
commissionExpectedAddDtoList
:
[
obj
]
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
proxy
.
$message
.
success
(
'添加成功'
)
...
...
src/views/sign/underwritingMain/components/policyInfo.vue
View file @
622794c3
...
...
@@ -158,7 +158,7 @@ const props = defineProps({
policyFollowUpdateDto
:
{
type
:
Object
,
default
:
()
=>
{}
}
//详情数据
})
const
emit
=
defineEmits
([
'handleSuccess'
])
const
emit
=
defineEmits
([
'handleSuccess'
,
'policyEditSuccess'
])
const
{
proxy
}
=
getCurrentInstance
()
const
loading
=
ref
(
false
)
...
...
@@ -531,7 +531,8 @@ const submitForm = saveType => {
handleEditStatus
()
proxy
.
$message
.
success
(
'提交成功'
)
// 提交成功后,在获取详情信息,防止数据丢失
getPolicyDetail
()
// getPolicyDetail()
emit
(
'policyEditSuccess'
,
'policyInfo'
)
}
})
}
else
{
...
...
src/views/sign/underwritingMain/index.vue
View file @
622794c3
...
...
@@ -652,6 +652,7 @@ const handleStatus = row => {
path
:
'/sign/underwritingMain/followUpDetail'
,
query
:
{
policyBizId
:
row
.
policyBizId
,
policyNo
:
row
.
policyNo
,
type
:
'edit'
,
source
:
'policyList'
,
embed
:
true
,
...
...
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