切换导航条
此项目
正在载入...
登录
王智
/
technical
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
wangzhi
4 years ago
提交
eb7f9e0f93d39dba88a8b0d34e433e23a999ebfc
1 个父辈
685c0317
后台修改
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
1 行删除
application/admin/view/report/edit.html
public/assets/js/backend/report.js
application/admin/view/report/edit.html
查看文件 @
eb7f9e0
...
...
@@ -65,7 +65,7 @@
<div
class=
"form-group"
>
<label
class=
"control-label col-xs-12 col-sm-2"
>
{:__('En_user_id')}:
</label>
<div
class=
"col-xs-12 col-sm-8"
>
<input
id=
"c-en_user_id"
data-rule=
"required"
data-source=
"user/index"
data-params=
'{"custom[type_id]":["EQ",{$row.type_id}]}'
data-field=
"nickname"
class=
"form-control selectpage"
name=
"row[en_user_id]"
type=
"text"
value=
"{$row.en_user_id|htmlentities}"
>
<input
id=
"c-en_user_id"
data-rule=
"required"
data-source=
"user/index"
data-field=
"nickname"
class=
"form-control selectpage"
name=
"row[en_user_id]"
type=
"text"
value=
"{$row.en_user_id|htmlentities}"
>
</div>
</div>
<!-- <div class="form-group">-->
...
...
public/assets/js/backend/report.js
查看文件 @
eb7f9e0
...
...
@@ -61,6 +61,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
Controller
.
api
.
bindevent
();
},
edit
:
function
()
{
$
(
"#c-type_id"
).
data
(
"params"
,
function
(
obj
)
{
return
{
custom
:
{
type_id
:
$
(
"#c-type_id"
).
val
()}};
});
Controller
.
api
.
bindevent
();
},
api
:
{
...
...
请
注册
或
登录
后发表评论