Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
Project
Project
Details
Activity
Releases
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
easyUI
hls-easy-ui
Commits
7c1ac607
Commit
7c1ac607
authored
Aug 05, 2020
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
selectList
parent
a6faeefe
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
SelectFiled.vue
packages/components/Select/SelectFiled.vue
+1
-1
home.vue
src/pages/home.vue
+1
-1
hlsPopup.js
src/scripts/hlsPopup.js
+10
-13
No files found.
packages/components/Select/SelectFiled.vue
View file @
7c1ac607
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
let
vm
=
this
let
vm
=
this
if
(
!
vm
.
disabled
)
{
if
(
!
vm
.
disabled
)
{
let
list
=
[]
let
list
=
[]
v
um
.
forEach
(
vm
.
dataArray
,
(
date
,
index
,
array
)
=>
{
v
m
.
dataArray
.
forEach
(
(
date
,
index
,
array
)
=>
{
list
.
push
({
list
.
push
({
value
:
date
[
vm
.
valueKey
],
value
:
date
[
vm
.
valueKey
],
name
:
date
[
vm
.
valueName
],
name
:
date
[
vm
.
valueName
],
...
...
src/pages/home.vue
View file @
7c1ac607
...
@@ -152,7 +152,7 @@ export default {
...
@@ -152,7 +152,7 @@ export default {
rangeHandleHeight
:
20
,
rangeHandleHeight
:
20
,
sex
:
0
,
sex
:
0
,
sexList
:
[{
'code_value'
:
0
,
'code_value_name'
:
'女'
},
{
'code_value'
:
1
,
'code_value_name'
:
'男
'
}],
sexList
:
[{
'code_value'
:
0
,
'code_value_name'
:
'女'
},
{
'code_value'
:
0
,
'code_value_name'
:
'女'
},{
'code_value'
:
0
,
'code_value_name'
:
'女
'
}],
nowDate
:
'2020-12-25'
,
nowDate
:
'2020-12-25'
,
}
}
...
...
src/scripts/hlsPopup.js
View file @
7c1ac607
...
@@ -285,14 +285,13 @@ export default {
...
@@ -285,14 +285,13 @@ export default {
selectList
:
function
(
selectOption
)
{
selectList
:
function
(
selectOption
)
{
if
(
typeof
selectOption
===
'object'
)
{
if
(
typeof
selectOption
===
'object'
)
{
let
list
=
[]
let
list
=
[]
let
length
=
selectOption
.
list
.
length
selectOption
.
list
.
forEach
((
data
,
index
,
array
)
=>
{
vum
.
forEach
(
selectOption
.
list
,
function
(
date
,
index
,
array
)
{
list
.
push
({
list
.
push
({
value
:
date
.
code
,
value
:
data
.
code
,
name
:
date
.
code_name
,
name
:
data
.
code_name
,
parent
:
date
.
parent
,
parent
:
data
.
parent
,
})
})
})
if
(
index
===
(
length
-
1
))
{
SelectPlugin
.
show
({
SelectPlugin
.
show
({
list
:
list
,
list
:
list
,
callBack
:
selectOption
.
returnItem
,
callBack
:
selectOption
.
returnItem
,
...
@@ -300,8 +299,6 @@ export default {
...
@@ -300,8 +299,6 @@ export default {
object
:
selectOption
.
object
,
object
:
selectOption
.
object
,
})
})
}
}
})
}
},
},
/**
/**
* 弹出数字键盘
* 弹出数字键盘
...
...
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