| | |
| | | src: "", |
| | | height: document.documentElement.clientHeight - 94.5 + "px;", |
| | | loading: true, |
| | | viewNum:"920476201831313408" |
| | | viewNum:"1098035773693526016" |
| | | }; |
| | | }, |
| | | created() { |
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:"920476201831313408" |
| | | }; |
| | | }, |
| | | 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> |
| | |
| | | </el-select> |
| | | <i class="el-icon-circle-plus-outline" @click="handleAdd1"></i> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="套餐名称" prop="dwDeptName"> |
| | | <el-select v-model="queryParams.dwDeptName" placeholder="请选择套餐名称" clearable style="width: 100%" |
| | | @change="idFn2"> |
| | | <el-option v-for="dict in deptList" :key="dict.id" :label="dict.dwDeptName" :value="dict.id" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="分组名称" prop="groupingName"> |
| | | <el-select v-model="queryParams.groupingName" placeholder="请选择分组名称" clearable style="width: 100%"> |
| | | <el-option v-for="dict in groupingList" :key="dict.id" :label="dict.pacName" :value="dict.id" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="预约时间"> |
| | | <el-date-picker |
| | | clearable |
| | |
| | | <span>{{ parseTime(scope.row.reservationTime, "{y}-{m}-{d}") }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="体检类型" |
| | | align="center" |
| | | prop="tjType" |
| | |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.dict_team" :value="scope.row.tjType" /> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | label="婚姻" |
| | | align="center" |
| | |
| | | prop="company" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="邮箱" |
| | | align="center" |
| | | prop="email" |
| | | :show-overflow-tooltip="true" |
| | | width="160px" |
| | | /> --> |
| | | <el-table-column |
| | | label="套餐名称" |
| | | align="center" |
| | | prop="tcmc" |
| | | :show-overflow-tooltip="true" |
| | | width="160px" |
| | | /> |
| | | <el-table-column |
| | | label="分组名称" |
| | | align="center" |
| | | prop="fzmc" |
| | | :show-overflow-tooltip="true" |
| | | width="160px" |
| | | /> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { addComp, addPlOrderAndDetail } from "@/api/system/comp"; |
| | | import { addComp, addPlOrderAndDetail, Deptlist, |
| | | getDwAndDwDept, } from "@/api/system/comp"; |
| | | import Big from "big.js"; |
| | | import { Loading } from "element-ui"; |
| | | import { |
| | |
| | | taocan: false, |
| | | webSocket: null, |
| | | defaultKeys: [], |
| | | deptList: [], |
| | | groupingList: [], |
| | | value1: "", |
| | | pacName: "", |
| | | hides: false, |
| | |
| | | this.open1 = true; |
| | | this.title = "添加体检单位信息维护"; |
| | | }, |
| | | idFn1(value) { |
| | | idFn1(value) { |
| | | console.log(value) |
| | | if (value) { |
| | | this.form.dictCompId = value; |
| | | this.CompanyList.forEach((item) => { |
| | |
| | | this.queryParams.company = item.cnName; |
| | | } |
| | | }); |
| | | Deptlist(value).then((response) => { |
| | | this.deptList = response.data; |
| | | }); |
| | | } |
| | | }, |
| | | idFn2(value) { |
| | | let data = { |
| | | deptId: value, |
| | | dwId: this.form.dictCompId, |
| | | }; |
| | | getDwAndDwDept(data).then((response) => { |
| | | // 部门名称 |
| | | this.groupingList = response.data; |
| | | |
| | | }); |
| | | }, |
| | | dateChangebirthday2(val) { |
| | | this.startTime = val; |
| | |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | |
| | | // 表单重置 |
| | | reset() { |
| | | this.form = { |