From 551ceac7b4f73fc168d526fdd018bdabd30923c5 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Sat, 18 Nov 2023 18:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Common.php | 2 +- app/api/controller/FinanceExpense.php | 2 +- app/home/view/flow/add.html | 20 +++++++++++--------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/app/api/controller/Common.php b/app/api/controller/Common.php index 7690faa..2c4980e 100644 --- a/app/api/controller/Common.php +++ b/app/api/controller/Common.php @@ -586,7 +586,7 @@ class Common extends ApiController if($val['flow_type'] == 4){ $val['flow_type_txt'] = '指定人员会签'; } - if($val['flow_type'] == 5){ + if($val['flow_type'] == 7){ $val['flow_type_txt'] = '当前部门分管领导'; } if($val['flow_type'] == 6){ diff --git a/app/api/controller/FinanceExpense.php b/app/api/controller/FinanceExpense.php index 13da0fa..2a810b5 100644 --- a/app/api/controller/FinanceExpense.php +++ b/app/api/controller/FinanceExpense.php @@ -162,7 +162,7 @@ class FinanceExpense extends ApiController } } // 当前部门分管领导 - if ($item['flow_type'] == 5) { + if ($item['flow_type'] == 7) { $leader = get_department_leader($this->uid); if (empty($leader)) { $this->apiError('当前部门分管领导不存在'); diff --git a/app/home/view/flow/add.html b/app/home/view/flow/add.html index 402800e..1502157 100644 --- a/app/home/view/flow/add.html +++ b/app/home/view/flow/add.html @@ -69,7 +69,7 @@
- + @@ -230,7 +232,7 @@
\ \ - \ + \ \ \ \