| | |
| | | filterable |
| | | placeholder="请选择疾病类型" |
| | | clearable |
| | | @change="jibing" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | |
| | | > |
| | | <el-option |
| | | v-for="dict in rulesList" |
| | | :key="dict.aid" |
| | | :label="dict.bingzhong" |
| | | :value="dict.bingzhong" |
| | | :key="dict.id" |
| | | :label="dict.icdname" |
| | | :value="dict.icdname" |
| | | /> |
| | | </el-select> |
| | | </template> |
| | |
| | | |
| | | <script> |
| | | import { updateHistory, getInfoById, getZhengZhuang } from "@/api/hosp/history"; |
| | | import { listRules } from "@/api/hosp/rules"; |
| | | import { list } from "@/api/hosp/rules"; |
| | | import { listIcd } from "@/api/system/icd"; |
| | | export default { |
| | | dicts: ["tj_smoking_pinlv", "sys_yes_no", "tj_work_status", "tj_work"], |
| | |
| | | props: { |
| | | jianqianwenzhendata: { |
| | | type: Array, //数组类型 |
| | | default: null, |
| | | }, |
| | | jianqianwenzhendatas: { |
| | | type: Array, //字符串类型 |
| | | default: null, |
| | | }, |
| | | }, |
| | |
| | | } |
| | | }; |
| | | return { |
| | | diseaseNames: "", |
| | | zhenghuzangList: [], |
| | | options: [ |
| | | { |
| | |
| | | label: "职业病", |
| | | }, |
| | | ], |
| | | icd: "", |
| | | icdId: "", |
| | | zhiye: true, |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | pageSize: 100, |
| | | }, |
| | | dataList: [], |
| | | pickerOptions: { |
| | |
| | | }); |
| | | this.loading = false; |
| | | } |
| | | |
| | | // if (this.fList) { |
| | | // this.getList() |
| | | // } |
| | | }, |
| | | jianqianwenzhendatas(valse, newVla) { |
| | | console.log(valse); |
| | | if (valse) { |
| | | console.log(valse); |
| | | let tjNumber = valse.tjNum; |
| | | console.log(tjNumber,111); |
| | | getInfoById(tjNumber).then((response) => { |
| | | this.form = response.data; |
| | | if (this.form.cusSex === "1") { |
| | | this.sex = true; |
| | | } else { |
| | | this.sex = false; |
| | | } |
| | | if (this.form.tjLx === "02") { |
| | | this.zhiye = true; |
| | | } else { |
| | | this.zhiye = false; |
| | | } |
| | | if (this.form.xiyan == null) { |
| | | this.form.xiyan = "1"; |
| | | } |
| | | if (this.form.yjsfyc == null) { |
| | | this.form.yjsfyc = "N"; |
| | | } |
| | | 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.loading = false; |
| | | } |
| | | |
| | | // if (this.fList) { |
| | | // this.getList() |
| | | // } |
| | | }, |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getzhenzhuangList(); |
| | | console.log("接收", this.jianqianwenzhendata); |
| | | if (this.jianqianwenzhendata.length == 1) { |
| | | this.jianqianwenzhendata.forEach((item) => { |
| | | let tjNumber = item; |
| | | getInfoById(tjNumber).then((response) => { |
| | | this.form = response.data; |
| | | if (this.form.cusSex === "1") { |
| | | this.sex = true; |
| | | } else { |
| | | this.sex = false; |
| | | } |
| | | if (this.form.tjLx === "02") { |
| | | this.zhiye = true; |
| | | } else { |
| | | this.zhiye = false; |
| | | } |
| | | if (this.form.xiyan == null) { |
| | | this.form.xiyan = "1"; |
| | | } |
| | | if (this.form.yjsfyc == null) { |
| | | this.form.yjsfyc = "N"; |
| | | } |
| | | 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.loading = false; |
| | | } |
| | | }, |
| | | methods: { |
| | | /** 查询疾病字典列表 */ |
| | | getList() { |
| | | listRules(this.queryParams).then((response) => { |
| | | list(this.queryParams).then((response) => { |
| | | this.rulesList = response.rows; |
| | | console.log(this.rulesList); |
| | | }); |
| | | }, |
| | | |
| | |
| | | this.zhenghuzangList = response.data; |
| | | }); |
| | | }, |
| | | |
| | | jibing(sel) { |
| | | console.log(sel); |
| | | this.rulesList.forEach((item) => { |
| | | console.log(item); |
| | | if (sel == item.bingzhong) { |
| | | this.icd = item.aid; |
| | | } |
| | | }); |
| | | }, |
| | | // 搜索 |
| | | getRemoteData(query) { |
| | | if (query) { |
| | | let data = { |
| | | bingzhong: query, |
| | | }; |
| | | listRules(data).then((response) => { |
| | | this.rulesList = response.rows; |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | // 新增行 |
| | | addmembers() { |
| | | if (this.form.cusName) { |
| | |
| | | } |
| | | this.$forceUpdate(); |
| | | }, |
| | | |
| | | jibing(sel) { |
| | | console.log(sel); |
| | | this.diseaseNames = sel; |
| | | this.rulesList.forEach((item) => { |
| | | if (sel == item.icdname) { |
| | | this.icdId = item.id; |
| | | console.log(this.icdId); |
| | | } |
| | | }); |
| | | }, |
| | | // 搜索 |
| | | getRemoteData(query) { |
| | | if (query) { |
| | | let data = { |
| | | icdname: query, |
| | | pageNum: 1, |
| | | pageSize: 200, |
| | | }; |
| | | list(data).then((response) => { |
| | | this.rulesList = response.rows; |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | delememberss() { |
| | | let that = this; |
| | | if (that.form.workLogs.length == that.chageall.length) { |
| | |
| | | }, |
| | | /** 提交按钮 */ |
| | | submitForm() { |
| | | // this.form.tjNum = this.jianqianwenzhendata.tjNum; |
| | | // this.form.tjAskHistorysList.icdId = this.icd; |
| | | this.form.tjAskHistorysList.forEach(element=>{ |
| | | // console.log(element,111); |
| | | this.rulesList.forEach((item) => { |
| | | // console.log(item,222); |
| | | if(element.diseaseName == item.icdname){ |
| | | element.icdId = item.id; |
| | | } |
| | | }); |
| | | |
| | | }) |
| | | updateHistory(this.form).then((response) => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | }); |
| | |
| | | // 单选按钮 |
| | | radioChange() { |
| | | heXiaoByIds(this.orderIds).then((response) => { |
| | | this.$modal.msgSuccess("报告已核收!请前往体检记录页面查看!"); |
| | | this.$modal.msgSuccess("报告已核收!请前往报告打印页面查看!"); |
| | | }); |
| | | }, |
| | | |
| | |
| | | > |
| | | </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; |
| | | } |
| | |
| | | :before-close="handleClose1" |
| | | > |
| | | <jianqianwenzhen |
| | | :jianqianwenzhendata="jianqianwenzhendata" |
| | | :jianqianwenzhendata="jianqianwenzhendata" v-if="flags" |
| | | ></jianqianwenzhen> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="jianqians = false">取 消</el-button> |
| | |
| | | name: "checkAll", |
| | | data() { |
| | | return { |
| | | flags:false, |
| | | jianqianwenzhendata:[], |
| | | jianqians:false, |
| | | sex: true, |
| | |
| | | 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 |
| | | }); |
| | | jianqian() { |
| | | this.flags = true; |
| | | this.jianqians = true; |
| | | let tjNumber = this.tableAll.tjNumber; |
| | | this.jianqianwenzhendata.push(tjNumber); |
| | | }, |
| | | getList() { |
| | | this.loading = true; |
| | |
| | | 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) => { |
| | |
| | | |
| | | 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.userList.forEach((item) => { |
| | | if (this.doctorName == item.nickName) { |
| | | this.doctorName = item.userId; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | this.proParentList.sons.forEach((item) => { |
| | |
| | | } |
| | | 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.userList.forEach((item) => { |
| | | if (this.doctorName == item.nickName) { |
| | | this.doctorName = item.userId; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | this.proParentList.sons.forEach((item) => { |
| | |
| | | listUser(this.addDateRange(this.queryParams, this.dateRange)).then( |
| | | (response) => { |
| | | this.userList = response.rows; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | ); |
| | | getInfo().then((response) => { |
| | |
| | | |
| | | 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.userList.forEach((item) => { |
| | | if (this.doctorName == item.nickName) { |
| | | this.doctorName = item.userId; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | this.proParentList.sons.forEach((item) => { |
| | |
| | | } |
| | | 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.userList.forEach((item) => { |
| | | if (this.doctorName == item.nickName) { |
| | | this.doctorName = item.userId; |
| | | if (this.doctorName == null) { |
| | | this.userList.forEach((element) => { |
| | | const userName = this.$store.state.user.name; |
| | | if (userName == element.userName) { |
| | | this.doctorName = element.nickName; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | this.proParentList.sons.forEach((item) => { |
| | |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | :disabled="multiple" |
| | | @click="baogaoyulan" |
| | | >报告预览</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <div id="main111"> |
| | | <el-input style="width: 920px" v-model="form.name"></el-input> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-dialog |
| | | class="dia" |
| | | title="PDF 预览" |
| | | :visible.sync="dialogVisibles" |
| | | :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> |
| | | |
| | |
| | | label: "空号", |
| | | }, |
| | | ], |
| | | url: "", |
| | | dialogVisibles: false, |
| | | barcode: null, |
| | | value: "", |
| | | dialogVisible: false, |
| | |
| | | const params = { viewNum, tjNum }; |
| | | this.$tab.openPage("健康证检查表", "/report/jiankangzheng", params); |
| | | }, |
| | | baogaoyulan() { |
| | | const tjNumber = this.report; |
| | | const flag = true; |
| | | getPdf(tjNumber, flag).then((response) => { |
| | | if (response.size === 0) { |
| | | const loading = this.$loading({ |
| | | lock: true, |
| | | text: "Loading", |
| | | spinner: "el-icon-loading", |
| | | background: "rgba(0, 0, 0, 0.7)", |
| | | }); |
| | | setTimeout(() => { |
| | | loading.close(); |
| | | }, 3000); |
| | | // this.$message.msgSuccess("报告正在生成,请两分钟后预览!"); |
| | | this.$message({ |
| | | message: '报告正在生成,请两分钟后预览!', |
| | | type: 'warning' |
| | | }); |
| | | } else { |
| | | this.dialogVisible = true; |
| | | |
| | | this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url |
| | | } |
| | | }); |
| | | }, |
| | | //打印小票 |
| | | printHandle() { |
| | | setTimeout(function () { |