|
@@ -1,5 +1,6 @@
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
import { UserData } from '../../providers/user-data';
|
|
|
+import { commonService } from '../../providers/common.service'
|
|
|
|
|
|
@Component({
|
|
|
selector: 'app-store-pending',
|
|
@@ -11,16 +12,19 @@ export class StorePendingPage implements OnInit {
|
|
|
pendingList = [1]
|
|
|
current: number = 1
|
|
|
size: number = 10
|
|
|
- constructor(public userData: UserData) { }
|
|
|
+ constructor(public userData: UserData,public commonService: commonService,) { }
|
|
|
|
|
|
ngOnInit() {
|
|
|
-
|
|
|
}
|
|
|
|
|
|
ionViewDidEnter() {
|
|
|
this.getList()
|
|
|
}
|
|
|
|
|
|
+ showFullScreenImage(url) {
|
|
|
+ this.commonService.fullScreenImg(url)
|
|
|
+ }
|
|
|
+
|
|
|
async getList() {
|
|
|
let data = await this.userData.getStorePendingList(this.current, this.size)
|
|
|
this.pendingList = data
|