From fc33ca37c3f01081147679345af12d76240d30bc Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期六, 04 一月 2025 18:08:51 +0800 Subject: [PATCH] 1 --- src/api/hosp/customer.js | 27 +++++++++++++++++++++++++++ src/views/system/refund/index.vue | 8 ++++---- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/src/api/hosp/customer.js b/src/api/hosp/customer.js index ce13d45..a8e8636 100644 --- a/src/api/hosp/customer.js +++ b/src/api/hosp/customer.js @@ -18,6 +18,15 @@ }) } +//浣撴(閫�璐�)椤甸潰鏌ヨ鎺ュ彛 +export function getTjRefundList2(form) { + return request({ + url: '/hosp/water/findTjRefundListByNameAndTjNumAndPhone2', + method: 'get', + params: form + }) +} + // 浣撴閫�璐归」鐩鎯呮煡璇㈡帴鍙� export function getTjList(data) { @@ -28,6 +37,15 @@ }) } +// 浣撴閫�璐归」鐩鎯呮煡璇㈡帴鍙� +export function getTjList2(data) { + return request({ + url: '/hosp/water/getTjRefundProInfoVoList2', + method: 'get', + params: data + }) +} + // 浣撴閫�璐规寜閽帴鍙� export function getTjRefund(data) { return request({ @@ -37,6 +55,15 @@ }) } +// 浣撴閫�璐规寜閽帴鍙� +export function getTjRefund2(data) { + return request({ + url: '/hosp/water/tjRefund2', + method: 'post', + data: data + }) +} + // 浣撴(鏀惰垂)椤甸潰鏌ヨ鎺ュ彛 export function getfindTj(form) { return request({ diff --git a/src/views/system/refund/index.vue b/src/views/system/refund/index.vue index 12c6ae7..5c48c30 100644 --- a/src/views/system/refund/index.vue +++ b/src/views/system/refund/index.vue @@ -120,7 +120,7 @@ </template> <script> -import { getTjRefundList, getTjList, getTjRefund } from "@/api/hosp/customer"; +import { getTjRefundList, getTjList, getTjRefund,getTjRefundList2,getTjList2,getTjRefund2 } from "@/api/hosp/customer"; export default { dicts: [ @@ -209,7 +209,7 @@ /** 鎼滅储鎿嶄綔 */ handle() { this.loading = true; - getTjRefundList(this.form).then((response) => { + getTjRefundList2(this.form).then((response) => { if( response.data){ this.customerList = response.data; this.customerList.forEach((item1) => { @@ -265,7 +265,7 @@ let data = { orderId: this.tjOrderId, }; - getTjList(data).then((res) => { + getTjList2(data).then((res) => { this.numberList = res.data; this.loading = false; }); @@ -326,7 +326,7 @@ }); return; } - getTjRefund(data).then((res) => { + getTjRefund2(data).then((res) => { this.tjnumber = res.data.waterId; this.mobanId = res.data.mobanId; if (res.code === 200) { -- Gitblit v1.8.0