|
@ -1,6 +1,6 @@ |
|
|
import React, { useState, useRef, useEffect } from "react"; |
|
|
import React, { useState, useRef, useEffect } from "react"; |
|
|
import { connect } from "react-redux"; |
|
|
import { connect } from "react-redux"; |
|
|
import { Modal, Form, CheckboxGroup, Checkbox,Button } from "@douyinfe/semi-ui"; |
|
|
import { Modal, Form, CheckboxGroup, Checkbox, Button } from "@douyinfe/semi-ui"; |
|
|
import { IconAlertCircle } from '@douyinfe/semi-icons'; |
|
|
import { IconAlertCircle } from '@douyinfe/semi-icons'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -55,7 +55,7 @@ function memberModal (props) { |
|
|
setDepartmentId(editObj.departments[0].id) |
|
|
setDepartmentId(editObj.departments[0].id) |
|
|
setPeopleList(departmentList) |
|
|
setPeopleList(departmentList) |
|
|
} |
|
|
} |
|
|
setPomsList_(pomsList.filter(p=>p.pepProjectIsDelete != -1)) |
|
|
setPomsList_(pomsList.filter(p => p.pepProjectIsDelete != -1)) |
|
|
}, []); |
|
|
}, []); |
|
|
|
|
|
|
|
|
function handleOk () { |
|
|
function handleOk () { |
|
@ -214,11 +214,15 @@ function memberModal (props) { |
|
|
style={{ width: 417 }} |
|
|
style={{ width: 417 }} |
|
|
filter |
|
|
filter |
|
|
showClear |
|
|
showClear |
|
|
|
|
|
// autoAdjustOverflow={false} |
|
|
outerBottomSlot={ |
|
|
outerBottomSlot={ |
|
|
<p style={{ margin:"6px 26px",}}> |
|
|
<p style={{ margin: "6px 26px", }}> |
|
|
<Button theme='borderless' onClick={()=>{ |
|
|
<Button theme='borderless' onClick={() => { |
|
|
form.current.setValue('correlationProject',pomsList_.map(p=> p.id)) |
|
|
form.current.setValue('correlationProject', pomsList_.map(p => p.id)) |
|
|
}}>全选</Button> |
|
|
}}>全选</Button> |
|
|
|
|
|
<Button theme='borderless' onClick={() => { |
|
|
|
|
|
form.current.setValue('correlationProject', []) |
|
|
|
|
|
}}>取消选择</Button> |
|
|
</p> |
|
|
</p> |
|
|
} |
|
|
} |
|
|
> |
|
|
> |
|
|