张延森 4 年前
父节点
当前提交
4a0d83277f

+ 1
- 1
src/pages/mpSetting/components/TemplateSetting.jsx 查看文件

@@ -69,7 +69,7 @@ export default props => {
69 69
   return (
70 70
     <div>
71 71
       <Button onClick={handleAdd}>新增</Button>
72
-      <div style={{maxWidth: '800px', marginTop: '16px' }}>
72
+      <div style={{maxWidth: '800px', marginTop: '24px'}}>
73 73
         <List
74 74
           loading={loading}
75 75
           dataSource={listData}

+ 8
- 1
src/pages/property/message/event/Editor.jsx 查看文件

@@ -67,7 +67,7 @@ export default Form.create()(props => {
67 67
           {
68 68
             props.form.getFieldDecorator('name', {
69 69
               rules: [{required: true, message: '请填写名称'}]
70
-            })(<Input placeholder="请填写名称" />)
70
+            })(<Input placeholder="请填写名称, 中秋节请填写中秋" />)
71 71
           }
72 72
         </Form.Item>
73 73
         {
@@ -91,6 +91,13 @@ export default Form.create()(props => {
91 91
             }
92 92
           </Form.Item>
93 93
         }
94
+        <Form.Item label="祝福语">
95
+          {
96
+            props.form.getFieldDecorator('wishes', {
97
+              rules: [{required: true, message: '请填写祝福语'}]
98
+            })(<Input placeholder="建议4-12个字, 比如祝您中秋节快乐" />)
99
+          }
100
+        </Form.Item>
94 101
         <Form.Item {...tailFormItemLayout}>
95 102
           <Button type="primary" htmlType="submit">确定</Button>
96 103
           <Button onClick={props.onCancel} style={{ marginLeft: '48px' }}>取消</Button>

+ 3
- 1
src/pages/property/message/event/index.jsx 查看文件

@@ -146,11 +146,13 @@ export default props => {
146 146
             </span>
147 147
           )
148 148
         }} />
149
+        <Table.Column title="祝福语" dataIndex="wishes" key="wishes" />
149 150
         <Table.Column title="状态" dataIndex="status" key="status" render={t => StatusDict[t] || ''} />
150
-        <Table.Column title="创建时间" dataIndex="createDate" key="createDate" />
151
+        <Table.Column title="创建时间" dataIndex="createDate" key="createDate" width="180px" />
151 152
         <Table.Column
152 153
           title="操作"
153 154
           key="action"
155
+          width="200px"
154 156
           render={(_, row) => {
155 157
             return (
156 158
               <>