| | |
| | | </el-dialog> |
| | | <!--:before-close="handleClose" --> |
| | | <el-dialog title="提示" :visible.sync="dialogVisiblese" width="30%"> |
| | | <el-radio v-model="radios" label="1">从业人员检查表</el-radio> |
| | | <el-radio v-model="radios" label="2">公共场所检查表</el-radio> |
| | | <el-form :model="forms" ref="form" :inline="true" label-width="76px" style="margin-top: 10px"> |
| | | <el-form-item label="" prop="radios"> |
| | | <el-select filterable v-model="forms.radios" placeholder="请选择打印健康检查表类型" clearable |
| | | > |
| | | <el-option v-for="dict in radiosList" :key="dict.dictValue" :label="dict.dictLabel" |
| | | :value="dict.dictValue" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | | <!-- <el-radio v-model="radios" label="1">从业人员检查表</el-radio> |
| | | <el-radio v-model="radios" label="2">公共场所检查表</el-radio> --> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisiblese = false">取 消</el-button> |
| | | <el-button type="primary" @click="timjiao">确 定</el-button> |
| | |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | | import { getDicts } from "@/api/system/dict/data"; |
| | | |
| | | import { |
| | | SubmitCompany, |
| | | getCompany, |
| | |
| | | isLoading: false, |
| | | isChexiao:false, |
| | | createTimeList: "", |
| | | forms:{ |
| | | radios:"" |
| | | }, |
| | | radiosList: [], |
| | | // printObj: { |
| | | // id: "box", //打印的区域 |
| | | // preview: false, //预览工具是否启用 |
| | |
| | | |
| | | jiankangReport() { |
| | | this.dialogVisiblese = true; |
| | | let dictType = "jimu_lx" |
| | | getDicts(dictType).then(res => { |
| | | console.log(res.data) |
| | | this.radiosList = res.data |
| | | }) |
| | | }, |
| | | timjiao() { |
| | | if (this.radios == "1") { |
| | | this.mobanId = "912502827716915200"; |
| | | } else { |
| | | this.mobanId = "912519857543262208"; |
| | | } |
| | | // if (this.radios == "1") { |
| | | // this.mobanId = "912502827716915200"; |
| | | // } else { |
| | | // this.mobanId = "912519857543262208"; |
| | | // } |
| | | const tjNum = this.report; |
| | | const viewNum = this.mobanId; |
| | | const viewNum = this.forms.radios; |
| | | const params = { viewNum, tjNum }; |
| | | this.$tab.openPage("健康证检查表", "/report/jiankangzheng", params); |
| | | }, |