|
@@ -29,6 +29,7 @@ export class StoreQCDetailPage implements OnInit {
|
|
public userData: UserData) { }
|
|
public userData: UserData) { }
|
|
|
|
|
|
ngOnInit() {
|
|
ngOnInit() {
|
|
|
|
+ this.showDetail = true
|
|
this.storage.get('QCdetails').then((val) => {
|
|
this.storage.get('QCdetails').then((val) => {
|
|
this.QCdetails = JSON.parse(val)
|
|
this.QCdetails = JSON.parse(val)
|
|
});
|
|
});
|
|
@@ -53,7 +54,7 @@ export class StoreQCDetailPage implements OnInit {
|
|
if (this.QCdetails) {
|
|
if (this.QCdetails) {
|
|
this.qcData = this.QCdetails
|
|
this.qcData = this.QCdetails
|
|
for (let i of this.qcData['details']) {
|
|
for (let i of this.qcData['details']) {
|
|
- this.showDetail = true
|
|
|
|
|
|
+ this.showDetail = false
|
|
// 获取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) {
|