From 7684ad74f5c2659078aca79646d88e2e27697419 Mon Sep 17 00:00:00 2001 From: cloud Date: Thu, 5 Dec 2024 01:08:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8A=95=E6=94=BE=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=AF=BC=E5=87=BA=E5=AD=97=E6=AE=B5e=5Flabel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/traits/tdata.class.php | 2 +- include/traits/tfield.class.php | 32 +++++++++++++++++--------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/include/traits/tdata.class.php b/include/traits/tdata.class.php index 9014488..35e4e51 100644 --- a/include/traits/tdata.class.php +++ b/include/traits/tdata.class.php @@ -243,7 +243,7 @@ trait tdata $field = 'ch.*, count(la.id) AS h_totalnum '; break; case 'schedule': - $field = 'el.e_enable,el.e_number,el.e_vid,el.e_bno,el.e_aps,el.e_size,la.*,ct.h_cid'; + $field = 'el.e_enable,el.e_number,el.e_vid,el.e_bno,el.e_aps,el.e_size,el.e_label,la.*,ct.h_cid';// el.e_text, break; case 'villages': $field = " vi.*, COUNT( DISTINCT el.e_number) AS v_enum,COUNT(DISTINCT el.e_vid, el.e_bno) AS v_ebnonum,COUNT( el.e_enable = 0 OR NULL ) AS noban,ANY_VALUE(anum.v_free) AS v_free,ANY_VALUE( anum.v_bno ) AS v_bno,ANY_VALUE(bnum.v_lease) AS v_lease,ANY_VALUE(cnum.v_endday) AS v_endday,ANY_VALUE(dnum.v_prerow) AS v_prerow "; diff --git a/include/traits/tfield.class.php b/include/traits/tfield.class.php index 0be5282..563fbe9 100644 --- a/include/traits/tfield.class.php +++ b/include/traits/tfield.class.php @@ -3,7 +3,7 @@ //表对应字段 trait tfield { - + //广告位统计 protected function tf_elevator($sign = true) { @@ -19,7 +19,7 @@ trait tfield 'e_text' => '备注' ]; } - + //场所统计 protected function tf_village($sign = true) { @@ -42,7 +42,7 @@ trait tfield 'v_text' => '备注' ]; } - + //广告合同关联表 protected function tf_schedule($sign = '') { @@ -65,6 +65,8 @@ trait tfield 'e_enable' => '状态', // 'e_number' => '广告位编号', 'e_size' => '广告位规格', +// 'e_text' => '备注', + 'e_label' => '相关标签', 'e_vid' => '场所名称', 'v_vaddress' => '场所地址', 'v_hcname' => '所属商圈', @@ -79,7 +81,7 @@ trait tfield ]; return $sign || $this->bsign ? $barray : $array; } - + //合同 protected function tf_contract($sign = true) { @@ -102,7 +104,7 @@ trait tfield 'h_text' => '备注' ]; } - + //企业资料 protected function tf_customer($sign = true) { @@ -118,7 +120,7 @@ trait tfield 'c_text' => '备注', ]; } - + //企业联系人 protected function tf_workers($sign = true) { @@ -133,7 +135,7 @@ trait tfield 'w_text' => '备注', ]; } - + //参数 protected function tf_para($sign = true) { @@ -147,7 +149,7 @@ trait tfield 'p_text' => '备注' ]; } - + // 投放页面选择广告位 protected function tf_launch($sign = true) { @@ -166,7 +168,7 @@ trait tfield 'l_updatetime' => '修改时间' ]; } - + // 投放页面选择广告位 protected function tf_applan($sign = true) { @@ -188,7 +190,7 @@ trait tfield 'e_types' => '状态提示' ]; } - + //广告位查询统计 protected function tf_elevators($sign = true) { @@ -212,7 +214,7 @@ trait tfield 'etypes' => '排期状态' ]; } - + //广告位查询统计 protected function tf_villages($sign = true) { @@ -246,7 +248,7 @@ trait tfield } return $array; } - + //广告位查询统计 protected function tf_noticeday($sign = true) { @@ -264,7 +266,7 @@ trait tfield 'htypes' => '提示说明' ]; } - + //前台巡查页面 protected function tf_patrol($sign = true) { @@ -277,7 +279,7 @@ trait tfield // 'nowetime' => '剩余', ]; } - + //巡查列表 protected function tf_keylist($sign = true) { @@ -292,5 +294,5 @@ trait tfield 'k_text' => '备注' ]; } - + }