Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-sky-ui
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
何虹
hs-sky-ui
Commits
7f153bf8
Commit
7f153bf8
authored
Jan 26, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
8527d4c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
46 deletions
+51
-46
index.vue
src/packages/hs-jsoneditor/src/index.vue
+1
-0
child.vue
src/packages/hs-tags-table/src/child.vue
+50
-46
No files found.
src/packages/hs-jsoneditor/src/index.vue
View file @
7f153bf8
<
template
>
<el-dialog
v-if=
'innervisible'
top=
"10px"
id=
"jsonEditorBox"
@
opened=
"dialogOpen"
...
...
src/packages/hs-tags-table/src/child.vue
View file @
7f153bf8
...
...
@@ -29,52 +29,48 @@
</div>
</div>
<hs-iframe-dialog
ref=
'appIframePageBox'
></hs-iframe-dialog>
<el-dialog
:close-on-click-modal=
'false'
:before-close=
'beforeClose'
append-to-body
center
title=
"查询"
:visible
.
sync=
"dialogTableVisible"
width=
"65%"
<hs-dialog
ref=
'hsDialog'
:visible=
'dialogTableVisible'
:config=
'dialogConfig'
@
close=
'beforeClose'
>
<div
v-if=
'dialogTableVisible'
>
<el-tag
@
click=
"itemClick(item)"
:key=
"index"
:closable=
'configData.closable'
v-for=
"(item,index) in dynamicTags"
:disable-transitions=
"false"
@
close=
"handleClose(item)"
<div
slot=
"body"
>
<div
v-if=
'dialogTableVisible'
>
<el-tag
@
click=
"itemClick(item)"
:key=
"index"
:closable=
'configData.closable'
v-for=
"(item,index) in dynamicTags"
:disable-transitions=
"false"
@
close=
"handleClose(item)"
>
{{
item
[
configData
.
displayField
]
}}
</el-tag>
</div>
<hs-dync-form
@
searchSubmit=
'queryTable'
type=
'queryArea'
:formParms=
'searchForm'
:elInfo=
'hsDyncFormEl'
:config=
'hsDyncFormConfig'
v-on=
"$listeners"
v-bind=
"$attrs"
>
{{
item
[
configData
.
displayField
]
}}
</el-tag>
</hs-dync-form>
<hs-table
height=
"300px"
:paging=
'hsTablePaging'
:config=
'hsTableFormConfig'
:data=
'hsTableData'
:elInfo=
'hsTableEl'
@
paginationFun=
"paginationFun"
v-on=
"$listeners"
v-bind=
"$attrs"
>
</hs-table>
</div>
<hs-dync-form
@
searchSubmit=
'queryTable'
type=
'queryArea'
:formParms=
'searchForm'
:elInfo=
'hsDyncFormEl'
:config=
'hsDyncFormConfig'
v-on=
"$listeners"
v-bind=
"$attrs"
>
</hs-dync-form>
<hs-table
height=
"300px"
:paging=
'hsTablePaging'
:config=
'hsTableFormConfig'
:data=
'hsTableData'
:elInfo=
'hsTableEl'
@
paginationFun=
"paginationFun"
v-on=
"$listeners"
v-bind=
"$attrs"
>
</hs-table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialogTableVisible-box-footer"
>
<el-button
size=
"mini"
v-show=
"configData.showDialogAdd"
...
...
@@ -91,7 +87,7 @@
@
click=
"submit"
>
确 定
</el-button>
</div>
</
el
-dialog>
</
hs
-dialog>
</div>
</
template
>
...
...
@@ -120,7 +116,11 @@ export default {
tableData
:
[],
searchForm
:
{},
firstQuery
:
true
,
hsTablePaging
:
null
hsTablePaging
:
null
,
dialogConfig
:
{
title
:
'查询'
,
width
:
'60%'
}
}
},
computed
:
{
...
...
@@ -272,7 +272,7 @@ export default {
}
},
submit
()
{
le
t
resultList
=
this
.
tableData
.
filter
(
x
=>
x
.
isSelected
)
cons
t
resultList
=
this
.
tableData
.
filter
(
x
=>
x
.
isSelected
)
const
list
=
[]
const
{
submitClick
,
valueField
,
displayField
}
=
this
.
configData
resultList
.
forEach
(
item
=>
{
...
...
@@ -410,4 +410,8 @@ export default {
display
:
flex
;
justify-content
:
flex-end
;
}
.dialogTableVisible-box-footer
{
display
:
flex
;
justify-content
:
flex-end
;
}
</
style
>
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