| | |
| | | </el-form-item> |
| | | <el-form-item label="报告时间" prop="reportTimeList"> |
| | | <el-date-picker clearable v-model="queryParams.reportTimeList" type="daterange" range-separator="-" |
| | | start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" value-format="yyyy-MM-dd" |
| | | placeholder="请选择出报告时间" style="width: 240px"> |
| | | start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" :default-time="['00:00:00', '23:00:00']" |
| | | format="yyyy-MM-dd HH:mm:ss" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="请选择出报告时间" > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="单位名称" prop="firmId"> |
| | |
| | | hasReport, |
| | | hasPrintCode, |
| | | getOrderListOO, |
| | | getNewDateList |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | | import { SubmitCompany, getCompany, queryCompany } from "@/api/team/tuanti"; |
| | | import { chownSync } from "fs"; |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | // this.getNowTime(); |
| | | this.getList(); |
| | | this.Company(); |
| | | this.getdate(); |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.queryParams.reportTimeList = [ |
| | | 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(); |