Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c1023866
authored
Nov 06, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复下拉框组件
1 parent
84149dbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
9 deletions
src/components/glsx-combi-form/index.vue
src/views/residentManage/recruitmentManagement/components/entryInfo.vue
src/components/glsx-combi-form/index.vue
View file @
c102386
...
...
@@ -539,7 +539,8 @@
<i
v-show=
"
item.optionList.length > 1 &&
getEditOptionIndex(item.name) == subIndex
getEditOptionIndex(item.name) == subIndex &&
getEditOptionValue(item.name)
"
class=
"el-icon-check option_icon add_icon"
@
click
.
stop=
"
...
...
@@ -778,6 +779,7 @@ export default {
// 设置新增选项值
setAddOptionValue
(
name
,
value
)
{
value
=
value
.
replace
(
/
\s
/g
,
""
)
this
.
initSelectState
(
name
)
this
.
$set
(
this
.
selectStates
[
name
],
"addOptionValue"
,
value
)
},
...
...
@@ -790,6 +792,7 @@ export default {
// 设置编辑选项值
setEditOptionValue
(
name
,
value
)
{
value
=
value
.
replace
(
/
\s
/g
,
""
)
this
.
initSelectState
(
name
)
this
.
$set
(
this
.
selectStates
[
name
],
"editOptionValue"
,
value
)
},
...
...
src/views/residentManage/recruitmentManagement/components/entryInfo.vue
View file @
c102386
...
...
@@ -175,6 +175,7 @@ export default {
type
:
"special-select"
,
isClear
:
true
,
typeCode
:
"character"
,
typeName
:
"personalityName"
,
optionId
:
"itemValue"
,
optionLabel
:
"itemName"
,
optionsName
:
"characterData"
,
...
...
@@ -194,6 +195,7 @@ export default {
type
:
"special-select"
,
isClear
:
true
,
typeCode
:
"ability_performance"
,
typeName
:
"abilityPerformanceName"
,
optionId
:
"itemValue"
,
optionLabel
:
"itemName"
,
optionsName
:
"abilityData"
,
...
...
@@ -213,6 +215,7 @@ export default {
type
:
"special-select"
,
isClear
:
true
,
typeCode
:
"education_level"
,
typeName
:
"educationLevelName"
,
optionId
:
"itemValue"
,
optionLabel
:
"itemName"
,
optionsName
:
"educationData"
,
...
...
@@ -232,6 +235,7 @@ export default {
type
:
"special-select"
,
isClear
:
true
,
typeCode
:
"appearance"
,
typeName
:
"appearanceName"
,
optionId
:
"itemValue"
,
optionLabel
:
"itemName"
,
optionsName
:
"appearanceData"
,
...
...
@@ -251,6 +255,7 @@ export default {
type
:
"special-select"
,
isClear
:
true
,
typeCode
:
"position_match_degree"
,
typeName
:
"positionMatchDegreeName"
,
optionId
:
"itemValue"
,
optionLabel
:
"itemName"
,
optionsName
:
"matchdegreeData"
,
...
...
@@ -283,13 +288,31 @@ export default {
methods
:
{
//编辑
handleEdit
(
data
,
index
)
{
async
handleEdit
(
data
,
index
)
{
this
.
isAdd
=
false
this
.
index
=
index
this
.
isEntryDialogConfig
.
title
=
"编辑入职"
this
.
fetchOnboardingPlans
()
await
this
.
fetchOnboardingPlans
()
this
.
isEntryVisible
=
!
this
.
isEntryVisible
this
.
isEntryForm
=
deepClone
(
data
)
this
.
updateParams
(
this
.
isEntryForm
)
},
updateParams
(
data
)
{
data
.
appearanceName
=
this
.
baseData
.
appearanceData
.
find
(
(
item
)
=>
item
.
itemValue
==
data
.
appearanceType
).
itemName
data
.
positionMatchDegreeName
=
this
.
baseData
.
appearanceData
.
find
(
(
item
)
=>
item
.
itemValue
==
data
.
positionMatchDegreeType
).
itemName
data
.
educationLevelName
=
this
.
baseData
.
educationData
.
find
(
(
item
)
=>
item
.
itemValue
==
data
.
educationLevelType
).
itemName
data
.
abilityPerformanceName
=
this
.
baseData
.
abilityData
.
find
(
(
item
)
=>
item
.
itemValue
==
data
.
abilityPerformanceType
).
itemName
data
.
personalityName
=
this
.
baseData
.
characterData
.
find
(
(
item
)
=>
item
.
itemValue
==
data
.
personalityType
).
itemName
},
//删除简历
handleDelete
(
index
)
{
...
...
@@ -408,8 +431,7 @@ export default {
this
.
handleEntry
()
},
async
handleAddSelectTypeConfirm
(
data
)
{
let
{
typeCode
,
optionsName
,
label
,
value
,
name
}
=
data
console
.
log
(
data
)
let
{
typeCode
,
optionsName
,
label
,
value
,
name
,
typeName
}
=
data
let
res
=
await
addDict
({
businessCode
:
"recruitment"
,
typeCode
,
...
...
@@ -417,16 +439,21 @@ export default {
itemName
:
value
})
if
(
res
)
{
this
.
getDictListType
(
optionsName
,
typeCode
,
name
)
this
.
getDictListType
(
optionsName
,
typeCode
,
name
,
typeName
)
}
},
async
getDictListType
(
optionsName
,
typeCode
,
name
)
{
async
getDictListType
(
optionsName
,
typeCode
,
name
,
typeName
)
{
let
distData
=
await
getDictList
({
businessCode
:
"recruitment"
,
typeCode
})
this
.
baseData
[
optionsName
]
=
distData
.
list
this
.
getOptionsList
(
this
,
"isEntryFormData"
,
false
,
name
)
this
.
isEntryForm
[
typeName
]
=
this
.
baseData
[
optionsName
].
find
((
item
)
=>
{
return
item
.
itemValue
==
this
.
isEntryForm
[
name
]
}).
itemName
||
""
},
async
handleEditSelectTypeConfirm
(
data
)
{
let
{
...
...
@@ -437,7 +464,8 @@ export default {
value
,
id
,
name
,
deletedFlag
deletedFlag
,
typeName
}
=
data
,
res
let
idKey
=
this
.
filterAttribute
(
optionsName
,
optionId
,
"id"
,
id
)
...
...
@@ -452,7 +480,7 @@ export default {
})
}
if
(
res
)
{
this
.
getDictListType
(
optionsName
,
typeCode
,
name
)
this
.
getDictListType
(
optionsName
,
typeCode
,
name
,
typeName
)
}
},
findFormAttrId
(
formData
,
name
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment