| | |
| | | </el-form-item> |
| | | <el-form-item label="体检号" prop="tjNumber"> |
| | | <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 180px" placeholder="请输入体检号" clearable |
| | | @keyup.enter.native="submitForm" @blur="submitForm"></el-input> |
| | | @keyup.enter.native="submitForm" @blur="hb"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="体检时间" prop="tjTime"> |
| | | <el-date-picker v-model="startTime" type="datetimerange" align="right" :picker-options="pickerOptions" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" size="mini" @click="submitForm">搜索</el-button> |
| | | <el-button type="primary" size="mini" @click="submitForm" style="margin-right:15px;">搜索</el-button> |
| | | <el-button size="mini" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | |
| | | <el-row :gutter="10" class="mb8" style="margin-left:14px ;"> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" size="mini" @click="radioChange" v-hasPermi="['system:notice:add']">核收</el-button> |
| | | <el-button type="primary" size="mini" @click="radioChange" >核收</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | |
| | | import { getcheckList, heXiaoByIds } from "@/api/doctor/checkAll"; |
| | | import { getCompany, queryCompany } from "@/api/team/tuanti"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | | import { getNewDateList } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | }, |
| | | |
| | | created() { |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | // this.getNowTime(); |
| | | |
| | | this.getdate(); |
| | | }, |
| | | |
| | | mounted() { |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | getdate() { |
| | | getNewDateList().then((res) => { |
| | | this.startTime = [ |
| | | 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(); |
| | |
| | | // 单选按钮 |
| | | radioChange() { |
| | | heXiaoByIds(this.orderIds).then((response) => { |
| | | this.$modal.msgSuccess("报告已核收!请前往报告打印页面查看!"); |
| | | if(response.code == 200){ |
| | | this.$modal.msgSuccess("报告已核收!请前往报告打印页面查看!"); |
| | | this.getList(); |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |
| | |
| | | // 时间 |
| | | dateChangebirthday1(val) { |
| | | this.startTime = val; |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNumber); |
| | | if (this.queryParams.tjNumber != "") { |
| | | this.submitForm(); |
| | | } |
| | | }, |
| | | |
| | | // 搜索 |
| | |
| | | }, |
| | | // 重置 |
| | | resetQuery() { |
| | | this.startTime=[] |
| | | this.resetForm("tableList"); |
| | | this.submitForm(); |
| | | }, |