Selaa lähdekoodia

修改优化删除

cehn 3 kuukautta sitten
vanhempi
commit
9e3f74be0f

+ 1 - 0
projects/textbook/src/modules/nav-province-contact/page-process/page-process.component.ts

@@ -68,6 +68,7 @@ export class PageProcessComponent implements OnInit {
         let query = new Parse.Query('EduProcess');
         query.include('branch', 'department');
         query.equalTo('objectId', id);
+        query.notEqualTo('isDeleted', true);
         let res = await query.first();
         if (res?.id) {
           let vrifly = await this.tbookSer.getEduProcess(

+ 1 - 0
projects/textbook/src/modules/nav-province-contact/submitted/submitted.component.ts

@@ -37,6 +37,7 @@ export class SubmittedComponent implements OnInit {
     this.activeRoute.paramMap.subscribe(async (params) => {
       let id = params.get('id');
       let query = new Parse.Query('EduProcess');
+      query.notEqualTo('isDeleted', true);
       query.include('department');
       query.equalTo('objectId', id);
       this.eduProcess = await query.first();