| | |
| | | <el-date-picker |
| | | clearable |
| | | v-model="createTimeList" |
| | | style="width: 240px" |
| | | value-format="yyyy-MM-dd" |
| | | :default-time="['00:00:00', '23:00:00']" |
| | | format="yyyy-MM-dd HH:mm:ss" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | type="daterange" |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | :picker-options="pickerOptions" |
| | | value-format="yyyy-MM-dd" |
| | | :default-time="['00:00:00', '23:00:00']" |
| | | format="yyyy-MM-dd HH:mm:ss" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="请选择体检完成时间" |
| | | style="width: 240px" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | |
| | | import { listSendTemplate } from "@/api/hosp/sendTemplate"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | | import { queryCompany } from "@/api/team/tuanti"; |
| | | import { getNewDateList } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | export default { |
| | | components: { |
| | | ViewPdf, |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | this.getdate(); |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.finishTimeList = [ |
| | | 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); |
| | | }); |
| | | }, |
| | | dialogVisibles() { |
| | | this.$message.error("请连接拨号器!"); |
| | | }, |