|
@@ -20,6 +20,7 @@ export class StoreQCDetailPage implements OnInit {
|
|
QCdetails = ''
|
|
QCdetails = ''
|
|
pId = ''
|
|
pId = ''
|
|
sscId = ''
|
|
sscId = ''
|
|
|
|
+ showDetail: boolean = true
|
|
constructor(private storage: Storage,
|
|
constructor(private storage: Storage,
|
|
public commonService: commonService,
|
|
public commonService: commonService,
|
|
// private fullScreenImage: FullScreenImage,
|
|
// private fullScreenImage: FullScreenImage,
|
|
@@ -51,8 +52,8 @@ export class StoreQCDetailPage implements OnInit {
|
|
async getDetail() {
|
|
async getDetail() {
|
|
if (this.QCdetails) {
|
|
if (this.QCdetails) {
|
|
this.qcData = this.QCdetails
|
|
this.qcData = this.QCdetails
|
|
- console.log(this.qcData)
|
|
|
|
for (let i of this.qcData['details']) {
|
|
for (let i of this.qcData['details']) {
|
|
|
|
+ this.showDetail = true
|
|
// 获取QA日志
|
|
// 获取QA日志
|
|
let qalogdata = await this.userData.getQAlog(i.sscId, i.pid)
|
|
let qalogdata = await this.userData.getQAlog(i.sscId, i.pid)
|
|
if (JSON.parse(qalogdata).data.length !== 0) {
|
|
if (JSON.parse(qalogdata).data.length !== 0) {
|