From d14994e10797ce5bc0d29668d358f7c5274dcc5b Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期三, 15 四月 2026 15:46:17 +0800
Subject: [PATCH] 新增调用外部接口api

---
 ui/admin-ui3/src/views/cwgl/accountAnalysisDetail/index.vue |   48 ++++++++++++++++++++++++++++++------------------
 1 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/ui/admin-ui3/src/views/cwgl/accountAnalysisDetail/index.vue b/ui/admin-ui3/src/views/cwgl/accountAnalysisDetail/index.vue
index a291ed4..8de4b9d 100644
--- a/ui/admin-ui3/src/views/cwgl/accountAnalysisDetail/index.vue
+++ b/ui/admin-ui3/src/views/cwgl/accountAnalysisDetail/index.vue
@@ -1,7 +1,7 @@
 <template>
   <basicContainer>
     <div class="account-analysis-detail">
-      <avue-crud ref="crudRef" v-model="form" v-model:search="searchForm" v-model:page="page" :option="option"
+      <avue-crud ref="crudRef" v-model="form" v-model:search="searchForm" :page="page" :option="option"
         :data="tableData" :table-loading="loading" :row-class-name="rowClassName" @on-load="onLoad"
         @search-change="searchChange" @search-reset="searchReset" @refresh-change="refreshChange"
         @current-change="currentChange" @size-change="sizeChange">
@@ -23,7 +23,7 @@
           <el-button type="primary" link underline="never" icon="View" @click="crudRef.rowView(row)">鏌ョ湅</el-button>
 
           <el-link type="primary" icon="el-icon-document" v-hasPermi="['cwgl:receivableBillManagement:log']"
-            :underline="false" @click="handleFlow(row)" style="margin-left: 12px;">鏃ュ織</el-link>
+            underline="never" @click="handleFlow(row)" style="margin-left: 12px;">鏃ュ織</el-link>
         </template>
       </avue-crud>
     </div>
@@ -99,7 +99,7 @@
 import { agingAnalysisList, listAccountLog, updateAccountAnalysis, receivableBillManagementAccountAnalysis } from "@/api/cwgl/analysisManagement";
 import useCurrentInstance from "@/utils/useCurrentInstance";
 import OperationLogModal from '@/components/OperationLogModal/index.vue';
-
+import { download } from "@/utils/request";
 const { proxy } = useCurrentInstance();
 const { sys_account_business } = proxy.useDict('sys_account_business');
 
@@ -151,8 +151,8 @@
 
 // --- Avue 閰嶇疆 ---
 const option = computed(() => ({
-  height: 'auto',
-  calcHeight: 30,
+  // height: 'auto',
+  // calcHeight: 30,
   searchShow: true,
   searchMenuSpan: 6,
   border: true,
@@ -160,11 +160,15 @@
   editBtn: false,
   delBtn: false,
   viewBtn: false,
-  showSummary: true,
   dicCache: true,
   menuWidth: 220,
   labelWidth: 150,
+  page: true,
+  pagination: true,
   searchLabelWidth: 120,
+  showSummary: true,
+  // 寮哄埗鎸囧畾鍚堣鏂囨锛堝鏋� method 杩斿洖绌猴紝瀹冧綔涓轰繚搴曪級
+  sumText: '鍚堣',
   sumColumnList: [
     { name: 'repaymentAmount', type: 'sum' },
     { name: 'ncSettlementAmount', type: 'sum' },
@@ -182,8 +186,8 @@
       detail: true,
       formatter: (row: any, value: any) => dictFormat(sys_account_business, value)
     },
-    { label: '璐﹀崟绯荤粺缂栧彿', prop: 'systemNo', search: true, width: 140 },
-    { label: '缁撶畻鏈�', prop: 'settlementPeriod', width: 100 },
+    { label: '璐﹀崟绯荤粺缂栧彿', prop: 'systemNo', search: true, width: 180 },
+    { label: '缁撶畻鏈�', prop: 'settlementPeriod', width: 200 },
     {
       label: 'NC璐﹂潰缁撶畻',
       children: [
@@ -210,7 +214,7 @@
         { label: '鏈紑绁ㄩ噾棰�', prop: 'unInvoicedAmount', width: 110 },
       ]
     },
-    { label: '澶囨敞', prop: 'remark', width: 120 },
+    { label: '澶囨敞', prop: 'accountRemark', width: 120 },
     { label: '灏氭瑺閲戦', prop: 'pendingAmount', width: 100 },
     { label: '閫炬湡澶╂暟', prop: 'overdueDays', width: 90 },
     { label: '閫炬湡鍒╂伅', prop: 'overdueInterest', width: 100 },
@@ -250,13 +254,6 @@
     tableData.value = res.rows || [];
     page.total = res.total || 0;
     loading.value = false;
-
-    if (highlightSystemNo.value) {
-      nextTick(() => {
-        const target = document.querySelector('.highlight-row');
-        target?.scrollIntoView({ behavior: 'smooth', block: 'center' });
-      });
-    }
   }).catch(() => {
     loading.value = false;
   });
@@ -382,8 +379,8 @@
 };
 /* 瀵煎嚭鎸夐挳 */
 function handleExport() {
-  proxy.download(
-    '/wmswh/reportStockcwgl/receivableBillManagement/accountAnalysis/export',
+  download(
+    '/cwgl/receivableBillManagement/accountAnalysis/export',
     {
       ...form.value,
     },
@@ -430,4 +427,19 @@
 .edit-form {
   padding: 10px 20px;
 }
+
+/* 寮哄埗鍦ㄥ悎璁¤鐨勭涓�涓潪澶嶉�夋鍗曞厓鏍硷紙璐d换浜哄垪锛夋樉绀烘枃妗� */
+:deep(.el-table__footer-wrapper .el-table__cell.avue-crud__color .cell),
+:deep(.el-table__footer-wrapper .el-table__cell:nth-child(2) .cell) {
+  visibility: visible !important;
+}
+
+/* 濡傛灉鏄閫夋鍒楀鑷寸殑閬尅锛岄�氳繃浼厓绱犲己琛屽湪绗簩鍒楁敞鍏� */
+:deep(.el-table__footer-wrapper tr td:nth-child(2) .cell::before) {
+  content: '鍚堣';
+  font-weight: bold;
+  color: #333;
+}
+
+
 </style>
\ No newline at end of file

--
Gitblit v1.8.0