|
@@ -238,7 +238,7 @@ export default {
|
|
title: null,
|
|
title: null,
|
|
order: null,
|
|
order: null,
|
|
coverImage: null,
|
|
coverImage: null,
|
|
- linkUrl: vaildStudentUrl() + "/#/specialdetail",
|
|
|
|
|
|
+ linkUrl: this.$route.query.type === 7 ? vaildStudentUrl() + "/#/knowledge" : vaildStudentUrl() + "/#/specialdetail",
|
|
type: this.$route.query.type,
|
|
type: this.$route.query.type,
|
|
status: 1,
|
|
status: 1,
|
|
content: null,
|
|
content: null,
|
|
@@ -278,11 +278,25 @@ export default {
|
|
tenantId: null
|
|
tenantId: null
|
|
};
|
|
};
|
|
this.$refs["form"].resetFields();
|
|
this.$refs["form"].resetFields();
|
|
|
|
+
|
|
}
|
|
}
|
|
this.type = this.$route.query.type;
|
|
this.type = this.$route.query.type;
|
|
this.pageType = this.$route.query.pageType;
|
|
this.pageType = this.$route.query.pageType;
|
|
|
|
+ if (this.type === 7) {
|
|
|
|
+ this.form.linkUrl = vaildStudentUrl() + "/#/knowledge"
|
|
|
|
+ } else {
|
|
|
|
+ this.form.linkUrl = vaildStudentUrl() + "/#/specialdetail"
|
|
|
|
+ }
|
|
this.init();
|
|
this.init();
|
|
},
|
|
},
|
|
|
|
+ deactivated () {
|
|
|
|
+ // console.log(this.type)
|
|
|
|
+ // if (this.type === 7) {
|
|
|
|
+ // this.form.linkUrl = vaildStudentUrl() + "/#/knowledge"
|
|
|
|
+ // } else {
|
|
|
|
+ // this.form.linkUrl = vaildStudentUrl() + "/#/specialdetail"
|
|
|
|
+ // }
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
init () {
|
|
init () {
|
|
this.getList();
|
|
this.getList();
|