党史教育
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
this.current = index;
|
||||
},
|
||||
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.data) {
|
||||
res.data.createDate = res.data.createDate.substring(0, 10)
|
||||
|
||||
@@ -141,6 +141,10 @@ export default {
|
||||
},
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#E76056",
|
||||
})
|
||||
this.partyId = options.partyId;
|
||||
this.$dict.load("partyStudyStatus", "partyStudyType").then((res) => {
|
||||
this.array = this.$dict.getDict("partyStudyType");
|
||||
|
||||
@@ -33,6 +33,10 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#E76056",
|
||||
})
|
||||
this.id = options.id;
|
||||
this.getDetailInfo();
|
||||
},
|
||||
|
||||
@@ -47,6 +47,10 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#E76056",
|
||||
})
|
||||
this.$dict.load('partyStudyStatus', 'partyStudyType')
|
||||
this.id = options.id
|
||||
this.getDetailInfo()
|
||||
|
||||
Reference in New Issue
Block a user