|
|
@@ -1626,6 +1626,19 @@ export default {
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
from: 1,
|
|
|
}).then((res) => {
|
|
|
+ if (res.data.code == 500) {
|
|
|
+ uni.showModal({
|
|
|
+ showCancel: false,
|
|
|
+ content: "该试卷暂无题目",
|
|
|
+ success: (k) => {
|
|
|
+ if (k.confirm) {
|
|
|
+ this.isSubmit = true;
|
|
|
+ uni.navigateBack();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
let data = res.data.data;
|
|
|
if (this.doMode == 3) {
|
|
|
this.simulateExamId = data.simulateExamId;
|
|
|
@@ -1635,7 +1648,7 @@ export default {
|
|
|
this.hideDialog();
|
|
|
uni.showModal({
|
|
|
showCancel: false,
|
|
|
- content: this.simulateExamId ? "您已经毕业了" : "该试卷暂无题目",
|
|
|
+ content: "该试卷暂无题目",
|
|
|
success: (k) => {
|
|
|
if (k.confirm) {
|
|
|
this.isSubmit = true;
|