切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
5 years ago
提交
a3a5707cdda73c3c29167dd44082bee9106e4c8e
1 个父辈
b9d55fca
优化searchList修改后刷新事件
优化标题过长时固定宽度不生效的BUG
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
public/assets/js/bootstrap-table-commonsearch.js
public/assets/js/require-backend.min.js
public/assets/js/bootstrap-table-commonsearch.js
查看文件 @
a3a5707
...
...
@@ -95,7 +95,7 @@
searchList
=
ret
;
}
var
optionList
=
createOptionList
(
searchList
,
vObjCol
,
that
);
$
(
"form.form-commonsearch select[name='"
+
vObjCol
.
field
+
"']"
,
that
.
$container
).
html
(
optionList
.
join
(
''
));
$
(
"form.form-commonsearch select[name='"
+
vObjCol
.
field
+
"']"
,
that
.
$container
).
html
(
optionList
.
join
(
''
))
.
trigger
(
"change"
)
;
});
})(
vObjCol
,
that
);
}
else
{
...
...
@@ -292,7 +292,7 @@
this
.
$header
.
find
(
'th[data-field]'
).
each
(
function
(
i
)
{
var
column
=
$
(
this
).
data
();
if
(
typeof
column
[
'width'
]
!==
'undefined'
)
{
$
(
this
).
css
(
"m
in
-width"
,
column
[
'width'
]);
$
(
this
).
css
(
"m
ax
-width"
,
column
[
'width'
]);
}
});
this
.
options
.
stateField
=
this
.
header
.
stateField
;
...
...
public/assets/js/require-backend.min.js
查看文件 @
a3a5707
...
...
@@ -10627,7 +10627,7 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator'], function ($, undef
searchList
=
ret
;
}
var
optionList
=
createOptionList
(
searchList
,
vObjCol
,
that
);
$
(
"form.form-commonsearch select[name='"
+
vObjCol
.
field
+
"']"
,
that
.
$container
).
html
(
optionList
.
join
(
''
));
$
(
"form.form-commonsearch select[name='"
+
vObjCol
.
field
+
"']"
,
that
.
$container
).
html
(
optionList
.
join
(
''
))
.
trigger
(
"change"
)
;
});
})(
vObjCol
,
that
);
}
else
{
...
...
@@ -10824,7 +10824,7 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator'], function ($, undef
this
.
$header
.
find
(
'th[data-field]'
).
each
(
function
(
i
)
{
var
column
=
$
(
this
).
data
();
if
(
typeof
column
[
'width'
]
!==
'undefined'
)
{
$
(
this
).
css
(
"m
in
-width"
,
column
[
'width'
]);
$
(
this
).
css
(
"m
ax
-width"
,
column
[
'width'
]);
}
});
this
.
options
.
stateField
=
this
.
header
.
stateField
;
...
...
请
注册
或
登录
后发表评论