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