党史教育
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
@@ -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();
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user