| | |
| | | > |
| | | <el-button |
| | | type="primary" |
| | | @click="inputChange" |
| | | @click="inputChanges" |
| | | v-show="lishi" |
| | | size="mini" |
| | | :disabled="confirm" |
| | |
| | | ></iframe> |
| | | </div> |
| | | </el-dialog> |
| | | <el-drawer |
| | | title="历史体检记录" |
| | | :visible.sync="table" |
| | | direction="rtl" |
| | | size="50%" |
| | | > |
| | | <el-table :data="HistoryList" style="width: 95%; margin-left: 20px"> |
| | | <el-table-column |
| | | property="tjNum" |
| | | label="体检号" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | property="userName" |
| | | label="姓名" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | property="tjTime" |
| | | label="体检时间" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | property="tjProName" |
| | | label="体检项目" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | </el-table> |
| | | </el-drawer> |
| | | <el-dialog |
| | | <el-dialog |
| | | title="提示" |
| | | :visible.sync="dialogVisiblese" |
| | | width="30%" |
| | |
| | | <el-button type="primary" @click="copes">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <historyTj :cusIdCard="form.cusIdcard" ref="historyTj"></historyTj> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | } from "@/api/system/tijian"; |
| | | import { MessageBox } from "element-ui"; |
| | | import VTreeTransfer from "../tijian/TreeTransfer.vue"; |
| | | import historyTj from "@/components/historyTj/index"; |
| | | export default { |
| | | components: { |
| | | VTreeTransfer, |
| | | VTreeTransfer,historyTj |
| | | }, |
| | | dicts: [ |
| | | "dict_user_national", |
| | |
| | | this.form.cusBrithday = birthday; |
| | | this.form.age = age; |
| | | } |
| | | let cusIdCard = this.form.cusIdcard; |
| | | getHistryTjOrderByCusIdCard(cusIdCard).then((res) => { |
| | | if (res.code == 200) { |
| | | |
| | | // let cusIdCard = this.form.cusIdcard; |
| | | // getHistryTjOrderByCusIdCard(cusIdCard).then((res) => { |
| | | // if (res.code == 200) { |
| | | this.table = true; |
| | | this.lishi = true; |
| | | this.HistoryList = res.data; |
| | | } |
| | | }); |
| | | // this.HistoryList = res.data; |
| | | // } |
| | | // }); |
| | | } else { |
| | | // return this.$message.error("请输入正确的身份证号!");; |
| | | } |
| | | }, |
| | | inputChanges(){ |
| | | this.$refs.historyTj.getlist(); |
| | | }, |
| | | cope() { |
| | | let cusIdCard = this.form.cusIdcard; |
| | | getHistryTjOrderProByCusIdCard(cusIdCard).then((res) => { |
| | | this.copeList = res.data; |
| | | if (res.data.length != 0) { |
| | | if (res.msg !="暂无历史记录") { |
| | | this.dialogVisiblese = true; |
| | | } else { |
| | | this.$message.warning("暂无历史体检记录!"); |