Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MeterSphere
metersphere
提交
e052927c
M
metersphere
项目概览
MeterSphere
/
metersphere
上一次同步 大约 3 年
通知
25
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
metersphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e052927c
编写于
7月 14, 2020
作者:
Q
q4speed
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 合并代码
上级
bc74a0a9
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
48 addition
and
11 deletion
+48
-11
frontend/src/business/components/common/components/search/MsTableAdvSearchBar.vue
...mponents/common/components/search/MsTableAdvSearchBar.vue
+39
-2
frontend/src/business/components/common/components/search/search-components.js
.../components/common/components/search/search-components.js
+9
-9
未找到文件。
frontend/src/business/components/common/components/search/MsTableAdvSearchBar.vue
浏览文件 @
e052927c
...
...
@@ -80,6 +80,33 @@
}
</
script
>
<
style
>
@media
only
screen
and
(
min-width
:
1800px
)
{
.el-dialog.adv-dialog
{
width
:
70%
;
}
}
@media
only
screen
and
(
min-width
:
1560px
)
and
(
max-width
:
1799px
)
{
.el-dialog.adv-dialog
{
width
:
80%
;
}
}
@media
only
screen
and
(
min-width
:
1400px
)
and
(
max-width
:
1559px
)
{
.el-dialog.adv-dialog
{
width
:
90%
;
}
}
@media
only
screen
and
(
max-width
:
1399px
)
{
.el-dialog.adv-dialog
{
width
:
70%
;
min-width
:
695px
;
}
}
</
style
>
<
style
scoped
>
.adv-search-bar
{
margin-left
:
5px
;
...
...
@@ -104,10 +131,20 @@
width
:
100%
;
}
@media
only
screen
and
(
max-width
:
1399px
)
{
.search-item
{
width
:
100%
;
}
}
@media
only
screen
and
(
min-width
:
1400px
)
{
.search-item
{
width
:
50%
;
}
}
.search-item
{
display
:
inline-block
;
width
:
50%
;
max-width
:
50%
;
margin-top
:
10px
;
}
</
style
>
frontend/src/business/components/common/components/search/search-components.js
浏览文件 @
e052927c
...
...
@@ -163,7 +163,7 @@ export const TRIGGER_MODE = {
export
const
PRIORITY
=
{
key
:
"
priority
"
,
name
:
'
MsTableSearchSelect
'
,
label
:
i18n
.
t
(
"
test_track.case.priority
"
)
,
label
:
"
test_track.case.priority
"
,
operator
:
{
options
:
[
OPERATORS
.
IN
,
OPERATORS
.
NOT_IN
]
},
...
...
@@ -181,14 +181,14 @@ export const PRIORITY = {
export
const
TYPE
=
{
key
:
"
type
"
,
name
:
'
MsTableSearchSelect
'
,
label
:
i18n
.
t
(
"
test_track.case.type
"
)
,
label
:
"
test_track.case.type
"
,
operator
:
{
options
:
[
OPERATORS
.
IN
,
OPERATORS
.
NOT_IN
]
},
options
:
[
{
label
:
i18n
.
t
(
'
commons.functional
'
)
,
value
:
'
functional
'
},
{
label
:
i18n
.
t
(
'
commons.performance
'
)
,
value
:
'
performance
'
},
{
label
:
i18n
.
t
(
'
commons.api
'
)
,
value
:
'
api
'
}
{
label
:
'
commons.functional
'
,
value
:
'
functional
'
},
{
label
:
'
commons.performance
'
,
value
:
'
performance
'
},
{
label
:
'
commons.api
'
,
value
:
'
api
'
}
],
props
:
{
multiple
:
true
...
...
@@ -198,13 +198,13 @@ export const TYPE = {
export
const
METHOD
=
{
key
:
"
method
"
,
name
:
'
MsTableSearchSelect
'
,
label
:
i18n
.
t
(
"
test_track.case.method
"
)
,
label
:
"
test_track.case.method
"
,
operator
:
{
options
:
[
OPERATORS
.
IN
,
OPERATORS
.
NOT_IN
]
},
options
:
[
{
label
:
i18n
.
t
(
'
test_track.case.manual
'
)
,
value
:
'
manual
'
},
{
label
:
i18n
.
t
(
'
test_track.case.auto
'
)
,
value
:
'
auto
'
}
{
label
:
'
test_track.case.manual
'
,
value
:
'
manual
'
},
{
label
:
'
test_track.case.auto
'
,
value
:
'
auto
'
}
],
props
:
{
multiple
:
true
...
...
@@ -214,7 +214,7 @@ export const METHOD = {
export
const
MODULE
=
{
key
:
"
module
"
,
name
:
'
MsTableSearchInput
'
,
label
:
i18n
.
t
(
"
test_track.case.module
"
)
,
label
:
"
test_track.case.module
"
,
operator
:
{
value
:
OPERATORS
.
LIKE
.
value
,
// 如果未设置value初始值,则value初始值为options[0]
options
:
[
OPERATORS
.
LIKE
,
OPERATORS
.
NOT_LIKE
]
// 运算符候选项
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录