Browse Source

fix: 修复维修养护时间筛选问题

sy-water-data-board-ui
panyuyi 12 months ago
parent
commit
2dcdbf960f
  1. 20
      src/views/dike/runManage/maintenance/maintenanceRecords/index.vue
  2. 20
      src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue

20
src/views/dike/runManage/maintenance/maintenanceRecords/index.vue

@ -288,10 +288,18 @@ export default {
getTableData() {
getDikeYhRecordList({
data: {
startCreatedTime: this.createTimeArr[0],
endCreatedTime: this.createTimeArr[1],
startUpdateTime: this.updateTimeArr[0],
endUpdateTime: this.updateTimeArr[1],
startCreatedTime: this.createTimeArr[0]
? this.createTimeArr[0] + " 00:00:00"
: "",
endCreatedTime: this.createTimeArr[1]
? this.createTimeArr[1] + " 23:59:59"
: "",
startUpdateTime: this.updateTimeArr[0]
? this.updateTimeArr[0] + " 00:00:00"
: "",
endUpdateTime: this.updateTimeArr[1]
? this.updateTimeArr[1] + " 23:59:59"
: "",
minRepairCost: this.repairCostArr[0],
maxRepairCost: this.repairCostArr[1],
status: this.selectStatus,
@ -348,7 +356,7 @@ export default {
class="w-360"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd 00:00:00"
value-format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
@ -359,7 +367,7 @@ export default {
type="daterange"
class="w-360"
range-separator="至"
value-format="yyyy-MM-dd 00:00:00"
value-format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
></el-date-picker>

20
src/views/sluice/runManage/maintenance/maintenanceRecords/index.vue

@ -277,10 +277,18 @@ export default {
getTableData() {
getSluiceYhRecordList({
data: {
startCreatedTime: this.createTimeArr[0],
endCreatedTime: this.createTimeArr[1],
startUpdateTime: this.updateTimeArr[0],
endUpdateTime: this.updateTimeArr[1],
startCreatedTime: this.createTimeArr[0]
? this.createTimeArr[0] + " 00:00:00"
: "",
endCreatedTime: this.createTimeArr[1]
? this.createTimeArr[1] + " 23:59:59"
: "",
startUpdateTime: this.updateTimeArr[0]
? this.updateTimeArr[0] + " 00:00:00"
: "",
endUpdateTime: this.updateTimeArr[1]
? this.updateTimeArr[1] + " 23:59:59"
: "",
minRepairCost: this.repairCostArr[0],
maxRepairCost: this.repairCostArr[1],
status: this.selectStatus,
@ -337,7 +345,7 @@ export default {
class="w-360"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd 00:00:00"
value-format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
@ -348,7 +356,7 @@ export default {
type="daterange"
class="w-360"
range-separator="至"
value-format="yyyy-MM-dd 00:00:00"
value-format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
></el-date-picker>

Loading…
Cancel
Save