Commit 5c7e5edb authored by cellee's avatar cellee

ui更新

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent 7611da70
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { connect } from 'umi'; import { connect, history } from 'umi';
import { Input, Row, Col, Form, Select, Button, DatePicker } from 'antd'; import { Input, Row, Col, Form, Select, Button, DatePicker } from 'antd';
import { SearchOutlined } from '@ant-design/icons';
import { SearchOutlined, PlusOutlined } from '@ant-design/icons';
import SearchOptionsCommnity from '../SearchOptions/SearchOptionsCommnity'; import SearchOptionsCommnity from '../SearchOptions/SearchOptionsCommnity';
import SelectOptions from '../SelectOptions/index'; import SelectOptions from '../SelectOptions/index';
import { SA } from '@/utils/method';
const { Option } = Select; const { Option } = Select;
const TitleSearch = (props: any) => { const TitleSearch = (props: any) => {
...@@ -19,6 +22,7 @@ const TitleSearch = (props: any) => { ...@@ -19,6 +22,7 @@ const TitleSearch = (props: any) => {
time, time,
username, username,
searchNone, // 隐藏搜索框 searchNone, // 隐藏搜索框
push,
} = props; } = props;
const key = props.listkey; const key = props.listkey;
...@@ -100,6 +104,14 @@ const TitleSearch = (props: any) => { ...@@ -100,6 +104,14 @@ const TitleSearch = (props: any) => {
// } // }
// }; // };
// 清除操作之前的数据
const emptys = (data: any, url: any) => {
dispatch({ type: 'CellList/urlRemove' }); // 清掉图片信息
SA(data, 'CellList', dispatch);
dispatch({ type: 'CellList/ResultClear' }); // 清空之前保存成功的结果
history.push(url);
};
return ( return (
<> <>
<Form form={form} name="basic" onFinish={onFinish} onFinishFailed={onFinishFailed}> <Form form={form} name="basic" onFinish={onFinish} onFinishFailed={onFinishFailed}>
...@@ -189,15 +201,27 @@ const TitleSearch = (props: any) => { ...@@ -189,15 +201,27 @@ const TitleSearch = (props: any) => {
) : null} ) : null}
{searchNone == null ? ( {searchNone == null ? (
<Form.Item style={{ marginBottom: 5 }}> <div style={{ display: 'flex', justifyContent: 'space-between' }}>
<Button <Form.Item style={{ marginBottom: 5 }}>
type="primary" <Button
htmlType="submit" type="primary"
style={{ backgroundColor: '#e7f4ff', color: 'rgba(24,144,255,1)' }} htmlType="submit"
> style={{ backgroundColor: '#e7f4ff', color: 'rgba(24,144,255,1)' }}
<SearchOutlined /> Search >
</Button> <SearchOutlined /> Search
</Form.Item> </Button>
</Form.Item>
{/* // 传递来跳转的东西 */}
{push ? (
<Button type="primary" onClick={() => emptys(null, push.url)}>
<PlusOutlined />
{push.name}
</Button>
) : (
''
)}
</div>
) : ( ) : (
'' ''
)} )}
......
/*
* @Author: your name
* @Date: 2020-11-19 16:54:53
* @LastEditTime: 2021-02-02 10:34:28
* @LastEditors: your name
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\components\Toast\Toast.tsx
*/
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { message, Button,Modal,} from 'antd'; import { Button, Modal } from 'antd';
const Toast = (props:any) => { const Toast = (props: any) => {
const { value, onChange } = props;
const [visible, setVisible] = useState(false);
const {value,onChange}=props const showModal = () => {
const [visible,setVisible]=useState(false) setVisible(true);
};
const showModal = () => { const handleOk = () => {
setVisible(true) setVisible(false);
onChange();
} };
const handleOk = () => { const handleCancel = () => {
setVisible(false) setVisible(false);
onChange() };
};
const handleCancel = () => {
setVisible(false)
};
return ( return (
<> <>
......
...@@ -80,21 +80,24 @@ const SystemFeedback = (props: any) => { ...@@ -80,21 +80,24 @@ const SystemFeedback = (props: any) => {
return ( return (
<> <>
<ProTable <div style={{ padding: 20 }}>
dataSource={Data ? Data.list : null} <ProTable
rowKey={'id'} dataSource={Data ? Data.list : null}
columns={columns as any} rowKey={'id'}
pagination={false} columns={columns as any}
options={{ pagination={false}
density: false, toolBarRender={false}
fullScreen: false, options={{
reload: false, density: false,
setting: false, fullScreen: false,
}} reload: false,
loading={loading} setting: false,
search={false} }}
headerTitle="System Feedback" loading={loading}
/> search={false}
headerTitle="System Feedback"
/>
</div>
<div className="pages"> <div className="pages">
<Pagination <Pagination
// onShowSizeChange={pageSizeHandler} // onShowSizeChange={pageSizeHandler}
......
...@@ -228,7 +228,7 @@ const Account = (props: any) => { ...@@ -228,7 +228,7 @@ const Account = (props: any) => {
return ( return (
<> <>
<div className="contop"> <div className="contop" style={{ display: 'flex', justifyContent: 'space-between' }}>
<Form <Form
autoComplete="off" autoComplete="off"
layout="inline" layout="inline"
...@@ -258,6 +258,17 @@ const Account = (props: any) => { ...@@ -258,6 +258,17 @@ const Account = (props: any) => {
</Button> */} </Button> */}
</Form.Item> </Form.Item>
</Form> </Form>
<Button
type="primary"
loading={loading}
icon={<PlusOutlined />}
onClick={() => {
edit(1);
}}
>
Add Account
</Button>
</div> </div>
<div className="contop contop2"> <div className="contop contop2">
...@@ -269,18 +280,19 @@ const Account = (props: any) => { ...@@ -269,18 +280,19 @@ const Account = (props: any) => {
pagination={false} // 隐藏默认分页 pagination={false} // 隐藏默认分页
search={false} search={false}
loading={loading} loading={loading}
toolBarRender={() => [ toolBarRender={false}
<Button // toolBarRender={() => [
type="primary" // <Button
loading={loading} // type="primary"
icon={<PlusOutlined />} // loading={loading}
onClick={() => { // icon={<PlusOutlined />}
edit(1); // onClick={() => {
}} // edit(1);
> // }}
Add Account // >
</Button>, // Add Account
]} // </Button>,
// ]}
options={{ options={{
density: false, density: false,
fullScreen: false, fullScreen: false,
......
...@@ -92,7 +92,7 @@ const Adds = (props: any) => { ...@@ -92,7 +92,7 @@ const Adds = (props: any) => {
// 上传 // 上传
setLouba(Data.balouscheduleUrl ? [backUpload(Data.balouscheduleUrl, Data.id)] : []); setLouba(Data.balouscheduleUrl ? [backUpload(Data.balouscheduleUrl, Data.id)] : []);
setGuide(Data.serviceGuideUrl ? [backUpload(Data.serviceGuideUrl, Data.id)] : []); setGuide(Data.serviceGuideUrl ? [backUpload(Data.serviceGuideUrl, Data.id)] : []);
setPeriod(Data.lifeServiceUrl ? [backUpload(Data.lifeServiceUrl, Data.id)] : []); // setPeriod(Data.lifeServiceUrl ? [backUpload(Data.lifeServiceUrl, Data.id)] : []);
// 小区名 -- 上传需要 // 小区名 -- 上传需要
setCodeName(Data.residentialName); setCodeName(Data.residentialName);
setcodeStrat(true); setcodeStrat(true);
...@@ -206,19 +206,19 @@ const Adds = (props: any) => { ...@@ -206,19 +206,19 @@ const Adds = (props: any) => {
}; };
// 保质期上传 // 保质期上传
const upload3 = { // const upload3 = {
onChange({ file }: any) { // onChange({ file }: any) {
file.status === 'uploading' ? setimgLoad(true) : setimgLoad(false); // file.status === 'uploading' ? setimgLoad(true) : setimgLoad(false);
if (file.status === 'done') { // if (file.status === 'done') {
let data = file.response.data; // let data = file.response.data;
setPeriod(BackFormat(data.imageName, data.url)); // setPeriod(BackFormat(data.imageName, data.url));
setcodeStrat(true); // setcodeStrat(true);
setTipMain('Binding Content Already Exists, Cannot Be Modified!'); // setTipMain('Binding Content Already Exists, Cannot Be Modified!');
} // }
// 结果 // // 结果
uploadMsg(file); // uploadMsg(file);
}, // },
}; // };
// 上传提示 // 上传提示
function uploadMsg(file: any) { function uploadMsg(file: any) {
...@@ -283,7 +283,7 @@ const Adds = (props: any) => { ...@@ -283,7 +283,7 @@ const Adds = (props: any) => {
obj.balouscheduleUrl = undeFi(loubaUpload.map((item: any) => item.name)[0]); obj.balouscheduleUrl = undeFi(loubaUpload.map((item: any) => item.name)[0]);
obj.serviceGuideUrl = undeFi(guideUpload.map((item: any) => item.name)[0]); obj.serviceGuideUrl = undeFi(guideUpload.map((item: any) => item.name)[0]);
obj.lifeServiceUrl = undeFi(periodUpload.map((item: any) => item.name)[0]); // obj.lifeServiceUrl = undeFi(periodUpload.map((item: any) => item.name)[0]);
// 小区热线 // 小区热线
// 表单结构存在数据不存在情况, 所以要多判断一次 // 表单结构存在数据不存在情况, 所以要多判断一次
...@@ -553,7 +553,7 @@ const Adds = (props: any) => { ...@@ -553,7 +553,7 @@ const Adds = (props: any) => {
</Form.Item> </Form.Item>
{/* 上传部分 */} {/* 上传部分 */}
<Form.Item {/* <Form.Item
label="Warranty Period Service" label="Warranty Period Service"
name="lifeServiceFile" name="lifeServiceFile"
style={{ marginBottom: '0', minHeight: 159 }} style={{ marginBottom: '0', minHeight: 159 }}
...@@ -573,7 +573,7 @@ const Adds = (props: any) => { ...@@ -573,7 +573,7 @@ const Adds = (props: any) => {
<div className="tip"> <div className="tip">
<span>Support Files:.jpg, .png, .pdf</span> <span>Support Files:.jpg, .png, .pdf</span>
</div> </div>
</Form.Item> </Form.Item> */}
<hr /> <hr />
......
...@@ -265,8 +265,8 @@ const Adds = (props: any) => { ...@@ -265,8 +265,8 @@ const Adds = (props: any) => {
if (Data) { if (Data) {
obj.id = Data.id; obj.id = Data.id;
} }
console.log(values); // console.log(values);
console.log(obj); // console.log(obj);
// 上传 // 上传
RA(29, obj, 'CellList', dispatch); RA(29, obj, 'CellList', dispatch);
} }
......
...@@ -136,6 +136,10 @@ const CellLists = (props: any) => { ...@@ -136,6 +136,10 @@ const CellLists = (props: any) => {
community={'communityName'} community={'communityName'}
checklist={Init ? Init.CommunityList : null} checklist={Init ? Init.CommunityList : null}
onSubmit={CallBackTitleSearch} onSubmit={CallBackTitleSearch}
push={{
name: 'Create New Community',
url: '/CommunityManagement/CellList/Add',
}}
/> />
</div> </div>
<ProTable <ProTable
...@@ -146,16 +150,17 @@ const CellLists = (props: any) => { ...@@ -146,16 +150,17 @@ const CellLists = (props: any) => {
columns={columns} columns={columns}
search={false} search={false}
loading={loading} loading={loading}
toolBarRender={() => [ toolBarRender={false}
<Button // toolBarRender={() => [
key="3" // <Button
type="primary" // key="3"
onClick={() => emptys(null, '/CommunityManagement/CellList/Add')} // type="primary"
> // onClick={() => emptys(null, '/CommunityManagement/CellList/Add')}
<PlusOutlined /> // >
Create New Community // <PlusOutlined />
</Button>, // Create New Community
]} // </Button>,
// ]}
options={{ options={{
density: false, density: false,
fullScreen: false, fullScreen: false,
......
...@@ -229,10 +229,10 @@ const Detail = (props: any) => { ...@@ -229,10 +229,10 @@ const Detail = (props: any) => {
<PreView OpenUrl={detailData.rows.serviceGuideUrl}></PreView> <PreView OpenUrl={detailData.rows.serviceGuideUrl}></PreView>
</div> </div>
{/* ---------- */} {/* ---------- */}
<div className="item"> {/* <div className="item">
<label>Warranty Period Service:</label> <label>Warranty Period Service:</label>
<PreView OpenUrl={detailData.rows.lifeServiceUrl}></PreView> <PreView OpenUrl={detailData.rows.lifeServiceUrl}></PreView>
</div> </div> */}
</div> </div>
</div> </div>
......
...@@ -181,7 +181,16 @@ const CommunityAnnouncement = (props: any) => { ...@@ -181,7 +181,16 @@ const CommunityAnnouncement = (props: any) => {
return ( return (
<> <>
<div style={{ width: '100%', padding: 20, marginBottom: 0, backgroundColor: '#ffffff' }}> <div
style={{
width: '100%',
padding: 20,
marginBottom: 0,
backgroundColor: '#ffffff',
display: 'flex',
justifyContent: 'space-between',
}}
>
<Form <Form
autoComplete="off" autoComplete="off"
layout="inline" layout="inline"
...@@ -224,6 +233,17 @@ const CommunityAnnouncement = (props: any) => { ...@@ -224,6 +233,17 @@ const CommunityAnnouncement = (props: any) => {
</Button> */} </Button> */}
</Form.Item> </Form.Item>
</Form> </Form>
<Button
key="3"
type="primary"
onClick={() => {
goToAdd(0, {});
}}
>
<PlusOutlined />
Create New Announcement
</Button>
</div> </div>
<div style={{ width: '100%', paddingLeft: 10, paddingRight: 10, backgroundColor: '#ffffff' }}> <div style={{ width: '100%', paddingLeft: 10, paddingRight: 10, backgroundColor: '#ffffff' }}>
<ProTable <ProTable
...@@ -233,25 +253,26 @@ const CommunityAnnouncement = (props: any) => { ...@@ -233,25 +253,26 @@ const CommunityAnnouncement = (props: any) => {
columns={columns} columns={columns}
pagination={false} // 隐藏默认分页 pagination={false} // 隐藏默认分页
search={false} search={false}
toolBarRender={() => [ toolBarRender={false}
<Button // toolBarRender={() => [
key="3" // <Button
type="primary" // key="3"
onClick={() => { // type="primary"
goToAdd(0, {}); // onClick={() => {
}} // goToAdd(0, {});
> // }}
<PlusOutlined /> // >
Create New Announcement // <PlusOutlined />
</Button>, // Create New Announcement
]} // </Button>,
options={{ // ]}
density: false, // options={{
fullScreen: false, // density: false,
reload: false, // fullScreen: false,
setting: false, // reload: false,
}} // setting: false,
headerTitle="Announcement list" // }}
// headerTitle="Announcement list"
/> />
<div style={{ textAlign: 'right', padding: 10 }}> <div style={{ textAlign: 'right', padding: 10 }}>
<Pagination <Pagination
......
...@@ -106,7 +106,11 @@ const Bookings = (props: any) => { ...@@ -106,7 +106,11 @@ const Bookings = (props: any) => {
// 更新list // 更新list
setConcurrent(Result.data); setConcurrent(Result.data);
ResultClear(); // 清除结果 ResultClear(); // 清除结果
message.warning('The selected time has been reserved by app, please select again!'); // Time.length = 0;
formRef.current.setFieldsValue({
Time: null,
});
message.warning('Please select another time!');
} else { } else {
// 提交成功 // 提交成功
ResultClear(); // 清除结果 ResultClear(); // 清除结果
...@@ -341,6 +345,7 @@ const Bookings = (props: any) => { ...@@ -341,6 +345,7 @@ const Bookings = (props: any) => {
// 点击确定时间 // 点击确定时间
const onChanges = (value: any) => { const onChanges = (value: any) => {
console.log(value);
let a = parseInt(moment(value[1], 'HH:mm').format('HH')) - 1; let a = parseInt(moment(value[1], 'HH:mm').format('HH')) - 1;
let b = moment(a, 'HH').format('HH:mm'); let b = moment(a, 'HH').format('HH:mm');
let c = [value[0], b]; let c = [value[0], b];
......
...@@ -336,6 +336,13 @@ const FacilityBookings = (props: any) => { ...@@ -336,6 +336,13 @@ const FacilityBookings = (props: any) => {
// }); // });
// }; // };
const operations = (
<Button key="3" type="primary" onClick={goToFunction}>
<PlusOutlined />
{curString.tab == 1 ? 'Add Appointment' : 'Add Facilities'}
</Button>
);
return ( return (
<> <>
<div className="base"> <div className="base">
...@@ -387,8 +394,9 @@ const FacilityBookings = (props: any) => { ...@@ -387,8 +394,9 @@ const FacilityBookings = (props: any) => {
defaultActiveKey={curString.tab.toString()} defaultActiveKey={curString.tab.toString()}
onChange={TabCallback} onChange={TabCallback}
className="diytabs" className="diytabs"
tabBarExtraContent={operations}
> >
<TabPane tab="Facility Bookings" key="1"> <TabPane tab="Facility Bookings" key="1" style={{ marginTop: 15 }}>
<ProTable <ProTable
loading={loading} loading={loading}
rowKey="id" rowKey="id"
...@@ -402,12 +410,13 @@ const FacilityBookings = (props: any) => { ...@@ -402,12 +410,13 @@ const FacilityBookings = (props: any) => {
// }} // }}
pagination={false} pagination={false}
search={false} search={false}
toolBarRender={() => [ toolBarRender={false}
<Button key="3" type="primary" onClick={goToFunction}> // toolBarRender={() => [
<PlusOutlined /> // <Button key="3" type="primary" onClick={goToFunction}>
Add Appointment // <PlusOutlined />
</Button>, // Add Appointment
]} // </Button>,
// ]}
options={{ options={{
density: false, density: false,
fullScreen: false, fullScreen: false,
...@@ -433,12 +442,13 @@ const FacilityBookings = (props: any) => { ...@@ -433,12 +442,13 @@ const FacilityBookings = (props: any) => {
)} )}
</TabPane> </TabPane>
<TabPane tab="Facility Management" key="2"> <TabPane tab="Facility Management" key="2" style={{ marginTop: 15 }}>
<ProTable <ProTable
loading={loading} loading={loading}
rowKey={'community'} rowKey={'community'}
dataSource={Facility} dataSource={Facility}
columns={columns2} columns={columns2}
toolBarRender={false}
// pagination={{ // pagination={{
// current: curString.curPage2, // current: curString.curPage2,
// total: Data2.total.totalRow, // total: Data2.total.totalRow,
...@@ -447,12 +457,12 @@ const FacilityBookings = (props: any) => { ...@@ -447,12 +457,12 @@ const FacilityBookings = (props: any) => {
// }} // }}
pagination={false} // 隐藏默认分页 pagination={false} // 隐藏默认分页
search={false} search={false}
toolBarRender={() => [ // toolBarRender={() => [
<Button key="3" type="primary" onClick={goToFunction}> // <Button key="3" type="primary" onClick={goToFunction}>
<PlusOutlined /> // <PlusOutlined />
Add Facilities // Add Facilities
</Button>, // </Button>,
]} // ]}
options={{ options={{
density: false, density: false,
fullScreen: false, fullScreen: false,
......
...@@ -237,6 +237,7 @@ const VisitorRecord = (props: any) => { ...@@ -237,6 +237,7 @@ const VisitorRecord = (props: any) => {
pagination={pagination} pagination={pagination}
// pagination={{ current: 1, total: Data.total}} // pagination={{ current: 1, total: Data.total}}
search={false} search={false}
toolBarRender={false}
options={{ options={{
density: false, density: false,
fullScreen: false, fullScreen: false,
......
...@@ -237,6 +237,7 @@ const VisitorRecord = (props: any) => { ...@@ -237,6 +237,7 @@ const VisitorRecord = (props: any) => {
pagination={pagination} pagination={pagination}
// pagination={{ current: 1, total: Data.total}} // pagination={{ current: 1, total: Data.total}}
search={false} search={false}
toolBarRender={false}
options={{ options={{
density: false, density: false,
fullScreen: false, fullScreen: false,
......
...@@ -144,7 +144,7 @@ const Contract = (props: any) => { ...@@ -144,7 +144,7 @@ const Contract = (props: any) => {
}; };
return ( return (
<> <>
<div className={styles.contop}> <div className={styles.contop} style={{ display: 'flex', justifyContent: 'space-between' }}>
<Form <Form
autoComplete="off" autoComplete="off"
layout="inline" layout="inline"
...@@ -180,6 +180,18 @@ const Contract = (props: any) => { ...@@ -180,6 +180,18 @@ const Contract = (props: any) => {
</Button> */} </Button> */}
</Form.Item> </Form.Item>
</Form> </Form>
<Button
key="3"
type="primary"
onClick={() => {
Jump(null, 'Add');
}}
loading={loading}
icon={<PlusOutlined />}
>
Add Contract
</Button>
</div> </div>
<div className={styles.listbox}> <div className={styles.listbox}>
...@@ -191,26 +203,27 @@ const Contract = (props: any) => { ...@@ -191,26 +203,27 @@ const Contract = (props: any) => {
pagination={false} // 隐藏默认分页 pagination={false} // 隐藏默认分页
search={false} search={false}
loading={loading} loading={loading}
toolBarRender={() => [ // toolBarRender={() => [
<Button // <Button
key="3" // key="3"
type="primary" // type="primary"
onClick={() => { // onClick={() => {
Jump(null, 'Add'); // Jump(null, 'Add');
}} // }}
loading={loading} // loading={loading}
icon={<PlusOutlined />} // icon={<PlusOutlined />}
> // >
Add Contract // Add Contract
</Button>, // </Button>,
]} // ]}
options={{ // options={{
density: false, // density: false,
fullScreen: false, // fullScreen: false,
reload: false, // reload: false,
setting: false, // setting: false,
}} // }}
headerTitle="Contract list" toolBarRender={false}
// headerTitle="Contract list"
// pagination={{ defaultCurrent: 1, total: Data.totalRow }} // pagination={{ defaultCurrent: 1, total: Data.totalRow }}
/> />
......
...@@ -389,7 +389,7 @@ const ContractContent = (props: any) => { ...@@ -389,7 +389,7 @@ const ContractContent = (props: any) => {
<div className="contract_box"> <div className="contract_box">
<div className="list2"> <div className="list2">
<Form.Item name="contractNumber" label="Contract Number" rules={tipList[0]}> <Form.Item name="contractNumber" label="Contract Number" rules={tipList[0]}>
<Input style={{ width: 200 }} placeholder="Contract Number" /> <Input style={{ width: 200 }} placeholder="Contract Number" maxLength={25} />
</Form.Item> </Form.Item>
</div> </div>
{/* 合同编号、甲方、乙方 */} {/* 合同编号、甲方、乙方 */}
...@@ -405,7 +405,7 @@ const ContractContent = (props: any) => { ...@@ -405,7 +405,7 @@ const ContractContent = (props: any) => {
</div> */} </div> */}
<div className="item_1"> <div className="item_1">
<Form.Item name="contractPartyB" label="Contract Party" rules={tipList[1]}> <Form.Item name="contractPartyB" label="Contract Party" rules={tipList[1]}>
<Input style={{ width: 300 }} placeholder="Contract Party " /> <Input style={{ width: 278 }} placeholder="Contract Party " />
</Form.Item> </Form.Item>
</div> </div>
</div> </div>
...@@ -481,7 +481,7 @@ const ContractContent = (props: any) => { ...@@ -481,7 +481,7 @@ const ContractContent = (props: any) => {
style={{ marginBottom: 0 }} style={{ marginBottom: 0 }}
> >
<TextArea <TextArea
style={{ padding: 8, width: 600 }} style={{ padding: '8px 0', width: 600 }}
placeholder="Remarks" placeholder="Remarks"
showCount={true} showCount={true}
autoSize={{ minRows: 6, maxRows: 6 }} autoSize={{ minRows: 6, maxRows: 6 }}
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2020-11-19 16:54:53 * @Date: 2020-11-19 16:54:53
* @LastEditTime: 2021-02-01 17:31:42 * @LastEditTime: 2021-02-02 18:29:06
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \tostumi\src\utils\tip.ts * @FilePath: \tostumi\src\utils\tip.ts
...@@ -57,14 +57,14 @@ const reqMes = (msg: string) => { ...@@ -57,14 +57,14 @@ const reqMes = (msg: string) => {
// 合同提示 // 合同提示
export const tipList = [ export const tipList = [
[reqMes('Please Input Contract Numbe!')], [reqMes('Please fenter the contract number!')],
[reqMes('Please Input Contract Party!')], [reqMes('Please enter the contract party!')],
[reqMes('Please Input Contract Party B!')], [reqMes('Please Input Contract Party B!')],
[reqMes('Please Choice CommunityName!')], [reqMes('Please select community!')],
[reqMes('Please Choice Contract Title!')], [reqMes('Please enter the contract title!')],
[reqMes('Please Choice Contract Time!')], [reqMes('Please choose the date!')],
[reqMes('Please upload Contract Annex!')], [reqMes('Please upload the contract annex!')],
[reqMes('Please Input Contract Remarks!')], [reqMes('Please enterthe contract remarks!')],
]; ];
// 小区提示 // 小区提示
...@@ -81,8 +81,8 @@ export const village = [ ...@@ -81,8 +81,8 @@ export const village = [
//公告提示 //公告提示
export const Notice = [ export const Notice = [
[reqMes('Please select community')], [reqMes('Please select community')],
[reqMes('Please input the notice title.')], [reqMes('Please enter the notice title.')],
[reqMes('Please input the announcement content.')], [reqMes('Please enter the announcement content.')],
[reqMes('Please choose the effective time of the announcement.')], [reqMes('Please choose the effective time of the announcement.')],
]; ];
......
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