diff --git a/src/api/community/communitySpaceConfirmApi.js b/src/api/community/communitySpaceConfirmApi.js new file mode 100644 index 0000000..8a508b0 --- /dev/null +++ b/src/api/community/communitySpaceConfirmApi.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询核销订单列表 +export function listCommunitySpaceConfirmOrder(params) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.listCommunitySpaceConfirmOrder', + method: 'get', + params + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve({ + data: res.data, + total: res.total + }) + } else { + reject(new Error(res.msg || '获取核销列表失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 核销场地订单 +export function saveCommunitySpaceConfirmOrder(data) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.saveCommunitySpaceConfirmOrder', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '核销操作失败')) + } + }).catch(error => { + reject(error) + }) + }) +} \ No newline at end of file diff --git a/src/api/community/communitySpaceManageApi.js b/src/api/community/communitySpaceManageApi.js new file mode 100644 index 0000000..796f6ab --- /dev/null +++ b/src/api/community/communitySpaceManageApi.js @@ -0,0 +1,195 @@ +import request from '@/utils/request' +import { getCommunityId } from '@/api/community/communityApi' + +// 查询场馆列表 +export function listCommunityVenue(params) { + return new Promise((resolve, reject) => { + params.communityId = getCommunityId() + request({ + url: '/communityVenue.listCommunityVenue', + method: 'get', + params + }).then(response => { + const res = response.data + + resolve(res) + + }).catch(error => { + reject(error) + }) + }) +} + +// 添加场馆 +export function saveCommunityVenue(data) { + return new Promise((resolve, reject) => { + data.communityId = getCommunityId() + request({ + url: '/communityVenue.saveCommunityVenue', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '添加场馆失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 修改场馆 +export function updateCommunityVenue(data) { + return new Promise((resolve, reject) => { + data.communityId = getCommunityId() + request({ + url: '/communityVenue.updateCommunityVenue', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '修改场馆失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 删除场馆 +export function deleteCommunityVenue(venueId) { + return new Promise((resolve, reject) => { + const data = { + venueId, + communityId: getCommunityId() + } + request({ + url: '/communityVenue.deleteCommunityVenue', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '删除场馆失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 查询场地列表 +export function listCommunitySpace(params) { + return new Promise((resolve, reject) => { + params.communityId = getCommunityId() + request({ + url: '/communitySpace.listCommunitySpace', + method: 'get', + params + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '获取场地列表失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 添加场地 +export function saveCommunitySpace(data) { + return new Promise((resolve, reject) => { + data.communityId = getCommunityId() + request({ + url: '/communitySpace.saveCommunitySpace', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '添加场地失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 修改场地 +export function updateCommunitySpace(data) { + return new Promise((resolve, reject) => { + data.communityId = getCommunityId() + request({ + url: '/communitySpace.updateCommunitySpace', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '修改场地失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 删除场地 +export function deleteCommunitySpace(spaceId) { + return new Promise((resolve, reject) => { + const data = { + spaceId, + communityId: getCommunityId() + } + request({ + url: '/communitySpace.deleteCommunitySpace', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '删除场地失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 更新开放时间 +export function updateCommunitySpaceOpenTime(data) { + return new Promise((resolve, reject) => { + data.communityId = getCommunityId() + request({ + url: '/communitySpaceOpenTime.updateCommunitySpaceOpenTime', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '更新开放时间失败')) + } + }).catch(error => { + reject(error) + }) + }) +} \ No newline at end of file diff --git a/src/api/community/communitySpacePersonManageApi.js b/src/api/community/communitySpacePersonManageApi.js new file mode 100644 index 0000000..5e1cee1 --- /dev/null +++ b/src/api/community/communitySpacePersonManageApi.js @@ -0,0 +1,61 @@ +import request from '@/utils/request' + +// 查询预约订单列表 +export function listCommunitySpacePerson(params) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.listCommunitySpacePerson', + method: 'get', + params + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '获取预约订单列表失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 删除预约订单 +export function deleteCommunitySpacePerson(data) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.deleteCommunitySpacePerson', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '删除预约订单失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 查询场地列表 +export function listCommunitySpace(params) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.listCommunitySpace', + method: 'get', + params + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '获取场地列表失败')) + } + }).catch(error => { + reject(error) + }) + }) +} \ No newline at end of file diff --git a/src/api/community/reportCommunitySpaceApi.js b/src/api/community/reportCommunitySpaceApi.js new file mode 100644 index 0000000..67e662f --- /dev/null +++ b/src/api/community/reportCommunitySpaceApi.js @@ -0,0 +1,81 @@ +import request from '@/utils/request' + +// 获取场馆列表 +export function listCommunityVenue(params) { + return new Promise((resolve, reject) => { + request({ + url: '/communityVenue.listCommunityVenue', + method: 'get', + params + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res.data) + } else { + reject(new Error(res.msg || '获取场馆列表失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 获取场地列表 +export function listCommunitySpace(params) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.listCommunitySpace', + method: 'get', + params + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res.data) + } else { + reject(new Error(res.msg || '获取场地列表失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 获取场地预约记录 +export function listCommunitySpacePerson(params) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.listCommunitySpacePerson', + method: 'get', + params + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res.data) + } else { + reject(new Error(res.msg || '获取场地预约记录失败')) + } + }).catch(error => { + reject(error) + }) + }) +} + +// 保存场地预约 +export function saveCommunitySpacePerson(data) { + return new Promise((resolve, reject) => { + request({ + url: '/communitySpace.saveCommunitySpacePerson', + method: 'post', + data + }).then(response => { + const res = response.data + if (res.code === 0) { + resolve(res) + } else { + reject(new Error(res.msg || '保存场地预约失败')) + } + }).catch(error => { + reject(error) + }) + }) +} \ No newline at end of file diff --git a/src/components/community/AddCommunitySpace.vue b/src/components/community/AddCommunitySpace.vue new file mode 100644 index 0000000..43ed2a9 --- /dev/null +++ b/src/components/community/AddCommunitySpace.vue @@ -0,0 +1,102 @@ + + + \ No newline at end of file diff --git a/src/components/community/AddCommunityVenue.vue b/src/components/community/AddCommunityVenue.vue new file mode 100644 index 0000000..4735715 --- /dev/null +++ b/src/components/community/AddCommunityVenue.vue @@ -0,0 +1,104 @@ + + + \ No newline at end of file diff --git a/src/components/community/DeleteCommunitySpace.vue b/src/components/community/DeleteCommunitySpace.vue new file mode 100644 index 0000000..3c3385b --- /dev/null +++ b/src/components/community/DeleteCommunitySpace.vue @@ -0,0 +1,48 @@ + + + \ No newline at end of file diff --git a/src/components/community/DeleteCommunityVenue.vue b/src/components/community/DeleteCommunityVenue.vue new file mode 100644 index 0000000..c3a5c41 --- /dev/null +++ b/src/components/community/DeleteCommunityVenue.vue @@ -0,0 +1,48 @@ + + + \ No newline at end of file diff --git a/src/components/community/EditCommunitySpace.vue b/src/components/community/EditCommunitySpace.vue new file mode 100644 index 0000000..04b7417 --- /dev/null +++ b/src/components/community/EditCommunitySpace.vue @@ -0,0 +1,111 @@ + + + \ No newline at end of file diff --git a/src/components/community/EditCommunitySpaceOpenTime.vue b/src/components/community/EditCommunitySpaceOpenTime.vue new file mode 100644 index 0000000..8a6733d --- /dev/null +++ b/src/components/community/EditCommunitySpaceOpenTime.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/src/components/community/EditCommunityVenue.vue b/src/components/community/EditCommunityVenue.vue new file mode 100644 index 0000000..6d3f54d --- /dev/null +++ b/src/components/community/EditCommunityVenue.vue @@ -0,0 +1,104 @@ + + + \ No newline at end of file diff --git a/src/components/community/addCommunitySpacePerson.vue b/src/components/community/addCommunitySpacePerson.vue new file mode 100644 index 0000000..48ae736 --- /dev/null +++ b/src/components/community/addCommunitySpacePerson.vue @@ -0,0 +1,175 @@ + + + \ No newline at end of file diff --git a/src/components/community/deleteCommunitySpacePerson.vue b/src/components/community/deleteCommunitySpacePerson.vue new file mode 100644 index 0000000..5d41de4 --- /dev/null +++ b/src/components/community/deleteCommunitySpacePerson.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/src/i18n/commonLang.js b/src/i18n/commonLang.js index 26df550..a0659f2 100644 --- a/src/i18n/commonLang.js +++ b/src/i18n/commonLang.js @@ -41,6 +41,7 @@ export const messages = { disabled: 'Disabled', import: 'Import', remark: 'Remark', + hour:'hour', } }, zh: { @@ -85,6 +86,7 @@ export const messages = { disabled: '禁用', import: '导入', remark: '备注', + hour:'时', } } } \ No newline at end of file diff --git a/src/i18n/index.js b/src/i18n/index.js index c6bfc92..2bb595d 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -131,6 +131,10 @@ import { messages as listOwnerMessages } from '../views/owner/listOwnerLang' import { messages as auditAuthOwnerMessages } from '../views/owner/auditAuthOwnerLang' import { messages as accountManageMessages } from '../views/account/accountManageLang' import { messages as accountDetailManageMessages } from '../views/account/accountDetailManageLang' +import { messages as communitySpaceManageMessages } from '../views/community/communitySpaceManageLang' +import { messages as reportCommunitySpaceMessages } from '../views/community/reportCommunitySpaceLang' +import { messages as communitySpacePersonManageMessages } from '../views/community/communitySpacePersonManageLang' +import { messages as communitySpaceConfirmMessages } from '../views/community/communitySpaceConfirmLang' Vue.use(VueI18n) @@ -266,6 +270,10 @@ const messages = { ...auditAuthOwnerMessages.en, ...accountManageMessages.en, ...accountDetailManageMessages.en, + ...communitySpaceManageMessages.en, + ...reportCommunitySpaceMessages.en, + ...communitySpacePersonManageMessages.en, + ...communitySpaceConfirmMessages.en, }, zh: { ...loginMessages.zh, @@ -397,6 +405,10 @@ const messages = { ...auditAuthOwnerMessages.zh, ...accountManageMessages.zh, ...accountDetailManageMessages.zh, + ...communitySpaceManageMessages.zh, + ...reportCommunitySpaceMessages.zh, + ...communitySpacePersonManageMessages.zh, + ...communitySpaceConfirmMessages.zh, } } diff --git a/src/router/index.js b/src/router/index.js index 24f5045..1cab57d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -646,7 +646,26 @@ const routes = [ name: '/views/account/accountDetailManage', component: () => import('@/views/account/accountDetailManageList.vue') }, - + { + path: '/pages/property/communitySpaceManage', + name: '/pages/property/communitySpaceManage', + component: () => import('@/views/community/communitySpaceManageList.vue') + }, + { + path: '/pages/property/reportCommunitySpace', + name: '/pages/property/reportCommunitySpace', + component: () => import('@/views/community/reportCommunitySpaceList.vue') + }, + { + path:'/pages/property/communitySpacePersonManage', + name:'/pages/property/communitySpacePersonManage', + component: () => import('@/views/community/communitySpacePersonManageList.vue') + }, + { + path:'/pages/property/communitySpaceConfirm', + name:'/pages/property/communitySpaceConfirm', + component: () => import('@/views/community/communitySpaceConfirmList.vue') + }, // 其他子路由可以在这里添加 ] }, diff --git a/src/views/community/communitySpaceConfirmLang.js b/src/views/community/communitySpaceConfirmLang.js new file mode 100644 index 0000000..fc08b42 --- /dev/null +++ b/src/views/community/communitySpaceConfirmLang.js @@ -0,0 +1,54 @@ +export const messages = { + en: { + communitySpaceConfirm: { + writeOff: 'Write Off', + writeOffPlaceholder: 'Please scan with barcode scanner to write off', + writeOffResult: 'Write Off Result', + writeOffTime: 'Write Off Time', + space: 'Space', + appointmentDate: 'Appointment Date', + appointmentHours: 'Appointment Hours', + appointmentPerson: 'Appointment Person', + appointmentPhone: 'Appointment Phone', + searchCondition: 'Search Conditions', + search: 'Search', + reset: 'Reset', + writeOffOrder: 'Write Off Order', + venue: 'Venue', + appointmentTime: 'Appointment Time', + remark: 'Remark', + personNamePlaceholder: 'Enter appointment person name', + personTelPlaceholder: 'Enter appointment phone', + appointmentTimePlaceholder: 'Select appointment time', + scanTip: 'Please scan barcode first', + writeOffSuccess: 'Write off successful', + writeOffFailed: 'Write off failed' + } + }, + zh: { + communitySpaceConfirm: { + writeOff: '核销', + writeOffPlaceholder: '请扫码枪扫码核销', + writeOffResult: '核销结果', + writeOffTime: '核销时间', + space: '场地', + appointmentDate: '预约日期', + appointmentHours: '预约小时', + appointmentPerson: '预约人', + appointmentPhone: '预约电话', + searchCondition: '查询条件', + search: '查询', + reset: '重置', + writeOffOrder: '核销订单', + venue: '场馆', + appointmentTime: '预约时间', + remark: '备注', + personNamePlaceholder: '请输入预约人', + personTelPlaceholder: '请输入预约电话', + appointmentTimePlaceholder: '请选择预约时间', + scanTip: '请先扫码', + writeOffSuccess: '核销成功', + writeOffFailed: '核销失败' + } + } +} \ No newline at end of file diff --git a/src/views/community/communitySpaceConfirmList.vue b/src/views/community/communitySpaceConfirmList.vue new file mode 100644 index 0000000..f115e9e --- /dev/null +++ b/src/views/community/communitySpaceConfirmList.vue @@ -0,0 +1,331 @@ + + + + + \ No newline at end of file diff --git a/src/views/community/communitySpaceManageLang.js b/src/views/community/communitySpaceManageLang.js new file mode 100644 index 0000000..13471d1 --- /dev/null +++ b/src/views/community/communitySpaceManageLang.js @@ -0,0 +1,76 @@ +export const messages = { + en: { + communitySpaceManage: { + add: 'Add', + edit: 'Edit', + delete: 'Delete', + venue: 'Venue', + spaceId: 'ID', + name: 'Name', + startTime: 'Opening Time', + endTime: 'Closing Time', + feeMoney: 'Hourly Fee', + adminName: 'Manager', + tel: 'Manager Phone', + state: 'Status', + operation: 'Operation', + openTime: 'Open Time', + query: 'Search', + reset: 'Reset', + addSpace: 'Add Space', + document: 'Document', + venueName: 'Venue Name', + description: 'Description', + confirmDelete: 'Confirm Delete', + cancel: 'Cancel', + save: 'Save', + selectStatus: 'Select Status', + selectVenue: 'Select Venue', + selectSpace: 'Select Space', + status1001: 'Available', + status2002: 'Unavailable', + confirmDeleteSpace: 'Confirm to delete space?', + confirmDeleteVenue: 'Confirm to delete venue?', + openTimeTitle: 'Opening Hours', + venueInfo: 'Venue Information', + spaceInfo: 'Space Information' + } + }, + zh: { + communitySpaceManage: { + add: '添加', + edit: '修改', + delete: '删除', + venue: '场馆', + spaceId: '编号', + name: '名称', + startTime: '开场时间', + endTime: '关场时间', + feeMoney: '每小时费用', + adminName: '管理员', + tel: '管理员电话', + state: '状态', + operation: '操作', + openTime: '开放时间', + query: '查询', + reset: '重置', + addSpace: '添加场地', + document: '文档', + venueName: '场馆名称', + description: '描述', + confirmDelete: '确认删除', + cancel: '取消', + save: '保存', + selectStatus: '请选择状态', + selectVenue: '请选择场馆', + selectSpace: '请选择场地', + status1001: '可预约', + status2002: '不可预约', + confirmDeleteSpace: '确定删除场地?', + confirmDeleteVenue: '确定删除场馆?', + openTimeTitle: '开放时间', + venueInfo: '场馆信息', + spaceInfo: '场地信息' + } + } +} \ No newline at end of file diff --git a/src/views/community/communitySpaceManageList.vue b/src/views/community/communitySpaceManageList.vue new file mode 100644 index 0000000..e8fda67 --- /dev/null +++ b/src/views/community/communitySpaceManageList.vue @@ -0,0 +1,307 @@ + + + + + \ No newline at end of file diff --git a/src/views/community/communitySpacePersonManageLang.js b/src/views/community/communitySpacePersonManageLang.js new file mode 100644 index 0000000..589dc16 --- /dev/null +++ b/src/views/community/communitySpacePersonManageLang.js @@ -0,0 +1,92 @@ +export const messages = { + en: { + communitySpacePersonManage: { + searchConditions: 'Search Conditions', + more: 'More', + hide: 'Hide', + appointmentTimePlaceholder: 'Please select appointment time', + appointmentPersonPlaceholder: 'Please select appointment person', + appointmentTelPlaceholder: 'Please select appointment phone', + search: 'Search', + reset: 'Reset', + statePlaceholder: 'Please select state', + spacePlaceholder: 'Please select appointment space', + appointmentOrder: 'Appointment Order', + orderId: 'Order ID', + venue: 'Venue', + space: 'Space', + appointmentPerson: 'Appointment Person', + appointmentTel: 'Appointment Phone', + appointmentDate: 'Appointment Date', + appointmentTime: 'Appointment Time', + receivableAmount: 'Receivable Amount', + receivedAmount: 'Received Amount', + payWay: 'Payment Method', + state: 'State', + createTime: 'Create Time', + remark: 'Remark', + operation: 'Operation', + cancelAppointment: 'Cancel Appointment', + stateOptions: { + S: 'Appointment Success', + F: 'Appointment Failed', + W: 'Pending Review', + P: 'Pending Payment' + } + }, + deleteCommunitySpacePerson: { + confirmTitle: 'Please confirm your operation!', + confirmContent: 'Confirm to cancel the site reservation? If it is an online reservation, it will be automatically refunded to the reservation account', + cancel: 'Cancel', + confirmCancel: 'Confirm Cancel' + }, + common: { + total: 'Total' + } + }, + zh: { + communitySpacePersonManage: { + searchConditions: '查询条件', + more: '更多', + hide: '隐藏', + appointmentTimePlaceholder: '请选择预约时间', + appointmentPersonPlaceholder: '请选择预约人', + appointmentTelPlaceholder: '请选择预约电话', + search: '查询', + reset: '重置', + statePlaceholder: '请选择状态', + spacePlaceholder: '请选择预约场地', + appointmentOrder: '预约订单', + orderId: '订单编号', + venue: '场馆', + space: '场地', + appointmentPerson: '预约人', + appointmentTel: '预约电话', + appointmentDate: '预约日期', + appointmentTime: '预约时间', + receivableAmount: '应收金额', + receivedAmount: '实收金额', + payWay: '支付方式', + state: '状态', + createTime: '创建时间', + remark: '备注', + operation: '操作', + cancelAppointment: '取消预约', + stateOptions: { + S: '预约成功', + F: '预约失败', + W: '待审核', + P: '待支付' + } + }, + deleteCommunitySpacePerson: { + confirmTitle: '请确认您的操作!', + confirmContent: '确定取消场地预约,如果是线上预约,自动会退款到预约人账户', + cancel: '点错了', + confirmCancel: '确认取消' + }, + common: { + total: '共' + } + } +} \ No newline at end of file diff --git a/src/views/community/communitySpacePersonManageList.vue b/src/views/community/communitySpacePersonManageList.vue new file mode 100644 index 0000000..2b991b3 --- /dev/null +++ b/src/views/community/communitySpacePersonManageList.vue @@ -0,0 +1,232 @@ + + + + + \ No newline at end of file diff --git a/src/views/community/reportCommunitySpaceLang.js b/src/views/community/reportCommunitySpaceLang.js new file mode 100644 index 0000000..808526c --- /dev/null +++ b/src/views/community/reportCommunitySpaceLang.js @@ -0,0 +1,72 @@ +export const messages = { + en: { + reportCommunitySpace: { + selectMonth: 'Select month', + appointmentTime: 'Appointment Time', + noSpace: 'No space set', + available: 'Available', + notAvailable: 'Not available' + }, + addCommunitySpacePerson: { + title: 'Venue Reservation', + personName: 'Reserver Name', + personTel: 'Reserver Phone', + receivableAmount: 'Receivable Amount', + receivedAmount: 'Received Amount', + payWay: 'Payment Method', + appointmentTime: 'Appointment Time', + remark: 'Remark', + requiredPersonName: 'Required, please enter reserver name', + requiredPersonTel: 'Required, please enter reserver phone', + requiredReceivableAmount: 'Required, please enter receivable amount', + requiredReceivedAmount: 'Required, please enter received amount', + selectPayWay: 'Please select payment method', + requiredAppointmentTime: 'Required, please enter appointment time', + requiredRemark: 'Required, please enter remark', + maxPersonName: 'Reserver name cannot exceed 64 characters', + maxPersonTel: 'Reserver phone cannot exceed 11 characters', + maxReceivableAmount: 'Receivable amount cannot exceed 10 characters', + maxReceivedAmount: 'Received amount cannot exceed 10 characters', + maxRemark: 'Remark cannot exceed 512 characters', + cash: 'Cash', + wechat: 'WeChat', + alipay: 'Alipay', + requiredPayWay: 'Please select payment method' + } + }, + zh: { + reportCommunitySpace: { + selectMonth: '请选择月份', + appointmentTime: '预约时间', + noSpace: '未设置场地', + available: '可预约', + notAvailable: '不可预约' + }, + addCommunitySpacePerson: { + title: '场地预约', + personName: '预约人', + personTel: '预约电话', + receivableAmount: '应收金额', + receivedAmount: '实收金额', + payWay: '支付方式', + appointmentTime: '预约时间', + remark: '备注', + requiredPersonName: '必填,请填写预约人', + requiredPersonTel: '必填,请填写预约电话', + requiredReceivableAmount: '必填,请填写应收金额', + requiredReceivedAmount: '必填,请填写实收金额', + selectPayWay: '请选择支付方式', + requiredAppointmentTime: '必填,请填写预约时间', + requiredRemark: '必填,请填写备注', + maxPersonName: '预约人不能超过64个字符', + maxPersonTel: '预约电话不能超过11个字符', + maxReceivableAmount: '应收金额不能超过10个字符', + maxReceivedAmount: '实收金额不能超过10个字符', + maxRemark: '备注不能超过512个字符', + cash: '现金', + wechat: '微信', + alipay: '支付宝', + requiredPayWay: '请选择支付方式' + } + } +} diff --git a/src/views/community/reportCommunitySpaceList.vue b/src/views/community/reportCommunitySpaceList.vue new file mode 100644 index 0000000..28b7c0d --- /dev/null +++ b/src/views/community/reportCommunitySpaceList.vue @@ -0,0 +1,208 @@ + + + + + \ No newline at end of file