From 002ccffc86df0245f8107f0531723de2916aac59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Fri, 6 Mar 2020 21:48:22 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E6=94=B9=E5=8A=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/src/modules/question/Paperreview.js | 6 +++---
.../src/modules/question/Paperreview_item.js | 2 +-
.../src/modules/question/Questionitem_banks.js | 16 ++++++++--------
.../modules/question/component/Contentpart.js | 2 +-
.../src/modules/question/component/Listjihe.js | 2 +-
.../src/modules/question/component/SiderBars.js | 2 +-
.../modules/testpaper/component/Contentpart.js | 4 ++--
.../component/Paperlibraryseeid_item.js | 2 +-
.../component/Paperlibraryseeid_itemss.js | 2 +-
.../modules/testpaper/component/Seeoagertits.js | 2 +-
10 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/public/react/src/modules/question/Paperreview.js b/public/react/src/modules/question/Paperreview.js
index a5f9308cf..1435de301 100644
--- a/public/react/src/modules/question/Paperreview.js
+++ b/public/react/src/modules/question/Paperreview.js
@@ -346,7 +346,7 @@ class Paperreview extends Component {
artificialtype === "artificial" ?
试题库
- 人工组卷
+ 人工组卷
试卷预览
:
@@ -357,7 +357,7 @@ class Paperreview extends Component {
:
- 试题库
+ 试题库
新增试卷
}
@@ -389,7 +389,7 @@ class Paperreview extends Component {
this.setCohetepaperbool(bool)}
- onSubmits={() => this.preservation()} url={ artificialtype==="artificial"?'/question':'/paperlibrary'}>
+ onSubmits={() => this.preservation()} url={ artificialtype==="artificial"?'/problemset':'/paperlibrary'}>
)
diff --git a/public/react/src/modules/question/Paperreview_item.js b/public/react/src/modules/question/Paperreview_item.js
index f068eef47..e551832fd 100644
--- a/public/react/src/modules/question/Paperreview_item.js
+++ b/public/react/src/modules/question/Paperreview_item.js
@@ -462,7 +462,7 @@ class Paperreview_item extends Component {
}
jixuxuantioncli = () => {
- this.props.history.replace("/question");
+ this.props.history.replace("/problemset");
}
showparagraphs = (e, name) => {
diff --git a/public/react/src/modules/question/Questionitem_banks.js b/public/react/src/modules/question/Questionitem_banks.js
index 0df3b036c..8b3bc8d44 100644
--- a/public/react/src/modules/question/Questionitem_banks.js
+++ b/public/react/src/modules/question/Questionitem_banks.js
@@ -303,7 +303,7 @@ class Questionitem_banks extends Component {
if (result.data.status == 0) {
// this.props.showNotification(`新增单选题成功`);
this.restricte=true;
- this.props.history.replace('/question');
+ this.props.history.replace('/problemset');
}
}).catch((error) => {
@@ -315,7 +315,7 @@ class Questionitem_banks extends Component {
if (result.data.status == 0) {
// this.props.showNotification(`编辑单选题成功`);
this.restricte=true;
- this.props.history.replace('/question');
+ this.props.history.replace('/problemset');
}
@@ -383,7 +383,7 @@ class Questionitem_banks extends Component {
if (result.data.status == 0) {
// this.props.showNotification(`新增多选题成功`);
this.restricte=true;
- this.props.history.replace('/question');
+ this.props.history.replace('/problemset');
}
@@ -397,7 +397,7 @@ class Questionitem_banks extends Component {
if (result.data.status == 0) {
// this.props.showNotification(`编辑多选题成功`);
this.restricte=true;
- this.props.history.replace('/question');
+ this.props.history.replace('/problemset');
}
@@ -452,7 +452,7 @@ class Questionitem_banks extends Component {
if (result.data.status == 0) {
// this.props.showNotification(`新增判断题成功`);
this.restricte=true;
- this.props.history.replace('/question');
+ this.props.history.replace('/problemset');
}
}).catch((error) => {
@@ -465,7 +465,7 @@ class Questionitem_banks extends Component {
if (result.data.status == 0) {
// this.props.showNotification(`编辑判断题成功`);
this.restricte=true;
- this.props.history.replace('/question');
+ this.props.history.replace('/problemset');
}
}).catch((error) => {
@@ -552,7 +552,7 @@ class Questionitem_banks extends Component {
- 试题库
+ 试题库
{JSON.stringify(params) === "{}" ? "新增" : "编辑"}试题
@@ -618,7 +618,7 @@ class Questionitem_banks extends Component {
""
:
this.preservation()} url={'/question'}>
+ onSubmits={() => this.preservation()} url={'/problemset'}>
}
)
diff --git a/public/react/src/modules/question/component/Contentpart.js b/public/react/src/modules/question/component/Contentpart.js
index 3c5fa9e18..fa187b147 100644
--- a/public/react/src/modules/question/component/Contentpart.js
+++ b/public/react/src/modules/question/component/Contentpart.js
@@ -201,7 +201,7 @@ class Contentpart extends Component {
}
- this.props.history.push("/question/newitem?pages="+this.props.pages+urls);
+ this.props.history.push("/problemset/newitem?pages="+this.props.pages+urls);
}
render() {
diff --git a/public/react/src/modules/question/component/Listjihe.js b/public/react/src/modules/question/component/Listjihe.js
index 957546234..28a01f1ff 100644
--- a/public/react/src/modules/question/component/Listjihe.js
+++ b/public/react/src/modules/question/component/Listjihe.js
@@ -507,7 +507,7 @@ class Listjihe extends Component {
this.props.Isitapopup&&this.props.Isitapopup==="true"?
""
:
- this.seturls(`/question/edit/${items.id}`)}>
+ this.seturls(`/problemset/edit/${items.id}`)}>
编辑
diff --git a/public/react/src/modules/question/component/SiderBars.js b/public/react/src/modules/question/component/SiderBars.js
index e6cee7761..724ae7f79 100644
--- a/public/react/src/modules/question/component/SiderBars.js
+++ b/public/react/src/modules/question/component/SiderBars.js
@@ -117,7 +117,7 @@ class SiderBars extends Component {
{this.props.mygetHelmetapi&&this.props.mygetHelmetapi.main_site===true?
{
- mypath&&mypath==="/question"&&swsilan===true?
+ mypath&&mypath==="/problemset"&&swsilan===true?
this.props.showDrawer()} >
diff --git a/public/react/src/modules/testpaper/component/Contentpart.js b/public/react/src/modules/testpaper/component/Contentpart.js
index 5148e00ca..3f86a30f9 100644
--- a/public/react/src/modules/testpaper/component/Contentpart.js
+++ b/public/react/src/modules/testpaper/component/Contentpart.js
@@ -73,7 +73,7 @@ class Contentpart extends Component {
}
//跳转人工组卷
Mantegeneration=()=>{
- this.props.history.push('/question');
+ this.props.history.push('/problemset');
}
@@ -375,7 +375,7 @@ class Contentpart extends Component {
- this.xinzenw('/question')}>
+ this.xinzenw('/problemset')}>
diff --git a/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js b/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js
index 06298299f..58959d745 100644
--- a/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js
+++ b/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js
@@ -286,7 +286,7 @@ class Paperreview_item extends Component {
}
jixuxuantioncli = () => {
- this.props.history.replace("/question");
+ this.props.history.replace("/problemset");
}
showparagraphs = (e,name) => {
diff --git a/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js b/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js
index 754a45560..2cdc60623 100644
--- a/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js
+++ b/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js
@@ -361,7 +361,7 @@ class Paperlibraryseeid_itemss extends Component {
}
jixuxuantioncli = () => {
- this.props.history.replace("/question");
+ this.props.history.replace("/problemset");
}
showparagraphs = (e,name) => {
diff --git a/public/react/src/modules/testpaper/component/Seeoagertits.js b/public/react/src/modules/testpaper/component/Seeoagertits.js
index a983bd67e..573655a63 100644
--- a/public/react/src/modules/testpaper/component/Seeoagertits.js
+++ b/public/react/src/modules/testpaper/component/Seeoagertits.js
@@ -26,7 +26,7 @@ class Seeoagertit extends Component {
onChange=(e)=> {
}
jixuxuantioncli = () => {
- this.props.history.replace("/question");
+ this.props.history.replace("/problemset");
}
render() {