diff --git a/pages/miniClass/sikaoQuestionList.vue b/pages/miniClass/sikaoQuestionList.vue
index cb21e8d..1a2aa8b 100644
--- a/pages/miniClass/sikaoQuestionList.vue
+++ b/pages/miniClass/sikaoQuestionList.vue
@@ -64,8 +64,8 @@
{{item}} 分
-
-
+
+
@@ -103,12 +103,14 @@
score: undefined, //分数
id: undefined,
},
+ classState:undefined,
}
},
onLoad(e) {
console.log('e', e);
this.classId = e.classId
this.pageType = e.type
+ this.classState = e.classState
this.roleCode = e.roleCode
if (e.type == '0') {
this.pageName = '作业列表'
@@ -205,8 +207,9 @@
}).catch(e => {
uni.showToast({
- title: '操作失败',
- icon: 'error'
+ title: e.errMsg,
+ icon: 'error',
+ duration:3000
})
});
},
diff --git a/pages/miniClass/taskDetailForMan.vue b/pages/miniClass/taskDetailForMan.vue
index a854b58..df2fcba 100644
--- a/pages/miniClass/taskDetailForMan.vue
+++ b/pages/miniClass/taskDetailForMan.vue
@@ -125,7 +125,7 @@
{{curReplay.haveGiveScore}}
-
+
@@ -596,8 +596,9 @@
}).catch(e => {
uni.showToast({
- title: '操作失败',
- icon: 'error'
+ title: e.errMsg,
+ icon: 'error',
+ duration:3000
})
});
// }).catch(err => {
diff --git a/pages/miniClass/xindeList.vue b/pages/miniClass/xindeList.vue
index 9bec4c6..3a7eb88 100644
--- a/pages/miniClass/xindeList.vue
+++ b/pages/miniClass/xindeList.vue
@@ -78,7 +78,7 @@
-->
-
+
@@ -198,8 +198,9 @@
}).catch(e => {
uni.showToast({
- title: '操作失败',
- icon: 'error'
+ title: e.errMsg,
+ icon: 'error',
+ duration:3000
})
});
// }).catch(err => {