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
   getList(){
37
   getList(){
38
     let maskFlag = this.msg.loading("加载中", { nzDuration: 0 }).messageId;
38
     let maskFlag = this.msg.loading("加载中", { nzDuration: 0 }).messageId;
39
     this.mainService.listMsgByMain('reserveView', {
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
     }).subscribe((result: any) => {
42
     }).subscribe((result: any) => {
42
       this.msg.remove(maskFlag);
43
       this.msg.remove(maskFlag);
43
       console.log(result);
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
   lookView(data){
194
   lookView(data){
195
     this.router.navigateByUrl(
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
         loadChildren: () => import("../form-management-detail/form-management-detail.module").then((m) => m.FormManagementDetailModule),
154
         loadChildren: () => import("../form-management-detail/form-management-detail.module").then((m) => m.FormManagementDetailModule),
155
       },
155
       },
156
       // 统计分析-综合统计
156
       // 统计分析-综合统计