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