| | |
| | | :inline="true" |
| | | label-width="68px" |
| | | > |
| | | <el-form-item label="时间" prop="applicationTime"> |
| | | <el-form-item label="时间" prop="createTimeList"> |
| | | <el-date-picker |
| | | clearable |
| | | v-model="createTimeList" |
| | | @change="dateChangebirthday1" |
| | | 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="开始日期" |
| | |
| | | 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 VTreeTransfer from "../../system/tijian/TreeTransfer.vue"; |
| | | import { projectGetList } from "@/api/system/tijian"; |
| | | import { |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getdate(); |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | |
| | | this.getcomp(); |
| | | this.getData(); |
| | | this.datekey = Date.now(); |
| | |
| | | }, |
| | | }, |
| | | 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(); |
| | | }); |
| | | }, |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.proName.indexOf(value) !== -1; |
| | |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.Treedata = response.data.list; |
| | | this.Treedata.forEach(item => { |
| | | if(item.proParentId == "0"){ |
| | | item.disabled = true |
| | | } |
| | | }) |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | |
| | | }, |
| | | // 团检病种页面查询人员列表 |
| | | getList() { |
| | | this.queryParams.beginTime = this.createTimeList[0]; |
| | | if(this.createTimeList){ |
| | | this.queryParams.beginTime = this.createTimeList[0]; |
| | | this.queryParams.endTime = this.createTimeList[1]; |
| | | }else if(this.createTimeList == null){ |
| | | this.queryParams.beginTime = null; |
| | | this.queryParams.endTime = null; |
| | | } |
| | | |
| | | getPeopleList(this.queryParams).then((res) => { |
| | | this.tableData = res.data.voList; |
| | | this.total = res.data.total; |
| | |
| | | |
| | | handleSizeChange(val) { |
| | | this.queryParam.pageSize = val; |
| | | this.geticd(); |
| | | // this.geticd(); |
| | | }, |
| | | handleCurrentChange(val) { |
| | | this.queryParam.page = val; |
| | | this.geticd(); |
| | | // this.geticd(); |
| | | }, |
| | | /** 查询体检单位信息维护列表 */ |
| | | getcomp() { |
| | |
| | | handleQuery() { |
| | | this.queryParams.page = 1; |
| | | this.getList(); |
| | | this.queryParam.page = 1; |
| | | this.geticd(); |
| | | // this.queryParam.page = 1; |
| | | // this.geticd(); |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList = [] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | this.loading = true; |
| | |
| | | // } |
| | | .outside1 { |
| | | width: 500px; |
| | | max-height: 500px; |
| | | overflow-y:auto; |
| | | display: flex; |
| | | margin-top: 8px; |
| | | flex-direction: column; |