update code
parent
423d77a86c
commit
e26ec84349
|
@ -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,[]):[];
|
||||||
|
|
Loading…
Reference in New Issue