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
e3a10032
Commit
e3a10032
authored
Jan 23, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
7514eeda
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
10 deletions
+21
-10
index.vue
src/packages/hs-dialog-iframepage/src/index.vue
+1
-1
index.vue
src/packages/hs-dialog/src/index.vue
+1
-0
child.vue
src/packages/hs-select-list/src/child.vue
+19
-9
No files found.
src/packages/hs-dialog-iframepage/src/index.vue
View file @
e3a10032
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
name=
"hsDialogIframe"
name=
"hsDialogIframe"
:src=
'pageSrc'
:src=
'pageSrc'
style=
"width:100%;height:600px;padding-top:10px"
style=
"width:100%;height:600px;padding-top:10px"
sandbox=
"allow-downloads allow-same-origin allow-scripts allow-forms allow-top-navigation allow-popups"
sandbox=
"allow-
popups-to-escape-sandbox allow-
downloads allow-same-origin allow-scripts allow-forms allow-top-navigation allow-popups"
></iframe>
></iframe>
</div>
</div>
</hs-dialog>
</hs-dialog>
...
...
src/packages/hs-dialog/src/index.vue
View file @
e3a10032
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
@
open=
'handleOpen'
@
open=
'handleOpen'
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
:fullscreen=
'configData.fullscreen'
:fullscreen=
'configData.fullscreen'
:modal-append-to-body=
'false'
:append-to-body=
"true"
:append-to-body=
"true"
:before-close=
"handleClose"
:before-close=
"handleClose"
:destroy-on-close=
'true'
:destroy-on-close=
'true'
...
...
src/packages/hs-select-list/src/child.vue
View file @
e3a10032
...
@@ -130,15 +130,21 @@
...
@@ -130,15 +130,21 @@
>
新增
</el-button>
>
新增
</el-button>
</div>
</div>
</div>
</div>
<
hsIframeDialog
ref=
'appIframePageBoxA'
></hsIframeDialog
>
<
!--
<hsIframeDialog
ref=
'appIframePageBoxA'
></hsIframeDialog>
--
>
</el-dialog>
</el-dialog>
<!--
<hs-dialog-iframepage
ref=
'appIframePageBox'
@
webChartConfigQuery=
'webChartConfigQuery'
@
webChartConfigSave=
'webChartConfigSave'
@
saveAsDataToLocal=
'saveAsDataToLocal'
/>
-->
<el-dialog
title=
"提示"
: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
>
...
@@ -148,7 +154,7 @@ import _ from 'lodash'
...
@@ -148,7 +154,7 @@ import _ from 'lodash'
import
hsIframeDialog
from
'../../hs-iframe-dialog/src/index.vue'
import
hsIframeDialog
from
'../../hs-iframe-dialog/src/index.vue'
export
default
{
export
default
{
mixins
:
[
commonMixins
],
mixins
:
[
commonMixins
],
components
:{
components
:
{
hsIframeDialog
hsIframeDialog
},
},
name
:
'select-list-component'
,
name
:
'select-list-component'
,
...
@@ -269,15 +275,19 @@ export default {
...
@@ -269,15 +275,19 @@ export default {
pagingRight
:
null
,
pagingRight
:
null
,
leftTabeData
:
[],
leftTabeData
:
[],
pagingLeft
:
null
,
pagingLeft
:
null
,
dialogWidth
:
'95%'
dialogWidth
:
'95%'
,
dialogVisible
:
false
}
}
},
},
methods
:
{
methods
:
{
handleClose
()
{},
/**
/**
* 数据导入 item 当前点击的按钮
* 数据导入 item 当前点击的按钮
* @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
,
...
...
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