| | |
| | | hasReport, |
| | | hasPrintCode, |
| | | getOrderList, |
| | | getNewDateList |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | | import { projectGetList, getOrder } from "@/api/system/tijian"; |
| | | import { SubmitCompany, getCompany, queryCompany } from "@/api/team/tuanti"; |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | this.Company(); |
| | | this.getdate(); |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.createTimeList = [ |
| | | moment(res.data).format("YYYY-MM-DD 00:00:00"), |
| | | moment(res.data).format("YYYY-MM-DD 23:59:00"), |
| | | ]; |
| | | console.log(this.createTimeList, 111); |
| | | }); |
| | | }, |
| | | // / 处理默认选中当前日期 |
| | | getNowTime() { |
| | | var curDate = new Date().getTime(); |