| | |
| | | clearable |
| | | v-model="createTimeList" |
| | | @change="dateChangebirthday1" |
| | | style="width: 240px" |
| | | value-format="yyyy-MM-dd" |
| | | :default-time="['00:00:00', '23:59:00']" |
| | | format="yyyy-MM-dd HH:mm" |
| | | value-format="yyyy-MM-dd HH:mm" |
| | | type="daterange" |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | |
| | | <el-table |
| | | border |
| | | :data="tableData1" |
| | | max-height="500" |
| | | style="width: 100%; margin-right: 10px" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | |
| | | > |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-table border :data="tableData2" style="width: 100%"> |
| | | <el-table border :data="tableData2" max-height="500" style="width: 100%"> |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <el-table-column prop="bingzhong" label="已选病种名称" align="center"> |
| | | </el-table-column> |
| | |
| | | require("echarts/lib/component/tooltip"); |
| | | require("echarts/lib/component/legend"); |
| | | require("echarts/lib/chart/pie"); |
| | | import { getNewDateList } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import { |
| | | getPeopleList, |
| | | getDeptAndDwDeptByComp, |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | // this.getNowTime(); |
| | | |
| | | this.getcomp(); |
| | | this.geticd(); |
| | | this.getdate(); |
| | | }, |
| | | 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") |
| | | ];; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | // / 处理默认选中当前日期 |
| | | getNowTime() { |
| | | var curDate = new Date().getTime(); |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList=[] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | this.loading = true; |