|
@@ -24,7 +24,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="localId" :label="`${inSpaceType}本地编码`" show-overflow-tooltip
|
|
|
min-width="100"></el-table-column>
|
|
|
- <el-table-column prop="structureInfo.shaftFuncType" :label="`${inSpaceType}类`" show-overflow-tooltip
|
|
|
+ <el-table-column prop="infos.shaftFuncType" :label="`${inSpaceType}类`" show-overflow-tooltip
|
|
|
min-width="100"></el-table-column>
|
|
|
<el-table-column prop="action" label="操作" min-width="100">
|
|
|
<template slot-scope="scope">
|
|
@@ -122,7 +122,7 @@ export default {
|
|
|
getTableData() {
|
|
|
let params = {
|
|
|
data: {
|
|
|
- filters: this.cenoteType ? `projectId='${this.projectId}';structureInfo.shaftFuncType='${this.cenoteType}'` : `projectId='${this.projectId}'`,
|
|
|
+ filters: this.cenoteType ? `projectId='${this.projectId}';infos.shaftFuncType='${this.cenoteType}'` : `projectId='${this.projectId}'`,
|
|
|
orders: "createTime desc, id asc",
|
|
|
pageNumber: this.page.pageNumber,
|
|
|
pageSize: this.page.pageSize,
|
|
@@ -135,8 +135,8 @@ export default {
|
|
|
unshaftThroughShaft(params, res => {
|
|
|
this.tableData = res.content
|
|
|
this.tableData.forEach(item => {
|
|
|
- if (item.structureInfo && item.structureInfo.shaftFuncType) {
|
|
|
- item.structureInfo.shaftFuncType = this.shaftType[item.structureInfo.shaftFuncType]
|
|
|
+ if (item.infos && item.infos.shaftFuncType) {
|
|
|
+ item.infos.shaftFuncType = this.shaftType[item.infos.shaftFuncType]
|
|
|
}
|
|
|
})
|
|
|
this.page.total = res.total
|