切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
8 years ago
提交
20c7963e22e332e5ac6adaace0721d275754d93b
1 个父辈
f11f4a77
修复批量选中编辑时的错误
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
public/assets/js/require-backend.min.js
public/assets/js/require-table.js
public/assets/js/require-backend.min.js
查看文件 @
20c7963
...
...
@@ -7903,9 +7903,10 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr
// 批量编辑按钮事件
$
(
toolbar
).
on
(
'click'
,
Table
.
config
.
editbtn
,
function
()
{
var
ids
=
Table
.
api
.
selectedids
(
table
);
var
that
=
this
;
//循环弹出多个编辑框
$
.
each
(
ids
,
function
(
i
,
j
)
{
Fast
.
api
.
open
(
options
.
extend
.
edit_url
+
(
options
.
extend
.
edit_url
.
match
(
/
(\?
|&
)
+/
)
?
"&ids="
:
"/ids/"
)
+
j
,
__
(
'Edit'
),
$
(
th
is
).
data
()
||
{});
Fast
.
api
.
open
(
options
.
extend
.
edit_url
+
(
options
.
extend
.
edit_url
.
match
(
/
(\?
|&
)
+/
)
?
"&ids="
:
"/ids/"
)
+
j
,
__
(
'Edit'
),
$
(
th
at
).
data
()
||
{});
});
});
// 批量操作按钮事件
...
...
public/assets/js/require-table.js
查看文件 @
20c7963
...
...
@@ -158,9 +158,10 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
// 批量编辑按钮事件
$
(
toolbar
).
on
(
'click'
,
Table
.
config
.
editbtn
,
function
()
{
var
ids
=
Table
.
api
.
selectedids
(
table
);
var
that
=
this
;
//循环弹出多个编辑框
$
.
each
(
ids
,
function
(
i
,
j
)
{
Fast
.
api
.
open
(
options
.
extend
.
edit_url
+
(
options
.
extend
.
edit_url
.
match
(
/
(\?
|&
)
+/
)
?
"&ids="
:
"/ids/"
)
+
j
,
__
(
'Edit'
),
$
(
th
is
).
data
()
||
{});
Fast
.
api
.
open
(
options
.
extend
.
edit_url
+
(
options
.
extend
.
edit_url
.
match
(
/
(\?
|&
)
+/
)
?
"&ids="
:
"/ids/"
)
+
j
,
__
(
'Edit'
),
$
(
th
at
).
data
()
||
{});
});
});
// 批量操作按钮事件
...
...
请
注册
或
登录
后发表评论