Commit e52152da authored by cellee's avatar cellee

关闭小区下载预约设施表格费用

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent b77e036d
...@@ -19,6 +19,7 @@ li { ...@@ -19,6 +19,7 @@ li {
border-radius: 3px; border-radius: 3px;
background: #fff; background: #fff;
box-shadow: 0 1px 1px #ccc; box-shadow: 0 1px 1px #ccc;
overflow: auto;
h3 { h3 {
margin-bottom: 30px; margin-bottom: 30px;
position: relative; position: relative;
......
...@@ -128,8 +128,8 @@ const BookingDetail = (props: any) => { ...@@ -128,8 +128,8 @@ const BookingDetail = (props: any) => {
} }
} }
// 状态 // 状态
let status = DataSave.status; // 预约设施状态 let status = DataSave ? DataSave.status : 0; // 预约设施状态
let feeStatus = DataSave.feeStatus; //费用状态 let feeStatus = DataSave ? DataSave.feeStatus : 0; //费用状态
// let subFeeStatus = DataSave.subFeeStatus; // 排序状态 // let subFeeStatus = DataSave.subFeeStatus; // 排序状态
// let marginFeeStatus = DataSave.marginFeeStatus; //押金状态 // let marginFeeStatus = DataSave.marginFeeStatus; //押金状态
// let managerFeeStatus = DataSave.managerFeeStatus; //管理费状态 // let managerFeeStatus = DataSave.managerFeeStatus; //管理费状态
......
...@@ -222,13 +222,13 @@ const FacilityBookings = (props: any) => { ...@@ -222,13 +222,13 @@ const FacilityBookings = (props: any) => {
}, [CommunityList]); }, [CommunityList]);
const CallBackTitleSearch = (comment: any) => { const CallBackTitleSearch = (comment: any) => {
// 没有选小区就不让他提交
if (comment.communityName && comment.communityName.length == 0) {
message.info('Please Select A Community !');
return;
}
if (curString.tab == 1) { if (curString.tab == 1) {
// 没有选小区就不让他提交
if (comment.communityName && comment.communityName.length == 0) {
message.info('Please Select A Community !');
return;
}
if (comment.communityName != null || comment.key != null || comment.status != null) { if (comment.communityName != null || comment.key != null || comment.status != null) {
var tmp = curString; var tmp = curString;
tmp.subscribeDate = comment.key; tmp.subscribeDate = comment.key;
...@@ -253,14 +253,19 @@ const FacilityBookings = (props: any) => { ...@@ -253,14 +253,19 @@ const FacilityBookings = (props: any) => {
}); });
} }
} else { } else {
if (comment.communityName != null || comment.facilityName != null) { // 没有选小区就不让他提交
if (comment.communityName2 && comment.communityName2.length == 0) {
message.info('Please Select A Community !');
return;
}
if (comment.communityName2 != null || comment.facilityName != null) {
var tmp = curString; var tmp = curString;
tmp.communityNameList2 = comment.communityName; tmp.communityNameList2 = comment.communityName2;
tmp.facilityName = comment.facilityName; tmp.facilityName = comment.facilityName;
tmp.curPage = 1; tmp.curPage = 1;
QA(tmp); QA(tmp);
RA(8, { RA(8, {
communityNameList: comment.communityName, communityNameList: comment.communityName2,
facilityName: comment.facilityName, facilityName: comment.facilityName,
pageNum: '1', pageNum: '1',
}); });
...@@ -362,7 +367,7 @@ const FacilityBookings = (props: any) => { ...@@ -362,7 +367,7 @@ const FacilityBookings = (props: any) => {
<TitleSearch <TitleSearch
listkey={['facilityName']} listkey={['facilityName']}
list={['Facility name']} list={['Facility name']}
community={'communityName'} community={'communityName2'}
checklist={curString.communityNameList2 ? curString.communityNameList2 : []} checklist={curString.communityNameList2 ? curString.communityNameList2 : []}
onSubmit={CallBackTitleSearch} onSubmit={CallBackTitleSearch}
/> />
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2020-11-19 20:34:18 * @Date: 2020-11-19 20:34:18
* @LastEditTime: 2021-01-27 14:48:03 * @LastEditTime: 2021-01-28 15:34:25
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \tostumi\src\utils\params.ts * @FilePath: \tostumi\src\utils\params.ts
...@@ -94,4 +94,5 @@ export const requestList = [ ...@@ -94,4 +94,5 @@ export const requestList = [
['/tos/bug/feedback/list', '59 获取用户反馈列表', {}], ['/tos/bug/feedback/list', '59 获取用户反馈列表', {}],
['/tos/community/facilities/get/detail', '60 获取小区设施详情', {}], ['/tos/community/facilities/get/detail', '60 获取小区设施详情', {}],
['/tos/bookingService/delete', '61 设施删除', {}], ['/tos/bookingService/delete', '61 设施删除', {}],
['/tos/community/download/excel', '62 关闭小区后获取当前小区预约需要退费的表格', {}],
]; ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment