seimin пре 1 година
родитељ
комит
e794787455

+ 2 - 1
src/app/views/form-management-detail/form-management-detail.component.ts

@@ -37,7 +37,8 @@ export class FormManagementDetailComponent implements OnInit {
37 37
   getList(){
38 38
     let maskFlag = this.msg.loading("加载中", { nzDuration: 0 }).messageId;
39 39
     this.mainService.listMsgByMain('reserveView', {
40
-      reserveFormId: +this.route.snapshot.paramMap.get('id')
40
+      reserveFormId: +this.route.snapshot.paramMap.get('id'),
41
+      taskTypeId: +this.route.snapshot.paramMap.get('taskType'),
41 42
     }).subscribe((result: any) => {
42 43
       this.msg.remove(maskFlag);
43 44
       console.log(result);

+ 1 - 1
src/app/views/form-management/form-management.component.ts

@@ -193,7 +193,7 @@ export class FormManagementComponent implements OnInit {
193 193
   // 查看视图
194 194
   lookView(data){
195 195
     this.router.navigateByUrl(
196
-      `/main/formManagementDetail/${data.id}`
196
+      `/main/formManagementDetail/${data.id}/${data.taskType}`
197 197
     );
198 198
   }
199 199
 }

+ 1 - 1
src/app/views/main/main-routing.module.ts

@@ -150,7 +150,7 @@ const routes: Routes = [
150 150
       },
151 151
       // 表单管理列表详情
152 152
       {
153
-        path: "formManagementDetail/:id",
153
+        path: "formManagementDetail/:id/:taskType",
154 154
         loadChildren: () => import("../form-management-detail/form-management-detail.module").then((m) => m.FormManagementDetailModule),
155 155
       },
156 156
       // 统计分析-综合统计