修改限制详情table的最大高度
This commit is contained in:
parent
9f0afd0561
commit
b89c7f68a2
@ -13,14 +13,14 @@ module.exports = {
|
||||
assetsPublicPath: '/',
|
||||
proxyTable: {
|
||||
'/lz_management': {
|
||||
target: 'http://192.168.43.94:8080',
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true
|
||||
}
|
||||
},
|
||||
|
||||
// Various Dev Server settings
|
||||
// host: '192.168.43.94', // can be overwritten by process.env.HOST
|
||||
host: '192.168.43.94', // can be overwritten by process.env.HOST
|
||||
host: IP, // can be overwritten by process.env.HOST
|
||||
port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||
autoOpenBrowser: true,
|
||||
errorOverlay: true,
|
||||
|
||||
@ -53,6 +53,7 @@
|
||||
:data="tableData"
|
||||
:span-method="objectSpanMethod"
|
||||
:cell-style="cellStyle"
|
||||
:max-height="clientHeight"
|
||||
v-loading.body="loading"
|
||||
element-loading-text="Loading" border fit highlight-current-row>
|
||||
<el-table-column label="考核维度" prop="checkRange" align="center" width="80"></el-table-column>
|
||||
@ -63,7 +64,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="关键结果" prop="keyResult" width="800" align="left">
|
||||
<el-table-column label="关键结果" prop="keyResult" width="800" align="left">
|
||||
<template slot-scope="scope">
|
||||
<div v-html="scope.row.keyResult" class="rich">
|
||||
</div>
|
||||
@ -118,6 +119,9 @@ import ApprovalAddOrUpdate from './approval-add-or-update.vue'
|
||||
|
||||
export default {
|
||||
created () {
|
||||
console.log(window.innerHeight)
|
||||
this.clientHeight = window.innerHeight - 273
|
||||
console.log(this.clientHeight)
|
||||
},
|
||||
filters: {
|
||||
getcheckWeightStr (val) {
|
||||
@ -159,7 +163,8 @@ export default {
|
||||
approvalVisible: false,
|
||||
loading: false,
|
||||
auth: [],
|
||||
recordType: 0
|
||||
recordType: 0,
|
||||
clientHeight: 0
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user