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
d6979563
Commit
d6979563
authored
Aug 03, 2021
by
nature2104
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lov组件修改
parent
2f60ffcd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
5 deletions
+45
-5
Collapse.vue
packages/components/Collapse.vue
+32
-0
index.vue
packages/components/Select/index.vue
+10
-2
hlsPopup.vue
src/pages/hlsPopup.vue
+3
-3
No files found.
packages/components/Collapse.vue
0 → 100644
View file @
d6979563
/**
* @Author think
* @Date 7/20/21 4:06 PM
*/
<
template
>
<section
class=
"h-collapse"
>
</section>
</
template
>
<
script
>
export
default
{
name
:
"Collapse"
,
props
:{
title
:{
type
:
String
,
default
:
''
,
request
:
true
}
}
data
()
{
return
{}
},
methods
:
{},
}
</
script
>
<
style
scoped
lang=
"less"
>
</
style
>
packages/components/Select/index.vue
View file @
d6979563
...
@@ -225,8 +225,16 @@ export default {
...
@@ -225,8 +225,16 @@ export default {
headers
:
headers
,
headers
:
headers
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
if
(
res
.
queryUrl
)
{
if
(
res
.
queryUrl
)
{
const
queryUrl
=
res
.
queryUrl
let
queryUrl
=
res
.
queryUrl
let
lovUrl
=
`
${
process
.
env
.
VUE_APP_API_HOST
}${
queryUrl
}
?lovCode=
${
this
.
lovCode
}
&page=0&size=99&t=
${
Math
.
random
()}
`
if
(
queryUrl
.
indexOf
(
'organizationId'
)
!==
-
1
)
{
queryUrl
=
queryUrl
.
replace
(
'{organizationId}'
,
tenantId
)
}
let
lovUrl
if
(
queryUrl
.
indexOf
(
'?'
)
!==
-
1
)
{
lovUrl
=
`
${
process
.
env
.
VUE_APP_API_HOST
}${
queryUrl
}
&lovCode=
${
this
.
lovCode
}
&page=0&size=99&t=
${
Math
.
random
()}
`
}
else
{
lovUrl
=
`
${
process
.
env
.
VUE_APP_API_HOST
}${
queryUrl
}
?lovCode=
${
this
.
lovCode
}
&page=0&size=99&t=
${
Math
.
random
()}
`
}
axios
.
get
(
lovUrl
,
{
axios
.
get
(
lovUrl
,
{
headers
:
headers
,
headers
:
headers
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
...
...
src/pages/hlsPopup.vue
View file @
d6979563
...
@@ -540,7 +540,7 @@ export default {
...
@@ -540,7 +540,7 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
,
child
)
{
returnItem
:
function
(
index
,
obj
,
child
)
{
console
.
log
(
'index:'
+
index
+
',object:'
+
vum
.
toJson
(
obj
)
+
',:child'
+
vum
.
toJson
(
child
))
console
.
log
(
'index:'
+
index
+
',object:'
+
JSON
.
stringify
(
obj
)
+
',:child'
+
JSON
.
stringify
(
child
))
},
},
})
})
},
},
...
@@ -574,7 +574,7 @@ export default {
...
@@ -574,7 +574,7 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
,
child
)
{
returnItem
:
function
(
index
,
obj
,
child
)
{
console
.
log
(
'index:'
+
index
+
',object:'
+
vum
.
toJson
(
obj
)
+
',:child'
+
vum
.
toJson
(
child
))
console
.
log
(
'index:'
+
index
+
',object:'
+
JSON
.
stringify
(
obj
)
+
',:child'
+
JSON
.
stringify
(
child
))
},
},
})
})
},
},
...
@@ -621,7 +621,7 @@ export default {
...
@@ -621,7 +621,7 @@ export default {
code
:
'bp_type'
,
code
:
'bp_type'
,
object
:
{},
object
:
{},
returnItem
:
function
(
index
,
obj
,
child
)
{
returnItem
:
function
(
index
,
obj
,
child
)
{
console
.
log
(
'index:'
+
index
+
',object:'
+
vum
.
toJson
(
obj
)
+
',:child'
+
vum
.
toJson
(
child
))
console
.
log
(
'index:'
+
index
+
',object:'
+
JSON
.
stringify
(
obj
)
+
',:child'
+
JSON
.
stringify
(
child
))
},
},
})
})
},
},
...
...
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