Quellcode durchsuchen

Merge branch 'dev0.3' of http://36.137.93.232:3000/hf/byte-sailing-new into dev0.3

cz vor 1 Jahr
Ursprung
Commit
57622b57c2

+ 4 - 12
src/views/finance/fundManage/accountPayment/index.vue

@@ -15,11 +15,10 @@
         :action-list="[]"
         @moreSearch="moreSearch"
         @get-list="getList">
-        <template #pic="{ item }">
-          <div v-if="item.fileList.length > 0">
-            <img :src="item.fileList[0].fileUrl" class="pic" @click="handleClickFile(item.fileList[0])" />
+        <template #amount="{ item }">
+          <div style="width: 100%">
+            <span>{{ item.currency }}{{ item.amount }}</span>
           </div>
-          <div v-else></div>
         </template>
       </byTable>
     </div>
@@ -251,7 +250,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "金额",
-        prop: "amount",
+        slot: "amount",
         width: 120,
       },
     },
@@ -704,13 +703,6 @@ const submitSearch = () => {
 .user {
   padding: 20px;
 }
-.pic {
-  object-fit: contain;
-  width: 50px;
-  height: 50px;
-  cursor: pointer;
-  vertical-align: middle;
-}
 ::v-deep(.el-input-number .el-input__inner) {
   text-align: left;
 }

+ 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>