Commit ec721887 authored by Sixiang_Zzb's avatar Sixiang_Zzb

用户管理模块 楼层显示排版问题处理

parent 47d17e5f
...@@ -84,7 +84,7 @@ const TableShow = (props: any) => { ...@@ -84,7 +84,7 @@ const TableShow = (props: any) => {
<Col>Address:</Col> <Col>Address:</Col>
<Col> <Col>
{item.owner.buildingNumber + {item.owner.buildingNumber +
'#' + ' #' +
item.owner.floorNumber + item.owner.floorNumber +
'-' + '-' +
item.owner.roomNumber + item.owner.roomNumber +
...@@ -170,8 +170,6 @@ export default TableShow; ...@@ -170,8 +170,6 @@ export default TableShow;
// ower_phone: "微微" // ower_phone: "微微"
// room_number: "399" // room_number: "399"
{ /* <div style={{ width: 80, height: 80, border: "1px solid #cccccc",padding:8,lineHeight:1,textAlign:"center",fontSize:12}}>
/* <div style={{ width: 80, height: 80, border: "1px solid #cccccc",padding:8,lineHeight:1,textAlign:"center",fontSize:12}}>
Activation Code Has Been Used/Is Inactive Activation Code Has Been Used/Is Inactive
</div> */ </div> */
}
...@@ -69,7 +69,7 @@ const Users = (props: any) => { ...@@ -69,7 +69,7 @@ const Users = (props: any) => {
{ {
title: unit, title: unit,
render: (text: any, record: any) => ( render: (text: any, record: any) => (
<div>{record.buildingNumber + '#' + record.floorNumber + '—' + record.roomNumber}</div> <div>{record.buildingNumber + ' #' + record.floorNumber + '—' + record.roomNumber}</div>
), ),
}, },
{ {
......
import React, { useState, useEffect, useRef } from 'react'; import React, { useState, useEffect, useRef } from 'react';
import styles from './UsersAdd.less';
import { Input, Spin, Button, Form, message } from 'antd'; import { Input, Spin, Button, Form, message } from 'antd';
import { connect } from 'umi'; import { connect } from 'umi';
import styles from './UsersAdd.less';
import Line from '../../../components/Line/Line'; import Line from '../../../components/Line/Line';
import TitleBack from '../../../components/TitleBack/TitleBack'; import TitleBack from '../../../components/TitleBack/TitleBack';
...@@ -28,7 +28,7 @@ const UsersAdd = (props: any) => { ...@@ -28,7 +28,7 @@ const UsersAdd = (props: any) => {
if (checkParam(values)) { if (checkParam(values)) {
values.owerPhone = null; values.owerPhone = null;
values.owerEmail = null; values.owerEmail = null;
values.buildingNumber = 'BLK ' + values.buildingNumber + ' '; values.buildingNumber = 'BLK ' + values.buildingNumber;
RA(14, values, module, dispatch); RA(14, values, module, dispatch);
setLoading(true); setLoading(true);
} else { } else {
......
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