党史教育

This commit is contained in:
liuye
2022-06-30 19:30:58 +08:00
parent 018a4329f2
commit 229b5c66f6
4 changed files with 13 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ export default {
this.current = index; this.current = index;
}, },
getClassDetail() { getClassDetail() {
this.$instance.post(`/app/apppartyclassroom/queryDetailById?id=${this.id}`).then((res) => { this.$instance.post(`/app/apppartyclassroom/queryDetailById?id=${this.id}&partyId=${this.user.partyId}`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
if (res.data) { if (res.data) {
res.data.createDate = res.data.createDate.substring(0, 10) res.data.createDate = res.data.createDate.substring(0, 10)

View File

@@ -141,6 +141,10 @@ export default {
}, },
}, },
onLoad(options) { onLoad(options) {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#E76056",
})
this.partyId = options.partyId; this.partyId = options.partyId;
this.$dict.load("partyStudyStatus", "partyStudyType").then((res) => { this.$dict.load("partyStudyStatus", "partyStudyType").then((res) => {
this.array = this.$dict.getDict("partyStudyType"); this.array = this.$dict.getDict("partyStudyType");

View File

@@ -33,6 +33,10 @@ export default {
}; };
}, },
onLoad(options) { onLoad(options) {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#E76056",
})
this.id = options.id; this.id = options.id;
this.getDetailInfo(); this.getDetailInfo();
}, },

View File

@@ -47,6 +47,10 @@ export default {
}; };
}, },
onLoad(options) { onLoad(options) {
uni.setNavigationBarColor({
frontColor: "#ffffff",
backgroundColor: "#E76056",
})
this.$dict.load('partyStudyStatus', 'partyStudyType') this.$dict.load('partyStudyStatus', 'partyStudyType')
this.id = options.id this.id = options.id
this.getDetailInfo() this.getDetailInfo()