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
a31dd98b
Commit
a31dd98b
authored
Jan 28, 2026
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改显示字段
parent
990fa688
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
76 deletions
+4
-76
src/views/sign/underwritingMain/policyDetail.vue
+4
-76
No files found.
src/views/sign/underwritingMain/policyDetail.vue
View file @
a31dd98b
...
@@ -274,34 +274,9 @@ const emit = defineEmits(['update:modelValue', 'submit', 'cancel', 'saveRow'])
...
@@ -274,34 +274,9 @@ const emit = defineEmits(['update:modelValue', 'submit', 'cancel', 'saveRow'])
const
introducerTableData
=
ref
([])
const
introducerTableData
=
ref
([])
const
introducerConfig
=
[
const
introducerConfig
=
[
<<<<<<<
HEAD
{
{
type
:
'select'
,
type
:
'select'
,
prop
:
'brokerBizId'
,
prop
:
'brokerName'
,
label
:
'转介人'
,
onChangeExtraFields
:
{
brokerName
:
'realName'
,
internalCode
:
'code'
,
team
:
'teamName'
,
phone
:
'phone'
,
},
displayProp
:
'brokerName'
,
api
:
'/insurance/base/api/userSaleExpand/page'
,
keywordField
:
'realName'
,
requestParams
:
{
pageNo
:
1
,
pageSize
:
20
},
placeholder
:
'输入转介人名称搜索'
,
debounceWait
:
500
,
// 自定义防抖时间
transform
:
(
res
)
=>
{
return
(
res
?.
data
.
records
||
[]).
map
(
item
=>
({
value
:
item
.
clientUserBizId
,
label
:
item
.
realName
,
...
item
}))
},
=======
{
type
:
'select'
,
prop
:
'brokerBizId'
,
label
:
'转介人'
,
label
:
'转介人'
,
api
:
'/insurance/base/api/userSaleExpand/page'
,
api
:
'/insurance/base/api/userSaleExpand/page'
,
keywordField
:
'realName'
,
keywordField
:
'realName'
,
...
@@ -309,16 +284,14 @@ const introducerConfig = [
...
@@ -309,16 +284,14 @@ const introducerConfig = [
placeholder
:
'输入转介人名称搜索'
,
placeholder
:
'输入转介人名称搜索'
,
debounceWait
:
500
,
// 自定义防抖时间
debounceWait
:
500
,
// 自定义防抖时间
onChangeExtraFields
:
{
onChangeExtraFields
:
{
broker
:
'realName'
,
// 选中后自动填 broker = raw.realName
brokerName
:
'realName'
,
internalCode
:
'code'
,
internalCode
:
'code'
,
team
:
'teamName'
,
team
:
'teamName'
,
phone
:
'phone'
phone
:
'phone'
,
>>>>>>>
test
brokerBizId
:
'clientUserBizId'
},
},
transform
:
res
=>
{
transform
:
res
=>
{
return
(
res
?.
data
.
records
||
[]).
map
(
item
=>
({
return
(
res
?.
data
.
records
||
[]).
map
(
item
=>
({
value
:
item
.
clientUserBizId
,
value
:
item
.
realName
,
label
:
item
.
realName
,
label
:
item
.
realName
,
...
item
...
item
}))
}))
...
@@ -1016,7 +989,6 @@ const handleTabClick = tab => {
...
@@ -1016,7 +989,6 @@ const handleTabClick = tab => {
}
}
const
handleSubmit
=
()
=>
{
const
handleSubmit
=
()
=>
{
<<<<<<<
HEAD
formRef
.
value
?.
validate
((
valid
)
=>
{
formRef
.
value
?.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
console
.
log
(
'提交数据'
,
introducerTableData
.
value
)
console
.
log
(
'提交数据'
,
introducerTableData
.
value
)
...
@@ -1042,34 +1014,6 @@ const handleSubmit = () => {
...
@@ -1042,34 +1014,6 @@ const handleSubmit = () => {
}
}
})
})
=======
formRef
.
value
?.
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
'提交数据'
,
introducerTableData
.
value
)
if
(
activeTab
.
value
===
'postal'
)
{
emit
(
'submit'
,
{
...
postalFormData
.
value
,
activeTab
:
activeTab
.
value
})
}
else
if
(
activeTab
.
value
===
'firstPayment'
)
{
emit
(
'submit'
,
{
...
firstPremiumFormData
.
value
,
activeTab
:
activeTab
.
value
})
}
else
if
(
activeTab
.
value
===
'attachment'
)
{
emit
(
'submit'
,
{
activeTab
:
activeTab
.
value
})
}
else
if
(
activeTab
.
value
===
'introducer'
)
{
emit
(
'submit'
,
{
...
introducerTableData
.
value
,
activeTab
:
activeTab
.
value
})
}
else
if
(
activeTab
.
value
===
'basic'
)
{
emit
(
'submit'
,
{
...
basicInfoFormData
.
value
,
activeTab
:
activeTab
.
value
,
...
policyInfoFormData
.
value
})
}
else
if
(
activeTab
.
value
===
'productPlan'
)
{
emit
(
'submit'
,
{
...
basicPlanFormData
.
value
,
activeTab
:
activeTab
.
value
,
...
localData
.
additionalPlans
})
}
}
})
>>>>>>>
test
}
}
const
handleCancel
=
()
=>
{
const
handleCancel
=
()
=>
{
...
@@ -1109,23 +1053,7 @@ const getPolicyfollowDetail = () => {
...
@@ -1109,23 +1053,7 @@ const getPolicyfollowDetail = () => {
introducerTableData
.
value
=
res
.
data
.
brokerList
||
[]
introducerTableData
.
value
=
res
.
data
.
brokerList
||
[]
console
.
log
(
'====父组件在赋值basicPlanFormData后'
,
basicPlanFormData
.
value
)
console
.
log
(
'====父组件在赋值basicPlanFormData后'
,
basicPlanFormData
.
value
)
}
}
<<<<<<<
HEAD
getPolicyfollow
(
props
.
policyBizId
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
'====父组件在赋值basicPlanFormData前'
,
basicPlanFormData
.
value
)
newOrderData
.
value
=
res
.
data
policyInfoFormData
.
value
=
{
...
transformToFormData
(
res
.
data
,
policyInfoFormConfig
.
value
)
};
basicPlanFormData
.
value
=
{
...
transformToFormData
(
res
.
data
,
basicPlanFormConfig
.
value
)
};
basicInfoFormData
.
value
=
{
...
transformToFormData
(
res
.
data
,
basicInfoFormConfig
.
value
)
};
firstPremiumFormData
.
value
=
{
...
transformToFormData
(
res
.
data
,
firstPremiumFormConfig
.
value
)
};
introducerTableData
.
value
=
res
.
data
.
brokerList
||
[]
// console.log('====父组件在赋值introducerTableData后=====', introducerTableData.value)
}
})
=======
})
})
>>>>>>>
test
}
}
// 查询附件列表
// 查询附件列表
...
...
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