受众数据和返回接口

This commit is contained in:
nisen
2023-08-04 15:06:45 +08:00
parent e208f5ab92
commit 5ada167cfb
2 changed files with 3 additions and 2 deletions

View File

@@ -129,7 +129,7 @@
</div>
<div class="tableBox tabb">
<BaseTable ref="auditTableRef" :columns="audiColums" :url="AUDIENCE_LIST" page-key="pageNo"
v-model:params="audienceName" v-model:selectedRows="auditSelectRows"
v-model:params="audienceName" :request="useTotalPage" v-model:selectedRows="auditSelectRows"
v-model:selectedRowKeys="auditSelectRowKeys" type="checkbox"></BaseTable>
</div>
</div>
@@ -311,7 +311,7 @@
<script setup>
import { message } from "ant-design-vue";
import { computed, defineEmits, defineProps, ref, watch, onMounted, reactive, nextTick } from "vue";
import {useNewRowsPageNoInit, useBoeApiAuditPage,request,useRequest } from "@/api/request";
import {useNewRowsPageNoInit, useBoeApiAuditPage,request,useRequest ,useTotalPage } from "@/api/request";
import dialog from "@/utils/dialog";
import {AUDIENCE_LIST, ORG_CHILD_LIST, ORG_LIST, STUDENT_LIST, USER_LIST_PAGE} from "@/api/apis";
import BaseTable from "@/components/common/BaseTable";

View File

@@ -225,6 +225,7 @@ const remove = (id) => {
function submitCall(flag) {
searchDataInfo.pageIndex = 1
flag && getTopList()
closeDrawer()
}
// 计算选择的条数
const selectNum = computed(() => state.selectedRowKeys.length - state.caseTitleList.length)