Commit 54efe0af authored by 高滢's avatar 高滢

使用 添加上传报告时间

parent f6b44ae6
<template>
<div>
<div style="background-color: #fff;height: 100%;margin-top: 20px;">
<div style=" text-align: center;padding-top: 30px;height: 100px;">
<div style=" text-align: center;padding-top: 35px;height: 100px;">
<span style="font-size: 24px;font-weight: bold; color: #333333;line-height: 20px;">详情</span>
</div>
<div style="display: flex; padding-left: 20px;padding-top: 10px;padding-bottom: 10px;">
<div style="display: flex; padding-left: 20px;padding-bottom: 10px;">
<div class="tip1" />
<div style="padding-top: 3px;padding-left: 18px;color: #666666; font-weight: 500; font-size: 16px;">设备信息</div>
</div>
......
......@@ -41,7 +41,7 @@
</el-form-item>
<el-form-item>
<el-date-picker
v-model="daterangeCreateTime"
v-model="queryParams.reportTime"
type="date"
style="width: 240px"
placeholder="选择检查日期"
......@@ -245,8 +245,8 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
isAsc: '',
orderByColumn: '',
isAsc: 'desc',
orderByColumn: 'c.report_time',
searchText: '',
insureList: '',
checkItemsIdList: '',
......@@ -297,8 +297,8 @@ export default {
this.queryParams = {
pageNum: 1,
pageSize: 10,
isAsc: '',
orderByColumn: '',
isAsc: 'desc',
orderByColumn: 'c.report_time',
searchText: '',
insureList: '',
checkItemsIdList: '',
......@@ -328,10 +328,10 @@ export default {
},
// 获取列表数据
getUseList() {
if (this.daterangeCreateTime !== '') {
this.queryParams.beginCheckTime = this.daterangeCreateTime + ' 00:00:00'
this.queryParams.endCheckTime = this.daterangeCreateTime + ' 23:59:59'
}
// if (this.daterangeCreateTime !== '') {
// this.queryParams.beginCheckTime = this.daterangeCreateTime + ' 00:00:00'
// this.queryParams.endCheckTime = this.daterangeCreateTime + ' 23:59:59'
// }
listUseManagement(this.queryParams).then(res => {
this.total = res.total
this.userList = res.rows
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment