| | |
| | | var inpArr = document.getElementsByTagName("input"), |
| | | result = ""; |
| | | import print from "print-js"; |
| | | import { getsendEmail, getsendMessage } from "@/api/hosp/order"; |
| | | import { getsendEmail, getsendMessage, getNewDateList } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import { |
| | | listSendTemplate, |
| | | } from "@/api/hosp/sendTemplate"; |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | this.Company(); |
| | | this.getListEmer(); |
| | | this.getDictListEmer(); |
| | | 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") |
| | | ];; |
| | | }); |
| | | }, |
| | | dialogVisibles() { |
| | | this.$message.error("请连接拨号器!"); |
| | | }, |