From 7a9873f2d84ccc785e3a4a7e0d3238af8c916b85 Mon Sep 17 00:00:00 2001 From: hdm Date: Fri, 3 Mar 2023 12:33:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E5=AE=A1=E6=A0=B8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=A3=80=E7=B4=A2=E7=8A=B6=E6=80=81=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/contract/controller/Index.php | 2 +- app/contract/view/index/index.html | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/contract/controller/Index.php b/app/contract/controller/Index.php index 1100fcb..df593d2 100644 --- a/app/contract/controller/Index.php +++ b/app/contract/controller/Index.php @@ -33,7 +33,7 @@ class Index extends BaseController if (!empty($param['type'])) { $where[] = ['a.type', '=', $param['type']]; } - if (!empty($param['check_status'])) { + if (isset($param['check_status']) && $param['check_status']!='') { $where[] = ['a.check_status', '=', $param['check_status']]; } $where[] = ['a.delete_time', '=', 0]; diff --git a/app/contract/view/index/index.html b/app/contract/view/index/index.html index fd3bafb..27a5074 100644 --- a/app/contract/view/index/index.html +++ b/app/contract/view/index/index.html @@ -21,13 +21,15 @@
- - - - - - + + + + + + +
@@ -312,7 +314,7 @@ keywords: data.field.keywords, cate_id: data.field.cate_id, type: data.field.type, - status: data.field.status + check_status: data.field.check_status }, page: { curr: 1