瀏覽代碼

弹窗代码往后方

hh 2 周之前
父節點
當前提交
425bdbd133

+ 291 - 288
entry/src/main/ets/pages/ProcessIndex.ets

@@ -138,263 +138,36 @@ struct ProcessIndex {
     }
   }
 
-  // 选择工单弹窗控制器
-  selectOrderController: CustomDialogController = new CustomDialogController({
-    builder: SelectWorkOrderDialog({
-      selectWorkOder: this.selectWorkOder
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  // 选择工位和用户弹窗控制器
-  loginInfoController: CustomDialogController = new CustomDialogController({
-    builder: LoginInfoDialog({
-      searchDept:()=>{this.SwitchingDeptController.open()},
-      searchStation:()=>{this.SwitchingStationController.open()},
-      searchProductLine:()=>{this.SwitchingProductLineController.open()},
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  //切换部门弹窗控制器
-  SwitchingDeptController: CustomDialogController = new CustomDialogController({
-    builder: SwitchingDeptDialog({}),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  // 工序报工-报工数量弹窗
-  ReportWorkNumController: CustomDialogController = new CustomDialogController({
-    builder: ReportWorkNumDialog({
-      userName: this.reportList[this.currentReportNumIndex].userName,
-      onConfirm:(num:number)=>{
-        const index = this.currentReportNumIndex;
-        if (this.reportList[index]) {
-          this.reportList[index].reportNum = String(num);
-          this.reportList = [...this.reportList];
-        }
-      }
-    }),
-    autoCancel: true,
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',
-  })
-  // 工序报工-不良品报工弹窗
-  UnqualifiedReportController: CustomDialogController = new CustomDialogController({
-    builder: UnqualifiedReportDialog({
-      userName: this.reportList[this.currentUnqualifiedIndex].userName,
-      onConfirm:(num:number)=>{
-        const index = this.currentUnqualifiedIndex;
-        if (this.reportList[index]) {
-          this.reportList[index].unqualifiedNum = String(num);
-          this.reportList = [...this.reportList];
-        }
-      }
-    }),
-    autoCancel: true,
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',
-  })
-
-  // 工序报工-添加参与人员
-  JoinPersonNameController: CustomDialogController = new CustomDialogController({
-    builder: JoinPersonNameDialog({
-      reportList:this.reportList,
-      onConfirm:(name:string)=>{
-        const nameExists = this.reportList.some(item =>
-        item.userName && name &&
-          item.userName.toString().toLowerCase() === name.toString().toLowerCase().trim()
-        );
-        if (nameExists) {
-          promptAction.showToast({
-            message: '该用户已添加,请添加其他用户!',
-            duration: 2000
-          });
-          return;
-        }
-        const index = this.currentReporterIndex;
-        if (this.reportList[index]) {
-          this.reportList[index].userName = name;
-          this.reportList = [...this.reportList];
+  async scanCodeToStartWork() {
+    this.process = await ProcessRequest.post('/api/v1/process/info/scan', {
+      operationId: this.selectOperationId,
+      qrCode: this.scanCode,
+      workOrderCode: this.selectWorkOder.workOrderCode!
+    } as RequestParamModel)
+    if (this.process && this.process.id) {
+      this.scanState = 1
+      this.opComponents = await ProcessRequest.get(`/api/v1/process/opCompent/get/${this.selectOperationId!}/${this.process?.id!}`)
+      if (this.opComponents) {
+        for (const element of this.opComponents) {
+          if (CommonConstants.OPERATION_COMPONENT_TYPE.has(element.compentType!)) {
+            element.compentType = CommonConstants.OPERATION_COMPONENT_TYPE.get(element.compentType!)
+          }
         }
       }
-    }),
-    autoCancel: true,
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',
-  })
-  // 工序报工弹窗
-  ProcessReportingController: CustomDialogController = new CustomDialogController({
-    builder: ProcessReportingDialog({
-      onSelectReporter:(index:number)=>{
-        this.currentReporterIndex = index;
-        this.JoinPersonNameController.open();
-      },
-      onSelectReportNum:(index:number)=>{
-        if (!this.reportList[index]?.userName?.trim()) {
-          promptAction.showToast({
-            message: '请先添加用户',
-            duration: 2000
-          });
-          return;
-        }
-        this.currentReportNumIndex = index
-        this.ReportWorkNumController.open()
-      },
-      onSelectUnqualified:(index:number)=>{
-        if (!this.reportList[index]?.userName?.trim()) {
-          promptAction.showToast({
-            message: '请先添加用户',
-            duration: 2000
-          });
-          return;
-        }
-        this.currentUnqualifiedIndex = index
-        this.UnqualifiedReportController.open()
-      },
-      reportList:this.reportList
-    }),
-    autoCancel: true,
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',
-  })
-  // 切换产线弹窗控制器
-  SwitchingProductLineController: CustomDialogController = new CustomDialogController({
-    builder: SwitchingProductLineDialog({}),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  // 切换工位弹窗控制器
-  SwitchingStationController: CustomDialogController = new CustomDialogController({
-    builder: SwitchingStationDialog({}),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  //切换用户弹窗控制器
-  switchingUserController: CustomDialogController = new CustomDialogController({
-    builder: SwitchingUserDialog({}),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  // 切换产品弹窗控制器
-  switchingProductDialogController: CustomDialogController = new CustomDialogController({
-    builder: SwitchingProductDialog({
-      scanState:this.scanState,
-      process:this.process,
-      scanSeqValue: this.scanCode,
-      currentStationId:this.currentStationId,
-      selectWorkOder:this.selectWorkOder,
-      currentOperationId:this.selectOperationId,
-      opComponents:this.opComponents
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-
-  // 作业指导弹窗控制器
-  workInstructionsController: CustomDialogController = new CustomDialogController({
-    builder: WorkInstructionsDialog({
-      materialCode: this.selectWorkOder.materialCode!,
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-
-  // 齐套接收弹窗控制器
-  completeReceiveController: CustomDialogController = new CustomDialogController({
-    builder: CompleteReceiveDialog({
-      currentWorkOrderCode: this.selectWorkOder.workOrderCode!,
-      currentOperationId: this.selectOperationId
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-
-  // 零星叫料弹窗控制器
-  littleMaterialRequestController: CustomDialogController = new CustomDialogController({
-    builder: LittleMaterialRequestDialog({
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  // 仓储操作弹窗控制器
-  inAndOutBoundController: CustomDialogController = new CustomDialogController({
-    builder: InAndOutBoundDialog({
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  // 条码关联弹窗控制器
-  barcodeAssociationController: CustomDialogController = new CustomDialogController({
-    builder: BarcodeAssociationDialog({
-      workOrderCode: this.selectWorkOder?.workOrderCode!,
-      seqList: this.seqList
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-  // 图纸资料弹窗控制器
-  pictureDrawingController: CustomDialogController = new CustomDialogController({
-    builder: PictureDrawingDialog({
-      materialCode: this.selectWorkOder?.materialCode!
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Center,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
-
-  // 辅助功能弹窗控制器
-  auxiliaryOperationController: CustomDialogController = new CustomDialogController({
-    builder: AuxiliaryOperationDialog({
-      workOrderCode: this.selectWorkOder?.workOrderCode!,
-      seqList: this.seqList,
-      process: this.process,
-      openLittleMaterialRequestDialog: ()=>{
-        this.littleMaterialRequestController.open()
-      },
-      openBarcodeAssociationDialog: ()=>{
-        this.barcodeAssociationController.open()
-      },
-      openInAndOutBoundDialog: ()=>{
-        this.inAndOutBoundController.open()
-      },
-      openPictureDrawingDialog: ()=>{
-        this.pictureDrawingController.open()
-      },
-    }),
-    autoCancel: true, // 点击遮罩关闭
-    customStyle: true,
-    alignment:DialogAlignment.Bottom,
-    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
-  })
+      // 过滤掉点检工步
+      this.opComponents = this.opComponents.filter(item => item.compentType !== '5');
+      this.opComponents.unshift({
+        compentName:'自检',
+        compentType: '5',
+        deleted:0,
+        operationId: this.selectOperationId,
+        processRouteId: this.process?.id,
+        remark:'',
+        sortNum:0
+      })
+    }
+    this.scanState = 1
+  }
 
   handleAllClick():void {
     if (!this.selectWorkOder.workOrderCode || !this.currentUserName || !this.currentStationId) {
@@ -1050,11 +823,11 @@ struct ProcessIndex {
           })
           Row().width('1.5%')
           Row({space: 4}) {
-            Image($r('app.media.process_start_work'))
+            Image(this.scanState === 1 ? $r('app.media.process_report') : $r('app.media.process_start_work'))
               .width($r('app.float.virtualSize_24'))
               .height($r('app.float.virtualSize_24'))
               .fillColor($r('app.color.FFFFFF'))
-            Text('工序开工')
+            Text(this.scanState === 1 ? '工序报工' : '工序开工')
               .fontColor($r('app.color.FFFFFF'))
               .fontSize($r('app.float.fontSize_24'))
               .fontWeight(FontWeight.Medium)
@@ -1062,7 +835,7 @@ struct ProcessIndex {
           .width('10%')
           .height('58.3%')
           .justifyContent(FlexAlign.Center)
-          .backgroundColor($r('app.color.0A84FF'))
+          .backgroundColor(this.scanState === 1 ? $r('app.color.30D158') : $r('app.color.0A84FF'))
           .borderRadius($r('app.float.fontSize_16'))
           .onClick(async ()=>{
             if (!this.scanCode || this.scanCode.length <= 0) {
@@ -1077,38 +850,15 @@ struct ProcessIndex {
               promptAction.showToast({
                 message: `请先选择工序`,
                 duration: 1500,
-                bottom: 100
-              })
-              return
-            }
-            this.process = await ProcessRequest.post('/api/v1/process/info/scan', {
-              operationId: this.selectOperationId,
-              qrCode: this.scanCode,
-              workOrderCode: this.selectWorkOder.workOrderCode!
-            } as RequestParamModel)
-            if (this.process && this.process.id) {
-              this.scanState = 1
-              this.opComponents = await ProcessRequest.get(`/api/v1/process/opCompent/get/${this.selectOperationId!}/${this.process?.id!}`)
-              if (this.opComponents) {
-                for (const element of this.opComponents) {
-                  if (CommonConstants.OPERATION_COMPONENT_TYPE.has(element.compentType)) {
-                    element.compentType = CommonConstants.OPERATION_COMPONENT_TYPE.get(element.compentType)
-                  }
-                }
-              }
-              // 过滤掉点检工步
-              this.opComponents = this.opComponents.filter(item => item.compentType !== '5');
-              this.opComponents.unshift({
-                compentName:'自检',
-                compentType: '5',
-                deleted:0,
-                operationId: this.selectOperationId,
-                processRouteId: this.process?.id,
-                remark:'',
-                sortNum:0
+                bottom: 100
               })
+              return
+            }
+            if (this.scanState === 0) {
+              this.scanCodeToStartWork()
+            } else if (this.scanState === 1) {
+              // todo 工序报工
             }
-            this.scanState = 1
           })
         }
         .height('90.6%')
@@ -1154,4 +904,257 @@ struct ProcessIndex {
       onClick();
     })
   }
+
+  // 选择工单弹窗控制器
+  selectOrderController: CustomDialogController = new CustomDialogController({
+    builder: SelectWorkOrderDialog({
+      selectWorkOder: this.selectWorkOder
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 选择工位和用户弹窗控制器
+  loginInfoController: CustomDialogController = new CustomDialogController({
+    builder: LoginInfoDialog({
+      searchDept:()=>{this.SwitchingDeptController.open()},
+      searchStation:()=>{this.SwitchingStationController.open()},
+      searchProductLine:()=>{this.SwitchingProductLineController.open()},
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  //切换部门弹窗控制器
+  SwitchingDeptController: CustomDialogController = new CustomDialogController({
+    builder: SwitchingDeptDialog({}),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 工序报工-报工数量弹窗
+  ReportWorkNumController: CustomDialogController = new CustomDialogController({
+    builder: ReportWorkNumDialog({
+      userName: this.reportList[this.currentReportNumIndex].userName,
+      onConfirm:(num:number)=>{
+        const index = this.currentReportNumIndex;
+        if (this.reportList[index]) {
+          this.reportList[index].reportNum = String(num);
+          this.reportList = [...this.reportList];
+        }
+      }
+    }),
+    autoCancel: true,
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',
+  })
+  // 工序报工-不良品报工弹窗
+  UnqualifiedReportController: CustomDialogController = new CustomDialogController({
+    builder: UnqualifiedReportDialog({
+      userName: this.reportList[this.currentUnqualifiedIndex].userName,
+      onConfirm:(num:number)=>{
+        const index = this.currentUnqualifiedIndex;
+        if (this.reportList[index]) {
+          this.reportList[index].unqualifiedNum = String(num);
+          this.reportList = [...this.reportList];
+        }
+      }
+    }),
+    autoCancel: true,
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',
+  })
+  // 工序报工-添加参与人员
+  JoinPersonNameController: CustomDialogController = new CustomDialogController({
+    builder: JoinPersonNameDialog({
+      reportList:this.reportList,
+      onConfirm:(name:string)=>{
+        const nameExists = this.reportList.some(item =>
+        item.userName && name &&
+          item.userName.toString().toLowerCase() === name.toString().toLowerCase().trim()
+        );
+        if (nameExists) {
+          promptAction.showToast({
+            message: '该用户已添加,请添加其他用户!',
+            duration: 2000
+          });
+          return;
+        }
+        const index = this.currentReporterIndex;
+        if (this.reportList[index]) {
+          this.reportList[index].userName = name;
+          this.reportList = [...this.reportList];
+        }
+      }
+    }),
+    autoCancel: true,
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',
+  })
+  // 工序报工弹窗
+  ProcessReportingController: CustomDialogController = new CustomDialogController({
+    builder: ProcessReportingDialog({
+      onSelectReporter:(index:number)=>{
+        this.currentReporterIndex = index;
+        this.JoinPersonNameController.open();
+      },
+      onSelectReportNum:(index:number)=>{
+        if (!this.reportList[index]?.userName?.trim()) {
+          promptAction.showToast({
+            message: '请先添加用户',
+            duration: 2000
+          });
+          return;
+        }
+        this.currentReportNumIndex = index
+        this.ReportWorkNumController.open()
+      },
+      onSelectUnqualified:(index:number)=>{
+        if (!this.reportList[index]?.userName?.trim()) {
+          promptAction.showToast({
+            message: '请先添加用户',
+            duration: 2000
+          });
+          return;
+        }
+        this.currentUnqualifiedIndex = index
+        this.UnqualifiedReportController.open()
+      },
+      reportList:this.reportList
+    }),
+    autoCancel: true,
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',
+  })
+  // 切换产线弹窗控制器
+  SwitchingProductLineController: CustomDialogController = new CustomDialogController({
+    builder: SwitchingProductLineDialog({}),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 切换工位弹窗控制器
+  SwitchingStationController: CustomDialogController = new CustomDialogController({
+    builder: SwitchingStationDialog({}),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  //切换用户弹窗控制器
+  switchingUserController: CustomDialogController = new CustomDialogController({
+    builder: SwitchingUserDialog({}),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 切换产品弹窗控制器
+  switchingProductDialogController: CustomDialogController = new CustomDialogController({
+    builder: SwitchingProductDialog({
+      scanState:this.scanState,
+      process:this.process,
+      scanSeqValue: this.scanCode,
+      currentStationId:this.currentStationId,
+      selectWorkOder:this.selectWorkOder,
+      currentOperationId:this.selectOperationId,
+      opComponents:this.opComponents
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 作业指导弹窗控制器
+  workInstructionsController: CustomDialogController = new CustomDialogController({
+    builder: WorkInstructionsDialog({
+      materialCode: this.selectWorkOder.materialCode!,
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 齐套接收弹窗控制器
+  completeReceiveController: CustomDialogController = new CustomDialogController({
+    builder: CompleteReceiveDialog({
+      currentWorkOrderCode: this.selectWorkOder.workOrderCode!,
+      currentOperationId: this.selectOperationId
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 零星叫料弹窗控制器
+  littleMaterialRequestController: CustomDialogController = new CustomDialogController({
+    builder: LittleMaterialRequestDialog({
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 仓储操作弹窗控制器
+  inAndOutBoundController: CustomDialogController = new CustomDialogController({
+    builder: InAndOutBoundDialog({
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 条码关联弹窗控制器
+  barcodeAssociationController: CustomDialogController = new CustomDialogController({
+    builder: BarcodeAssociationDialog({
+      workOrderCode: this.selectWorkOder?.workOrderCode!,
+      seqList: this.seqList
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 图纸资料弹窗控制器
+  pictureDrawingController: CustomDialogController = new CustomDialogController({
+    builder: PictureDrawingDialog({
+      materialCode: this.selectWorkOder?.materialCode!
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Center,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
+  // 辅助功能弹窗控制器
+  auxiliaryOperationController: CustomDialogController = new CustomDialogController({
+    builder: AuxiliaryOperationDialog({
+      workOrderCode: this.selectWorkOder?.workOrderCode!,
+      seqList: this.seqList,
+      process: this.process,
+      openLittleMaterialRequestDialog: ()=>{
+        this.littleMaterialRequestController.open()
+      },
+      openBarcodeAssociationDialog: ()=>{
+        this.barcodeAssociationController.open()
+      },
+      openInAndOutBoundDialog: ()=>{
+        this.inAndOutBoundController.open()
+      },
+      openPictureDrawingDialog: ()=>{
+        this.pictureDrawingController.open()
+      },
+    }),
+    autoCancel: true, // 点击遮罩关闭
+    customStyle: true,
+    alignment:DialogAlignment.Bottom,
+    maskColor: 'rgba(0,0,0,0.8)',  // 黑色遮罩
+  })
 }

+ 1 - 1
entry/src/main/ets/view/ProcessReportingDialog.ets

@@ -154,7 +154,7 @@ export struct ProcessReportingDialog{
           .width('96%')
           .margin({left:'2%',right:'2%'})
           Row(){
-            Image($r('app.media.process_reporting_add'))
+            Image($r('app.media.general_create'))
               .width($r('app.float.virtualSize_24'))
               .height($r('app.float.virtualSize_24'))
               .fillColor($r('app.color.0A84FF'))

+ 3 - 0
entry/src/main/resources/base/media/process_report.svg

@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
+  <path d="M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1Zm0 1.5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19Zm6.187 6.22a.75.75 0 0 1 .03 1.028l-.03.032-5.95 5.95a1.75 1.75 0 0 1-2.431.042l-.043-.042-3.45-3.45a.746.746 0 0 1-.204-.374l-.014-.104v-.104a.75.75 0 0 1 1.246-.508l.032.03 3.097 3.096a.75.75 0 0 0 1.028.03l.032-.03 5.597-5.596a.75.75 0 0 1 1.06 0Z"/>
+</svg>

+ 0 - 3
entry/src/main/resources/base/media/process_reporting_add.svg

@@ -1,3 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
-  <path d="M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1Zm0 1.5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19Zm.75 14.75a.75.75 0 0 1-1.5 0v-4.501l-4.5.001a.75.75 0 0 1 0-1.5l4.5-.001V6.75a.75.75 0 0 1 1.5 0v10.5Zm4.5-6a.75.75 0 0 1 0 1.5h-3.5v-1.5h3.5Z"/>
-</svg>