Commit 0cca7a3e by zhangxw

bug修复

1 parent 233a6949
......@@ -59,7 +59,7 @@
>
</div>
<d2-table
:key="searchForm.sceneType == '0' ? tableParams.btnId : boutiqueTableParams.btnId"
:key="searchForm.sceneType"
:has-num="false"
:array-span-method="arraySpanMethod"
:table-params="searchForm.sceneType == '0' ? tableParams : boutiqueTableParams"
......@@ -443,11 +443,13 @@ export default {
let res = this.searchForm?.sceneType == 0 ? await permeabilityList(params) : await permeabilityBoutiqueList(params)
// permeabilityList(params).then((res) => {
let list = res?.list || []
let arr = []
list.forEach((i) => {
i.staffList.forEach((j) => {
this.tableData.push({ ...i, ...j, count: i.staffList.length })
arr.push({ ...i, ...j, count: i.staffList.length })
})
})
this.tableData = arr
this.tableTotal = res.total
// })
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!