|
@@ -3,7 +3,7 @@
|
|
top="10vh">
|
|
top="10vh">
|
|
<template #header="{ close, titleId, titleClass }">
|
|
<template #header="{ close, titleId, titleClass }">
|
|
<div class="flex justify-between items-center border-b pb-3 dialog-header">
|
|
<div class="flex justify-between items-center border-b pb-3 dialog-header">
|
|
- <h4 :id="titleId">商机回收站</h4>
|
|
|
|
|
|
+ <h4 :id="titleId">联系人回收站</h4>
|
|
<div>
|
|
<div>
|
|
<el-button type="primary" v-loading="allLoading.batchRecoveryLoading" :disabled="batchTableData.length == 0"
|
|
<el-button type="primary" v-loading="allLoading.batchRecoveryLoading" :disabled="batchTableData.length == 0"
|
|
@click="batchOperation('恢复')">批量恢复</el-button>
|
|
@click="batchOperation('恢复')">批量恢复</el-button>
|
|
@@ -118,8 +118,8 @@ function getTableList() {
|
|
allLoading.tableLoading = true
|
|
allLoading.tableLoading = true
|
|
post(URL_RECYCLELIST, { ...tableForm }).then((res) => {
|
|
post(URL_RECYCLELIST, { ...tableForm }).then((res) => {
|
|
if (res.code == 'ok') {
|
|
if (res.code == 'ok') {
|
|
- const { data, total } = res.data
|
|
|
|
- deteleBusinessTable.value = data.map((item: any) => {
|
|
|
|
|
|
+ const { records, total } = res.data
|
|
|
|
+ deteleBusinessTable.value = records.map((item: any) => {
|
|
return {
|
|
return {
|
|
...item,
|
|
...item,
|
|
expectedTransactionDate: formatDate(new Date(item.expectedTransactionDate))
|
|
expectedTransactionDate: formatDate(new Date(item.expectedTransactionDate))
|