style:分页
Showing
1 changed file
with
5 additions
and
5 deletions
... | @@ -25,7 +25,8 @@ | ... | @@ -25,7 +25,8 @@ |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
26 | <el-form-item label="至" prop="receiveEndTime" label-width="35px"> | 26 | <el-form-item label="至" prop="receiveEndTime" label-width="35px"> |
27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" | 27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" |
28 | clearable v-model="form.receiveEndTime" value-format="yyyy/MM/dd HH:mm:ss" @change="endTimeChange"></el-date-picker> | 28 | clearable v-model="form.receiveEndTime" value-format="yyyy/MM/dd HH:mm:ss" |
29 | @change="endTimeChange"></el-date-picker> | ||
29 | </el-form-item> | 30 | </el-form-item> |
30 | </el-col> | 31 | </el-col> |
31 | <el-col :span="6"> | 32 | <el-col :span="6"> |
... | @@ -108,7 +109,7 @@ import { getReceiveDataReportPage } from "@/api/dataReport.js"; | ... | @@ -108,7 +109,7 @@ import { getReceiveDataReportPage } from "@/api/dataReport.js"; |
108 | // 引入详情弹框 | 109 | // 引入详情弹框 |
109 | import dataDetails from "@/components/EditDialog"; | 110 | import dataDetails from "@/components/EditDialog"; |
110 | //引入日期处理方法 | 111 | //引入日期处理方法 |
111 | import {timeFormat } from "@/utils/operation"; | 112 | import { timeFormat } from "@/utils/operation"; |
112 | export default { | 113 | export default { |
113 | name: "jsbwcx", | 114 | name: "jsbwcx", |
114 | mixins: [tableMixin], | 115 | mixins: [tableMixin], |
... | @@ -216,8 +217,8 @@ export default { | ... | @@ -216,8 +217,8 @@ export default { |
216 | }, | 217 | }, |
217 | methods: { | 218 | methods: { |
218 | //截止日期变化 | 219 | //截止日期变化 |
219 | endTimeChange(val){ | 220 | endTimeChange (val) { |
220 | this.form.receiveEndTime = timeFormat(new Date(val),true) | 221 | this.form.receiveEndTime = timeFormat(new Date(val), true) |
221 | }, | 222 | }, |
222 | // 初始化数据 | 223 | // 初始化数据 |
223 | queryClick () { | 224 | queryClick () { |
... | @@ -239,7 +240,6 @@ export default { | ... | @@ -239,7 +240,6 @@ export default { |
239 | this.queryClick(); | 240 | this.queryClick(); |
240 | }, | 241 | }, |
241 | featchData () { | 242 | featchData () { |
242 | this.form.currentPage = 1 | ||
243 | this.queryClick(); | 243 | this.queryClick(); |
244 | }, | 244 | }, |
245 | // 结果 | 245 | // 结果 | ... | ... |
-
Please register or sign in to post a comment