|
@@ -3,6 +3,7 @@ import {
|
|
ignoreTaskRequest,
|
|
ignoreTaskRequest,
|
|
setTaskAutomation,
|
|
setTaskAutomation,
|
|
} from '@/services/TaskManage';
|
|
} from '@/services/TaskManage';
|
|
|
|
+import { UnityAction } from '@/utils/utils';
|
|
import { CloseOutlined } from '@ant-design/icons';
|
|
import { CloseOutlined } from '@ant-design/icons';
|
|
import { connect, useLocation, useParams, useRequest } from '@umijs/max';
|
|
import { connect, useLocation, useParams, useRequest } from '@umijs/max';
|
|
import { Button, Tabs } from 'antd';
|
|
import { Button, Tabs } from 'antd';
|
|
@@ -44,6 +45,7 @@ const TaskModal = (props) => {
|
|
|
|
|
|
const closePage = () => {
|
|
const closePage = () => {
|
|
// send message to unity close this modal page
|
|
// send message to unity close this modal page
|
|
|
|
+ UnityAction.sendMsg('CloseTask');
|
|
};
|
|
};
|
|
// 忽略
|
|
// 忽略
|
|
const onIgnoreTaskConfirm = async (mandateID, reason) => {
|
|
const onIgnoreTaskConfirm = async (mandateID, reason) => {
|