Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hr-mobile-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
anjia-hr
hr-mobile-view
Commits
6ee070be
Commit
6ee070be
authored
Mar 17, 2026
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 增加其他信息模块
parent
53ed9424
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
102 additions
and
2 deletions
+102
-2
App.vue
src/App.vue
+102
-2
No files found.
src/App.vue
View file @
6ee070be
...
@@ -381,6 +381,81 @@
...
@@ -381,6 +381,81 @@
</div>
</div>
</div>
</div>
<div
class=
"section-card"
>
<div
class=
"section-title"
>
其他信息
</div>
<div
class=
"form-item"
>
<div
class=
"item-label"
>
银行卡号
<span
style=
"color: #ee0a24"
>
*
</span></div>
<van-field
v-model=
"form.bankCardNumber"
name=
"bankCardNumber"
class=
"custom-field"
placeholder=
"请输入银行卡号"
:rules=
"[{ required: true, message: '请输入银行卡号' }]"
:border=
"false"
/>
</div>
<div
class=
"form-item"
>
<div
class=
"item-label"
>
开户行
<span
style=
"color: #ee0a24"
>
*
</span></div>
<van-field
v-model=
"form.bankName"
name=
"bankName"
class=
"custom-field"
placeholder=
"请输入开户行"
:rules=
"[{ required: true, message: '请输入开户行' }]"
:border=
"false"
/>
</div>
<div
class=
"form-item-horizontal"
>
<div
class=
"item-label"
>
公司内是否有亲属关系
<span
style=
"color: #ee0a24"
>
*
</span></div>
<div
class=
"custom-input"
style=
"padding: 10px 12px; flex: 1;"
>
<van-radio-group
v-model=
"form.hasRelativeInCompany"
direction=
"horizontal"
>
<van-radio
name=
"Y"
style=
"margin-right: 12px;"
>
是
</van-radio>
<van-radio
name=
"N"
>
否
</van-radio>
</van-radio-group>
</div>
</div>
<div
class=
"form-item"
v-if=
"form.hasRelativeInCompany === 'Y'"
>
<div
class=
"item-label"
>
亲属姓名
<span
style=
"color: #ee0a24"
>
*
</span></div>
<van-field
v-model=
"form.relativeName"
name=
"relativeName"
class=
"custom-field"
placeholder=
"请输入亲属姓名"
:rules=
"[{ required: form.hasRelativeInCompany === 'Y', message: '请输入亲属姓名' }]"
:border=
"false"
/>
</div>
<div
class=
"form-item-horizontal"
>
<div
class=
"item-label"
>
是否安泰业主
<span
style=
"color: #ee0a24"
>
*
</span></div>
<div
class=
"custom-input"
style=
"padding: 10px 12px; flex: 1;"
>
<van-radio-group
v-model=
"form.antaiHomeowners"
direction=
"horizontal"
>
<van-radio
name=
"Y"
style=
"margin-right: 12px;"
>
是
</van-radio>
<van-radio
name=
"N"
>
否
</van-radio>
</van-radio-group>
</div>
</div>
<div
class=
"form-item"
v-if=
"form.antaiHomeowners === 'Y'"
>
<div
class=
"item-label"
>
小区具体信息
<span
style=
"color: #ee0a24"
>
*
</span></div>
<van-field
v-model=
"form.antaiCommunityInfo"
name=
"antaiCommunityInfo"
class=
"custom-field"
placeholder=
"请输入小区具体信息"
:rules=
"[{ required: form.antaiHomeowners === 'Y', message: '请输入小区具体信息' }]"
:border=
"false"
/>
</div>
<div
class=
"form-item-horizontal"
>
<div
class=
"item-label"
>
是否退役军人
<span
style=
"color: #ee0a24"
>
*
</span></div>
<div
class=
"custom-input"
style=
"padding: 10px 12px; flex: 1;"
>
<van-radio-group
v-model=
"form.retiredMilitaryFlag"
direction=
"horizontal"
>
<van-radio
name=
"Y"
style=
"margin-right: 12px;"
>
是
</van-radio>
<van-radio
name=
"N"
>
否
</van-radio>
</van-radio-group>
</div>
</div>
</div>
<van-cell-group
inset
style=
"background: transparent; padding: 0;"
>
<van-cell-group
inset
style=
"background: transparent; padding: 0;"
>
<
template
#
title
>
<
template
#
title
>
<div
style=
"display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;"
>
<div
style=
"display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;"
>
...
@@ -696,6 +771,13 @@ const form = reactive({
...
@@ -696,6 +771,13 @@ const form = reactive({
},
},
]
as
Array
<
FamilyMemberModel
>
,
]
as
Array
<
FamilyMemberModel
>
,
familyEmergencyIndex
:
-
1
,
familyEmergencyIndex
:
-
1
,
bankCardNumber
:
''
,
bankName
:
''
,
hasRelativeInCompany
:
'N'
,
relativeName
:
''
,
antaiHomeowners
:
'N'
,
antaiCommunityInfo
:
''
,
retiredMilitaryFlag
:
'N'
,
tid
:
''
,
tid
:
''
,
});
});
const
_today
=
new
Date
();
const
_today
=
new
Date
();
...
@@ -930,8 +1012,12 @@ function addResumeItem() {
...
@@ -930,8 +1012,12 @@ function addResumeItem() {
position
:
''
,
position
:
''
,
});
});
nextTick
(()
=>
{
nextTick
(()
=>
{
const
el
=
document
.
scrollingElement
||
document
.
documentElement
;
const
cards
=
document
.
querySelectorAll
(
'.resume-card'
);
window
.
scrollTo
({
top
:
el
.
scrollHeight
,
behavior
:
'smooth'
});
if
(
cards
.
length
>
0
)
{
const
lastCard
=
cards
[
cards
.
length
-
1
]
as
HTMLElement
;
const
height
=
lastCard
.
offsetHeight
+
16
;
window
.
scrollBy
({
top
:
height
,
behavior
:
'smooth'
});
}
});
});
}
}
...
@@ -1044,6 +1130,13 @@ function saveCache() {
...
@@ -1044,6 +1130,13 @@ function saveCache() {
contact
:
o
.
contact
,
contact
:
o
.
contact
,
})),
})),
familyEmergencyIndex
:
form
.
familyEmergencyIndex
,
familyEmergencyIndex
:
form
.
familyEmergencyIndex
,
bankCardNumber
:
form
.
bankCardNumber
,
bankName
:
form
.
bankName
,
hasRelativeInCompany
:
form
.
hasRelativeInCompany
,
relativeName
:
form
.
relativeName
,
antaiHomeowners
:
form
.
antaiHomeowners
,
antaiCommunityInfo
:
form
.
antaiCommunityInfo
,
retiredMilitaryFlag
:
form
.
retiredMilitaryFlag
,
tid
:
form
.
tid
,
tid
:
form
.
tid
,
};
};
localStorage
.
setItem
(
CACHE_KEY
,
JSON
.
stringify
(
data
));
localStorage
.
setItem
(
CACHE_KEY
,
JSON
.
stringify
(
data
));
...
@@ -1197,6 +1290,13 @@ async function onSubmit() {
...
@@ -1197,6 +1290,13 @@ async function onSubmit() {
emergencyFlag
:
i
===
form
.
familyEmergencyIndex
?
'Y'
:
'N'
,
emergencyFlag
:
i
===
form
.
familyEmergencyIndex
?
'Y'
:
'N'
,
})),
})),
ossId
:
form
.
ossId
,
ossId
:
form
.
ossId
,
bankCardNumber
:
form
.
bankCardNumber
,
bankName
:
form
.
bankName
,
hasRelativeInCompany
:
form
.
hasRelativeInCompany
,
relativeName
:
form
.
relativeName
,
antaiHomeowners
:
form
.
antaiHomeowners
,
antaiCommunityInfo
:
form
.
antaiCommunityInfo
,
retiredMilitaryFlag
:
form
.
retiredMilitaryFlag
,
tenantId
:
form
.
tid
,
tenantId
:
form
.
tid
,
// photo:
// photo:
// Array.isArray(form.photoList) && form.photoList.length
// Array.isArray(form.photoList) && form.photoList.length
...
...
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