|
|
|
@ -2251,7 +2251,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
//提交题目//没有就创建新的题库,新建问newz题和保存题目不一样不能同时保存 这里只是新建 和编辑 标题和须知
|
|
|
|
|
submitQuestionnaire = () => {
|
|
|
|
|
this.props.history.push(`/banks/poll/${this.props.match.params.workid}`);
|
|
|
|
|
this.props.initPublic(undefined);
|
|
|
|
|
// this.props.initPublic(undefined);
|
|
|
|
|
// console.log("调用了submitQuestionnaire")
|
|
|
|
|
// if (this.state.Newedit === true) {
|
|
|
|
|
//
|
|
|
|
@ -2475,7 +2475,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log("toWorkDetail");
|
|
|
|
|
this.props.history.push(`/banks/poll/${this.props.match.params.workid}`);
|
|
|
|
|
this.props.initPublic(undefined);
|
|
|
|
|
// this.props.initPublic(undefined);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|