update code

dev_xds
haha 2023-11-06 23:16:06 +08:00
parent 423d77a86c
commit e26ec84349
1 changed files with 4 additions and 2 deletions

View File

@ -168,7 +168,7 @@ export default {
}; };
}, },
created() { created() {
this.getList();
window.app99=this window.app99=this
}, },
methods: { methods: {
@ -199,10 +199,12 @@ export default {
}, },
init(prj) { init(prj) {
this.prj=prj; this.prj=prj;
this.getList();
}, },
/** 查询项目延时摄影列表 */ /** 查询项目延时摄影列表 */
getList() { getList() {
this.loading = true; this.loading = true;
this.queryParams.projectId=this.prj.id;
listPrjphotography(this.queryParams).then(response => { listPrjphotography(this.queryParams).then(response => {
this.prjphotographyList = (response.rows||[]).map(it=>{ this.prjphotographyList = (response.rows||[]).map(it=>{
let tmps=it.imageUrl?this.$tryToJson(it.imageUrl,[]):[]; let tmps=it.imageUrl?this.$tryToJson(it.imageUrl,[]):[];