From 5f510cd4d95210c054171f0b96f7292cd9caf034 Mon Sep 17 00:00:00 2001 From: jbRotk <2436953959@qq.com> Date: Thu, 6 Feb 2020 14:26:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=A5=96=E6=83=A9=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StatementMangementController.class.php | 2 ++ .../StatementMangement/rewardManageList.html | 2 ++ .../StatementMangement/rewardManageSave.html | 24 +++++++++++++++++++ 3 files changed, 28 insertions(+) diff --git a/Application/Admin/Controller/StatementMangementController.class.php b/Application/Admin/Controller/StatementMangementController.class.php index 27893eb82..d322bc57f 100644 --- a/Application/Admin/Controller/StatementMangementController.class.php +++ b/Application/Admin/Controller/StatementMangementController.class.php @@ -241,6 +241,7 @@ class StatementMangementController extends ThinkController $item['reward_type_desc'] = $item['reward_type'] == 1 ? "奖励" : "惩罚"; $item['company_type_desc'] = $item['company_type'] == 1 ? "上游公司" : "下游公司"; $item['relation_game_name'] = $games[$item['relation_game_id']]; + $item['reward_time'] = date('Y-m-d H:i:s', $item['reward_time']); // if ($item['company_type'] == 1) { // } else { @@ -268,6 +269,7 @@ class StatementMangementController extends ThinkController 'money' => I('money'), 'content' => I('content'), 'remark' => I('remark'), + 'reward_time' => strtotime(I('reward_time')) ]; $accounts = I('account'); $user_types = I('user_type'); diff --git a/Application/Admin/View/StatementMangement/rewardManageList.html b/Application/Admin/View/StatementMangement/rewardManageList.html index e045ca3e6..5eff7bb53 100644 --- a/Application/Admin/View/StatementMangement/rewardManageList.html +++ b/Application/Admin/View/StatementMangement/rewardManageList.html @@ -73,6 +73,7 @@ 事件 金额 备注 + 奖罚时间 添加人 操作 @@ -102,6 +103,7 @@ {$data.content} {$data.money} {$data.remark} + {:date('Y-m-d H:i:s',$data['reward_time'])} {:get_admin_nickname($data['creater_id'])} 编辑 diff --git a/Application/Admin/View/StatementMangement/rewardManageSave.html b/Application/Admin/View/StatementMangement/rewardManageSave.html index 1cbf4feba..08332f1bf 100644 --- a/Application/Admin/View/StatementMangement/rewardManageSave.html +++ b/Application/Admin/View/StatementMangement/rewardManageSave.html @@ -51,6 +51,15 @@ + + if(C('COLOR_STYLE')=='blue_color') echo ' + + '; + + + +
@@ -76,6 +85,10 @@ +
  • + + +
  • $account):?> @@ -159,6 +172,17 @@ $(this).parents('li').remove(); }); + // $('#reward_time').datetimepicker({ + // format: 'yyyy-mm-dd', + // language: "zh-CN", + // minView: 2, + // autoclose: true + // }); + $('#reward_time').datetimepicker({ + language:"zh-CN", + hour: 13, + minute: 15 + }); var company_id = '{$data["company_id"]}'; function companyTypeChange() {