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
92304c31
Commit
92304c31
authored
Jan 12, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发布测试合并代码
parent
17384168
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
127 additions
and
103 deletions
+127
-103
src/formJson/customer.js
+15
-0
src/utils/2.js
+0
-0
src/views/sign/FnaList/components/customer.vue
+13
-4
src/views/sign/FnaList/components/fanForm.vue
+3
-1
src/views/sign/appointment/components/appointmentDetail.vue
+9
-16
src/views/sign/appointment/components/appointmentInfo.vue
+45
-31
src/views/sign/appointment/components/beneficiaryInfo.vue
+15
-32
src/views/sign/appointment/components/healthInfo.vue
+1
-6
src/views/sign/appointment/components/productPlan.vue
+5
-0
src/views/sign/appointment/components/secondHolderInfo.vue
+21
-13
src/views/sign/policyReceipts/index.vue
+0
-0
No files found.
src/formJson/customer.js
View file @
92304c31
...
@@ -313,6 +313,21 @@ const customer = [
...
@@ -313,6 +313,21 @@ const customer = [
labelWidth
:
'120px'
,
//标签宽度
labelWidth
:
'120px'
,
//标签宽度
sm
:
12
,
//栅格布局份数
sm
:
12
,
//栅格布局份数
lg
:
8
//栅格布局份数
lg
:
8
//栅格布局份数
},
{
label
:
'受供养人数目'
,
key
:
'dependentsNum'
,
domType
:
'Input'
,
inputType
:
'number'
,
required
:
false
,
maxLength
:
300
,
disabled
:
false
,
placeholder
:
'请输入'
,
show
:
false
,
labelPosition
:
'top'
,
//标签的位置
labelWidth
:
'120px'
,
//标签宽度
sm
:
12
,
//栅格布局份数
lg
:
8
//栅格布局份数
}
}
]
]
},
},
...
...
src/utils/2.js
View file @
92304c31
This diff is collapsed.
Click to expand it.
src/views/sign/FnaList/components/customer.vue
View file @
92304c31
...
@@ -71,7 +71,11 @@
...
@@ -71,7 +71,11 @@
:placeholder=
"child.placeholder"
:placeholder=
"child.placeholder"
maxlength=
"30"
maxlength=
"30"
:disabled=
"
:disabled=
"
child.key == 'age' || child.key == 'bmi' ? true : editStatus
child.key == 'age' ||
child.key == 'bmi' ||
child.key == 'dependentsNum'
? true
: editStatus
"
"
@
blur=
"handleInputBlur(child)"
@
blur=
"handleInputBlur(child)"
>
>
...
@@ -105,7 +109,7 @@
...
@@ -105,7 +109,7 @@
v-model=
"form[child.key]"
v-model=
"form[child.key]"
type=
"date"
type=
"date"
format=
"YYYY-MM-DD"
format=
"YYYY-MM-DD"
value-format=
"YYYY-MM-DD
HH:mm:ss
"
value-format=
"YYYY-MM-DD"
:placeholder=
"child.placeholder"
:placeholder=
"child.placeholder"
:disabled=
"editStatus"
:disabled=
"editStatus"
:disabled-date=
"time => disabledDate(time, child)"
:disabled-date=
"time => disabledDate(time, child)"
...
@@ -977,7 +981,12 @@ const setFormValue = (obj, formData, exportValue) => {
...
@@ -977,7 +981,12 @@ const setFormValue = (obj, formData, exportValue) => {
if
(
obj
.
isRetirement
||
obj
.
isRetirement
==
0
)
{
if
(
obj
.
isRetirement
||
obj
.
isRetirement
==
0
)
{
form
.
value
[
'isRetirement'
]
=
String
(
obj
.
isRetirement
)
form
.
value
[
'isRetirement'
]
=
String
(
obj
.
isRetirement
)
}
}
if
(
obj
.
dependentsNum
)
{
field
.
show
=
true
}
if
(
field
.
dictType
==
'sys_no_yes'
)
{
form
.
value
[
field
.
key
]
=
String
(
obj
[
field
.
key
])
}
//要判断drawerType,因为抽屉要回显数据
//要判断drawerType,因为抽屉要回显数据
switch
(
field
.
drawerType
)
{
switch
(
field
.
drawerType
)
{
case
'phone'
:
case
'phone'
:
...
@@ -1080,7 +1089,7 @@ const setFormValue = (obj, formData, exportValue) => {
...
@@ -1080,7 +1089,7 @@ const setFormValue = (obj, formData, exportValue) => {
addressQuickList
.
value
=
removeDuplicates
(
tempAddressList
,
'addressString'
)
addressQuickList
.
value
=
removeDuplicates
(
tempAddressList
,
'addressString'
)
processedCustomerData
.
value
=
processedData
processedCustomerData
.
value
=
processedData
console
.
log
(
'
processedCustomerData.value'
,
processedCustomerData
.
value
)
console
.
log
(
'
form.value'
,
form
.
value
)
}
}
// 数组去重
// 数组去重
function
removeDuplicates
(
arr
,
key
)
{
function
removeDuplicates
(
arr
,
key
)
{
...
...
src/views/sign/FnaList/components/fanForm.vue
View file @
92304c31
...
@@ -426,6 +426,8 @@ const handleRemoteSelectChange = async (row, column, father) => {
...
@@ -426,6 +426,8 @@ const handleRemoteSelectChange = async (row, column, father) => {
if
(
item
.
value
==
row
.
insuranceType
)
{
if
(
item
.
value
==
row
.
insuranceType
)
{
if
(
item
.
code
==
'CI'
)
{
if
(
item
.
code
==
'CI'
)
{
row
.
showSumInsured
=
true
row
.
showSumInsured
=
true
}
else
{
row
.
showSumInsured
=
false
}
}
row
.
insuranceType
=
item
.
label
row
.
insuranceType
=
item
.
label
}
}
...
@@ -748,7 +750,7 @@ const setFormValue = (obj, formData) => {
...
@@ -748,7 +750,7 @@ const setFormValue = (obj, formData) => {
loading
.
value
=
true
loading
.
value
=
true
let
processedData
=
JSON
.
parse
(
JSON
.
stringify
(
formData
))
let
processedData
=
JSON
.
parse
(
JSON
.
stringify
(
formData
))
// 重疾险要加上row.showSumInsured = true便于控制重疾险保额输入框的显示
for
(
const
section
of
processedData
)
{
for
(
const
section
of
processedData
)
{
if
(
section
.
keyType
==
'Array'
)
{
if
(
section
.
keyType
==
'Array'
)
{
section
.
data
=
obj
[
section
.
key
]
?
obj
[
section
.
key
]
:
[]
section
.
data
=
obj
[
section
.
key
]
?
obj
[
section
.
key
]
:
[]
...
...
src/views/sign/appointment/components/appointmentDetail.vue
View file @
92304c31
...
@@ -1006,21 +1006,8 @@ const processFormData = async () => {
...
@@ -1006,21 +1006,8 @@ const processFormData = async () => {
}
}
}
}
}
}
console
.
log
(
'searchOptions.value'
,
searchOptions
.
value
)
setFormValue
(
props
.
detailInfo
,
processedData
)
// if (props.idsObj.appointmentBizId) {
// setFormValue(props.apiAppointmentInfoDto, processedData)
// return
// setFormValue(props.detailInfo, processedData)
// } else if (showDetail.value) {
// // 回显历史签约详情
// setFormValue(detailData.value, processedData)
// return
// } else {
// // 新增给默认值
// form.value['isReferrerAccompany'] = form.value['isOpenAccount'] = form.value['isUseCar'] = 0
// processedAppointmentData.value = processedData
// }
}
}
//弹出右侧抽屉
//弹出右侧抽屉
...
@@ -1245,7 +1232,9 @@ const setFormValue = (obj, formData) => {
...
@@ -1245,7 +1232,9 @@ const setFormValue = (obj, formData) => {
}
}
// 给表单表格赋值
// 给表单表格赋值
for
(
const
objKey
in
obj
)
{
for
(
const
objKey
in
obj
)
{
if
(
objKey
==
section
.
key
&&
section
.
keyType
==
'Array'
&&
obj
[
section
.
key
].
length
>
0
)
{
if
(
objKey
==
section
.
key
&&
section
.
keyType
==
'Array'
)
{
console
.
log
(
'key'
,
section
.
key
,
obj
[
section
.
key
])
section
.
data
=
obj
[
section
.
key
]
section
.
data
=
obj
[
section
.
key
]
}
}
}
}
...
@@ -1380,6 +1369,9 @@ const setFormValue = (obj, formData) => {
...
@@ -1380,6 +1369,9 @@ const setFormValue = (obj, formData) => {
processedAppointmentData
.
value
=
oldAppointmentData
.
value
=
processedData
processedAppointmentData
.
value
=
oldAppointmentData
.
value
=
processedData
oldObjInfo
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
value
))
oldObjInfo
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
value
))
console
.
log
(
'form.value'
,
form
.
value
)
console
.
log
(
'form.value'
,
form
.
value
)
console
.
log
(
'===================================='
)
console
.
log
(
'详情'
,
processedAppointmentData
.
value
)
console
.
log
(
'===================================='
)
}
}
// 数组去重
// 数组去重
function
removeDuplicates
(
arr
,
key
)
{
function
removeDuplicates
(
arr
,
key
)
{
...
@@ -1557,7 +1549,8 @@ watch(
...
@@ -1557,7 +1549,8 @@ watch(
}
}
)
)
if
(
Object
.
keys
(
props
.
detailInfo
).
length
>
0
)
{
if
(
Object
.
keys
(
props
.
detailInfo
).
length
>
0
)
{
processFormData
()
// processFormData()
setFormValue
(
props
.
detailInfo
,
appointmentDomData
)
}
}
// 暴露给父组件
// 暴露给父组件
defineExpose
({
defineExpose
({
...
...
src/views/sign/appointment/components/appointmentInfo.vue
View file @
92304c31
...
@@ -388,11 +388,6 @@
...
@@ -388,11 +388,6 @@
<
template
#
table
>
<
template
#
table
>
<el-table
v-loading=
"tableLoading"
:data=
"tableData"
border
>
<el-table
v-loading=
"tableLoading"
:data=
"tableData"
border
>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"creatorName"
/>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"creatorName"
/>
<!--
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
>
<template
#
default=
"scope"
>
<dict-tag
:options=
"fetchDictData('sys_gender')"
:value=
"scope.row.gender"
/>
</
template
>
</el-table-column>
-->
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
...
@@ -626,6 +621,11 @@ function getItineraryInfo() {
...
@@ -626,6 +621,11 @@ function getItineraryInfo() {
appointmentSummeryInfo
.
value
.
meetingPoint
=
item
.
label
appointmentSummeryInfo
.
value
.
meetingPoint
=
item
.
label
}
}
})
})
fetchDictData
(
'bx_currency_type'
).
forEach
(
item
=>
{
if
(
item
.
value
==
appointmentSummeryInfo
.
value
.
currency
)
{
appointmentSummeryInfo
.
value
.
currency
=
item
.
label
}
})
if
(
appointmentSummeryInfo
.
value
.
total
)
{
if
(
appointmentSummeryInfo
.
value
.
total
)
{
appointmentSummeryInfo
.
value
.
total
=
Number
(
appointmentSummeryInfo
.
value
.
total
).
toFixed
(
2
)
appointmentSummeryInfo
.
value
.
total
=
Number
(
appointmentSummeryInfo
.
value
.
total
).
toFixed
(
2
)
}
}
...
@@ -663,9 +663,11 @@ function getItineraryInfo() {
...
@@ -663,9 +663,11 @@ function getItineraryInfo() {
},
},
{
{
label
:
'联系电话'
,
label
:
'联系电话'
,
value
:
appointmentSummeryInfo
.
value
.
businessRepresentMobile1
value
:
appointmentSummeryInfo
.
value
.
businessRepresentMobile1
Code
?
appointmentSummeryInfo
.
value
.
businessRepresentMobile1Code
+
?
appointmentSummeryInfo
.
value
.
businessRepresentMobile1Code
+
appointmentSummeryInfo
.
value
.
businessRepresentMobile1
appointmentSummeryInfo
.
value
.
businessRepresentMobile1
:
appointmentSummeryInfo
.
value
.
businessRepresentMobile1
?
appointmentSummeryInfo
.
value
.
businessRepresentMobile1
:
'-'
,
:
'-'
,
span
:
12
// 占12/24
span
:
12
// 占12/24
}
}
...
@@ -773,11 +775,11 @@ const handleExprot = async row => {
...
@@ -773,11 +775,11 @@ const handleExprot = async row => {
}
}
const
changePageNo
=
val
=>
{
const
changePageNo
=
val
=>
{
queryParams
.
value
.
pageNo
=
val
queryParams
.
value
.
pageNo
=
val
// getList
()
viewHistory
()
}
}
const
changePageSize
=
val
=>
{
const
changePageSize
=
val
=>
{
queryParams
.
value
.
pageSize
=
val
queryParams
.
value
.
pageSize
=
val
// getList
()
viewHistory
()
}
}
const
timeValueChange
=
child
=>
{
const
timeValueChange
=
child
=>
{
if
(
form
.
value
[
child
.
key
])
{
if
(
form
.
value
[
child
.
key
])
{
...
@@ -1037,11 +1039,11 @@ const fetchDictData = dictType => {
...
@@ -1037,11 +1039,11 @@ const fetchDictData = dictType => {
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
if
(
item
.
dictType
==
dictType
)
{
if
(
item
.
dictType
==
dictType
)
{
// options = item.dictItemList
// options = item.dictItemList
if
(
dictType
==
'sys_no_yes'
)
{
//
if (dictType == 'sys_no_yes') {
item
.
dictItemList
.
forEach
(
item1
=>
{
//
item.dictItemList.forEach(item1 => {
item1
.
value
=
Number
(
item1
.
value
)
//
item1.value = Number(item1.value)
})
//
})
}
//
}
options
=
item
.
dictItemList
options
=
item
.
dictItemList
}
}
})
})
...
@@ -1075,6 +1077,8 @@ const processFormData = async () => {
...
@@ -1075,6 +1077,8 @@ const processFormData = async () => {
}
}
if
(
section
.
data
)
{
if
(
section
.
data
)
{
for
(
const
field
of
section
.
data
)
{
for
(
const
field
of
section
.
data
)
{
// 给默认值赋值
if
(
section
.
key
==
'openAccount'
)
{
if
(
section
.
key
==
'openAccount'
)
{
openAccountKey
.
value
[
field
.
key
]
=
field
.
key
openAccountKey
.
value
[
field
.
key
]
=
field
.
key
}
}
...
@@ -1090,35 +1094,37 @@ const processFormData = async () => {
...
@@ -1090,35 +1094,37 @@ const processFormData = async () => {
}
}
if
(
field
.
required
)
{
if
(
field
.
required
)
{
if
(
field
.
key
===
'firstNamePinyin'
)
{
rules
.
value
[
field
.
key
]
=
[
rules
.
value
[
field
.
key
]
=
[
{
required
:
true
,
message
:
`
${
field
.
label
}
不能为空`
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
`
${
field
.
label
}
不能为空`
,
trigger
:
'blur'
},
]
{
validator
:
validateEnglish
,
trigger
:
'change'
}
}
]
// 新增赋默认值
}
else
{
if
(
rules
.
value
[
field
.
key
]
=
[
!
props
.
idsObj
.
appointmentBizId
&&
{
required
:
true
,
message
:
`
${
field
.
label
}
不能为空`
,
trigger
:
'blur'
}
(
field
.
key
==
'isUseCar'
||
]
field
.
key
==
'isOpenAccount'
||
}
field
.
key
==
'isReferrerAccompany'
)
)
{
field
.
options
.
forEach
(
item
=>
{
if
(
item
.
value
==
'0'
)
{
form
.
value
[
field
.
key
]
=
item
.
value
}
})
}
}
}
}
}
}
}
}
console
.
log
(
'searchOptions.value'
,
searchOptions
.
value
)
// 编辑状态下回显值
// 编辑状态下回显值
if
(
props
.
idsObj
.
appointmentBizId
)
{
if
(
props
.
idsObj
.
appointmentBizId
)
{
setFormValue
(
props
.
apiAppointmentInfoDto
,
processedData
)
setFormValue
(
props
.
apiAppointmentInfoDto
,
processedData
)
return
return
}
else
if
(
showDetail
.
value
)
{
// 回显历史签约详情
setFormValue
(
detailData
.
value
,
processedData
)
return
}
else
{
}
else
{
// 新增给默认值
form
.
value
[
'isReferrerAccompany'
]
=
form
.
value
[
'isOpenAccount'
]
=
form
.
value
[
'isUseCar'
]
=
0
processedAppointmentData
.
value
=
processedData
processedAppointmentData
.
value
=
processedData
console
.
log
(
'processedAppointmentData.value'
,
processedAppointmentData
.
value
)
}
}
console
.
log
(
'processedAppointmentData.value'
,
processedAppointmentData
.
value
)
console
.
log
(
'form.value'
,
form
.
value
)
}
}
//弹出右侧抽屉
//弹出右侧抽屉
...
@@ -1383,6 +1389,9 @@ const setFormValue = (obj, formData) => {
...
@@ -1383,6 +1389,9 @@ const setFormValue = (obj, formData) => {
field
.
finishTime
=
obj
[
field
.
key
]
field
.
finishTime
=
obj
[
field
.
key
]
}
}
if
(
field
.
dictType
==
'sys_no_yes'
)
{
form
.
value
[
field
.
key
]
=
String
(
form
.
value
[
field
.
key
])
}
//要判断drawerType,因为抽屉要回显数据
//要判断drawerType,因为抽屉要回显数据
switch
(
field
.
drawerType
)
{
switch
(
field
.
drawerType
)
{
case
'phone'
:
case
'phone'
:
...
@@ -1664,12 +1673,17 @@ watch(showDetail, newVal => {
...
@@ -1664,12 +1673,17 @@ watch(showDetail, newVal => {
detailInfo
.
value
=
{}
detailInfo
.
value
=
{}
}
}
})
})
const
hasLoaded
=
ref
(
false
)
// 新增:是否已加载过数据
watch
(
watch
(
()
=>
props
.
activeName
,
()
=>
props
.
activeName
,
newVal
=>
{
newVal
=>
{
appointmentRef
.
value
=
null
appointmentRef
.
value
=
null
if
(
newVal
===
'appointmentInfo'
)
{
if
(
newVal
===
'appointmentInfo'
)
{
processFormData
()
if
(
!
hasLoaded
.
value
)
{
processFormData
()
hasLoaded
.
value
=
true
}
showDetail
.
value
=
false
showDetail
.
value
=
false
openList
.
value
=
false
openList
.
value
=
false
}
}
...
...
src/views/sign/appointment/components/beneficiaryInfo.vue
View file @
92304c31
...
@@ -540,6 +540,11 @@ const fetchDictData = dictType => {
...
@@ -540,6 +540,11 @@ const fetchDictData = dictType => {
try
{
try
{
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
if
(
item
.
dictType
==
dictType
)
{
if
(
item
.
dictType
==
dictType
)
{
if
(
dictType
==
'sys_no_yes'
)
{
item
.
dictItemList
.
forEach
(
item1
=>
{
item1
.
value
=
Number
(
item1
.
value
)
})
}
options
=
item
.
dictItemList
options
=
item
.
dictItemList
}
}
})
})
...
@@ -580,19 +585,6 @@ const processFormData = async obj => {
...
@@ -580,19 +585,6 @@ const processFormData = async obj => {
}
}
}
}
}
}
if
(
tempBeneficiaryDomData
.
value
.
length
>
0
&&
!
props
.
idsObj
.
appointmentBizId
&&
props
.
pageSource
==
'fnaList'
)
{
form
.
value
=
{
...
tempBeneficiaryForm
.
value
}
saveKey
.
value
=
{
...
tempSaveKey
.
value
}
addressQuickList
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
tempAddressQuickList
.
value
))
phoneQuickList
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
tempPhoneQuickList
.
value
))
processedBeneficiaryData
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
tempBeneficiaryDomData
.
value
))
}
else
{
processedBeneficiaryData
.
value
=
oldAppointmentData
.
value
=
processedData
}
if
(
props
.
idsObj
.
appointmentBizId
)
{
if
(
props
.
idsObj
.
appointmentBizId
)
{
setFormValue
(
processedData
)
setFormValue
(
processedData
)
}
else
{
}
else
{
...
@@ -862,6 +854,8 @@ const setFormValue = processedData => {
...
@@ -862,6 +854,8 @@ const setFormValue = processedData => {
}
}
}
}
processedBeneficiaryData
.
value
=
oldDom
processedBeneficiaryData
.
value
=
oldDom
console
.
log
(
'受益人表单'
,
form
.
value
)
console
.
log
(
'dom'
,
processedBeneficiaryData
.
value
)
}
}
// 获取校验失败的字段信息
// 获取校验失败的字段信息
const
getInvalidFields
=
fields
=>
{
const
getInvalidFields
=
fields
=>
{
...
@@ -882,7 +876,6 @@ const handleFormValues = () => {
...
@@ -882,7 +876,6 @@ const handleFormValues = () => {
return
new
Promise
(
async
resolve
=>
{
return
new
Promise
(
async
resolve
=>
{
if
(
processedBeneficiaryData
.
value
.
length
>
0
)
{
if
(
processedBeneficiaryData
.
value
.
length
>
0
)
{
let
submitObj
=
{
...
form
.
value
}
let
submitObj
=
{
...
form
.
value
}
// 因为投保人没有policyholderRel的校验会影响 受保人,所以暂时先赋值处理
proxy
.
$refs
[
'beneficiaryInfoFormRef'
].
validate
((
valid
,
fields
)
=>
{
proxy
.
$refs
[
'beneficiaryInfoFormRef'
].
validate
((
valid
,
fields
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
@@ -941,29 +934,19 @@ const resetForm = () => {
...
@@ -941,29 +934,19 @@ const resetForm = () => {
.
catch
(()
=>
{})
.
catch
(()
=>
{})
}
}
const
hasLoaded
=
ref
(
false
)
// 新增:是否已加载过数据
watch
(
watch
(
()
=>
props
.
activeName
,
()
=>
props
.
activeName
,
newVal
=>
{
newVal
=>
{
// 切换tab的时侯把表单值保存在临时变量里,方便切换回来的时候回显
tempBeneficiaryForm
.
value
=
{
...
form
.
value
}
tempSaveKey
.
value
=
{
...
saveKey
.
value
}
tempAddressQuickList
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
addressQuickList
.
value
))
tempPhoneQuickList
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
phoneQuickList
.
value
))
tempBeneficiaryDomData
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
processedBeneficiaryData
.
value
))
if
(
newVal
===
'beneficiary'
)
{
if
(
newVal
===
'beneficiary'
)
{
openList
.
value
=
false
openList
.
value
=
false
processFormData
({
if
(
!
hasLoaded
.
value
)
{
domdata
:
beneficiaryDomData
,
processFormData
({
exportValue
:
null
domdata
:
beneficiaryDomData
,
})
exportValue
:
null
// if (props.idsObj.appointmentBizId) {
})
// setFormValue()
hasLoaded
.
value
=
true
// } else {
}
// // 新增状态
// }
}
}
}
}
)
)
...
...
src/views/sign/appointment/components/healthInfo.vue
View file @
92304c31
...
@@ -388,12 +388,7 @@ const handleFormValues = () => {
...
@@ -388,12 +388,7 @@ const handleFormValues = () => {
proxy
.
$refs
[
'heathFormRef'
].
validate
((
valid
,
fields
)
=>
{
proxy
.
$refs
[
'heathFormRef'
].
validate
((
valid
,
fields
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
errorFields
.
value
=
[]
// 清空错误信息
errorFields
.
value
=
[]
// 清空错误信息
submitObj
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
value
))
if
(
props
.
activeName
==
'questionnaires'
)
{
submitObj
=
JSON
.
parse
(
JSON
.
stringify
(
form
.
value
))
}
else
{
submitObj
=
JSON
.
parse
(
JSON
.
stringify
(
tempSecondHolderForm
.
value
))
}
let
answerSessionsDtoList
=
[]
let
answerSessionsDtoList
=
[]
if
(
submitObj
.
length
>
0
)
{
if
(
submitObj
.
length
>
0
)
{
...
...
src/views/sign/appointment/components/productPlan.vue
View file @
92304c31
...
@@ -587,6 +587,11 @@ const fetchDictData = dictType => {
...
@@ -587,6 +587,11 @@ const fetchDictData = dictType => {
try
{
try
{
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
if
(
item
.
dictType
==
dictType
)
{
if
(
item
.
dictType
==
dictType
)
{
if
(
dictType
==
'sys_no_yes'
)
{
item
.
dictItemList
.
forEach
(
item1
=>
{
item1
.
value
=
Number
(
item1
.
value
)
})
}
options
=
item
.
dictItemList
options
=
item
.
dictItemList
}
}
})
})
...
...
src/views/sign/appointment/components/secondHolderInfo.vue
View file @
92304c31
...
@@ -394,6 +394,11 @@ const fetchDictData = dictType => {
...
@@ -394,6 +394,11 @@ const fetchDictData = dictType => {
try
{
try
{
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
dictStore
.
dictTypeLists
.
forEach
(
item
=>
{
if
(
item
.
dictType
==
dictType
)
{
if
(
item
.
dictType
==
dictType
)
{
if
(
dictType
==
'sys_no_yes'
)
{
item
.
dictItemList
.
forEach
(
item1
=>
{
item1
.
value
=
Number
(
item1
.
value
)
})
}
options
=
item
.
dictItemList
options
=
item
.
dictItemList
}
}
})
})
...
@@ -733,7 +738,7 @@ const resetForm = () => {
...
@@ -733,7 +738,7 @@ const resetForm = () => {
.
catch
(()
=>
{})
.
catch
(()
=>
{})
}
}
const
hasLoaded
=
ref
(
false
)
// 新增:是否已加载过数据
watch
(
watch
(
()
=>
props
.
activeName
,
()
=>
props
.
activeName
,
newVal
=>
{
newVal
=>
{
...
@@ -742,18 +747,21 @@ watch(
...
@@ -742,18 +747,21 @@ watch(
if
(
newVal
===
'secondHolder'
)
{
if
(
newVal
===
'secondHolder'
)
{
openList
.
value
=
false
openList
.
value
=
false
if
(
props
.
idsObj
.
appointmentBizId
)
{
if
(
!
hasLoaded
.
value
)
{
processFormData
({
if
(
props
.
idsObj
.
appointmentBizId
)
{
domdata
:
secondHolderDomData
,
processFormData
({
exportValue
:
null
,
domdata
:
secondHolderDomData
,
detailInfo
:
props
.
apiSecondHolderInfoDto
exportValue
:
null
,
})
detailInfo
:
props
.
apiSecondHolderInfoDto
console
.
log
(
' props.apiSecondHolderInfoDto'
,
props
.
apiSecondHolderInfoDto
)
})
}
else
{
console
.
log
(
' props.apiSecondHolderInfoDto'
,
props
.
apiSecondHolderInfoDto
)
processFormData
({
}
else
{
domdata
:
secondHolderDomData
,
processFormData
({
exportValue
:
null
domdata
:
secondHolderDomData
,
})
exportValue
:
null
})
}
hasLoaded
.
value
=
true
}
}
}
}
}
}
...
...
src/views/sign/policyReceipts/index.vue
0 → 100644
View file @
92304c31
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