提交修改

This commit is contained in:
quyixiao 2020-08-25 17:02:52 +08:00
commit 67d446cf01
2 changed files with 8 additions and 3 deletions

View File

@ -20,7 +20,7 @@ module.exports = {
// 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,

View File

@ -60,6 +60,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>
@ -70,7 +71,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>
@ -127,6 +128,9 @@ import UploadAddOrUpdate from './upload-add-or-update.vue'
export default {
created () {
console.log(window.innerHeight)
this.clientHeight = window.innerHeight - 273
console.log(this.clientHeight)
},
filters: {
getcheckWeightStr (val) {
@ -170,7 +174,8 @@ export default {
loading: false,
auth: [],
recordType: 0,
fileCount: 0
fileCount: 0,
clientHeight: 0
}
},
components: {