chenjj 3 months ago
parent
commit
5257eb8726
3 changed files with 105 additions and 14 deletions
  1. 91 0
      src/views/finance/wallet/index.vue
  2. 12 12
      src/views/finance/withdrawal/useData.js
  3. 2 2
      vite.config.js

+ 91 - 0
src/views/finance/wallet/index.vue

@@ -0,0 +1,91 @@
+<template>
+    <div>
+        <ListPage :column="listPageData.tableColumn" :tableApi="listPageData.tableApi" :isSelect="listPageData.isSelect"
+            :scopeBtns="listPageData.scopeBtns" :searchBtns="listPageData.searchBtns" ref="userTableRef" />
+    </div>
+</template>
+
+<script setup>
+import { ref } from 'vue';
+import ListPage from '@/views/components/ListPage/index.vue';
+import { list } from "@/api/staff/volunteer.js";
+
+const options = ref([]);
+const userTableRef = ref();
+const listPageData = reactive({
+    tableColumn: [
+        {
+            label: '注册时间',
+            prop: 'createTime',
+            type: 'date',
+            isSearch: false,
+            keys: ['start', 'end'],
+            width: '180px'
+        },
+        {
+            label: '姓名',
+            prop: 'name',
+            type: 'input',
+            isSearch: true,
+        },
+
+        {
+            label: '服务项目',
+            prop: 'businessManagementId',
+            type: 'cascader',
+            isSearch: true,
+            tableProp: 'businessTierName',
+            options: options,
+            props: { label: 'businessName', value: 'id', checkStrictly: true },
+
+
+        },
+        {
+            label: '手机号',
+            prop: 'phonenumber',
+            type: 'input',
+            isSearch: true
+        },
+        {
+            label: '家庭地址',
+            prop: 'address',
+        },
+        {
+            label: '服务图片',
+            prop: 'volunteerPicture',
+            type: 'img',
+        },
+        {
+            label: '身份证件',
+            prop: ['idCardPictureFront', 'idCardPictureBack'],
+            type: 'img',
+        },
+        {
+            label: '资质证书',
+            prop: 'certificationPicture',
+            type: 'img',
+        },
+        {
+            label: '个人简介',
+            prop: 'skillDescribe',
+            width: '400px',
+
+        }
+
+    ],
+    searchBtns: [],
+    tableApi: list,//接口地址
+    isSelect: false,//是否勾选
+    scopeBtns: [ ]
+})
+
+const parentId = ref(0);
+
+
+
+
+
+
+</script>
+
+<style lang='scss' scoped></style>

+ 12 - 12
src/views/finance/withdrawal/useData.js

@@ -477,18 +477,18 @@ export default ({ proxy, jlzj_area_type }) => {
                     return tabkey.value === '4' && row.paymentStatus === '1'
                 }
             },
-            {
-                label: '创建打款单',
-                type: 'primary',
-                key: 'details',
-                func: (row) => {
-                    console.log(row)
-                    paymentSubmit([row.volunteerTakeRecordId])
-                },
-                show: (row) => {
-                    return tabkey.value === '' && row.appStatus === '2'
-                }
-            },
+            // {
+            //     label: '创建打款单',
+            //     type: 'primary',
+            //     key: 'details',
+            //     func: (row) => {
+            //         console.log(row)
+            //         paymentSubmit([row.volunteerTakeRecordId])
+            //     },
+            //     show: (row) => {
+            //         return tabkey.value === '' && row.appStatus === '2'
+            //     }
+            // },
             {
                 label: '查看打款结果',
                 type: 'primary',

+ 2 - 2
vite.config.js

@@ -38,8 +38,8 @@ export default defineConfig(({ mode, command }) => {
         // https://cn.vitejs.dev/config/#server-proxy
         '/dev-api': {
           // target: 'http://192.168.100.139:9527',
-          // target: 'https://zybooks.tech/prod-api', 
-          target: 'http://192.168.100.122:9527',
+          target: 'https://yongc.top/prod-api', 
+          // target: 'http://192.168.100.128:9527',
           // target: 'https://goldshulin.com/prod-api',
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')