|
@@ -12,7 +12,13 @@ export function queryTableList() {
|
|
|
const tableList = ref<ErmcpTaAccountEx[]>([]);
|
|
const tableList = ref<ErmcpTaAccountEx[]>([]);
|
|
|
function queryTable() {
|
|
function queryTable() {
|
|
|
queryResultLoadingAndInfo(QueryAccMgrTaaccount, loading)
|
|
queryResultLoadingAndInfo(QueryAccMgrTaaccount, loading)
|
|
|
- .then(res => tableList.value = res)
|
|
|
|
|
|
|
+ .then((res: ErmcpTaAccountEx[]) => {
|
|
|
|
|
+ tableList.value = res.map((e: ErmcpTaAccountEx) => {
|
|
|
|
|
+ e.subacclist = e.subacclist.filter(el => el.tradestatus !== 7)
|
|
|
|
|
+ return e
|
|
|
|
|
+ }
|
|
|
|
|
+ )
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
return { loading, tableList, queryTable }
|
|
return { loading, tableList, queryTable }
|
|
|
}
|
|
}
|