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
Hide 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 @@
name=
"hsDialogIframe"
:src=
'pageSrc'
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>
</div>
</hs-dialog>
...
...
src/packages/hs-dialog/src/index.vue
View file @
e3a10032
...
...
@@ -8,6 +8,7 @@
@
open=
'handleOpen'
:close-on-click-modal=
"false"
:fullscreen=
'configData.fullscreen'
:modal-append-to-body=
'false'
:append-to-body=
"true"
:before-close=
"handleClose"
:destroy-on-close=
'true'
...
...
src/packages/hs-select-list/src/child.vue
View file @
e3a10032
...
...
@@ -130,15 +130,21 @@
>
新增
</el-button>
</div>
</div>
<
hsIframeDialog
ref=
'appIframePageBoxA'
></hsIframeDialog
>
<
!--
<hsIframeDialog
ref=
'appIframePageBoxA'
></hsIframeDialog>
--
>
</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>
</
template
>
<
script
>
...
...
@@ -148,7 +154,7 @@ import _ from 'lodash'
import
hsIframeDialog
from
'../../hs-iframe-dialog/src/index.vue'
export
default
{
mixins
:
[
commonMixins
],
components
:{
components
:
{
hsIframeDialog
},
name
:
'select-list-component'
,
...
...
@@ -269,15 +275,19 @@ export default {
pagingRight
:
null
,
leftTabeData
:
[],
pagingLeft
:
null
,
dialogWidth
:
'95%'
dialogWidth
:
'95%'
,
dialogVisible
:
false
}
},
methods
:
{
handleClose
()
{},
/**
* 数据导入 item 当前点击的按钮
* @param {*} item
*/
async
showAddPage
()
{
this
.
dialogVisible
=
true
return
this
.
isChange
=
false
const
configData
=
this
.
$listeners
.
dealWithConfig
(
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