Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
ece50a3e
Commit
ece50a3e
authored
Nov 17, 2019
by
dqjdda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日期查询优化
parent
8e60664e
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
57 additions
and
15 deletions
+57
-15
src/views/generator/config.vue
+46
-15
src/views/monitor/log/search.vue
+1
-0
src/views/system/dept/index.vue
+1
-0
src/views/system/job/index.vue
+1
-0
src/views/system/menu/index.vue
+1
-0
src/views/system/role/index.vue
+1
-0
src/views/system/timing/index.vue
+1
-0
src/views/system/timing/log.vue
+1
-0
src/views/system/user/index.vue
+1
-0
src/views/tools/picture/index.vue
+1
-0
src/views/tools/storage/local/index.vue
+1
-0
src/views/tools/storage/qiniu/index.vue
+1
-0
No files found.
src/views/generator/config.vue
View file @
ece50a3e
...
...
@@ -30,7 +30,7 @@
</el-tab-pane>
<el-tab-pane
label=
"字段配置"
name=
"second"
>
<el-form
size=
"small"
label-width=
"90px"
>
<el-table
v-loading=
"loading"
:data=
"data"
size=
"small"
style=
"width: 100%;margin-bottom: 15px"
>
<el-table
v-loading=
"loading"
:data=
"data"
:height=
"tableHeight"
size=
"small"
style=
"width: 100%;margin-bottom: 15px"
>
<el-table-column
label=
"序号"
width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<div>
{{
scope
.
$index
+
1
}}
</div>
...
...
@@ -38,14 +38,44 @@
</el-table-column>
<el-table-column
prop=
"columnName"
label=
"字段名称"
/>
<el-table-column
prop=
"columnType"
label=
"字段类型"
/>
<el-table-column
prop=
"columnComment"
label=
"字段
标题
"
>
<el-table-column
prop=
"columnComment"
label=
"字段
描述
"
>
<
template
slot-scope=
"scope"
>
<el-input
v-model=
"data[scope.$index].columnComment"
class=
"edit-input"
/>
<el-input
v-model=
"data[scope.$index].columnComment"
size=
"mini"
class=
"edit-input"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"columnShow"
label=
"必填"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"data[scope.$index].columnShow"
active-color=
"#409EFF"
inactive-color=
"#F56C6C"
active-value=
"true"
inactive-value=
"false"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"columnShow"
label=
"表单"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"data[scope.$index].columnShow"
active-color=
"#409EFF"
inactive-color=
"#F56C6C"
active-value=
"true"
inactive-value=
"false"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"columnShow"
label=
"列表"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"data[scope.$index].columnShow"
active-color=
"#409EFF"
inactive-color=
"#F56C6C"
active-value=
"true"
inactive-value=
"false"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"查询方式"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"data[scope.$index].columnQuery"
class=
"edit-input"
clearable
placeholder=
"请选择"
>
<el-select
v-model=
"data[scope.$index].columnQuery"
class=
"edit-input"
clearable
size=
"mini"
placeholder=
"请选择"
>
<el-option
label=
"模糊查询"
value=
"1"
/>
...
...
@@ -55,16 +85,16 @@
</el-select>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"columnShow"
label=
"列表显示
"
>
<el-table-column
label=
"关联字典
"
>
<
template
slot-scope=
"scope"
>
<el-
tooltip
:content=
"scope.row.columnShow === 'true' ?'显示':'不显示'"
placement=
"top
"
>
<el-
switch
v-model=
"data[scope.$index].columnShow
"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
active-value=
"true
"
inactive-value=
"false
"
/>
</el-
tooltip
>
<el-
select
v-model=
"data[scope.$index].columnQuery"
class=
"edit-input"
clearable
size=
"mini"
placeholder=
"请选择
"
>
<el-
option
label=
"模糊查询
"
value=
"1"
/>
<el-option
label=
"精确查询
"
value=
"2
"
/>
</el-
select
>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -82,7 +112,7 @@ export default {
mixins
:
[
initData
],
data
()
{
return
{
activeName
:
'second'
,
tableName
:
''
,
activeName
:
'second'
,
tableName
:
''
,
tableHeight
:
550
,
form
:
{
author
:
''
,
pack
:
''
,
path
:
''
,
moduleName
:
''
,
cover
:
'false'
,
apiPath
:
''
,
prefix
:
''
},
rules
:
{
author
:
[
...
...
@@ -104,6 +134,7 @@ export default {
}
},
created
()
{
this
.
tableHeight
=
document
.
documentElement
.
clientHeight
-
260
this
.
tableName
=
this
.
$route
.
params
.
tableName
this
.
$nextTick
(()
=>
{
this
.
init
()
...
...
@@ -143,7 +174,7 @@ export default {
<
style
rel=
"stylesheet/scss"
lang=
"scss"
>
.edit-input
{
.el-input__inner
{
border
:
none
;
border
:
1px
solid
#e5e6e7
;
}
}
</
style
>
...
...
src/views/monitor/log/search.vue
View file @
ece50a3e
...
...
@@ -3,6 +3,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"请输入你要搜索的内容"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/system/dept/index.vue
View file @
ece50a3e
...
...
@@ -6,6 +6,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"输入部门名称搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/system/job/index.vue
View file @
ece50a3e
...
...
@@ -6,6 +6,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"输入岗位名称搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/system/menu/index.vue
View file @
ece50a3e
...
...
@@ -6,6 +6,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"模糊搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/system/role/index.vue
View file @
ece50a3e
...
...
@@ -8,6 +8,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"输入名称或者描述搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/system/timing/index.vue
View file @
ece50a3e
...
...
@@ -6,6 +6,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"输入任务名称搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/system/timing/log.vue
View file @
ece50a3e
...
...
@@ -5,6 +5,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"输入任务名称搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/system/user/index.vue
View file @
ece50a3e
...
...
@@ -18,6 +18,7 @@
<el-input
v-model=
"query.blurry"
clearable
placeholder=
"输入名称或者邮箱搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/tools/picture/index.vue
View file @
ece50a3e
...
...
@@ -6,6 +6,7 @@
<el-input
v-model=
"query.filename"
clearable
placeholder=
"输入文件名"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/tools/storage/local/index.vue
View file @
ece50a3e
...
...
@@ -6,6 +6,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"输入内容模糊搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
src/views/tools/storage/qiniu/index.vue
View file @
ece50a3e
...
...
@@ -8,6 +8,7 @@
<el-input
v-model=
"query.value"
clearable
placeholder=
"输入文件名称搜索"
style=
"width: 200px;"
class=
"filter-item"
@
keyup
.
enter
.
native=
"toQuery"
/>
<el-date-picker
v-model=
"query.date"
:default-time=
"['00:00:00','23:59:59']"
type=
"daterange"
range-separator=
":"
class=
"el-range-editor--small filter-item"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment