From 5061c27b5fe99450a192843195b53cc04d95974a Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期二, 13 五月 2025 16:40:05 +0800 Subject: [PATCH] qx --- src/api/hosp/customer.js | 11 +++++ src/views/doctor/check/index.vue | 2 src/views/doctor/checkAll/index.vue | 8 ++-- src/views/system/comp/index.vue | 10 ++++ src/api/doctor/checkAll.js | 9 ++++ src/views/hosp/customer/index.vue | 22 ++++++++++ 6 files changed, 55 insertions(+), 7 deletions(-) diff --git a/src/api/doctor/checkAll.js b/src/api/doctor/checkAll.js index 077682c..d52756a 100644 --- a/src/api/doctor/checkAll.js +++ b/src/api/doctor/checkAll.js @@ -147,3 +147,12 @@ params: data }) } + + +export function UpdFcPro(data) { + return request({ + url: '/check/UpdFcPro', + method: 'post', + data: data + }) +} diff --git a/src/api/hosp/customer.js b/src/api/hosp/customer.js index a8e8636..2218055 100644 --- a/src/api/hosp/customer.js +++ b/src/api/hosp/customer.js @@ -153,3 +153,14 @@ } }) } + + + +// 浣撴鐐瑰嚮鏀惰垂鎸夐挳鎺ュ彛 +export function getUserinfo(data) { + return request({ + url: '/hosp/customer/zhuceTjCustomer', + method: 'post', + data: data + }) +} diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 262aa2c..055a0fb 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -1061,7 +1061,7 @@ const bmi = this.calculateBMI(heightRow.proResult, weightRow.proResult); bmiRow.proResult = bmi || ''; } else { - this.$message.error('缂哄皯韬珮銆佷綋閲嶆垨 BMI 椤圭洰'); + // this.$message.error('缂哄皯韬珮銆佷綋閲嶆垨 BMI 椤圭洰'); } this.proParentList.xiaoJie.forEach((item) => { this.titles += item.title + ","; diff --git a/src/views/doctor/checkAll/index.vue b/src/views/doctor/checkAll/index.vue index 5f7955c..9243f19 100644 --- a/src/views/doctor/checkAll/index.vue +++ b/src/views/doctor/checkAll/index.vue @@ -184,9 +184,9 @@ <div class="btn1"> <el-button @click="yichangjieguo()" type="primary"><span class="vertical-text">寮傚父缁撴灉</span></el-button> </div> - <!-- <div class="btn1"> + <div class="btn1"> <el-button @click="fuchaxiangmu()" type="primary"><span class="vertical-text">澶嶆煡椤圭洰</span></el-button> - </div> --> + </div> </div> <div class="box"> <div class="left-container"> @@ -824,7 +824,7 @@ gettoPdf, getModified, isPdfOrJimu, - addOrder, + addOrder,UpdFcPro, getFcList } from "@/api/doctor/checkAll"; import { getInfoById } from "@/api/hosp/history"; @@ -876,7 +876,7 @@ preObj: {}, baogao: [], flags: false, - + fcList: [], xmopen: false, datasList: [], jianqianwenzhendata: [], diff --git a/src/views/hosp/customer/index.vue b/src/views/hosp/customer/index.vue index 672983f..7021dbb 100644 --- a/src/views/hosp/customer/index.vue +++ b/src/views/hosp/customer/index.vue @@ -270,6 +270,16 @@ >瀵煎嚭</el-button > </el-col> + <el-col :span="1.5"> + <el-button + type="primary" + size="mini" + @click="handleReInfor" + :disabled="single" + :loading="blackloading" + >娉ㄥ唽his淇℃伅</el-button + > + </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" @@ -1006,7 +1016,7 @@ delCustomer, addCustomer, updateCustomer, - getHistryTjOrderByCusIdCard, + getHistryTjOrderByCusIdCard,getUserinfo } from "@/api/hosp/customer"; import { getPdf, addCustomerBlack } from "@/api/hosp/order"; import { @@ -1360,6 +1370,16 @@ }); }, + handleReInfor() { + let data = { + cusId: this.ids[0], + }; + getUserinfo(data).then((res) => { + this.$modal.msgSuccess("娉ㄥ唽鎴愬姛"); + this.getList(); + }); + }, + inputChange() { const reg = /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/; diff --git a/src/views/system/comp/index.vue b/src/views/system/comp/index.vue index a2790d2..0bd0f14 100644 --- a/src/views/system/comp/index.vue +++ b/src/views/system/comp/index.vue @@ -98,6 +98,7 @@ v-loading="loading" :data="compList" @selection-change="handleSelectionChange" + ref="tab" > <el-table-column fixed="left" @@ -743,7 +744,7 @@ <el-col :span="8"> <span >鎬у埆锛歿{ - forms.sex === "1" ? "鐢�" : forms.sex === "0" ? "濂�" : "鏈煡" + forms.sex === "1" ? "濂�" : forms.sex === "0" ? "鐢�" : "鏈煡" }}</span > </el-col> @@ -1747,6 +1748,11 @@ this.ids = selection.map((item) => item.drugManufacturerId); this.single = selection.length !== 1; this.multiple = !selection.length; + if (selection.length > 1) { + // 濡傛灉閫夋嫨浜嗗琛岋紝淇濈暀鏈�鍚庝竴琛� + this.$refs.tab.clearSelection(); // 娓呯┖鎵�鏈夐�夋嫨 + this.$refs.tab.toggleRowSelection(selection[selection.length - 1]); // 閲嶆柊閫夋嫨鏈�鍚庝竴椤� + } }, // 閮ㄩ棬琛ㄦ牸鍗曡鑾峰彇 handleSelection(selection) { @@ -1987,6 +1993,8 @@ this.dataList = selection; this.resetright(); } + + }, resetright() { if (this.dataList.length == 0) { -- Gitblit v1.8.0