From 0e4096c33e0aa24d604115bae591e6d4fd06077d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Wed, 4 Dec 2019 16:21:21 +0800
Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E5=8D=B7=E5=8F=91=E5=B8=83=E5=90=8E?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BF=9D=E5=AD=98=E5=B9=B6=E7=BB=A7=E7=BB=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../react/src/modules/courses/poll/PollNew.js | 51 +++++++++++++++++--
1 file changed, 46 insertions(+), 5 deletions(-)
diff --git a/public/react/src/modules/courses/poll/PollNew.js b/public/react/src/modules/courses/poll/PollNew.js
index 7251f05a8..248434295 100644
--- a/public/react/src/modules/courses/poll/PollNew.js
+++ b/public/react/src/modules/courses/poll/PollNew.js
@@ -3151,8 +3151,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
@@ -3248,8 +3251,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
@@ -3261,8 +3267,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
)
@@ -3274,8 +3283,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
:
@@ -3393,8 +3405,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
@@ -3490,8 +3505,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
@@ -3503,8 +3521,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
)
@@ -3516,8 +3537,11 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo,true)}>取消
this.Deleteadddomthree(indexo, itemo,true)}>保存
+ {
+ polls_status && polls_status < 2 ?
this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续
+ :""}
:
@@ -3644,8 +3668,12 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo)}>取消
this.Deleteadddomthree(indexo, itemo)}>保存
- this.Deleteadddomtwo(indexo, itemo)}>保存并继续
+ {
+ polls_status && polls_status < 2 ?
+ this.Deleteadddomtwo(indexo, itemo)}>保存并继续
+ :""
+ }
@@ -3741,8 +3769,12 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo)}>取消
this.Deleteadddomthree(indexo, itemo)}>保存
+ {
+ polls_status&&polls_status<2?
this.Deleteadddomtwo(indexo, itemo)}>保存并继续
+ :""
+ }
@@ -3754,8 +3786,12 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo)}>取消
this.Deleteadddomthree(indexo, itemo)}>保存
+ {
+ polls_status&&polls_status<2?
this.Deleteadddomtwo(indexo, itemo)}>保存并继续
+ :""
+ }
)
@@ -3767,8 +3803,13 @@ class PollNew extends Component {
onClick={() => this.Deleteadddom(indexo)}>取消
this.Deleteadddomthree(indexo, itemo)}>保存
- this.Deleteadddomtwo(indexo, itemo)}>保存并继续
+ {
+ polls_status&&polls_status<2?
+ this.Deleteadddomtwo(indexo, itemo)}>保存并继续
+ :""
+ }
+
:
@@ -3873,4 +3914,4 @@ class PollNew extends Component {
const WrappedPollNew = Form.create({name: 'taskPollNew'})(PollNew);
// RouteHOC()
-export default (WrappedPollNew);
\ No newline at end of file
+export default (WrappedPollNew);