Browse Source

reactor:呼叫中心底层方法重构;

zhangchong 10 months ago
parent
commit
a1e575fac8

+ 1 - 0
src/views/auxiliary/smartCallOut/components/Task-detail.vue

@@ -92,6 +92,7 @@ const queryList = () => {
 		})
 		.finally(() => {
 			state.loading = false;
+      state.tableData = [];
 		});
 };
 // 重置表单

+ 2 - 0
src/views/business/visit/component/Smart-visit-Detail.vue

@@ -165,6 +165,7 @@ const queryList = async () => {
 	state.dialogVisible = true;
 	try {
 		state.loading = true;
+    state.tableData = [];
 		const res = await getSmartVisitDetail(state.queryParams);
 		state.tableData = res.result.items ?? [];
 		state.total = res.result.total ?? 0;
@@ -172,6 +173,7 @@ const queryList = async () => {
 	} catch (e) {
 		console.log(e);
 		state.loading = false;
+    state.tableData = [];
 	}
 };
 const close = () => {