Browse Source

no message

fan0987 4 days ago
parent
commit
b8e5dba387

+ 18 - 0
ruoyi-ui/src/api/bank/refund.js

@@ -42,3 +42,21 @@ export function delRefund(refundid) {
     method: 'delete'
   })
 }
+
+// 查询退款失败保证金退款信息列表
+export function refundFailList(query) {
+  return request({
+    url: '/bank/refund/refundFailList',
+    method: 'get',
+    params: query
+  })
+}
+
+// 修改失败保证金退款状态
+export function updateFailRefund(data) {
+  return request({
+    url: '/bank/refund/update',
+    method: 'put',
+    data: data
+  })
+}

+ 3 - 3
ruoyi-ui/src/views/guarantee/defeat/components/custom.vue

@@ -39,7 +39,7 @@
 </template>
 
 <script>
-import { listRefund, updateRefund } from "@/api/bank/refund";
+import { refundFailList, updateFailRefund } from "@/api/bank/refund";
 import { checkRole } from "@/utils/permission"; // 权限判断函数
 import { backCustomFile } from './exportFile';
 
@@ -84,7 +84,7 @@ export default {
             this.loading = true;
             this.refundList = []
 
-            listRefund(this.queryParams).then(response => {
+            refundFailList(this.queryParams).then(response => {
                 this.refundList = response.rows;
                 this.total = response.total;
                 this.loading = false;
@@ -118,7 +118,7 @@ export default {
                     status: '6'
                 }
 
-                updateRefund(params)
+                updateFailRefund(params)
                 .then(res => {
                     this.$message({
                         type: 'success',