Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
34f41387
authored
2023-02-10 10:57:23 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登薄日志
1 parent
2728c985
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
src/views/sthj/dbrzcx/index.vue
src/views/sthj/dbrzcx/index.vue
View file @
34f4138
...
...
@@ -25,7 +25,8 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"结束日期"
prop=
"endTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.endTime"
value-format=
"yyyy/MM/dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
clearable
v-model=
"form.endTime"
value-format=
"yyyy/MM/dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
</el-col>
<!-- 操作按钮 -->
...
...
@@ -55,7 +56,7 @@ import tableMixin from "@/mixins/tableMixin.js";
import
{
getRecordLogPage
}
from
"@/api/recordLog.js"
;
import
{
mapGetters
}
from
'vuex'
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"dbrzcx"
,
mixins
:
[
tableMixin
],
...
...
@@ -86,6 +87,12 @@ export default {
startTime
:
''
,
endTime
:
''
,
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
10
,
current
:
1
},
// table数据
tableData
:
{
// 表头
...
...
@@ -109,8 +116,8 @@ export default {
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
endTime
=
timeFormat
(
new
Date
(
val
),
true
)
endTimeChange
(
val
)
{
this
.
form
.
endTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
queryClick
()
{
getRecordLogPage
({
...
this
.
form
,
...
this
.
pageData
}).
then
(
res
=>
{
...
...
Please
register
or
sign in
to post a comment