Selaa lähdekoodia

Merge branch 'master' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager

张延森 5 vuotta sitten
vanhempi
commit
4ff7fc3b1b

+ 1
- 1
config/config.js Näytä tiedosto

@@ -479,7 +479,7 @@ export default {
479 479
 
480 480
   proxy: {
481 481
     '/api/': {
482
-      target: 'http://192.168.0.11:8080/',
482
+      target: 'http://192.168.0.84:8080/',
483 483
       changeOrigin: true,
484 484
       // pathRewrite: { '^/server': '' },
485 485
     },

+ 1
- 1
src/global.less Näytä tiedosto

@@ -79,7 +79,7 @@ ol {
79 79
 .ant-menu-vertical-left .ant-menu-submenu-title,
80 80
 .ant-menu-vertical-right .ant-menu-submenu-title,
81 81
 .ant-menu-inline .ant-menu-submenu-title,
82
-.ant-input ,.ant-btn{
82
+.ant-input ,.ant-btn,.ant-select,.ant-table {
83 83
   font-size: 16px;
84 84
 }
85 85
 .ant-breadcrumb{

+ 1
- 1
src/pages/building/list/add/components/base.jsx Näytä tiedosto

@@ -104,7 +104,7 @@ function AddBuilding(props) {
104 104
           <Form.Item label="均价" hasFeedback>
105 105
             {getFieldDecorator('price')(<Input />)}
106 106
           </Form.Item>
107
-          <Form.Item label="开盘时间" hasFeedback>
107
+          <Form.Item label="开盘时间"  hasFeedback>
108 108
             {getFieldDecorator('openingDate')(<DatePicker format="YYYY/MM/DD" />)}
109 109
           </Form.Item>
110 110
           <Form.Item label="电话" hasFeedback>

+ 4
- 4
src/pages/building/type/index.jsx Näytä tiedosto

@@ -20,7 +20,7 @@ function body() {
20 20
       title: '类型名称',
21 21
       dataIndex: 'buildingTypeName',
22 22
       key: 'buildingTypeName',
23
-      render: (_, record) => <Tag color="blue" onClick={() => toEdi(record.buildingTypeId)}>{ record.buildingTypeName }</Tag>,
23
+      render: (_, record) => <Tag color="blue" onClick={() => toEdi(record.buildingTypeId)}>{record.buildingTypeName}</Tag>,
24 24
     },
25 25
     {
26 26
       title: '创建时间',
@@ -35,9 +35,9 @@ function body() {
35 35
       render: (_, record) => (
36 36
         <span onClick={() => deleteType(record)}>
37 37
           <span style={{
38
-              color: '#FF4A4A', right: '0',
38
+            color: '#FF4A4A', right: '0',
39 39
           }} >
40
-              删除
40
+            删除
41 41
           <Icon type="rest" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
42 42
           </span>
43 43
         </span>
@@ -97,7 +97,7 @@ function body() {
97 97
   return (
98 98
     <>
99 99
       <Button type="danger" onClick={() => toEdi()}>新增类型</Button>
100
-      <Table style={{marginTop:'30px'}} dataSource={data.records} columns={columns} pagination={false}/>
100
+      <Table style={{ marginTop: '30px' }} dataSource={data.records} columns={columns} pagination={false} />
101 101
       {/* 分页 */}
102 102
       <div style={{ display: 'flex', justifyContent: 'flex-end', marginTop: '30px' }}>
103 103
         <Pagination showQuickJumper defaultCurrent={1} total={data.total} onChange={onChange} />