From d0d27d838193758dcb42d760bd4bbae7b12cdb48 Mon Sep 17 00:00:00 2001 From: liutk <961510893@qq.com> Date: Mon, 29 Apr 2024 16:02:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=8F=96=E6=B6=88=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/Hr/OfficalBusinessController.php | 2 +- app/Admin/Controllers/Hr/OvertimeController.php | 2 +- app/Admin/Controllers/Hr/PromotionController.php | 2 +- app/Admin/Controllers/Hr/SignRepairController.php | 2 +- app/Enums/CheckStatus.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Admin/Controllers/Hr/OfficalBusinessController.php b/app/Admin/Controllers/Hr/OfficalBusinessController.php index e853e03..31981e2 100644 --- a/app/Admin/Controllers/Hr/OfficalBusinessController.php +++ b/app/Admin/Controllers/Hr/OfficalBusinessController.php @@ -64,7 +64,7 @@ class OfficalBusinessController extends AdminController // $this->rowEditTypeButton('drawer', 'lg')->visibleOn('${ARRAYINCLUDES(row_actions, "view")}'), $this->rowDeleteButton()->visibleOn('${ARRAYINCLUDES(row_actions, "delete")}'), $this->applyAction()->visibleOn('${ARRAYINCLUDES(row_actions, "apply")}'), - $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), + // $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), ]), ]); diff --git a/app/Admin/Controllers/Hr/OvertimeController.php b/app/Admin/Controllers/Hr/OvertimeController.php index 43dab2c..bf5d419 100644 --- a/app/Admin/Controllers/Hr/OvertimeController.php +++ b/app/Admin/Controllers/Hr/OvertimeController.php @@ -65,7 +65,7 @@ class OvertimeController extends AdminController // $this->rowEditTypeButton('drawer', 'lg')->visibleOn('${ARRAYINCLUDES(row_actions, "edit")}'), $this->rowDeleteButton()->visibleOn('${ARRAYINCLUDES(row_actions, "delete")}'), $this->applyAction()->visibleOn('${ARRAYINCLUDES(row_actions, "apply")}'), - $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), + // $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), ]), ]); diff --git a/app/Admin/Controllers/Hr/PromotionController.php b/app/Admin/Controllers/Hr/PromotionController.php index 7978c87..f73ff83 100644 --- a/app/Admin/Controllers/Hr/PromotionController.php +++ b/app/Admin/Controllers/Hr/PromotionController.php @@ -73,7 +73,7 @@ class PromotionController extends AdminController $this->rowShowButton()->visibleOn('${ARRAYINCLUDES(row_actions, "view")}'), $this->rowEditTypeButton('drawer', 'lg')->visibleOn('${ARRAYINCLUDES(row_actions, "edit")}'), $this->rowDeleteButton()->visibleOn('${ARRAYINCLUDES(row_actions, "delete")}'), - $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), + // $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), ]), ]); diff --git a/app/Admin/Controllers/Hr/SignRepairController.php b/app/Admin/Controllers/Hr/SignRepairController.php index 447a022..522afa8 100644 --- a/app/Admin/Controllers/Hr/SignRepairController.php +++ b/app/Admin/Controllers/Hr/SignRepairController.php @@ -66,7 +66,7 @@ class SignRepairController extends AdminController // $this->rowEditTypeButton('drawer', 'lg')->visibleOn('${ARRAYINCLUDES(row_actions, "edit")}'), $this->rowDeleteButton()->visibleOn('${ARRAYINCLUDES(row_actions, "delete")}'), $this->applyAction()->visibleOn('${ARRAYINCLUDES(row_actions, "apply")}'), - $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), + // $this->cancelAction()->visibleOn('${ARRAYINCLUDES(row_actions, "cancel")}'), ]), ]); diff --git a/app/Enums/CheckStatus.php b/app/Enums/CheckStatus.php index 25d1725..5bc9102 100644 --- a/app/Enums/CheckStatus.php +++ b/app/Enums/CheckStatus.php @@ -35,7 +35,7 @@ enum CheckStatus: int self::Processing->value => '审核中', self::Success->value => '已通过', self::Fail->value => '已拒绝', - self::Cancel->value => '已取消', + // self::Cancel->value => '已取消', ]; }