| | |
| | | // 查询该体检号对应的订单流水列表 |
| | | export function getNumber(tjNumber) { |
| | | return request({ |
| | | url: '/hosp/water/flowingWaterByTjNumber/'+ tjNumber, |
| | | url: '/hosp/water/flowingWaterByTjNumber/' + tjNumber, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | return request({ |
| | | url: '/hosp/order/goOut', |
| | | method: 'get', |
| | | params:data |
| | | params: data |
| | | }) |
| | | } |
| | | |
| | |
| | | return request({ |
| | | url: '/hosp/order/abandon', |
| | | method: 'get', |
| | | params:data |
| | | params: data |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | // 生成pdf |
| | | export function getPdf(tjNumber,flag) { |
| | | export function getPdf(tjNumber, flag) { |
| | | return request({ |
| | | url: '/system/report/preview/'+ flag + '/'+ tjNumber, |
| | | url: '/system/report/preview/' + flag + '/' + tjNumber, |
| | | method: 'get', |
| | | responseType: 'blob', |
| | | headers:{ |
| | | headers: { |
| | | "type": 'application/pdf' |
| | | } |
| | | }) |
| | | } |
| | | // 生成pdf |
| | | export function getPdfpre(tjNumber,flag,sfdy) { |
| | | export function getPdfpre(tjNumber, flag, sfdy) { |
| | | return request({ |
| | | url: '/system/report/previewprint/'+ flag + '/'+ tjNumber + '/' + sfdy, |
| | | url: '/system/report/previewprint/' + flag + '/' + tjNumber + '/' + sfdy, |
| | | method: 'get', |
| | | responseType: 'blob', |
| | | headers:{ |
| | | headers: { |
| | | "type": 'application/pdf' |
| | | } |
| | | }) |
| | |
| | | url: '/hosp/order/printGuidance/' + tjNumber, |
| | | method: 'get', |
| | | responseType: 'blob', |
| | | headers:{ |
| | | headers: { |
| | | "type": 'application/pdf' |
| | | } |
| | | }) |
| | |
| | | // 撤销生成体检报告 |
| | | export function revoke(tjNumber) { |
| | | return request({ |
| | | url: '/system/report/revocationReport/'+ tjNumber, |
| | | url: '/system/report/revocationReport/' + tjNumber, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | // 公众号签名 |
| | | export function getWxSignature(params) { |
| | | return request({ |
| | | url: '/wx/jsapi/signature', |
| | | method: 'get', |
| | | params: params |
| | | }) |
| | | } |
| | | // 公众号签名 |
| | | export function getWxSignature(params) { |
| | | return request({ |
| | | url: '/wx/jsapi/signature', |
| | | method: 'get', |
| | | params: params |
| | | }) |
| | | } |
| | | |
| | | export function createFormResultRequest(data) { |
| | | return request({ |
| | | url: '/user/form/data/create', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | export function publicCreateFormResultRequest(data) { |
| | | return request({ |
| | | url: '/user/form/data/public/create', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | export function createFormResultRequest(data) { |
| | | return request({ |
| | | url: '/user/form/data/create', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | export function publicCreateFormResultRequest(data) { |
| | | return request({ |
| | | url: '/user/form/data/public/create', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function checkWritePwdRequest(data) { |
| | | return request({ |
| | | url: '/user/form/public/checkWritePwd', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function getPublicSettingsRequest(key) { |
| | | return request({ |
| | | url: '/user/form/public/settings/'+key, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | export function checkWritePwdRequest(data) { |
| | | return request({ |
| | | url: '/user/form/public/checkWritePwd', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function getRecordByTjNumber(tjNumber) { |
| | | return request({ |
| | | url: '/user/form/data/getRecordByTjNumber', |
| | | method: 'get', |
| | | params: { |
| | | tjNumber |
| | | } |
| | | }) |
| | | } |
| | | export function getPublicSettingsRequest(key) { |
| | | return request({ |
| | | url: '/user/form/public/settings/' + key, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export function getRecordByTjNumber(tjNumber) { |
| | | return request({ |
| | | url: '/user/form/data/getRecordByTjNumber', |
| | | method: 'get', |
| | | params: { |
| | | tjNumber |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | export function listFormFieldsRequest(formKey) { |
| | | return request({ |
| | | url: '/user/form/fields/'+formKey, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | export function listFormFieldsRequest(formKey) { |
| | | return request({ |
| | | url: '/user/form/fields/' + formKey, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export function listFormDataTableRequest(data) { |
| | | return request({ |
| | | url: '/user/form/data/query', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | export function listFormDataTableRequest(data) { |
| | | return request({ |
| | | url: '/user/form/data/query', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | // 批量发送邮件 |
| | | // 批量发送邮件 |
| | | export function addCustomerBlack(data) { |
| | | return request({ |
| | | url: '/hosp/cusBlack/addCustomerBlack', |
| | |
| | | url: '/hosp/order/getBlproByTjh', |
| | | method: 'get', |
| | | params: { |
| | | tjNum:tjNumber |
| | | tjNum: tjNumber |
| | | } |
| | | }) |
| | | } |
| | |
| | | return request({ |
| | | url: '/hosp/order/revokeBlProByBldhAndTjh', |
| | | method: 'post', |
| | | data:data |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | |
| | | return request({ |
| | | url: '/hosp/order/heshouchexiao', |
| | | method: 'post', |
| | | data:data |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | // 强制撤销 |
| | | export function getForceChexiao(tjNum) { |
| | | return request({ |
| | | url: '/hosp/order/revokeTjOrderByTjh', |
| | | method: 'get', |
| | | params: { |
| | | tjNum |
| | | } |
| | | }) |
| | | } |
| | |
| | | >打印补录单</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="ForceChexiao" |
| | | :disabled="single" |
| | | v-hasPermi="['qzcx']" |
| | | >强制撤销</el-button |
| | | > |
| | | </el-col> |
| | | <right-toolbar |
| | | :showSearch.sync="showSearch" |
| | | @queryTable="getList" |
| | |
| | | getTransitionInfo, |
| | | getBlproByTjh, |
| | | revokeBlProByBldhAndTjh, |
| | | getForceChexiao, |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import { getZhList, getlistByZhId } from "@/api/system/package"; |
| | |
| | | queryCompany, |
| | | addbatch, |
| | | } from "@/api/team/tuanti"; |
| | | import { createLogger } from "vuex"; |
| | | export default { |
| | | components: { |
| | | ViewPdf, |
| | |
| | | .catch(() => { |
| | | this.$message.error("无法获取用户信息!"); |
| | | }); |
| | | }, |
| | | |
| | | // 强制撤销按钮 |
| | | ForceChexiao() { |
| | | const tjNum = this.tjnumbers; |
| | | this.$confirm( |
| | | "您是否需要强制撤销?撤销后该人员本次体检记录不可恢复!", |
| | | "确认信息", |
| | | { |
| | | distinguishCancelAndClose: true, |
| | | confirmButtonText: "确认", |
| | | cancelButtonText: "取消", |
| | | customClass: "custom-message-box", |
| | | } |
| | | ) |
| | | |
| | | .then(() => { |
| | | getForceChexiao(tjNum).then((res) => { |
| | | this.$modal.msgSuccess("撤销成功"); |
| | | this.getList(); |
| | | }); |
| | | }) |
| | | .catch((action) => { |
| | | if (action === "cancel") { |
| | | this.$message({ |
| | | type: "warning", |
| | | message: "已取消", |
| | | }); |
| | | } |
| | | }); |
| | | this.$nextTick(() => { |
| | | // 确保弹框渲染后应用样式 |
| | | const messageBox = document.querySelector( |
| | | ".custom-message-box .el-message-box__message" |
| | | ); |
| | | if (messageBox) { |
| | | messageBox.style.color = "red"; // 通过 JS 强制设置颜色 |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | handleRevoke() { |
| | |
| | | // .el-dialog__body { |
| | | // padding: 20px; |
| | | // } |
| | | ::v-deep .el-message-box__message { |
| | | color: red !important; /* 强制设置颜色为红色 */ |
| | | } |
| | | // .custom-message-box .el-message-box__message { |
| | | // color: red !important; /* 设置文字为红色 */ |
| | | // } |
| | | .o { |
| | | margin-top: 8px; |
| | | } |
| | |
| | | display: flex; |
| | | flex-direction: column; |
| | | } |
| | | |
| | | ::v-deep .el-step__title.is-process { |
| | | color: rgb(24, 144, 255); |
| | | } |
| | |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="单位" prop="proMetering"> |
| | | <el-input |
| | | v-model="form.proMetering" |
| | | placeholder="请输入单位" |
| | | style="width: 260px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="参考范围" prop="proScope"> |
| | | <el-input |
| | | v-model="form.proScope" |
| | | placeholder="请输入参考范围" |
| | | style="width: 200px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="数量" prop="sl"> |
| | | <el-input |
| | | v-model="form.sl" |
| | | placeholder="请输入数量" |
| | | style="width: 260px" |
| | | style="width: 200px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="组合标志" prop="sfzhfy"> |
| | | <el-select |
| | | v-model="form.sfzhfy" |
| | | placeholder="请选择是否组合标志" |
| | | style="width: 200px" |
| | | style="width: 260px" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_yes_no" |
| | |
| | | |
| | | </span> |
| | | |
| | | <el-input v-model="form.hisXmmc" placeholder="his项目名称" style="width: 260px;"> |
| | | <el-input v-model="form.hisXmmc" placeholder="his项目名称" style="width: 200px;"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="his项目名称" prop="hisXmmc" v-if="key == 'N'"> |
| | |
| | | <el-input |
| | | v-model="form.hisXmbm" |
| | | placeholder="请输入his编码" |
| | | style="width: 200px" |
| | | style="width: 260px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="his单价" prop="hisdj"> |
| | |
| | | LIS项目 |
| | | </span> |
| | | |
| | | <el-input v-model="form.lisXmmc" placeholder="请输入LIS项目" style="width: 260px;"> |
| | | <el-input v-model="form.lisXmmc" placeholder="请输入LIS项目" style="width: 200px;"> |
| | | </el-input> |
| | | </el-form-item> |
| | | |
| | |
| | | <el-input |
| | | v-model="form.LISXmbm" |
| | | placeholder="请输入his编码" |
| | | style="width: 200px" |
| | | style="width: 260px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="备注" prop="proRemark"> |
| | |
| | | sfxmId: "", |
| | | lisXmbm: "", |
| | | lisXmmc: "", |
| | | proMetering:'', |
| | | proScope:'' |
| | | }, |
| | | // 表单校验 |
| | | rules: { |
| | |
| | | }; |
| | | getAllChildListById(data).then((response) => { |
| | | // this.projectList = this.handleTree(response.data.list, "proId"); |
| | | console.log(response,1122); |
| | | |
| | | this.projectList = response.data.list; |
| | | this.loading = false; |
| | | }); |
| | |
| | | const proId = row.proId || this.ids; |
| | | this.proParent = false; |
| | | getProject(proId).then((response) => { |
| | | console.log(response,999); |
| | | |
| | | this.form = response.data; |
| | | if (this.form.proParentId === "0") { |
| | | this.showPrise = true; |