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

使用 添加上传报告时间

parent f6b44ae6
<template> <template>
<div> <div>
<div style="background-color: #fff;height: 100%;margin-top: 20px;"> <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> <span style="font-size: 24px;font-weight: bold; color: #333333;line-height: 20px;">详情</span>
</div> </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 class="tip1" />
<div style="padding-top: 3px;padding-left: 18px;color: #666666; font-weight: 500; font-size: 16px;">设备信息</div> <div style="padding-top: 3px;padding-left: 18px;color: #666666; font-weight: 500; font-size: 16px;">设备信息</div>
</div> </div>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-date-picker <el-date-picker
v-model="daterangeCreateTime" v-model="queryParams.reportTime"
type="date" type="date"
style="width: 240px" style="width: 240px"
placeholder="选择检查日期" placeholder="选择检查日期"
...@@ -245,8 +245,8 @@ export default { ...@@ -245,8 +245,8 @@ export default {
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
isAsc: '', isAsc: 'desc',
orderByColumn: '', orderByColumn: 'c.report_time',
searchText: '', searchText: '',
insureList: '', insureList: '',
checkItemsIdList: '', checkItemsIdList: '',
...@@ -297,8 +297,8 @@ export default { ...@@ -297,8 +297,8 @@ export default {
this.queryParams = { this.queryParams = {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
isAsc: '', isAsc: 'desc',
orderByColumn: '', orderByColumn: 'c.report_time',
searchText: '', searchText: '',
insureList: '', insureList: '',
checkItemsIdList: '', checkItemsIdList: '',
...@@ -328,10 +328,10 @@ export default { ...@@ -328,10 +328,10 @@ export default {
}, },
// 获取列表数据 // 获取列表数据
getUseList() { getUseList() {
if (this.daterangeCreateTime !== '') { // if (this.daterangeCreateTime !== '') {
this.queryParams.beginCheckTime = this.daterangeCreateTime + ' 00:00:00' // this.queryParams.beginCheckTime = this.daterangeCreateTime + ' 00:00:00'
this.queryParams.endCheckTime = this.daterangeCreateTime + ' 23:59:59' // this.queryParams.endCheckTime = this.daterangeCreateTime + ' 23:59:59'
} // }
listUseManagement(this.queryParams).then(res => { listUseManagement(this.queryParams).then(res => {
this.total = res.total this.total = res.total
this.userList = res.rows 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