| | |
| | | @keyup.enter.native="handleQuery" /> |
| | | </el-form-item> |
| | | <el-form-item label="体检号" prop="tjNum"> |
| | | <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable |
| | | <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable ref="inputName" @blur="hb" |
| | | @keyup.enter.native="handleQuery" /> |
| | | </el-form-item> |
| | | <el-form-item label="登记时间" prop="createTimeList"> |
| | |
| | | <template> |
| | | <el-table border style="margin: 14px; width: 99%" v-loading="loading" :data="orderList" |
| | | @selection-change="handleSelectionChange" ref="multipleTable"> |
| | | <el-table-column type="selection" width="40px" align="center" height="10px" fixed="left" /> |
| | | <!-- <el-table-column type="selection" width="40px" align="center" height="10px" fixed="left" /> --> |
| | | <el-table-column label="序号" align="center" prop="newID" width="50px" fixed="left" height="10px" /> |
| | | <el-table-column label="姓名" align="center" prop="tjCustomerName" height="10px" width="90px" fixed="left" |
| | | :show-overflow-tooltip="true" /> |
| | |
| | | <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" height="10px" width="60px" |
| | |
| | | </div> |
| | | </div> |
| | | </el-drawer> |
| | | <el-dialog |
| | | title="PDF 预览" |
| | | :visible.sync="dialogVisible" |
| | | :close-on-click-modal="false" |
| | | > |
| | | <div class="main"> |
| | | <iframe |
| | | id="printIframe" |
| | | :src="url" |
| | | frameborder="0" |
| | | style="width: 100%; height: 100%" |
| | | ></iframe> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | getPdf, |
| | | getOrderList, |
| | | printCode, |
| | | getNewDateList |
| | | } from "@/api/hosp/order"; |
| | | import { getsendEmail, getsendMessage } from "@/api/hosp/order"; |
| | | |
| | | import moment from "moment"; |
| | | import { addSurveyRecord } from "@/api/hosp/surveyRecord"; |
| | | import { getDictEmerList, listEmer } from "@/api/system/emer"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | |
| | | }, |
| | | }, |
| | | created() { |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | // this.getNowTime(); |
| | | |
| | | this.Company(); |
| | | this.getListEmer(); |
| | | this.getdate(); |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | | this.$refs.inputName.focus(); |
| | | }); |
| | | }, |
| | | 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.createTimeList[0]; |
| | | if( this.createTimeList){ |
| | | this.queryParams.djbeginTime = this.createTimeList[0]; |
| | | this.queryParams.djendTime = this.createTimeList[1]; |
| | | }else if(this.createTimeList == null){ |
| | | this.queryParams.djbeginTime = null; |
| | | this.queryParams.djendTime = null; |
| | | } |
| | | |
| | | |
| | | this.loading = true; |
| | | getOrderList(this.queryParams).then((response) => { |
| | | this.orderList = response.data.list; |
| | |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | handleQuerys() { |
| | | this.emerc = true; |
| | | this.queryParam.pageNum = 1; |
| | |
| | | }, |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList = [] |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |