From 41d318af60a72629f4a0fcdc9c10f1a8750ea46a Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Mon, 10 Nov 2025 11:31:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=A2=9E=E5=8A=A0=E9=97=A8?= =?UTF-8?q?=E5=BA=97=E7=B1=BB=E5=9E=8B=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/controllers/sys/Vlog.php | 6 ++++++ admin/views/sys/vlog/lists.php | 14 ++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/admin/controllers/sys/Vlog.php b/admin/controllers/sys/Vlog.php index df624b27..ebb4c34c 100644 --- a/admin/controllers/sys/Vlog.php +++ b/admin/controllers/sys/Vlog.php @@ -14,6 +14,8 @@ class Vlog extends HD_Controller public function index() { + $typeAry = $this->biz_model->type_ary(); + $this->data['typeAry'] = $typeAry; return $this->lists(); } @@ -41,6 +43,10 @@ class Vlog extends HD_Controller } $where["biz_id in ($bizs)"] = null; } + if ($params['type']) { + $type = intval($params['type']); + $where["biz_id in (select id from lc_biz where type={$type})"] = null; + } if ($params['c_time']) { $c_time = explode(' ~ ', $params['c_time']); $c_time[0] && $where["createTime >="] = $c_time[0] . ' 00:00:00'; diff --git a/admin/views/sys/vlog/lists.php b/admin/views/sys/vlog/lists.php index 9dedba22..a6c25b33 100644 --- a/admin/views/sys/vlog/lists.php +++ b/admin/views/sys/vlog/lists.php @@ -12,6 +12,15 @@ +
+ +
+ +
+
@@ -90,7 +99,9 @@ vue_obj = new Vue({ el: '#vue-app', data: { - lists: [] + lists: [], + type: , + typeAry: , }, mounted: function () { this.lists = ; @@ -133,7 +144,6 @@ date = beginDate + ' ~ ' + endDate; $('#id-create-time').val(date); }); - $('.selectpicker').selectpicker(); });