Your Name преди 3 години
родител
ревизия
50c2249c8f

+ 1
- 1
src/pages/activity/SignupActivity/edit/Basic.jsx Целия файл

@@ -172,7 +172,7 @@ const BasicForm = props => {
172 172
         </Form.Item> */}
173 173
         <Form.Item
174 174
           label="活动详情主图"
175
-          help="建议图片尺寸:750*600px,比例5:4,格式:jpg,用于:普通活动详情"
175
+          help="建议图片尺寸:750*415px,比例16:9,格式:jpg,用于:普通活动详情"
176 176
         >
177 177
           {getFieldDecorator('imgUrl', {
178 178
             rules: [

+ 5
- 5
src/pages/activity/groupRoomActivity/edit/Basic.jsx Целия файл

@@ -160,8 +160,8 @@ const BasicForm = props => {
160 160
           })(<BuildSelect disabled={disable} />)}
161 161
         </Form.Item>
162 162
         <Form.Item
163
-          label="活动封面图1"
164
-          help="建议图片尺寸:750px*420px,比例16:9,格式:jpg,用于:首页推荐/活动列表"
163
+          label="活动封面图"
164
+          help="建议图片尺寸:690*388px,比例16:9,格式:jpg,用于:首页推荐/活动列表"
165 165
         >
166 166
           {getFieldDecorator('listImgUrl', {
167 167
             rules: [
@@ -172,7 +172,7 @@ const BasicForm = props => {
172 172
             ],
173 173
           })(<ImageUploader />)}
174 174
         </Form.Item>
175
-        <Form.Item
175
+        {/* <Form.Item
176 176
           label="活动封面图2"
177 177
           help="建议图片尺寸:750*250,比例3:1,格式:jpg,用于:项目详情页"
178 178
         >
@@ -184,10 +184,10 @@ const BasicForm = props => {
184 184
               },
185 185
             ],
186 186
           })(<ImageUploader />)}
187
-        </Form.Item>
187
+        </Form.Item> */}
188 188
         <Form.Item
189 189
           label="活动详情主图"
190
-          help="建议图片尺寸:750*600px,比例5:4,格式:jpg,用于:普通活动详情"
190
+          help="建议图片尺寸:750*415px,比例16:9,格式:jpg,用于:普通活动详情"
191 191
         >
192 192
           {getFieldDecorator('imgUrl', {
193 193
             rules: [

+ 5
- 5
src/pages/activity/lookHouseActivity/edit/Basic.jsx Целия файл

@@ -164,8 +164,8 @@ const BasicForm = props => {
164 164
           })(<BuildSelect disabled={disable} />)}
165 165
         </Form.Item>
166 166
         <Form.Item
167
-          label="活动封面图1"
168
-          help="建议图片尺寸:750px*420px,比例16:9,格式:jpg,用于:首页推荐/活动列表"
167
+          label="活动封面图"
168
+          help="建议图片尺寸:690px*388px,比例16:9,格式:jpg,用于:首页推荐/活动列表"
169 169
         >
170 170
           {getFieldDecorator('listImgUrl', {
171 171
             rules: [
@@ -176,7 +176,7 @@ const BasicForm = props => {
176 176
             ],
177 177
           })(<ImageUploader />)}
178 178
         </Form.Item>
179
-        <Form.Item
179
+        {/* <Form.Item
180 180
           label="活动封面图2"
181 181
           help="建议图片尺寸:750*250,比例3:1,格式:jpg,用于:项目详情页"
182 182
         >
@@ -188,10 +188,10 @@ const BasicForm = props => {
188 188
               },
189 189
             ],
190 190
           })(<ImageUploader />)}
191
-        </Form.Item>
191
+        </Form.Item> */}
192 192
         <Form.Item
193 193
           label="活动详情主图"
194
-          help="建议图片尺寸:750*600px,比例5:4,格式:jpg,用于:普通活动详情"
194
+          help="建议图片尺寸:750*415px,比例16:9,格式:jpg,用于:普通活动详情"
195 195
         >
196 196
           {getFieldDecorator('imgUrl', {
197 197
             rules: [

+ 15
- 15
src/pages/building/Edit/SpecialRoom/index.jsx Целия файл

@@ -37,28 +37,28 @@ export default (props) => {
37 37
   }
38 38
 
39 39
   useEffect(() => {
40
-    getList({ pageNum: 1, pageSize: 10 });
40
+    getList({ pageNum: 1, pageSize: 20 });
41 41
   }, []);
42 42
 
43 43
   const onChangePageNum = pageNumber => {
44
-    getList({ pageNum: pageNumber, pageSize: 10 });
44
+    getList({ pageNum: pageNumber, pageSize: 20 });
45 45
   };
46 46
 
47 47
   const onSuccess = () => {
48
-    // setVisible(false);
49
-    // getList();
48
+    setVisible({visible:false})
49
+    getList({ pageNum: 1, pageSize: 10 });
50 50
   };
51 51
   function onDelete(record) {
52
-    // request({ ...apis.paorama.delete, urlData: { id: record.panoramaId } })
53
-    //   .then(res => {
54
-    //     notification.success({ message: '删除成功' });
55
-    //     getList();
56
-    //   })
57
-    //   .catch(err => {
58
-    //     notification.error({
59
-    //       message: err.message,
60
-    //     });
61
-    //   });
52
+    request({ ...apis.building.deletebuildingSpecialRoom, urlData: { id: record.specialRoomId } })
53
+      .then(res => {
54
+        notification.success({ message: '删除成功' });
55
+        getList({ pageNum: 1, pageSize: 10 });
56
+      })
57
+      .catch(err => {
58
+        notification.error({
59
+          message: err.message,
60
+        });
61
+      });
62 62
   }
63 63
 
64 64
   function onEdit(data) {
@@ -71,7 +71,7 @@ export default (props) => {
71 71
       <div>
72 72
         <Button type="primary" onClick={() => setVisible({visible:true})}>新增特价房</Button>
73 73
       </div>
74
-      <Form visibleData={visible} onCancel={() => setVisible({visible:false})} onSuccess={onSuccess}  />
74
+      <Form visibleData={visible} buildingId={id} onCancel={() => setVisible({visible:false})} onSuccess={onSuccess}  />
75 75
       <List data={data} buildingId={id} loading={loading} onChangePageNum={onChangePageNum} onDelete={onDelete} onEdit={onEdit}/>
76 76
     </div>
77 77
   )

+ 6
- 4
src/pages/customer/Recommend/audit.jsx Целия файл

@@ -107,7 +107,7 @@ function body(props) {
107 107
 
108 108
   return (
109 109
     <Card>
110
-      <Form {...tailFormItemLayout} onSubmit={e => handleSubmit(e)} style={{ width: '800px', margin: 'auto' }}>
110
+      <Form {...tailFormItemLayout} onSubmit={e => handleSubmit(e)} style={{ maxWidth: '1000px' }}>
111 111
         <Form.Item label="客户ID" style={{ display: 'none' }}>
112 112
           {getFieldDecorator('customerId')(
113 113
             <Input
@@ -217,13 +217,15 @@ function body(props) {
217 217
           </Row>
218 218
         </Form.Item>
219 219
         <Form.Item style={{ display: 'flex', justifyContent: 'center' }}>
220
-          <Button type="primary" className={Styles.SubmitButton} htmlType="submit" >
220
+          <Button type="primary" htmlType="submit" >
221 221
             审核通过
222 222
           </Button>
223
-          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
224
-          <Button onClick={() => submitDate({ verifyStatus: '2' })}>
223
+          <Button type="danger" ghost style={{marginLeft: '4em'}} onClick={() => submitDate({ verifyStatus: '2' })}>
225 224
             驳回
226 225
           </Button>
226
+          <Button style={{marginLeft: '4em'}} onClick={() => router.goBack(-1)}>
227
+            取消
228
+          </Button>
227 229
         </Form.Item>
228 230
       </Form>
229 231