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/views/hosp/customer/index.vue |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

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]$/;

--
Gitblit v1.8.0