Browse Source

请款页面优化

lxf 1 year ago
parent
commit
92c1f546f1
1 changed files with 16 additions and 4 deletions
  1. 16 4
      src/views/finance/fundManage/funds/index.vue

+ 16 - 4
src/views/finance/fundManage/funds/index.vue

@@ -16,9 +16,9 @@
         ]"
         @moreSearch="moreSearch"
         @get-list="getList">
-        <template #fileSlot="{ item }">
-          <div style="cursor: pointer; color: #409eff" @click="handleClickFile(item)">
-            {{ item.fileName }}
+        <template #total="{ item }">
+          <div style="width: 100%">
+            <a style="color: #409eff; cursor: pointer" @click="pushProcessApproval(item)">{{ item.currency }}{{ item.total }}</a>
           </div>
         </template>
       </byTable>
@@ -423,7 +423,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "请款金额",
-        prop: "total",
+        slot: "total",
         width: 120,
       },
     },
@@ -828,6 +828,18 @@ const submitSearch = () => {
   sourceList.value.pagination.pageNum = 1;
   getList();
 };
+const pushProcessApproval = (row) => {
+  proxy.$router.push({
+    path: "/platform_manage/process/processApproval",
+    query: {
+      flowKey: "account_request_funds_flow",
+      id: row.flowInfoId,
+      processType: 20,
+      random: proxy.random(),
+    },
+  });
+  return;
+};
 </script>
 
 <style lang="scss" scoped>