进行中的建制点击详细跳转未来规划
This commit is contained in:
parent
6e8b40cf9a
commit
5be32acd1b
|
|
@ -134,7 +134,12 @@ export default {
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad() {
|
|
||||||
|
onLoad(options) {
|
||||||
|
if (options) {
|
||||||
|
console.log("接收到的参数:", options.formedId);
|
||||||
|
this.formedId = options.formedId;
|
||||||
|
}
|
||||||
// 页面加载时获取数据
|
// 页面加载时获取数据
|
||||||
this.loadPageData();
|
this.loadPageData();
|
||||||
},
|
},
|
||||||
|
|
@ -143,7 +148,7 @@ export default {
|
||||||
async loadPageData() {
|
async loadPageData() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
try {
|
try {
|
||||||
const response = await getInstitutionalDetail(6);
|
const response = await getInstitutionalDetail(this.formedId);
|
||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.projectDetails = response.data;
|
this.projectDetails = response.data;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user