|
@@ -165,11 +165,13 @@ export default {
|
|
|
async getTableData() {//获取表格数据
|
|
|
let params = {
|
|
|
cascade: [{ name: 'spaceList' }],
|
|
|
- filters: this.cenoteId ? `projectId='${this.projectId}';structureInfo.shaftFuncType='${this.cenoteId}'` : `projectId='${this.projectId}'`,
|
|
|
orders: "createTime desc, localName desc, localId desc, id asc",
|
|
|
pageNumber: this.page.pageNumber,
|
|
|
pageSize: this.page.pageSize
|
|
|
}
|
|
|
+ if (this.cenoteId) {
|
|
|
+ params.filters = `structureInfo.shaftFuncType='${this.cenoteId}'`
|
|
|
+ }
|
|
|
await queryCenoteTableData(params, (res) => {
|
|
|
this.tableData = res.content
|
|
|
this.copyTableData = tools.deepCopy(res.content)
|
|
@@ -252,7 +254,7 @@ export default {
|
|
|
}
|
|
|
let param = []
|
|
|
params.map(item => {
|
|
|
- param.push({ ShaftID: item.ShaftID })
|
|
|
+ param.push({ id: item.id })
|
|
|
})
|
|
|
this.$confirm("此操作将删除竖井,是否继续?", "提示", {
|
|
|
confirmButtonText: '确定',
|