|
@@ -341,6 +341,8 @@ export default {
|
|
|
},
|
|
|
// 查询活动的信息
|
|
|
getApiAct() {
|
|
|
+ this.isExam = false
|
|
|
+ this.isSurvey = false
|
|
|
this.targets.length = 0
|
|
|
this.resource={}
|
|
|
this.homeWork = ""
|
|
@@ -351,9 +353,9 @@ export default {
|
|
|
this.$api.train.findSummaryTrain(req).then((res) => {
|
|
|
if(res.status == 404) {
|
|
|
this.$Modal.confirm({
|
|
|
- title: this.$t("studentWeb.vote.delTitle"),
|
|
|
- okText: this.$t("studentWeb.vote.delOk"),
|
|
|
- cancelText: this.$t("studentWeb.vote.delCancel"),
|
|
|
+ title: this.$t("jyzx.offline.delTitle"),
|
|
|
+ okText: this.$t("jyzx.offline.delOk"),
|
|
|
+ cancelText: this.$t("jyzx.offline.delCancel"),
|
|
|
onOk: () => {
|
|
|
this.delActivity(this.activity[this.activeIndex])
|
|
|
}
|
|
@@ -417,7 +419,7 @@ export default {
|
|
|
this.$api.jyzx.delActivity(param).then(res => {
|
|
|
if(res) {
|
|
|
if(res.status == 200) {
|
|
|
- this.$Message.success(this.$t("studentWeb.vote.delSuccess"))
|
|
|
+ this.$Message.success(this.$t("jyzx.offline.message3"))
|
|
|
this.activity.splice(this.activeIndex, 1)
|
|
|
if(this.activeIndex == this.activity.length) {
|
|
|
this.activeIndex = 0
|