|
@@ -14,7 +14,7 @@ import {
|
|
addPublicRelease,
|
|
addPublicRelease,
|
|
} from "../../utils/servers/servers";
|
|
} from "../../utils/servers/servers";
|
|
|
|
|
|
-import { getHours, getNumHourse, getUserWordTimes } from "../../utils/tools";
|
|
|
|
|
|
+import { getHours, getNumHourse, getUserWordTimes, getNameList } from "../../utils/tools";
|
|
|
|
|
|
import "taro-ui/dist/style/components/form.scss";
|
|
import "taro-ui/dist/style/components/form.scss";
|
|
import "taro-ui/dist/style/components/button.scss";
|
|
import "taro-ui/dist/style/components/button.scss";
|
|
@@ -228,6 +228,7 @@ class PublicContent extends Component {
|
|
status: 1,
|
|
status: 1,
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
|
|
+ assistAidName: this.state.coorderList.length === 0 ? "" : getNameList(this.state.coorderList, this.state.cList).join(","),
|
|
};
|
|
};
|
|
} else if (this.props.dtails.type == 2) {
|
|
} else if (this.props.dtails.type == 2) {
|
|
datas = {
|
|
datas = {
|
|
@@ -249,6 +250,7 @@ class PublicContent extends Component {
|
|
status: 1,
|
|
status: 1,
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
|
|
+ assistAidName: this.state.coorderList.length === 0 ? "" : getNameList(this.state.coorderList, this.state.cList).join(","),
|
|
};
|
|
};
|
|
} else {
|
|
} else {
|
|
datas = {
|
|
datas = {
|
|
@@ -270,6 +272,7 @@ class PublicContent extends Component {
|
|
status: 1,
|
|
status: 1,
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
|
|
+ assistAidName: this.state.coorderList.length === 0 ? "" : getNameList(this.state.coorderList, this.state.cList).join(","),
|
|
};
|
|
};
|
|
}
|
|
}
|
|
if (isVerify) {
|
|
if (isVerify) {
|
|
@@ -363,6 +366,7 @@ class PublicContent extends Component {
|
|
validDate: JSON.stringify(this.state.validDates),
|
|
validDate: JSON.stringify(this.state.validDates),
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assist: this.state.coorderList.length === 0 ? 0 : 1,
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
assistAid: this.state.coorderList.length === 0 ? "" : this.state.coorderList.join(","),
|
|
|
|
+ assistAidName: this.state.coorderList.length === 0 ? "" : getNameList(this.state.coorderList, this.state.cList).join(","),
|
|
};
|
|
};
|
|
if (this.props.dtails.type == 0) {
|
|
if (this.props.dtails.type == 0) {
|
|
datas = {
|
|
datas = {
|