| | |
| | | watch: { |
| | | jianqianwenzhendata(val, newVla) { |
| | | if (val) { |
| | | console.log(val); |
| | | this.loading = false; |
| | | this.form = val; |
| | | if (this.form.xiyan == null) { |
| | |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <Historicalreport |
| | | <Historicalreport v-show="lishi" |
| | | :reportHistorydata="reportHistorydata" |
| | | ></Historicalreport> |
| | | </el-col> |
| | |
| | | title="提示" |
| | | :visible.sync="jianqians" |
| | | width="1000px" |
| | | :before-close="handleClose" |
| | | :before-close="handleClose1" |
| | | > |
| | | <jianqianwenzhen |
| | | :jianqianwenzhendata="jianqianwenzhendata" |
| | |
| | | |
| | | |
| | | <script> |
| | | import { getInfoById } from "@/api/hosp/history"; |
| | | import jianqianwenzhen from "@/components/jianqianwenzhen"; |
| | | import Public from "@/components/public"; |
| | | import { getPdf } from "@/api/hosp/order"; |
| | |
| | | components: { Public, Historicalreport,jianqianwenzhen }, |
| | | data() { |
| | | return { |
| | | lishi:true, |
| | | rowes:{}, |
| | | jianqianwenzhendata:[], |
| | | jianqians:false, |
| | | selected: false, |
| | | checkval: false, |
| | |
| | | }, |
| | | handleClose() { |
| | | this.$tab.refreshPage(); |
| | | }, |
| | | handleClose1(){ |
| | | this.jianqians = false |
| | | }, |
| | | // 获取医生 |
| | | selName(val) { |
| | |
| | | cusId: this.tableAll.cusId, |
| | | }; |
| | | reportHistory(data).then((res) => { |
| | | console.log(res); |
| | | this.loading = false; |
| | | if (res.data[0] != null) { |
| | | this.reportHistorydata = res.data; |
| | |
| | | }, |
| | | |
| | | jianqian() { |
| | | let tjNumber = this.rowes.tjNumber; |
| | | getInfoById(tjNumber).then((response) => { |
| | | this.jianqianwenzhendata = response.data; |
| | | if (this.form.xiyan == null) { |
| | | this.form.xiyan = "1"; |
| | | } |
| | | if (this.form.xiyanpinlv == null) { |
| | | this.form.xiyanpinlv = "0"; |
| | | } |
| | | if (this.form.xiyanyear == null) { |
| | | this.form.xiyanyear = "0"; |
| | | } |
| | | if (this.form.yinjiu == null) { |
| | | this.form.yinjiu = "1"; |
| | | } |
| | | if (this.form.yinjiupinlv == null) { |
| | | this.form.yinjiupinlv = "0"; |
| | | } |
| | | if (this.form.yinjiuyear == null) { |
| | | this.form.yinjiuyear = "0"; |
| | | } |
| | | this.form.tjAskHistorysList = response.data.tjAskHistorysList; |
| | | // this.isdisabled= true |
| | | }); |
| | | this.jianqians = true; |
| | | }, |
| | | |
| | |
| | | |
| | | // 点击详情 |
| | | handleClick(row) { |
| | | this.rowes = row; |
| | | console.log(this.rowes); |
| | | this.getDept(row.tjNumber); |
| | | this.loading = true; |
| | | this.drawer = true; |
| | |
| | | style="width: 120px" |
| | | placeholder="请输入姓名" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @keyup.enter.native="submitForm" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="体检号" prop="tjNumber"> |
| | |
| | | style="width: 180px" |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @keyup.enter.native="submitForm" |
| | | @blur="submitForm" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="体检时间" prop="tjTime"> |
| | |
| | | <div style="margin: 10px 10px" v-if="tableAll.tjCategory == '02'"> |
| | | <el-button type="primary" size="mini" @click="medicalhistory()" |
| | | >职业病史</el-button |
| | | > |
| | | </div> |
| | | <div style="margin: 10px 10px"> |
| | | <el-button type="primary" size="mini" @click="jianqian()" |
| | | >检前问诊</el-button |
| | | > |
| | | </div> |
| | | </div> |
| | |
| | | ></iframe> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog |
| | | title="提示" |
| | | :visible.sync="jianqians" |
| | | width="1000px" |
| | | :before-close="handleClose1" |
| | | > |
| | | <jianqianwenzhen |
| | | :jianqianwenzhendata="jianqianwenzhendata" |
| | | ></jianqianwenzhen> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="jianqians = false">取 消</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | |
| | | <script> |
| | | import jianqianwenzhen from "@/components/jianqianwenzhen"; |
| | | import { |
| | | getcheckList, |
| | | getTjdetailList, |
| | |
| | | components: { |
| | | ViewPdf, |
| | | Historicalreport, |
| | | jianqianwenzhen |
| | | }, |
| | | dicts: [ |
| | | "dict_tjtype", |
| | |
| | | name: "checkAll", |
| | | data() { |
| | | return { |
| | | jianqianwenzhendata:[], |
| | | jianqians:false, |
| | | sex: true, |
| | | activeName: "1", |
| | | wenzhen: false, |
| | |
| | | ":" + |
| | | this.add0(mm) |
| | | ); |
| | | }, |
| | | jianqian() { |
| | | let tjNumber = this.tableAll.tjNumber; |
| | | getInfoById(tjNumber).then((response) => { |
| | | this.jianqianwenzhendata = response.data; |
| | | if (this.form.xiyan == null) { |
| | | this.form.xiyan = "1"; |
| | | } |
| | | if (this.form.xiyanpinlv == null) { |
| | | this.form.xiyanpinlv = "0"; |
| | | } |
| | | if (this.form.xiyanyear == null) { |
| | | this.form.xiyanyear = "0"; |
| | | } |
| | | if (this.form.yinjiu == null) { |
| | | this.form.yinjiu = "1"; |
| | | } |
| | | if (this.form.yinjiupinlv == null) { |
| | | this.form.yinjiupinlv = "0"; |
| | | } |
| | | if (this.form.yinjiuyear == null) { |
| | | this.form.yinjiuyear = "0"; |
| | | } |
| | | this.form.tjAskHistorysList = response.data.tjAskHistorysList; |
| | | // this.isdisabled= true |
| | | }); |
| | | this.jianqians = true; |
| | | }, |
| | | getList() { |
| | | this.loading = true; |
| | |
| | | getfiedState(data).then((res) => {}); |
| | | }); |
| | | }, |
| | | |
| | | handleClose1(){ |
| | | this.jianqians = false |
| | | }, |
| | | // 生成报告 |
| | | // generate(row) { |
| | | // const tjNumber = row.tjNumber; |