|
@ -67,8 +67,9 @@ |
|
|
:tableColumns="tableColumns" |
|
|
:tableColumns="tableColumns" |
|
|
:setUTableHeight="showDetailColumnsSet && showDetailFilters ? 300 : 260" |
|
|
:setUTableHeight="showDetailColumnsSet && showDetailFilters ? 300 : 260" |
|
|
@rowDrop="rowDrop" |
|
|
@rowDrop="rowDrop" |
|
|
|
|
|
:searchOverallCoverHeight="'calc(100vh - 345px)'" |
|
|
:rowSource="'detail_api'" |
|
|
:rowSource="'detail_api'" |
|
|
:totalCount="totalCount" |
|
|
:totalCount="totalCountForDetail" |
|
|
:MaxResultCount="MaxResultCount" |
|
|
:MaxResultCount="MaxResultCount" |
|
|
@sortChange="sortChangeForDetail" |
|
|
@sortChange="sortChangeForDetail" |
|
|
@alertoldSkipCount="alertoldSkipCountForDetail" |
|
|
@alertoldSkipCount="alertoldSkipCountForDetail" |
|
@ -387,6 +388,7 @@ export default { |
|
|
SkipCount: 0, |
|
|
SkipCount: 0, |
|
|
MaxResultCount: 20, |
|
|
MaxResultCount: 20, |
|
|
}, |
|
|
}, |
|
|
|
|
|
totalCountForDetail:0, |
|
|
//明细-查看主表的连接id |
|
|
//明细-查看主表的连接id |
|
|
URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId', |
|
|
URLOption_masterId:allUrlOption[this.$route.name].masterId || 'masterId', |
|
|
//明细-列表 |
|
|
//明细-列表 |
|
@ -411,11 +413,12 @@ export default { |
|
|
value: data ? data.id : this.propsData.id |
|
|
value: data ? data.id : this.propsData.id |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount |
|
|
this.Loading.tableLoading = true |
|
|
this.Loading.tableLoading = true |
|
|
getPageListForDetail(this.PageListParams,this.URLOption_detailList) |
|
|
getPageListForDetail(this.PageListParams,this.URLOption_detailList) |
|
|
.then(result => { |
|
|
.then(result => { |
|
|
this.propsData.details = result.items |
|
|
this.propsData.details = result.items |
|
|
this.totalCount = result.totalCount |
|
|
this.totalCountForDetail = result.totalCount |
|
|
this.Loading.tableLoading = false |
|
|
this.Loading.tableLoading = false |
|
|
if(successFn)successFn() |
|
|
if(successFn)successFn() |
|
|
}) |
|
|
}) |
|
|