src/api/doctor/check.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/public/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/doctor/check/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/doctor/test/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/picture/picture/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/api/doctor/check.js
@@ -64,6 +64,17 @@ }) } // 医生点击体检信息详情(只显示父项目列表) export function getParentListWs(tjNumber) { return request({ url: '/system/dept/getParentListWs', method: 'get', params:{ tjNumber:tjNumber } }) } //点击父项目显示子项目详情 export function getParentId(data) { src/components/public/index.vue
@@ -6,7 +6,7 @@ 检测结果 :{{ fList.proResult }}{{ fList.project.proMetering }} </h3> <h2 style="text-align: center;">{{ queryParams.proName || '暂无项目名称' }}</h2> <h2 style="text-align: center;">{{ proName || '暂无项目名称' }}</h2> <div style="display: flex; width: 100%"> <div style="width: 50%; margin-right: 40px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px"> @@ -146,7 +146,7 @@ if (newVal && newVal.length > 0) { const firstProject = newVal[0]; // 你也可以遍历所有项目,看你业务需求 this.queryParams.proId = firstProject.proId; // 假设项目中叫 id this.queryParams.proName = firstProject.proName; // 假设叫 proName //this.queryParams.proName = firstProject.proName; // 假设叫 proName this.proName = firstProject.proName } }, src/views/doctor/check/index.vue
@@ -36,7 +36,8 @@ </template> </el-table-column> <el-table-column label="出生日期" align="center" prop="cusBrithday" width="100px" /> <el-table-column label="电话" align="center" prop="cusPhone" width="100px" /> <el-table-column label="套餐名称" align="center" prop="pacName" width="100px" /> <!-- <el-table-column label="电话" align="center" prop="cusPhone" width="100px" /> --> <el-table-column label="体检类型" align="center" prop="tjType" width="80px" /> <el-table-column label="登记时间" align="center" prop="tjTime" width="160px"> </el-table-column> @@ -1001,7 +1002,6 @@ // 输入确认时更新 BMI handleInputConfirm(row, params) { console.log(row, params, 55555) // 如果有 params 且为空,取消异常状态并清空相关字段 if (params && params.length === 0) { row.exceptionDesc = false; src/views/doctor/test/index.vue
@@ -440,10 +440,11 @@ import Public from "@/components/public"; import { getInfo } from "@/api/login"; import { AutoGetRule, huaYangetProList, getPhotoList, getaddRemark, getParentList, getParentListWs, getParentId, getDeptAdvice, } from "@/api/doctor/check"; @@ -533,9 +534,11 @@ summaryAll: [], tjOrderDetailList: [], tjOrderDetail: [], autorule: [], deptId: "", userId: "", nickName: "", focusrow: {}, date: new Date(new Date().getTime() + 8 * 3600 * 1000) .toJSON() .substr(0, 19) @@ -978,7 +981,7 @@ } this.tjNumber = row.tjNumber; let num = 0; getParentList(this.tjNumber).then((response) => { getParentListWs(this.tjNumber).then((response) => { if (response.data) { this.loading = false; this.Parent = response.data; @@ -1335,6 +1338,75 @@ handleInputConfirm(row) { this.rows.push(row); this.focusrow = row; const pattern3 = new RegExp("[0-9]+"); if (pattern3.test(row.proResult)) { let data = { proId: this.focusrow.proId, cusId: this.tableAll.cusId, tjNum: this.tableAll.tjNumber, keyNum: this.focusrow.proResult, }; AutoGetRule(data).then((res) => { this.focusrow.conclusion = ""; if (res.data) { this.autorule = res.data; this.focusrow.rulesList = res.data; if (row.project.sfcyyc == 1) { return } else { if (res.data.length > 0) { const conditions = ["正常", "未见异常", "阴性", "未见明显异常"]; this.focusrow.exceptionDesc = !conditions.some((condition) => this.autorule[0].bz.includes(condition) ); } else { this.focusrow.exceptionDesc = false; } } if (this.autorule.length !== 0 && (this.autorule[0] || this.autorule[0].nr)) { this.focusrow.proAdvice = this.autorule[0].nr; } this.autorule.forEach((item) => { this.focusrow.conclusion += this.focusrow.conclusion ? item.bz : item.bz; }); } }); } else { let data = { proId: this.focusrow.proId, cusId: this.tableAll.cusId, keyWord: this.focusrow.proResult, // 修改为 proResult.proResult tjNum: this.tableAll.tjNumber, keyNum: this.focusrow.proResult, }; AutoGetRule(data).then((res) => { this.focusrow.conclusion = ""; if (res.data) { this.autorule = res.data; this.focusrow.rulesList = res.data; if (row.project.sfcyyc == 1) { return } else { if (res.data.length > 0) { const conditions = ["正常", "未见异常", "阴性", "未见明显异常"]; this.focusrow.exceptionDesc = !conditions.some((condition) => this.autorule[0].bz.includes(condition) ); } else { this.focusrow.exceptionDesc = false; } } if (this.autorule.length !== 0 && (this.autorule[0] || this.autorule[0].nr)) { this.focusrow.proAdvice = this.autorule[0].nr; } this.autorule.forEach((item) => { this.focusrow.conclusion += this.focusrow.conclusion ? item.bz : item.bz; }); } }); } }, // 点击确认 determine() { src/views/picture/picture/index.vue
@@ -1,14 +1,17 @@ <template> <div class="app-container"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px"> <el-form-item label="姓名" prop="name"> <el-input v-model="queryParams.name" placeholder="请输入姓名" clearable @keyup.enter.native="handleQuery" style="width: 110px" /> </el-form-item> <el-form-item label="体检号" prop="tjNumber"> <el-input ref="inputName" v-model="queryParams.tjNumber" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery" @blur="hb" style="width: 170px" /> </el-form-item> <el-form-item label="姓名" prop="name"> <el-input v-model="queryParams.name" placeholder="请输入姓名" clearable @keyup.enter.native="handleQuery" style="width: 110px" /> <el-form-item label="项目" prop="tcm"> <el-input v-model="queryParams.tcm" placeholder="请输入项目" clearable @keyup.enter.native="handleQuery" style="width: 170px" /> </el-form-item> <el-form-item label="单位名称" prop="tjCompName" style="margin-left: 20px"> <el-select :remote-method="getRemoteData" v-model="queryParams.tjCompName" value-key="drugManufacturerId" @@ -16,25 +19,26 @@ <el-option v-for="dict in CompanyList" :key="dict.drugManufacturerId" :label="dict.cnName" :value="dict" /> </el-select> </el-form-item> <el-form-item label="项目" prop="tcm"> <el-input v-model="queryParams.tcm" placeholder="请输入项目" clearable @keyup.enter.native="handleQuery" style="width: 170px" /> <el-form-item> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" style="margin-right: 15px">搜索</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> <el-button type="primary" size="mini" @click="toggleCollapse" style="margin-right: 15px" v-show="isCollapsed == 0">高级搜索</el-button> <el-button type="primary" size="mini" @click="toggleCollapse3" style="margin-right: 15px" v-show="isCollapsed == 1">高级搜索</el-button> </el-form-item> <el-form-item label="登记时间" prop="createTimeList" v-show="isCollapsed == 1"> <el-row v-show="isCollapsed == 1" :gutter="20"> <el-col :span="8"> <el-form-item label="登记时间" prop="createTimeList" v-show="isCollapsed == 1"> <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions" style="width: 310px" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:59:59']" format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" @change="dateChangebirthday1"> </el-date-picker> </el-form-item> <el-form-item> <el-button type="primary" size="mini" @click="toggleCollapse" style="margin-right: 15px" v-show="isCollapsed == 0">展开更多</el-button> <el-button type="primary" size="mini" @click="toggleCollapse3" style="margin-right: 15px" v-show="isCollapsed == 1">收起更多</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" style="margin-right: 15px">搜索</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> </el-form-item> </el-col> </el-row> </el-form> <el-radio-group v-model="checkStatus" @input="radioChange" style="margin: 10px 15px">