Commit e3a10032 authored by 何虹's avatar 何虹 💬

优化

parent 7514eeda
...@@ -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>
......
...@@ -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'
......
...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment