|
|
@@ -133,11 +133,12 @@ class ReleaseAssignmentPage extends React.Component {
|
|
|
Toast.fail("请选择抄送对象");
|
|
|
return;
|
|
|
}
|
|
|
- let personArrays = [];
|
|
|
+ let personArrays = ''
|
|
|
if (!isObjEmpty(this.checkNodes)) {
|
|
|
- this.checkNodes.forEach((node) => {
|
|
|
+ /*this.checkNodes.forEach((node) => {
|
|
|
personArrays.push(node.classId)
|
|
|
- })
|
|
|
+ })*/
|
|
|
+ personArrays = this.checkNodes[0].classId
|
|
|
}
|
|
|
const fileUrls = []
|
|
|
if (fileList) {
|
|
|
@@ -157,7 +158,7 @@ class ReleaseAssignmentPage extends React.Component {
|
|
|
startDate: now.format('yyyy-MM-dd hh:mm:ss'),
|
|
|
endDate: moment(endDate).format('YYYY-MM-DD HH:mm:ss'),
|
|
|
taskCreator: this.props.userInfo.user.userFunId,
|
|
|
- taskNotifier: JSON.stringify(personArrays)
|
|
|
+ taskClassid: personArrays
|
|
|
}
|
|
|
fetchPost(API.homeWorkAdd, {
|
|
|
taskString: JSON.stringify(params)
|