| | |
| | | import { getlistWater, getWater, getdatalist, addTjSummary, getNewDate, getbigntime } from "@/api/hosp/water"; |
| | | import { getInfo } from "@/api/login"; |
| | | import moment from "moment"; |
| | | import {getNewDateList} from "@/api/hosp/order"; |
| | | export default { |
| | | name: "Water", |
| | | data() { |
| | |
| | | this.queryParams.tollCollectorId = response.user.userId; |
| | | }); |
| | | }); |
| | | // getNewDate().then((response) => { |
| | | // if (response.code === 200) { |
| | | // this.queryParams.accountEndTime = moment(response.data).format("YYYY-MM-DD HH:mm:ss") |
| | | // } |
| | | // }); |
| | | getNewDateList().then((response) => { |
| | | getNewDate().then((response) => { |
| | | if (response.code === 200) { |
| | | this.queryParams.accountEndTime = moment(response.data).format("YYYY-MM-DD 23:59:00") |
| | | this.queryParams.accountEndTime = moment(response.data).format("YYYY-MM-DD HH:mm:ss") |
| | | } |
| | | }); |
| | | // getbigntime().then((response) => { |
| | | // if (response.code === 200) { |
| | | // this.queryParams.accountBeginTime = |
| | | // moment(response.data).format("YYYY-MM-DD HH:mm:ss") |
| | | // } |
| | | // }); |
| | | getNewDateList().then((response) => { |
| | | getbigntime().then((response) => { |
| | | if (response.code === 200) { |
| | | this.queryParams.accountBeginTime = |
| | | moment(response.data).format("YYYY-MM-DD 00:00:00") |
| | | moment(response.data).format("YYYY-MM-DD HH:mm:ss") |
| | | } |
| | | }); |
| | | }, |