|
@@ -368,6 +368,13 @@ const IgnoreTaskModal = (params) => {
|
|
setIgnoreReasonText(e.target.value);
|
|
setIgnoreReasonText(e.target.value);
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ const handleCancle = () => {
|
|
|
|
+ setSelectedReason({});
|
|
|
|
+ setIgnoreReasonText('');
|
|
|
|
+ setShowInput(false);
|
|
|
|
+ onCancel();
|
|
|
|
+ };
|
|
|
|
+
|
|
const confirmIgnore = () => {
|
|
const confirmIgnore = () => {
|
|
if (showInput) {
|
|
if (showInput) {
|
|
if (!ignoreReasonText.length) {
|
|
if (!ignoreReasonText.length) {
|
|
@@ -386,14 +393,16 @@ const IgnoreTaskModal = (params) => {
|
|
|
|
|
|
return (
|
|
return (
|
|
<Modal
|
|
<Modal
|
|
|
|
+ className={styles.handleModal}
|
|
title="忽略"
|
|
title="忽略"
|
|
open={open}
|
|
open={open}
|
|
- onCancel={onCancel}
|
|
|
|
|
|
+ onCancel={handleCancle}
|
|
onOk={confirmIgnore}
|
|
onOk={confirmIgnore}
|
|
|
|
+ width="60%"
|
|
destroyOnClose
|
|
destroyOnClose
|
|
>
|
|
>
|
|
<div style={{ padding: '15px' }}>
|
|
<div style={{ padding: '15px' }}>
|
|
- <Form layout="vertical">
|
|
|
|
|
|
+ <Form>
|
|
<Form.Item label="忽略理由:">
|
|
<Form.Item label="忽略理由:">
|
|
<Select
|
|
<Select
|
|
className={styles.fontS28}
|
|
className={styles.fontS28}
|
|
@@ -428,15 +437,17 @@ const AutoHandleModal = (props) => {
|
|
|
|
|
|
return (
|
|
return (
|
|
<Modal
|
|
<Modal
|
|
|
|
+ className={styles.handleModal}
|
|
title="自动处理"
|
|
title="自动处理"
|
|
open={open}
|
|
open={open}
|
|
onCancel={onCancel}
|
|
onCancel={onCancel}
|
|
onOk={confirmAutoHandle}
|
|
onOk={confirmAutoHandle}
|
|
|
|
+ width="60%"
|
|
destroyOnClose
|
|
destroyOnClose
|
|
>
|
|
>
|
|
<div style={{ padding: '15px' }}>
|
|
<div style={{ padding: '15px' }}>
|
|
- <Form layout="vertical">
|
|
|
|
- <Form.Item label="口令:">
|
|
|
|
|
|
+ <Form>
|
|
|
|
+ <Form.Item label="用户口令:">
|
|
{
|
|
{
|
|
<Input
|
|
<Input
|
|
autoFocus
|
|
autoFocus
|
|
@@ -493,10 +504,11 @@ const MandateSelectModal = (props) => {
|
|
|
|
|
|
return (
|
|
return (
|
|
<Modal
|
|
<Modal
|
|
- title={<span className={styles.fontS28}>选择任务</span>}
|
|
|
|
|
|
+ className={styles.handleModal}
|
|
|
|
+ title="选择任务"
|
|
open={open}
|
|
open={open}
|
|
onCancel={onCancel}
|
|
onCancel={onCancel}
|
|
- width={'95%'}
|
|
|
|
|
|
+ width={'80%'}
|
|
destroyOnClose
|
|
destroyOnClose
|
|
footer={[
|
|
footer={[
|
|
<Button key="back" onClick={onCancel}>
|
|
<Button key="back" onClick={onCancel}>
|
|
@@ -541,18 +553,19 @@ const DispatchTaskModal = (props) => {
|
|
|
|
|
|
return (
|
|
return (
|
|
<Modal
|
|
<Modal
|
|
- title={<span className={styles.fontS28}>派遣任务</span>}
|
|
|
|
|
|
+ className={styles.handleModal}
|
|
|
|
+ title="派遣任务"
|
|
onCancel={onCancel}
|
|
onCancel={onCancel}
|
|
open={open}
|
|
open={open}
|
|
destroyOnClose
|
|
destroyOnClose
|
|
- style={{ padding: '20px 0' }}
|
|
|
|
|
|
+ width="65%"
|
|
onOk={handleDispatchConfirm}
|
|
onOk={handleDispatchConfirm}
|
|
>
|
|
>
|
|
<Form
|
|
<Form
|
|
form={form}
|
|
form={form}
|
|
layout="horizontal"
|
|
layout="horizontal"
|
|
labelCol={{ span: 6 }}
|
|
labelCol={{ span: 6 }}
|
|
- wrapperCol={{ span: 18 }}
|
|
|
|
|
|
+ wrapperCol={{ span: 16 }}
|
|
>
|
|
>
|
|
<Form.Item
|
|
<Form.Item
|
|
label="工单类型"
|
|
label="工单类型"
|