| | |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | |
| | | export function huoqutuantitaocanxiangmuList(dwId) { |
| | | return request({ |
| | | url: 'hosp/dwgrouping/huoqutuantitaocanxiangmuList', |
| | | method: 'get', |
| | | params:{ |
| | | dwId:dwId |
| | | } |
| | | }) |
| | | } |
| | |
| | | this.handleClick(val); |
| | | } |
| | | }, |
| | | qingkong() { |
| | | this.tableAll = {} |
| | | this.changedate = [] |
| | | this.yichangList = [] |
| | | this.statusList = [] |
| | | this.xmChange = [] |
| | | this.fcList =[] |
| | | this.formobj ={} |
| | | }, |
| | | |
| | | handleClick(row) { |
| | | this.qingkong() |
| | | this.$refs.Pre.open = false; |
| | | this.tableAll = row; |
| | | this.tjproject = "0"; |
New file |
| | |
| | | <template> |
| | | <div v-loading="loading" :style="'height:' + height"> |
| | | <iframe :src="src" frameborder="no" style="width: 100%;height: 100%" scrolling="auto" /> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import { |
| | | getToken |
| | | } from '@/utils/auth' |
| | | import { view } from "@/api/jmreport/jimu"; |
| | | export default { |
| | | name: "Ureport", |
| | | data() { |
| | | return { |
| | | src: "", |
| | | height: document.documentElement.clientHeight - 94.5 + "px;", |
| | | loading: true, |
| | | viewNum:"920476201831313409" |
| | | }; |
| | | }, |
| | | created() { |
| | | view().then((res) => { |
| | | this.src = |
| | | res + |
| | | "/" + |
| | | this.viewNum + |
| | | "?token=Bearer " + |
| | | getToken(); |
| | | }); |
| | | // this.src = "http://192.168.0.99:8080/ltkj-admin/jmreport/view/803795472456839168?token=Bearer " + getToken(); |
| | | }, |
| | | |
| | | mounted: function () { |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | }, 230); |
| | | const that = this; |
| | | window.onresize = function temp() { |
| | | that.height = document.documentElement.clientHeight - 94.5 + "px;"; |
| | | }; |
| | | } |
| | | }; |
| | | </script> |
| | |
| | | <div style="width: 100%; margin-left: 10px; display: flex"> |
| | | <div style="width: 40%; margin-right: 20px"> |
| | | <el-table id="ta" v-loading="loading1" ref="tb" :data="samplingList" @selection-change="handleSelectionChange" |
| | | border height="520px" :row-class-name="tableRowClassName"> |
| | | @current-change="handleCurrentChangess" border height="520px" :row-class-name="tableRowClassName"> |
| | | <el-table-column type="selection" width="40" align="center" :selectable="selectable" /> |
| | | <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" /> |
| | | <el-table-column label="姓名" align="center" prop="cusName" width="80px" /> |
| | |
| | | } |
| | | this.handleQuery(); // 重新查询 |
| | | }, |
| | | handleCurrentChangess(val) { |
| | | if (val != null) { |
| | | this.$refs.tb.toggleRowSelection(val, true); |
| | | this.handleSelectionChange(val); |
| | | } |
| | | }, |
| | | |
| | | handleSelectionChange(selection) { |
| | | this.piliangList = selection; |
| | |
| | | </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); |
| | | }, |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-dialog title="选择套餐" :visible.sync="taocan" width="70%" height="700px" :close-on-click-modal="false"> |
| | | <el-dialog :visible.sync="taocan" width="70%" height="700px" :close-on-click-modal="false"> |
| | | <!-- <el-form :model="queryParam" ref="queryForm" size="small" :inline="true" label-width="auto"> |
| | | <el-form-item label="套餐名称" prop="pacName"> |
| | | <el-input v-model="queryParam.pacName" placeholder="请输入套餐名称" clearable @keyup.enter.native="handle" |
| | |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handle">搜索</el-button> |
| | | </el-form-item> |
| | | </el-form> --> |
| | | |
| | | <el-radio-group v-model="taocanStatus" @input="radioChangetaocan" style="margin-left: 10px;margin-bottom: 20px;"> |
| | | <el-radio-button label="0">基础套餐</el-radio-button> |
| | | <el-radio-button label="1">单位套餐</el-radio-button> |
| | | </el-radio-group> |
| | | <div> |
| | | <el-form :model="formdanwen" ref="queryForm" size="small" :inline="true" label-width="68px" |
| | | @submit.native.prevent v-if="taocanStatus == 1"> |
| | | <el-form-item label="单位名称" prop="drugManufacturerId"> |
| | | <el-select v-model="formdanwen.drugManufacturerId" remote filterable style="width: 200px" |
| | | placeholder="请选择单位名称" clearable> |
| | | <el-option v-for="dict in compList" :key="dict.cnName" :label="dict.cnName" |
| | | :value="dict.drugManufacturerId" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuerydanwen" |
| | | style="margin: 0 15px">搜索</el-button> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-table v-loading="loading" element-loading-text="正在加载中..." element-loading-spinner="el-icon-loading" border |
| | | :data="newpacName1" @selection-change="handleSelectionChange1" height="450px" ref="tb"> |
| | | <el-table-column type="selection" width="40px" align="center" label="选择" /> |
| | |
| | | <el-table-column label="套餐价格" align="center" prop="price" width="120px" /> |
| | | <el-table-column label="套餐明细" align="center" prop="allProName" :show-overflow-tooltip="true" /> |
| | | </el-table> |
| | | </div> |
| | | <!-- <div v-else> |
| | | |
| | | </div> --> |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="cancel1">取 消</el-button> |
| | | <el-button type="primary" @click="submit">确 定</el-button> |
| | |
| | | pym: null, |
| | | }, |
| | | id: "", |
| | | taocanStatus:0, |
| | | formdanwen:{}, |
| | | // 表单参数 |
| | | form: { |
| | | dwlx: 0, |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | radioChangetaocan(val) { |
| | | if (val == 0) { |
| | | this.getList() |
| | | } else { |
| | | this.handleQuerydanwen() |
| | | } |
| | | }, |
| | | |
| | | handleQuerydanwen() { |
| | | let dwId = this.formdanwen.drugManufacturerId |
| | | huoqutuantitaocanxiangmuList(dwId).then(res => { |
| | | this.newpacName1 = res.data |
| | | }) |
| | | }, |
| | | // 删除分组 |
| | | deleteGroup() { |
| | | delegrouping(this.groupIds).then((res) => { |
| | |
| | | }, |
| | | created() { |
| | | |
| | | this.getdate(); |
| | | // this.getdate(); |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | getdate() { |