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
eda9d115
Commit
eda9d115
authored
Jan 23, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a1916ac5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
794 additions
and
17 deletions
+794
-17
child copy.vue
src/packages/hs-select-list/src/child copy.vue
+677
-0
child.vue
src/packages/hs-select-list/src/child.vue
+117
-17
No files found.
src/packages/hs-select-list/src/child copy.vue
0 → 100644
View file @
eda9d115
This diff is collapsed.
Click to expand it.
src/packages/hs-select-list/src/child.vue
View file @
eda9d115
...
@@ -18,8 +18,115 @@
...
@@ -18,8 +18,115 @@
></el-button>
></el-button>
</el-input>
</el-input>
</div>
</div>
<hs-dialog
ref=
'hsDialog'
:visible=
'dialogTableVisible'
:config=
'dialogConfig'
@
close=
'handleClose'
>
<div
slot=
"body"
>
<div
class=
"contentBox"
>
<div
class=
"leftBox"
:style=
"
{'width':tableWithLeft}"
>
<el-divider
content-position=
"left"
>
所有项
</el-divider>
<hs-dync-form
height=
'55px'
@
searchSubmit=
'queryLeft'
type=
'queryArea'
:formParms=
'searchFormLeft'
:elInfo=
'hsDyncFormElLeft'
:config=
'hsDyncFormConfigLeft'
v-bind=
"$attrs"
v-on=
"$listeners"
>
</hs-dync-form>
<hs-table
:width=
'tableWithLeft'
:height=
"tableHeightLeft"
:config=
'leftHsTableConfig'
:data=
'leftTabeData'
:paging=
'pagingLeft'
:elInfo=
'hsTableElLeft'
@
paginationFun=
"paginationFunLeft"
v-bind=
"$attrs"
v-on=
"$listeners"
>
</hs-table>
</div>
<div
class=
"rightLeftIcon"
>
<el-button-group>
<el-button
@
click=
"goLeftTable"
size=
'mini'
type=
"primary"
icon=
"el-icon-arrow-left"
></el-button>
<el-button
@
click=
"goRightTable"
size=
'mini'
type=
"primary"
><i
class=
"el-icon-arrow-right el-icon--right"
></i></el-button>
</el-button-group>
</div>
<div
class=
"rightBox"
:style=
"
{'width':tableWithRight}"
>
<el-divider
content-position=
"left"
>
已选区
</el-divider>
<hs-dync-form
height=
'55px'
@
searchSubmit=
'queryRight'
type=
'queryArea'
:formParms=
'searchFormRight'
:elInfo=
'hsDyncFormElRight'
:config=
'hsDyncFormConfigRight'
v-bind=
"$attrs"
v-on=
"$listeners"
>
</hs-dync-form>
<hs-table
:width=
'tableWithRight'
:height=
"tableHeightRight"
:paging=
'pagingRight'
:data=
'rightTabeData'
:config=
'rightHsTableConfig'
:elInfo=
'hsTableElRight'
@
paginationFun=
"paginationFunRight"
v-bind=
"$attrs"
v-on=
"$listeners"
>
</hs-table>
</div>
</div>
</div>
<template
slot=
"footer"
v-if=
'!getDisabled'
>
<div
class=
"cacelSubmit"
>
<el-button
size=
'mini'
@
click=
"beforeClose"
>
取 消
</el-button>
<el-button
size=
'mini'
type=
"primary"
@
click=
"submit"
>
确 定
</el-button>
<el-button
size=
'mini'
icon=
'el-icon-position'
type=
"primary"
@
click=
"showAddPage"
>
新增
</el-button>
</div>
</
template
>
</hs-dialog>
<el-dialog
<el-dialog
v-if=
"false"
@
open=
'openDialog'
@
open=
'openDialog'
top=
'10px'
top=
'10px'
:close-on-click-modal=
'false'
:close-on-click-modal=
'false'
...
@@ -130,21 +237,9 @@
...
@@ -130,21 +237,9 @@
>
新增
</el-button>
>
新增
</el-button>
</div>
</div>
</div>
</div>
<!--
<hsIframeDialog
ref=
'appIframePageBoxA'
></hsIframeDialog>
-->
</el-dialog>
<el-dialog
</el-dialog>
title=
"提示"
<hsIframeDialog
ref=
'appIframePageBoxA'
></hsIframeDialog>
:visible
.
sync=
"dialogVisible"
width=
"30%"
:append-to-body=
'true'
:before-close=
"handleClose"
>
<span>
这是一段信息
</span>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -276,7 +371,10 @@ export default {
...
@@ -276,7 +371,10 @@ export default {
leftTabeData
:
[],
leftTabeData
:
[],
pagingLeft
:
null
,
pagingLeft
:
null
,
dialogWidth
:
'95%'
,
dialogWidth
:
'95%'
,
dialogVisible
:
false
dialogVisible
:
false
,
dialogConfig
:
{
title
:
'查询'
}
}
}
},
},
methods
:
{
methods
:
{
...
@@ -286,8 +384,6 @@ export default {
...
@@ -286,8 +384,6 @@ export default {
* @param {*} item
* @param {*} item
*/
*/
async
showAddPage
()
{
async
showAddPage
()
{
this
.
dialogVisible
=
true
return
this
.
isChange
=
false
this
.
isChange
=
false
const
configData
=
this
.
$listeners
.
dealWithConfig
(
const
configData
=
this
.
$listeners
.
dealWithConfig
(
this
.
configData
,
this
.
configData
,
...
@@ -674,4 +770,8 @@ export default {
...
@@ -674,4 +770,8 @@ export default {
.boxInputButton
{
.boxInputButton
{
display
:
flex
;
display
:
flex
;
}
}
.cacelSubmit
{
display
:
flex
;
justify-content
:
center
;
}
</
style
>
</
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