|
@@ -22,7 +22,7 @@
|
|
|
@click="confirmGenPaper"
|
|
|
>确定</el-button
|
|
|
>
|
|
|
- <el-button type="danger" plain icon="icon icon-back" @click="back"
|
|
|
+ <el-button type="danger" plain icon="icon icon-back" @click="toback"
|
|
|
>返回</el-button
|
|
|
>
|
|
|
</div>
|
|
@@ -779,7 +779,7 @@ export default {
|
|
|
"rootOrgId=" +
|
|
|
this.user.rootOrgId +
|
|
|
"&code=" +
|
|
|
- this.genPaper.courseNo;
|
|
|
+ encodeURIComponent(this.genPaper.courseNo);
|
|
|
this.$httpWithMsg
|
|
|
.get(url)
|
|
|
.then((response) => {
|
|
@@ -1074,6 +1074,9 @@ export default {
|
|
|
this.curSelect = val;
|
|
|
this.searchPaper();
|
|
|
},
|
|
|
+ toback() {
|
|
|
+ this.$router.push({ path: "/questions/gen_paper/1" });
|
|
|
+ },
|
|
|
back(status) {
|
|
|
if ("PASS" == status) {
|
|
|
this.$notify({
|
|
@@ -1230,7 +1233,11 @@ export default {
|
|
|
getCoursePropertyList() {
|
|
|
var courseNo = this.genPaper.courseNo;
|
|
|
this.$http
|
|
|
- .get(QUESTION_API + "/courseProperty/enable/" + courseNo)
|
|
|
+ .get(
|
|
|
+ QUESTION_API +
|
|
|
+ "/courseProperty/enable?courseNo=" +
|
|
|
+ encodeURIComponent(courseNo)
|
|
|
+ )
|
|
|
.then((response) => {
|
|
|
this.coursePropertyList = response.data;
|
|
|
this.searchPaperStructs();
|