Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
b9fb72c9
Commit
b9fb72c9
authored
Mar 15, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间选择器修改
parent
f728ed5b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
index.vue
src/views/infra/apiAccessLog/index.vue
+3
-3
index.vue
src/views/infra/apiErrorLog/index.vue
+3
-3
index.vue
src/views/system/loginlog/index.vue
+4
-4
index.vue
src/views/system/operatelog/index.vue
+4
-4
No files found.
src/views/infra/apiAccessLog/index.vue
View file @
b9fb72c9
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
<el-input
v-model=
"queryParams.requestUrl"
:placeholder=
"$t('请输入请求地址')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.requestUrl"
:placeholder=
"$t('请输入请求地址')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('请求时间')"
>
<el-form-item
:label=
"$t('请求时间')"
>
<el-date-picker
v-model=
"dateRangeBeginTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
<el-date-picker
v-model=
"dateRangeBeginTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd
HH:mm:ss
"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
type=
"date
time
range"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('执行时长')"
prop=
"duration"
>
<el-form-item
:label=
"$t('执行时长')"
prop=
"duration"
>
<el-input
v-model=
"queryParams.duration"
:placeholder=
"$t('请输入执行时长')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.duration"
:placeholder=
"$t('请输入执行时长')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
// 处理查询参数
// 处理查询参数
let
params
=
{...
this
.
queryParams
};
let
params
=
{...
this
.
queryParams
};
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeBeginTime
,
'
beginTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeBeginTime
,
'
beginTime
'
,
false
);
// 执行查询
// 执行查询
getApiAccessLogPage
(
params
).
then
(
response
=>
{
getApiAccessLogPage
(
params
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
;
...
...
src/views/infra/apiErrorLog/index.vue
View file @
b9fb72c9
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
<el-input
v-model=
"queryParams.requestUrl"
:placeholder=
"$t('请输入请求地址')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.requestUrl"
:placeholder=
"$t('请输入请求地址')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('异常时间')"
>
<el-form-item
:label=
"$t('异常时间')"
>
<el-date-picker
v-model=
"dateRangeExceptionTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
<el-date-picker
v-model=
"dateRangeExceptionTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd
HH:mm:ss
"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
type=
"date
time
range"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('处理状态')"
prop=
"processStatus"
>
<el-form-item
:label=
"$t('处理状态')"
prop=
"processStatus"
>
<el-select
v-model=
"queryParams.processStatus"
:placeholder=
"$t('请选择处理状态')"
clearable
>
<el-select
v-model=
"queryParams.processStatus"
:placeholder=
"$t('请选择处理状态')"
clearable
>
...
@@ -168,7 +168,7 @@ export default {
...
@@ -168,7 +168,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
// 处理查询参数
// 处理查询参数
let
params
=
{...
this
.
queryParams
};
let
params
=
{...
this
.
queryParams
};
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeExceptionTime
,
'
exceptionTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeExceptionTime
,
'
exceptionTime
'
,
false
);
// 执行查询
// 执行查询
getApiErrorLogPage
(
params
).
then
(
response
=>
{
getApiErrorLogPage
(
params
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
;
...
...
src/views/system/loginlog/index.vue
View file @
b9fb72c9
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('登录时间')"
>
<el-form-item
:label=
"$t('登录时间')"
>
<el-date-picker
v-model=
"dateRange"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
<el-date-picker
v-model=
"dateRange"
style=
"width: 240px"
value-format=
"yyyy-MM-dd
HH:mm:ss
"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
type=
"date
time
range"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
...
@@ -99,8 +99,8 @@ export default {
...
@@ -99,8 +99,8 @@ export default {
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
list
(
this
.
addDateRange
(
this
.
queryParams
,
[
list
(
this
.
addDateRange
(
this
.
queryParams
,
[
this
.
dateRange
[
0
]
?
this
.
dateRange
[
0
]
+
'
00:00:00
'
:
undefined
,
this
.
dateRange
[
0
]
,
this
.
dateRange
[
1
]
?
this
.
dateRange
[
1
]
+
'
23:59:59
'
:
undefined
,
this
.
dateRange
[
1
],
])).
then
(
response
=>
{
])).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
;
this
.
total
=
response
.
data
.
total
;
this
.
total
=
response
.
data
.
total
;
...
...
src/views/system/operatelog/index.vue
View file @
b9fb72c9
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('操作时间')"
>
<el-form-item
:label=
"$t('操作时间')"
>
<el-date-picker
v-model=
"dateRange"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
<el-date-picker
v-model=
"dateRange"
style=
"width: 240px"
value-format=
"yyyy-MM-dd
HH:mm:ss
"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
type=
"date
time
range"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
...
@@ -171,8 +171,8 @@ export default {
...
@@ -171,8 +171,8 @@ export default {
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
listOperateLog
(
this
.
addDateRange
(
this
.
queryParams
,
[
listOperateLog
(
this
.
addDateRange
(
this
.
queryParams
,
[
this
.
dateRange
[
0
]
?
this
.
dateRange
[
0
]
+
'
00:00:00
'
:
undefined
,
this
.
dateRange
[
0
]
,
this
.
dateRange
[
1
]
?
this
.
dateRange
[
1
]
+
'
23:59:59
'
:
undefined
,
this
.
dateRange
[
1
],
])).
then
(
response
=>
{
])).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
;
this
.
total
=
response
.
data
.
total
;
this
.
total
=
response
.
data
.
total
;
...
...
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