切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
7 years ago
提交
3eb938e72279df17a7fb717321c826f5537624ed
1 个父辈
fc2f8774
修复Layer样式丢失的BUG
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
public/assets/js/require-backend.min.js
public/assets/js/require-table.js
public/assets/js/require-backend.min.js
查看文件 @
3eb938e
...
...
@@ -9780,7 +9780,7 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr
color
=
index
>
-
1
&&
typeof
colorArr
[
index
]
!==
'undefined'
?
colorArr
[
index
]
:
'primary'
;
}
if
(
!
display
)
{
display
=
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
);
display
=
__
(
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
)
);
}
var
html
=
'<span class="text-'
+
color
+
'">'
+
(
icon
?
'<i class="'
+
icon
+
'"></i> '
:
''
)
+
display
+
'</span>'
;
if
(
this
.
operate
!=
false
)
{
...
...
@@ -9834,7 +9834,7 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr
if
(
value
==
''
)
return
true
;
var
color
=
value
&&
typeof
colorArr
[
value
]
!==
'undefined'
?
colorArr
[
value
]
:
'primary'
;
var
display
=
typeof
that
.
searchList
!==
'undefined'
&&
typeof
that
.
searchList
[
value
]
!==
'undefined'
?
that
.
searchList
[
value
]
:
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
);
var
display
=
typeof
that
.
searchList
!==
'undefined'
&&
typeof
that
.
searchList
[
value
]
!==
'undefined'
?
that
.
searchList
[
value
]
:
__
(
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
)
);
html
.
push
(
'<a href="javascript:;" class="searchit" data-toggle="tooltip" title="'
+
__
(
'Click to search %s'
,
display
)
+
'" data-field="'
+
field
+
'" data-value="'
+
value
+
'"><span class="label label-'
+
color
+
'">'
+
display
+
'</span></a>'
);
});
return
html
.
join
(
' '
);
...
...
public/assets/js/require-table.js
查看文件 @
3eb938e
...
...
@@ -410,7 +410,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
color
=
index
>
-
1
&&
typeof
colorArr
[
index
]
!==
'undefined'
?
colorArr
[
index
]
:
'primary'
;
}
if
(
!
display
)
{
display
=
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
);
display
=
__
(
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
)
);
}
var
html
=
'<span class="text-'
+
color
+
'">'
+
(
icon
?
'<i class="'
+
icon
+
'"></i> '
:
''
)
+
display
+
'</span>'
;
if
(
this
.
operate
!=
false
)
{
...
...
@@ -464,7 +464,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
if
(
value
==
''
)
return
true
;
var
color
=
value
&&
typeof
colorArr
[
value
]
!==
'undefined'
?
colorArr
[
value
]
:
'primary'
;
var
display
=
typeof
that
.
searchList
!==
'undefined'
&&
typeof
that
.
searchList
[
value
]
!==
'undefined'
?
that
.
searchList
[
value
]
:
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
);
var
display
=
typeof
that
.
searchList
!==
'undefined'
&&
typeof
that
.
searchList
[
value
]
!==
'undefined'
?
that
.
searchList
[
value
]
:
__
(
value
.
charAt
(
0
).
toUpperCase
()
+
value
.
slice
(
1
)
);
html
.
push
(
'<a href="javascript:;" class="searchit" data-toggle="tooltip" title="'
+
__
(
'Click to search %s'
,
display
)
+
'" data-field="'
+
field
+
'" data-value="'
+
value
+
'"><span class="label label-'
+
color
+
'">'
+
display
+
'</span></a>'
);
});
return
html
.
join
(
' '
);
...
...
请
注册
或
登录
后发表评论