| | |
| | | </el-form-item> |
| | | <el-form-item label="体检号" prop="tjNum"> |
| | | <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="请输入体检号" style="width: 170px" clearable |
| | | @keyup.enter.native="handleQuery" /> |
| | | @keyup.enter.native="handleQuery" @blur="hb" /> |
| | | </el-form-item> |
| | | <el-form-item label="登记时间" prop="createTimeList"> |
| | | <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions" |
| | |
| | | |
| | | <template> |
| | | <el-table border v-loading="loading" :data="orderList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="40px" align="center" fixed="left" /> |
| | | <!-- <el-table-column type="selection" width="40px" align="center" fixed="left" /> --> |
| | | <!-- <el-table-column label="主键id" align="center" prop="orderId" /> --> |
| | | <!-- <el-table-column label="用户id" align="center" prop="userId" /> --> |
| | | <el-table-column label="序号" align="center" prop="newID" width="50px" fixed="left" /> |
| | |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.tjCustomerSex == '0'">男</span> |
| | | <span v-if="scope.row.tjCustomerSex == '1'">女</span> |
| | | <span v-if="scope.row.tjCustomerSex == '2'">未知</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" /> |
| | |
| | | getNumber, |
| | | hasReport, |
| | | getPdf, |
| | | getsendEmail, getsendMessage |
| | | getsendEmail, getsendMessage, getNewDateList |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import { |
| | | listSendTemplate, |
| | | } from "@/api/hosp/sendTemplate"; |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | // this.getNowTime(); |
| | | |
| | | 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") |
| | | ];; |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | dialogVisibles() { |
| | | this.$message.error("请连接拨号器!"); |
| | | }, |
| | |
| | | }, |
| | | /** 查询体检记录列表 */ |
| | | getList() { |
| | | this.queryParams.djbeginTime = this.startTime[0]; |
| | | if(this.createTimeList){ |
| | | this.queryParams.djbeginTime = this.createTimeList[0]; |
| | | this.queryParams.djendTime = this.createTimeList[1]; |
| | | }else if(this.startTime){ |
| | | this.queryParams.djbeginTime = this.startTime[0]; |
| | | this.queryParams.djendTime = this.startTime[1]; |
| | | this.queryParams.bgbeginTime = this.startTime1[0]; |
| | | } |
| | | if(this.startTime1){ |
| | | this.queryParams.bgbeginTime = this.startTime1[0]; |
| | | this.queryParams.bgendTime = this.startTime1[1]; |
| | | } |
| | | |
| | | |
| | | this.loading = true; |
| | | getReturnOrderList(this.queryParams).then((response) => { |
| | | this.orderList = response.data.list; |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | |
| | | hb() { |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.reportTimeList =[] |
| | | this.createTimeList=[] |
| | | this.startTime =[] |
| | | this.startTime1 =[] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |
| | |
| | | } |
| | | /** 查询部门下拉树结构 */ |
| | | projectGetList().then((response) => { |
| | | this.Treedata = response.data; |
| | | this.Treedata = response.data.list; |
| | | }); |
| | | this.Projectopen = true; |
| | | this.title = "补录项目"; |
| | |
| | | }, |
| | | }; |
| | | </script> |
| | | <style lang="scss"> |
| | | <style lang="scss" scoped> |
| | | .pag { |
| | | width: 100%; |
| | | display: flex; |