Переглянути джерело

reactor:489 新增坐席退回统计表

zhangchong 2 тижнів тому
батько
коміт
ebdf55c40d

+ 0 - 1
src/views/home/components/Todo-center.vue

@@ -176,7 +176,6 @@ const getTableAndNum = async () => {
 		state.nearlyExpiredNum = result?.nearlyExpiredNum ?? 0; // 部门即将超期
 		state.screenNum = result?.screenNum ?? 0; // 甄别待审批
 		state.sendBackAuditNum = result?.sendBackAuditNum ?? 0; // 退回待审批
-		state.tableLoading = false;
 	} catch (error: any) {
 		console.log(error);
 		state.tableLoading = false;

+ 0 - 2
src/views/home/components/Todo-department.vue

@@ -141,7 +141,6 @@ const activeName = ref('all');
 // 获取列表和总数
 const resultData = ref<EmptyObjectType>({});
 const getTableAndNum = async () => {
-	state.tableLoading = true;
 	state.tableLoading = true;
 	try {
 		const { result } = await getHomeData2();
@@ -178,7 +177,6 @@ const getTableAndNum = async () => {
 		state.screenApplyNum = result?.screenApplyNum ?? 0; // 甄别申请
 		state.screenNum = result?.screenNum ?? 0; // 甄别待审批
 		state.sendBackAuditNum = result?.sendBackAuditNum ?? 0; // 退回待审批
-		state.tableLoading = false;
 	} catch (error: any) {
 		console.log(error);
 		state.tableLoading = false;