Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
wuhongjian 2022-07-26 18:08:28 +08:00
commit a0361b2eba
2 changed files with 51 additions and 51 deletions

View File

@ -50,7 +50,7 @@
border
@selection-change="dataListSelectionChangeHandle"
style="width: 100%"
:height="qp ? '650px' : '650px'"
height="650px"
>
<el-table-column
type="selection"
@ -126,7 +126,7 @@
fixed="right"
header-align="center"
align="center"
width="300"
width="150"
>
<template slot-scope="scope">
<!-- <el-button
@ -284,7 +284,7 @@ export default {
selectType: 0,
type: '组件服务'
},
qp: false,
// qp: false,
//
relateApplicationVisible: false,
relateInfo: {
@ -306,8 +306,8 @@ export default {
this.dataForm.type = '组件服务'
},
mounted () {
window.addEventListener('resize', this.a)
this.fullScreen()
// window.addEventListener('resize', this.a)
// this.fullScreen()
},
methods: {
reset () {
@ -448,17 +448,17 @@ export default {
this.$message.error('查询信息不能为空')
}
},
fullScreen () {
if (window.outerHeight === screen.availHeight) {
if (window.outerWidth === screen.availWidth) {
this.qp = false
} else {
this.qp = true
}
} else {
this.qp = true
}
},
// fullScreen () {
// if (window.outerHeight === screen.availHeight) {
// if (window.outerWidth === screen.availWidth) {
// this.qp = false
// } else {
// this.qp = true
// }
// } else {
// this.qp = true
// }
// },
//
showRelateApplication (row) {
this.$http

View File

@ -52,7 +52,7 @@
border
@selection-change="dataListSelectionChangeHandle"
style="width: 100%"
:height="qp ? '810px' : '650px'"
height="650px"
>
<el-table-column
type="selection"
@ -287,8 +287,8 @@ export default {
this.dataForm.type = '应用资源'
},
mounted () {
window.addEventListener('resize', this.a)
this.fullScreen()
// window.addEventListener('resize', this.a)
// this.fullScreen()
},
methods: {
reset () {
@ -425,38 +425,38 @@ export default {
this.$message.error('查询不能输入为空')
}
},
fullScreen () {
if (window.outerHeight === screen.availHeight) {
if (window.outerWidth === screen.availWidth) {
console.log(
'全屏1',
window.outerHeight,
screen.availHeight,
window.outerWidth,
screen.availWidth
)
this.qp = false
} else {
console.log(
'不是全屏2',
window.outerHeight,
screen.availHeight,
window.outerWidth,
screen.availWidth
)
this.qp = true
}
} else {
console.log(
'不是全屏3',
window.outerHeight,
screen.availHeight,
window.outerWidth,
screen.availWidth
)
this.qp = true
}
},
// fullScreen () {
// if (window.outerHeight === screen.availHeight) {
// if (window.outerWidth === screen.availWidth) {
// console.log(
// '1',
// window.outerHeight,
// screen.availHeight,
// window.outerWidth,
// screen.availWidth
// )
// this.qp = false
// } else {
// console.log(
// '2',
// window.outerHeight,
// screen.availHeight,
// window.outerWidth,
// screen.availWidth
// )
// this.qp = true
// }
// } else {
// console.log(
// '3',
// window.outerHeight,
// screen.availHeight,
// window.outerWidth,
// screen.availWidth
// )
// this.qp = true
// }
// },
//
applyAndAssembly (val) {
console.log('vvvv', val)