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
334a11ba
authored
2023-02-10 11:05:55 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:分页
1 parent
ca80897f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/views/jsbwcx/index.vue
src/views/jsbwcx/index.vue
View file @
334a11b
...
...
@@ -25,7 +25,8 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"至"
prop=
"receiveEndTime"
label-width=
"35px"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.receiveEndTime"
value-format=
"yyyy/MM/dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
clearable
v-model=
"form.receiveEndTime"
value-format=
"yyyy/MM/dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
...
...
@@ -108,7 +109,7 @@ import { getReceiveDataReportPage } from "@/api/dataReport.js";
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jsbwcx"
,
mixins
:
[
tableMixin
],
...
...
@@ -124,7 +125,7 @@ export default {
if
(
endDateVal
)
{
return
(
time
.
getTime
()
>=
new
Date
(
endDateVal
).
getTime
()
new
Date
(
endDateVal
).
getTime
()
);
}
},
...
...
@@ -216,8 +217,8 @@ export default {
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
queryClick
()
{
...
...
@@ -239,7 +240,6 @@ export default {
this
.
queryClick
();
},
featchData
()
{
this
.
form
.
currentPage
=
1
this
.
queryClick
();
},
// 结果
...
...
Please
register
or
sign in
to post a comment