切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
郭静帆
4 years ago
提交
d6796c8986313414c5b57662fbc3b764d4338586
1 个父辈
c167d2ae
1 个管道 的构建
通过
耗费 1 秒
本月额外收入
变更
3
构建
2
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
5 行增加
和
2 行删除
application/admin/controller/user/User.php
application/admin/lang/zh-cn/user/user.php
application/admin/view/user/user/edit.html
application/admin/controller/user/User.php
查看文件 @
d6796c8
...
...
@@ -121,6 +121,8 @@ class User extends Backend
$this
->
error
(
__
(
'No Results were found'
));
}
$this
->
view
->
assign
(
'groupList'
,
build_select
(
'row[group_id]'
,
\app\admin\model\UserGroup
::
column
(
'id,name'
),
$row
[
'group_id'
],
[
'class'
=>
'form-control selectpicker'
]));
$this
->
view
->
assign
(
'start_time'
,
date
(
'Y-m-d'
,
strtotime
(
'-1month'
)));
$this
->
view
->
assign
(
'end_time'
,
date
(
'Y-m-d'
,
strtotime
(
'0day'
)));
return
parent
::
edit
(
$ids
);
}
...
...
application/admin/lang/zh-cn/user/user.php
查看文件 @
d6796c8
...
...
@@ -43,5 +43,6 @@ return [
'Roledata'
=>
'角色'
,
'Roledata 0'
=>
'用户'
,
'Roledata 1'
=>
'合伙人'
,
'Idcard_front'
=>
'收款码'
'Idcard_front'
=>
'收款码'
,
'Join_time'
=>
'入职时间'
];
...
...
application/admin/view/user/user/edit.html
查看文件 @
d6796c8
...
...
@@ -29,7 +29,7 @@
<div
class=
"form-group"
>
<label
class=
"control-label col-xs-12 col-sm-2"
>
{:__('Join_time')}:
</label>
<div
class=
"col-xs-12 col-sm-8"
>
<input
id=
"c-join_time"
class=
"form-control datetimepicker"
data-date-format=
"YYYY-MM-DD HH:mm:ss"
data-use-current=
"true"
name=
"row[join_time]"
type=
"text"
value=
"{:$row.join_time?datetime($row.join_time):''}"
>
<input
id=
"c-join_time"
class=
"form-control datetimepicker"
data-date-format=
"YYYY-MM-DD HH:mm:ss"
data-
date-min-date=
"{$start_time}"
data-date-max-date=
"{$end_time}"
data-
use-current=
"true"
name=
"row[join_time]"
type=
"text"
value=
"{:$row.join_time?datetime($row.join_time):''}"
>
</div>
</div>
<div
class=
"form-group"
>
...
...
请
注册
或
登录
后发表评论