fix: 标准合规评估结果--项目评估结果-数据回显+滚动条
This commit is contained in:
+11
-2
@@ -138,7 +138,7 @@
|
|||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="sarProStateListDatas"
|
:data="sarProStateListDatas"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%;"
|
||||||
border
|
border
|
||||||
:height="sarProStateTableHeight"
|
:height="sarProStateTableHeight"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="standNumber"
|
prop="productId"
|
||||||
label="项目编号">
|
label="项目编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -354,6 +354,13 @@ export default {
|
|||||||
loading: 'loading'
|
loading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
res.data.records.forEach((item)=>{
|
||||||
|
for(let key in item){
|
||||||
|
if(item[key] == null){
|
||||||
|
item[key]='无'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
this.sarProStateListDatas = res.data.records
|
this.sarProStateListDatas = res.data.records
|
||||||
this.sarProStateTotal = res.data.total
|
this.sarProStateTotal = res.data.total
|
||||||
}
|
}
|
||||||
@@ -385,8 +392,10 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
this.queryStandAndLaws()
|
this.queryStandAndLaws()
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
this.tableHeight = $('.regulatory-repository').height() - 159
|
||||||
|
this.sarProStateTableHeight=$('.regulatory-repository').height() -120
|
||||||
window.onresize = () => {
|
window.onresize = () => {
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
this.tableHeight = $('.regulatory-repository').height() - 159
|
||||||
|
this.sarProStateTableHeight=$('.regulatory-repository').height() - 120
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user