Browse Source

rector:重复性事件调整;

zhangchong 1 year ago
parent
commit
d9e39b831f

+ 0 - 1
src/views/business/followUp/backlog/index.vue

@@ -170,7 +170,6 @@ const onTextMessageFollowUp = () => {
 // 批量分配
 const assignReturnVisitorsRef = ref<RefType>();
 const multiplePeople = () => {
-	console.log('批量分配');
   assignReturnVisitorsRef.value.openDialog();
 };
 // 智能回访

+ 1 - 21
src/views/business/followUp/component/Assign-return-visitors.vue

@@ -32,7 +32,6 @@
 import { reactive, ref } from 'vue';
 import { ElMessage, FormInstance } from 'element-plus';
 import { throttle } from '/@/utils/tools';
-import { businessTagAdd, businessTagList } from '/@/api/auxiliary/businessTag';
 import {queryUser} from "/@/api/system/workflow";
 import {removeDuplicate} from "/@/utils/arrayOperation";
 
@@ -89,26 +88,7 @@ const onSubmit = throttle(async (formEl: FormInstance | undefined) => {
 	await formEl.validate((valid: boolean) => {
 		if (!valid) return;
 		loading.value = true;
-		const request = [state.ruleForm];
-		businessTagAdd(request)
-			.then(() => {
-				ElMessage({
-					message: '操作成功',
-					type: 'success',
-				});
-				emit('updateList');
-			})
-			.catch((error) => {
-				// 新增失败
-				ElMessage({
-					message: `操作失败: ${error.message}`,
-					type: 'error',
-				});
-			})
-			.finally(() => {
-				loading.value = false;
-				closeDialog();
-			});
+
 	});
 }, 300);
 // 暴露变量