切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
何书鹏
4 years ago
提交
404c2e3b48945be6961679e6fb7519275eb41348
1 个父辈
e9d8a3cf
1 个管道 的构建
通过
耗费 0 秒
selectpage
变更
4
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
8 行增加
和
2 行删除
application/admin/controller/user/User.php
application/admin/lang/zh-cn/user/user.php
application/admin/view/job/add.html
application/admin/view/job/edit.html
application/admin/controller/user/User.php
查看文件 @
404c2e3
...
...
@@ -45,6 +45,11 @@ class User extends Backend
public
function
index
()
{
if
(
$this
->
request
->
isAjax
())
{
//如果发送的来源是Selectpage,则转发到Selectpage
if
(
$this
->
request
->
request
(
'keyField'
))
{
return
$this
->
selectpage
();
}
$list
=
$this
->
userlist
;
$total
=
count
(
$this
->
userlist
);
...
...
application/admin/lang/zh-cn/user/user.php
查看文件 @
404c2e3
...
...
@@ -30,6 +30,7 @@ return [
'Token'
=>
'Token'
,
'Status'
=>
'状态'
,
'Leave password blank if dont want to change'
=>
'不修改密码请留空'
,
'Pid'
=>
'上级ID'
,
'Is_work'
=>
'是否在职'
,
'Is_complete'
=>
'补贴是否完成'
,
'Work_subsidy'
=>
'工时补贴价格(元/时)'
,
...
...
application/admin/view/job/add.html
查看文件 @
404c2e3
...
...
@@ -123,7 +123,7 @@
<div
class=
"form-group"
>
<label
class=
"control-label col-xs-12 col-sm-2"
>
{:__('User_ids')}:
</label>
<div
class=
"col-xs-12 col-sm-8"
>
<input
id=
"c-user_ids"
data-source=
"user/user/index"
data-multiple=
"true"
data-field=
"nickname"
class=
"form-control selectpage"
name=
"row[user_ids]"
type=
"text"
value=
""
>
<input
id=
"c-user_ids"
data-source=
"user/user/index"
data-multiple=
"true"
data-field=
"nickname"
data-params=
'{"isTree":1}'
class=
"form-control selectpage"
name=
"row[user_ids]"
type=
"text"
value=
""
>
</div>
</div>
<div
class=
"form-group layer-footer"
>
...
...
application/admin/view/job/edit.html
查看文件 @
404c2e3
...
...
@@ -123,7 +123,7 @@
<div
class=
"form-group"
>
<label
class=
"control-label col-xs-12 col-sm-2"
>
{:__('User_ids')}:
</label>
<div
class=
"col-xs-12 col-sm-8"
>
<input
id=
"c-user_ids"
data-source=
"user/user/index"
data-multiple=
"true"
data-field=
"nickname"
class=
"form-control selectpage"
name=
"row[user_ids]"
type=
"text"
value=
"{$row.user_ids|htmlentities}"
>
<input
id=
"c-user_ids"
data-source=
"user/user/index"
data-multiple=
"true"
data-field=
"nickname"
data-params=
'{"isTree":1}'
class=
"form-control selectpage"
name=
"row[user_ids]"
type=
"text"
value=
"{$row.user_ids|htmlentities}"
>
</div>
</div>
<div
class=
"form-group layer-footer"
>
...
...
请
注册
或
登录
后发表评论