Commit c4eada00 authored by MrShi's avatar MrShi

[fix] 功能完善

parent 4b7d3110
...@@ -14,7 +14,7 @@ import { getCookie } from '@/utils/method'; ...@@ -14,7 +14,7 @@ import { getCookie } from '@/utils/method';
import { timestampToTime } from '@/utils/time'; import { timestampToTime } from '@/utils/time';
import { validateMessages } from '@/utils/params'; import { validateMessages } from '@/utils/params';
const treatStatus=["Untreated","Processed"] const treatStatus=["Pending","Processed"]
const Detail = (props:any) => { const Detail = (props:any) => {
...@@ -85,7 +85,7 @@ const Detail = (props:any) => { ...@@ -85,7 +85,7 @@ const Detail = (props:any) => {
}; };
const titleProps = { const titleProps = {
sublist: CurDataDetail != null?['Handle Status : ' + treatStatus[CurDataDetail.status], 'Create Time : ' + CurDataDetail.time]:null, sublist: CurDataDetail != null?['Status : ' + treatStatus[CurDataDetail.status], 'Create Time : ' + CurDataDetail.time]:null,
title: headTitle title: headTitle
} }
...@@ -107,7 +107,7 @@ const Detail = (props:any) => { ...@@ -107,7 +107,7 @@ const Detail = (props:any) => {
<Descriptions.Item >{CurDataDetail.email}</Descriptions.Item> <Descriptions.Item >{CurDataDetail.email}</Descriptions.Item>
</Descriptions> </Descriptions>
<Row gutter={16}> <Row gutter={16}>
<Col span={3}>Details:</Col> <Col span={3}>Description:</Col>
<Col><TextArea style={{ width: 394, height: 80,padding:8 }} autoSize={false} disabled value={CurDataDetail.content}/></Col> <Col><TextArea style={{ width: 394, height: 80,padding:8 }} autoSize={false} disabled value={CurDataDetail.content}/></Col>
</Row> </Row>
<Row gutter={16} style={{marginTop:20}}> <Row gutter={16} style={{marginTop:20}}>
...@@ -140,7 +140,7 @@ const Detail = (props:any) => { ...@@ -140,7 +140,7 @@ const Detail = (props:any) => {
</Row> </Row>
: null} : null}
<Row gutter={16} style={{ marginTop: 20 }}> <Row gutter={16} style={{ marginTop: 20 }}>
<Col span={3}>Resolved Complaint:</Col> <Col span={3}>Solution & Conclusion:</Col>
<Col ><Form.Item name="replyContent" rules={[{required:true,max:300}]} ><TextArea style={{padding:8, width: 394, height: 80 }} autoSize={false} disabled={!editorFlag} /></Form.Item></Col> <Col ><Form.Item name="replyContent" rules={[{required:true,max:300}]} ><TextArea style={{padding:8, width: 394, height: 80 }} autoSize={false} disabled={!editorFlag} /></Form.Item></Col>
</Row> </Row>
<Row gutter={16}> <Row gutter={16}>
...@@ -170,7 +170,7 @@ const Detail = (props:any) => { ...@@ -170,7 +170,7 @@ const Detail = (props:any) => {
</Row> </Row>
{ {
editorFlag ? editorFlag ?
<><Line /><Row><Col span={3}></Col><Col><Form.Item><Button type="primary" htmlType="submit">summit</Button></Form.Item></Col></Row></>:null <><Line /><Row><Col span={3}></Col><Col><Form.Item><Button type="primary" htmlType="submit">Submit</Button></Form.Item></Col></Row></>:null
} }
</Form> </Form>
</div> </div>
......
...@@ -11,7 +11,7 @@ import { RA, urlEncode, filterObj, filterObjbyTg } from '@/utils/method'; ...@@ -11,7 +11,7 @@ import { RA, urlEncode, filterObj, filterObjbyTg } from '@/utils/method';
const pathname = ["CommunityMaintenance", "ShelfLifeService", "OwnerComplaints", "ReportOnline", "ProblemFeedback"] const pathname = ["CommunityMaintenance", "ShelfLifeService", "OwnerComplaints", "ReportOnline", "ProblemFeedback"]
const handle_Status = [[0,"Untreated"], [1,"Processed"]]//["未处理","处理","拒绝"] , [2,"Rejected"] const handle_Status = [[0,"Pending"], [1,"Processed"]]//["未处理","处理","拒绝"] , [2,"Rejected"]
const goToName = ["Reply", "Detail"]; const goToName = ["Reply", "Detail"];
const module="CommunityService" const module="CommunityService"
......
...@@ -17,7 +17,7 @@ const Renovation = (props:any) => { ...@@ -17,7 +17,7 @@ const Renovation = (props:any) => {
const columns = objectColumns([ const columns = objectColumns([
["Community", "community_name"], ["Community", "community_name"],
["Apply Name", "applyfor_name"], ["Applicant", "applyfor_name"],
["Unit", null, (text: any, record: any) => (<div>{record.community_build_decorate}#{record.community_floor_decorate}-{record.community_room_decoate}</div>)], ["Unit", null, (text: any, record: any) => (<div>{record.community_build_decorate}#{record.community_floor_decorate}-{record.community_room_decoate}</div>)],
["Content", "decoration_content", (text: any) => (<div>{stringTab(text)}</div>)], ["Content", "decoration_content", (text: any) => (<div>{stringTab(text)}</div>)],
["Request Time", "create_time",(text: any) => (<div>{timestampToTime(text.time)}</div>)], ["Request Time", "create_time",(text: any) => (<div>{timestampToTime(text.time)}</div>)],
......
...@@ -110,8 +110,8 @@ const RenovationDetail = (props:any) => { ...@@ -110,8 +110,8 @@ const RenovationDetail = (props:any) => {
<Form ref={formRef} name="basic" onFinish={onFinish}> <Form ref={formRef} name="basic" onFinish={onFinish}>
<Row gutter={8} style={{marginTop:16}}> <Row gutter={8} style={{marginTop:16}}>
<Col span={3}>Examine:</Col> <Col span={3}>Approval For Application:</Col>
<Col ><Form.Item name="decorationStatus"><Radio.Group ><Radio.Button value={"1"}>Agree</Radio.Button > <Radio.Button style={{marginLeft:10}} value={"2"}>Refuse</Radio.Button ></Radio.Group></Form.Item></Col> <Col ><Form.Item name="decorationStatus"><Radio.Group ><Radio.Button value={"1"}>Agree</Radio.Button > <Radio.Button style={{marginLeft:10}} value={"2"}>Reject</Radio.Button ></Radio.Group></Form.Item></Col>
</Row> </Row>
<Row gutter={8} style={{marginTop:16}}> <Row gutter={8} style={{marginTop:16}}>
......
...@@ -63,8 +63,9 @@ const Contract = (props:any) => { ...@@ -63,8 +63,9 @@ const Contract = (props:any) => {
<div className={styles.base}> <div className={styles.base}>
{/* 头部组件 */} {/* 头部组件 */}
<div className={styles.box}> <div className={styles.box}>
<input className={styles.item1} placeholder={"nameofowner"} /> <input className={styles.item1} placeholder={"Project Name"} />
<input className={styles.item2} placeholder={"inputProject"} /> <input className={styles.item2} placeholder={"Service Type"} />
<input className={styles.item2} placeholder={"Order Status"} />
<button className={styles.item3}>Search</button> <button className={styles.item3}>Search</button>
</div> </div>
......
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