| | |
| | | > |
| | | </div> |
| | | <div style="margin: 10px 10px"> |
| | | <el-button type="primary" size="mini" @click="jianqian()" |
| | | <el-button type="primary" size="mini" @click="jianqian" |
| | | >检前问诊</el-button |
| | | > |
| | | </div> |
| | |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <Historicalreport v-show="lishi" |
| | | <Historicalreport |
| | | v-show="lishi" |
| | | :reportHistorydata="reportHistorydata" |
| | | ></Historicalreport> |
| | | </el-col> |
| | |
| | | width="1000px" |
| | | :before-close="handleClose1" |
| | | > |
| | | <jianqianwenzhen |
| | | :jianqianwenzhendatas="jianqianwenzhendatas" |
| | | ></jianqianwenzhen> |
| | | <jianqianwenzhen |
| | | :jianqianwenzhendata="jianqianwenzhendata" |
| | | v-if="flags" |
| | | ></jianqianwenzhen> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="jianqians = false">取 消</el-button> |
| | | </span> |
| | |
| | | export default { |
| | | dicts: ["sys_user_sex", "sys_yes_no", "tj_result_type", "lj_positive"], |
| | | name: "check", |
| | | components: { Public, Historicalreport,jianqianwenzhen }, |
| | | components: { Public, Historicalreport, jianqianwenzhen }, |
| | | data() { |
| | | return { |
| | | lishi:false, |
| | | rowes:{}, |
| | | jianqianwenzhendatas:[], |
| | | jianqians:false, |
| | | flags: false, |
| | | lishi: false, |
| | | jianqianwenzhendata: [], |
| | | jianqians: false, |
| | | selected: false, |
| | | checkval: false, |
| | | // 遮罩层 |
| | |
| | | deptId: "", |
| | | userId: "", |
| | | nickName: "", |
| | | doctorNames: "", |
| | | date: new Date(new Date().getTime() + 8 * 3600 * 1000) |
| | | .toJSON() |
| | | .substr(0, 19) |
| | |
| | | listUser(this.addDateRange(this.queryParams, this.dateRange)).then( |
| | | (response) => { |
| | | this.userList = response.rows; |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | ); |
| | | getInfo().then((response) => { |
| | |
| | | handleClose() { |
| | | this.$tab.refreshPage(); |
| | | }, |
| | | handleClose1(){ |
| | | this.jianqians = false |
| | | handleClose1() { |
| | | this.jianqians = false; |
| | | }, |
| | | // 获取医生 |
| | | selName(val) { |
| | |
| | | }, |
| | | |
| | | hadleedit(row) { |
| | | console.log(row, 111); |
| | | this.form.hzType = row.hzType; |
| | | this.form.id = row.id; |
| | | // this.form.hzDeptId = row.hzDeptNameList; |
| | |
| | | cusId: this.tableAll.cusId, |
| | | }; |
| | | reportHistory(data).then((res) => { |
| | | console.log(res); |
| | | this.loading = false; |
| | | if (res.data[0] != null) { |
| | | this.reportHistorydata = res.data; |
| | | } |
| | | if(this.reportHistorydata.length >= 1){ |
| | | if (this.reportHistorydata.length >= 1) { |
| | | this.lishi = true; |
| | | }else{ |
| | | } else { |
| | | this.lishi = true; |
| | | this.$modal.msgError("暂无历史报告"); |
| | | } |
| | |
| | | }, |
| | | |
| | | jianqian() { |
| | | let tjNumber = this.rowes.tjNumber; |
| | | getInfoById(tjNumber).then((response) => { |
| | | this.jianqianwenzhendatas = 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.flags = true; |
| | | this.jianqians = true; |
| | | let tjNumber = this.tableAll.tjNumber; |
| | | this.jianqianwenzhendata.push(tjNumber); |
| | | }, |
| | | |
| | | handlecan(row) { |
| | |
| | | |
| | | // 点击详情 |
| | | handleClick(row) { |
| | | this.rowes = row; |
| | | console.log(this.rowes); |
| | | this.getDept(row.tjNumber); |
| | | this.loading = true; |
| | | this.drawer = true; |
| | |
| | | |
| | | this.proParentList.sons.forEach((item) => { |
| | | this.doctorName = item.doctorName; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | |
| | | if (item.isReturn == 1) { |
| | | item.isReturn = true; |
| | |
| | | } |
| | | this.proParentList.sons.forEach((item) => { |
| | | this.doctorName = item.doctorName; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | if (item.isReturn == 1) { |
| | | item.isReturn = true; |
| | | } |
| | |
| | | } |
| | | this.proParentList.sons.forEach((item) => { |
| | | this.doctorName = item.doctorName; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | if (item.isReturn == 1) { |
| | | item.isReturn = true; |
| | | } |