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
6bbe241c
Commit
6bbe241c
authored
Jan 06, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
先提交测试
parent
20e7b750
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
34 deletions
+60
-34
src/api/common.js
+38
-0
src/views/sign/FnaList/edit.vue
+3
-1
src/views/sign/appointment/appointmentEdit.vue
+19
-10
src/views/sign/appointment/components/fileUpload.vue
+0
-0
src/views/sign/appointment/components/healthInfo.vue
+0
-23
No files found.
src/api/common.js
View file @
6bbe241c
...
@@ -159,3 +159,41 @@ export function importExcel(data) {
...
@@ -159,3 +159,41 @@ export function importExcel(data) {
data
:
data
data
:
data
})
})
}
}
// 上传获取材料列表
export
function
uploadMaterialList
(
data
)
{
return
request
({
url
:
'/oss/api/material/list'
,
data
:
data
,
method
:
'post'
})
}
// 删除上传文件
export
function
delUploadFile
(
fileBizId
)
{
return
request
({
url
:
`/oss/api/ossFile/del?fileBizId=
${
fileBizId
}
`
,
method
:
'delete'
})
}
// 上传获取材料列表2
export
function
uploadRelObjectMaterialList
(
data
)
{
return
request
({
url
:
'/oss/api/relObjectMaterial/page'
,
data
:
data
,
method
:
'post'
})
}
// 删除材料
export
function
delMaterial
(
relObjectMaterialBizId
)
{
return
request
({
url
:
`/oss/api/relObjectMaterial/del?relObjectMaterialBizId=
${
relObjectMaterialBizId
}
`
,
method
:
'delete'
})
}
// 获取文件详情
export
function
uploadOssFileList
(
data
)
{
return
request
({
url
:
'/oss/api/ossFile/list'
,
data
:
data
,
method
:
'post'
})
}
src/views/sign/FnaList/edit.vue
View file @
6bbe241c
...
@@ -379,7 +379,9 @@ const getDictsData = async () => {
...
@@ -379,7 +379,9 @@ const getDictsData = async () => {
'wj_question_second_category'
,
'wj_question_second_category'
,
'csf_ap_policy_transfer'
,
'csf_ap_policy_transfer'
,
'md_bank'
,
'md_bank'
,
'csf_property_type'
'csf_property_type'
,
'oss_data_type'
,
'oss_data_person'
])
])
}
}
...
...
src/views/sign/appointment/appointmentEdit.vue
View file @
6bbe241c
...
@@ -262,6 +262,7 @@
...
@@ -262,6 +262,7 @@
@
handleSuccessEdit=
"getAppointmentInfo(idsObj.appointmentBizId)"
@
handleSuccessEdit=
"getAppointmentInfo(idsObj.appointmentBizId)"
:pageSource=
"pageSource"
:pageSource=
"pageSource"
:showSubmitBtn=
"showSubmitBtn"
:showSubmitBtn=
"showSubmitBtn"
ref=
"appointmentAccessoriesRef"
/>
/>
</div>
</div>
<div
v-if=
"tab.name === 'policyInfo'"
>
<div
v-if=
"tab.name === 'policyInfo'"
>
...
@@ -418,6 +419,7 @@ const insuredInfoRef = ref(null)
...
@@ -418,6 +419,7 @@ const insuredInfoRef = ref(null)
const
secondHolderInfoRef
=
ref
(
null
)
const
secondHolderInfoRef
=
ref
(
null
)
const
beneficiaryInfoRef
=
ref
(
null
)
const
beneficiaryInfoRef
=
ref
(
null
)
const
policyTransferRef
=
ref
(
null
)
const
policyTransferRef
=
ref
(
null
)
const
appointmentAccessoriesRef
=
ref
(
null
)
const
questionnairesInfoRef
=
ref
(
null
)
const
questionnairesInfoRef
=
ref
(
null
)
const
customerInfo
=
ref
({})
const
customerInfo
=
ref
({})
const
idsObj
=
ref
({})
//各个模块的bizId
const
idsObj
=
ref
({})
//各个模块的bizId
...
@@ -815,7 +817,9 @@ const getDictsData = async () => {
...
@@ -815,7 +817,9 @@ const getDictsData = async () => {
'wj_question_first_category'
,
'wj_question_first_category'
,
'wj_question_second_category'
,
'wj_question_second_category'
,
'csf_ap_status'
,
'csf_ap_status'
,
'md_bank'
'md_bank'
,
'oss_data_type'
,
'oss_data_person'
])
])
}
}
// Tab切换前的验证
// Tab切换前的验证
...
@@ -868,15 +872,20 @@ const handleSubmit = async type => {
...
@@ -868,15 +872,20 @@ const handleSubmit = async type => {
// await secondHolderInfoRef.value[0].handleFormValues()
// await secondHolderInfoRef.value[0].handleFormValues()
// if (!submitAppointmentObj.value.apiSecondHolderInfoDto) return
// if (!submitAppointmentObj.value.apiSecondHolderInfoDto) return
// }
// }
if
(
beneficiaryInfoRef
.
value
)
{
// if (beneficiaryInfoRef.value) {
submitAppointmentObj
.
value
.
apiBeneficiaryInfoFzDto
=
// submitAppointmentObj.value.apiBeneficiaryInfoFzDto =
await
beneficiaryInfoRef
.
value
[
0
].
handleFormValues
()
// await beneficiaryInfoRef.value[0].handleFormValues()
if
(
!
submitAppointmentObj
.
value
.
apiBeneficiaryInfoFzDto
)
return
// if (!submitAppointmentObj.value.apiBeneficiaryInfoFzDto) return
}
// }
if
(
questionnairesInfoRef
.
value
&&
questionnairesInfoRef
.
value
[
0
].
questionLength
>
0
)
{
// if (questionnairesInfoRef.value && questionnairesInfoRef.value[0].questionLength > 0) {
submitAppointmentObj
.
value
.
questionnairesDetailResponse
=
// submitAppointmentObj.value.questionnairesDetailResponse =
await
questionnairesInfoRef
.
value
[
0
].
handleFormValues
()
// await questionnairesInfoRef.value[0].handleFormValues()
if
(
!
submitAppointmentObj
.
value
.
questionnairesDetailResponse
)
return
// if (!submitAppointmentObj.value.questionnairesDetailResponse) return
// }
if
(
appointmentAccessoriesRef
.
value
)
{
submitAppointmentObj
.
value
.
materialDtoList
=
appointmentAccessoriesRef
.
value
[
0
].
handleFormValues
()
if
(
!
submitAppointmentObj
.
value
.
materialDtoList
)
return
}
}
console
.
log
(
'大提交'
,
submitAppointmentObj
.
value
)
console
.
log
(
'大提交'
,
submitAppointmentObj
.
value
)
return
return
...
...
src/views/sign/appointment/components/fileUpload.vue
View file @
6bbe241c
This diff is collapsed.
Click to expand it.
src/views/sign/appointment/components/healthInfo.vue
View file @
6bbe241c
...
@@ -454,30 +454,7 @@ const handleFormValues = () => {
...
@@ -454,30 +454,7 @@ const handleFormValues = () => {
}
)
}
)
}
)
}
)
}
}
// 表单提交
const
submitForm
=
()
=>
{
proxy
.
$refs
[
'heathFormRef'
].
validate
((
valid
,
fields
)
=>
{
if
(
valid
)
{
let
submitObj
=
handleFormValues
()
saveQuestionnaires
(
submitObj
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
handleEditStatus
(
true
)
proxy
.
$message
.
success
(
'健康信息修改成功'
)
// emit('handleSuccessEdit')
getQuestionnairesInfo
()
}
}
)
errorFields
.
value
=
[]
// 清空错误信息
}
else
{
// 获取校验失败的字段信息
errorFields
.
value
=
getInvalidFields
(
fields
)
if
(
errorFields
.
value
.
length
>
0
)
{
proxy
.
$message
.
error
(
errorFields
.
value
[
0
].
message
)
}
}
}
)
}
const
getQuestionnairesInfo
=
()
=>
{
const
getQuestionnairesInfo
=
()
=>
{
loading
.
value
=
true
loading
.
value
=
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