|  | @@ -24,7 +24,10 @@
 | 
	
		
			
				|  |  |                      <n-checkbox :value="item.T_id" />
 | 
	
		
			
				|  |  |                    </template>
 | 
	
		
			
				|  |  |                    <template #suffix>
 | 
	
		
			
				|  |  | -                    <n-button type="error" size="small" text>删除</n-button>
 | 
	
		
			
				|  |  | +                    <n-space>
 | 
	
		
			
				|  |  | +                      <EditClass :task="task" :taskClass="item" :getClassList="getClassList" />
 | 
	
		
			
				|  |  | +                      <DeleteClass :task="task" :taskClass="item" :getClassList="getClassList" />
 | 
	
		
			
				|  |  | +                    </n-space>
 | 
	
		
			
				|  |  |                    </template>
 | 
	
		
			
				|  |  |                    <n-thing>
 | 
	
		
			
				|  |  |                      <template #header> ID:{{ item.T_id }} </template>
 | 
	
	
		
			
				|  | @@ -129,6 +132,8 @@ import ExportVue from "./ExportVue.vue";
 | 
	
		
			
				|  |  |  import TemplateForm from "./TemplateForm.vue";
 | 
	
		
			
				|  |  |  import { useWindowSize } from "@vueuse/core";
 | 
	
		
			
				|  |  |  import { useNow, useDateFormat } from "@vueuse/core";
 | 
	
		
			
				|  |  | +import EditClass from "./EditTaskClass.vue";
 | 
	
		
			
				|  |  | +import DeleteClass from "./DeleteTaskClass.vue";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const formatted = useDateFormat(useNow(), "YYYY-MM-DD HH:mm:ss");
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -290,6 +295,7 @@ const handleCheckAll = (checked) => {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  // 选项组的值改变时的回调
 | 
	
		
			
				|  |  |  const onUpdateValues = async (values, meta) => {
 | 
	
		
			
				|  |  | +  checkValues.value = values;
 | 
	
		
			
				|  |  |    const classInfo = classList.value.find((item) => item.T_id === meta.value);
 | 
	
		
			
				|  |  |    queryData.T_id = classInfo.T_id;
 | 
	
		
			
				|  |  |    queryData.T_sn = classInfo.T_sn;
 | 
	
	
		
			
				|  | @@ -481,8 +487,15 @@ const getDataList = async () => {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    const { data: res } = await getTaskDataList(data);
 | 
	
		
			
				|  |  |    dataList.value = res.Data.List || [];
 | 
	
		
			
				|  |  | -  if (queryData.page_z < res.Data.Page_size) {
 | 
	
		
			
				|  |  | -    getDataList();
 | 
	
		
			
				|  |  | +  if (queryData.page_z <= res.Data.Page_size) {
 | 
	
		
			
				|  |  | +    const arr = classList.value.filter((item) =>
 | 
	
		
			
				|  |  | +      checkValues.value.includes(item.T_sn)
 | 
	
		
			
				|  |  | +    );
 | 
	
		
			
				|  |  | +    arr.forEach((item) => {
 | 
	
		
			
				|  |  | +      item.T_sn = queryData.T_sn;
 | 
	
		
			
				|  |  | +      item.T_id = queryData.T_id;
 | 
	
		
			
				|  |  | +      getDataList();
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -496,10 +509,26 @@ if (task.T_collection_state === 0) {
 | 
	
		
			
				|  |  |      duration: 2500,
 | 
	
		
			
				|  |  |      keepAliveOnHover: true,
 | 
	
		
			
				|  |  |    });
 | 
	
		
			
				|  |  | +} else if (task.T_collection_state === 1) {
 | 
	
		
			
				|  |  | +  notification.info({
 | 
	
		
			
				|  |  | +    closable: false,
 | 
	
		
			
				|  |  | +    title: "已完成",
 | 
	
		
			
				|  |  | +    meta: `当前时间:${formatted.value}`,
 | 
	
		
			
				|  |  | +    duration: 2500,
 | 
	
		
			
				|  |  | +    keepAliveOnHover: true,
 | 
	
		
			
				|  |  | +  });
 | 
	
		
			
				|  |  |  } else if (task.T_collection_state === 2) {
 | 
	
		
			
				|  |  |    notification.info({
 | 
	
		
			
				|  |  |      closable: false,
 | 
	
		
			
				|  |  | -    title: "采集中",
 | 
	
		
			
				|  |  | +    title: "处理中",
 | 
	
		
			
				|  |  | +    meta: `当前时间:${formatted.value}`,
 | 
	
		
			
				|  |  | +    duration: 2500,
 | 
	
		
			
				|  |  | +    keepAliveOnHover: true,
 | 
	
		
			
				|  |  | +  });
 | 
	
		
			
				|  |  | +} else if (task.T_collection_state === 3) {
 | 
	
		
			
				|  |  | +  notification.info({
 | 
	
		
			
				|  |  | +    closable: false,
 | 
	
		
			
				|  |  | +    title: "已采集-无数据",
 | 
	
		
			
				|  |  |      meta: `当前时间:${formatted.value}`,
 | 
	
		
			
				|  |  |      duration: 2500,
 | 
	
		
			
				|  |  |      keepAliveOnHover: true,
 |