张延森 4 anos atrás
pai
commit
b915273192

+ 1
- 1
src/components/Prompt/index.jsx Ver arquivo

@@ -30,7 +30,7 @@ export default props => {
30 30
       onOk={handleOk}
31 31
       onCancel={handleCancel}
32 32
     >
33
-      <Input value={value} onChange={handleValue} />
33
+      <Input value={value} onChange={handleValue} placeholder={props.placeholder} />
34 34
     </Modal>
35 35
   )
36 36
 }

+ 1
- 1
src/pages/activity/detailActivity.jsx Ver arquivo

@@ -350,7 +350,7 @@ const Share = (props) => {
350 350
       <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享模板</p>
351 351
       <div>
352 352
         {/* <p style={{ display: 'flex', alignItems: 'center', fontSize: '14px', color: '#999', margin: '0', lineHeight: '0' }}><img src={logo} style={{ width: '22px', marginRight: '10px' }} />南京云致</p> */}
353
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : '精准获客平台'}</p>
353
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : ''}</p>
354 354
         <img style={{ width: '200px', height: '160px' }} src={imgValue ? imgValue : poster2} alt="" />
355 355
       </div>
356 356
     </div>

+ 5
- 5
src/pages/activity/editActivity.jsx Ver arquivo

@@ -177,7 +177,7 @@ const BasicForm = props => {
177 177
             ],
178 178
           })(<ActivityType disabled={disable} />)}
179 179
         </Form.Item>
180
-        <Form.Item label="活动封面图1" help="建议图片尺寸:750px*420px,比例16:9,格式:jpg,用于:首页推荐/活动列表">
180
+        <Form.Item label="活动封面图" help="建议图片尺寸:690px*388px,比例16:9,格式:jpg,用于:首页推荐/活动列表">
181 181
           {getFieldDecorator('listImgUrl', {
182 182
             rules: [
183 183
               {
@@ -187,7 +187,7 @@ const BasicForm = props => {
187 187
             ],
188 188
           })(<ImageUploader />)}
189 189
         </Form.Item>
190
-        <Form.Item label="活动封面图2" help="建议图片尺寸:750*250,比例3:1,格式:jpg,用于:项目详情页">
190
+        {/* <Form.Item label="活动封面图2" help="建议图片尺寸:750*250,比例3:1,格式:jpg,用于:项目详情页">
191 191
           {getFieldDecorator('bannerListImg', {
192 192
             rules: [
193 193
               {
@@ -196,8 +196,8 @@ const BasicForm = props => {
196 196
               },
197 197
             ],
198 198
           })(<ImageUploader />)}
199
-        </Form.Item>
200
-        <Form.Item label="活动详情主图" help="建议图片尺寸:750*600px,比例5:4,格式:jpg,用于:普通活动详情">
199
+        </Form.Item> */}
200
+        <Form.Item label="活动详情主图" help="建议图片尺寸:750*564px,比例4:3,格式:jpg,用于:普通活动详情">
201 201
           {getFieldDecorator('imgUrl', {
202 202
             rules: [
203 203
               {
@@ -475,7 +475,7 @@ const Share = props => {
475 475
       <div>
476 476
         {/* <p style={{ display: 'flex', alignItems: 'center', fontSize: '14px', color: '#999', margin: '0', lineHeight: '0' }}>
477 477
           <img src={logo} style={{ width: '22px', marginRight: '10px' }} alt=""/>南京云致</p> */}
478
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue || '精准获客平台'}</p>
478
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue || ''}</p>
479 479
         <img style={{ width: '200px', height: '160px' }} src={imgValue || poster2} alt="" />
480 480
       </div>
481 481
     </div>

+ 1
- 1
src/pages/activity/groupActivity/detailActivity.jsx Ver arquivo

@@ -317,7 +317,7 @@ const Share = (props) => {
317 317
       <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享模板</p>
318 318
       <div>
319 319
         {/* <p style={{ display: 'flex', alignItems: 'center', fontSize: '14px', color: '#999', margin: '0', lineHeight: '0' }}><img src={logo} style={{ width: '22px', marginRight: '10px' }} />南京云致</p> */}
320
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : '精准获客平台'}</p>
320
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : ''}</p>
321 321
         <img style={{ width: '200px', height: '160px' }} src={imgValue ? imgValue : poster2} alt="" />
322 322
       </div>
323 323
     </div>

+ 1
- 1
src/pages/activity/groupActivity/editGroupActivity.jsx Ver arquivo

@@ -349,7 +349,7 @@ const Share = props => {
349 349
       <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享模板</p>
350 350
       <div>
351 351
         {/* <p style={{ display: 'flex', alignItems: 'center', fontSize: '14px', color: '#999', margin: '0', lineHeight: '0' }}><img src={logo} style={{ width: '22px', marginRight: '10px' }} />南京云致</p> */}
352
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue || '精准获客平台'}</p>
352
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue || ''}</p>
353 353
         <img style={{ width: '200px', height: '160px' }} src={imgValue || poster2} alt="" />
354 354
       </div>
355 355
     </div>

+ 1
- 1
src/pages/activity/helpActivity/detailActivity.jsx Ver arquivo

@@ -317,7 +317,7 @@ const Share = (props) => {
317 317
       <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享模板</p>
318 318
       <div>
319 319
         {/* <p style={{ display: 'flex', alignItems: 'center', fontSize: '14px', color: '#999', margin: '0', lineHeight: '0' }}><img src={logo} style={{ width: '22px', marginRight: '10px' }} />南京云致</p> */}
320
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : '精准获客平台'}</p>
320
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : ''}</p>
321 321
         <img style={{ width: '200px', height: '160px' }} src={imgValue ? imgValue : poster2} alt="" />
322 322
       </div>
323 323
     </div>

+ 1
- 1
src/pages/activity/helpActivity/edithelpActivity.jsx Ver arquivo

@@ -477,7 +477,7 @@ const Share = props => {
477 477
         {/* <p style={{ display: 'flex', alignItems: 'center', fontSize: '14px', color: '#999', margin: '0', lineHeight: '0' }}>
478 478
           <img src={logo} style={{ width: '22px', marginRight: '10px' }} alt="" />南京云致
479 479
         </p> */}
480
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue || '精准获客平台'}</p>
480
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue || ''}</p>
481 481
         <img style={{ width: '200px', height: '160px' }} src={imgValue || poster2} alt="" />
482 482
       </div>
483 483
     </div>

+ 1
- 1
src/pages/activity/liveActivity/edit/components/share.jsx Ver arquivo

@@ -97,7 +97,7 @@ const Share = props => {
97 97
           <img src={logo} style={{ width: '22px', marginRight: '10px' }} />
98 98
             {miniappName}
99 99
         </p>
100
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{miniappName ? miniappName : '精准获客平台'}</p>
100
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{miniappName ? miniappName : ''}</p>
101 101
         <img style={{ width: '200px', height: '160px' }} src={imgValue ? imgValue : poster2} alt="" />
102 102
       </div>
103 103
     </div>

+ 1
- 1
src/pages/building/list/add/components/share.jsx Ver arquivo

@@ -75,7 +75,7 @@ const Share = props => {
75 75
           <img src={logo} style={{ width: '22px', marginRight: '10px' }} />
76 76
           南京云致
77 77
         </p> */}
78
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : '精准获客平台'}</p>
78
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : ''}</p>
79 79
         <img style={{ width: '200px', height: '160px' }} src={imgValue ? imgValue : poster2} alt="" />
80 80
       </div>
81 81
     </div>

+ 1
- 1
src/pages/carouselFigure/customImg/edit.jsx Ver arquivo

@@ -43,7 +43,7 @@ const header = props => {
43 43
     'imgUrl':'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1574145199853-97feda7895c65be33aa234a7b81b37f.jpg',
44 44
     'imgType':'index',
45 45
     'imgDesc':'小程序首页分享配图',
46
-    'imgDocument': currentUser.orgName+' 精准获客平台'
46
+    'imgDocument': currentUser.orgName+' '
47 47
   } : 
48 48
   {
49 49
     'imgUrl':'http://njcj.oss-cn-shanghai.aliyuncs.com/icon.png',

+ 1
- 1
src/pages/house/house/edit/components/share.jsx Ver arquivo

@@ -96,7 +96,7 @@ const Share = props => {
96 96
           <img src={logo} style={{ width: '22px', marginRight: '10px' }} />
97 97
             {miniappName}
98 98
         </p>
99
-        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{miniappName ? miniappName : '精准获客平台'}</p>
99
+        <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{miniappName ? miniappName : ''}</p>
100 100
         <img style={{ width: '200px', height: '160px' }} src={imgValue ? imgValue : poster2} alt="" />
101 101
       </div>
102 102
     </div>

+ 2
- 2
src/pages/integralMall/editGoods.jsx Ver arquivo

@@ -44,7 +44,7 @@ const header = props => {
44 44
       name: 'imgUrl',
45 45
       type: FieldTypes.ImageUploader,
46 46
       value: goodsData.imgUrl,
47
-      help: '建议图片尺寸:320*320px,比例1:1,格式:jpg,用于商品封面图',
47
+      help: '建议图片尺寸:335*335px,比例1:1,格式:jpg,用于商品封面图',
48 48
       rules: [
49 49
         {required: true, message: '请选择商品封面图'},
50 50
       ]
@@ -54,7 +54,7 @@ const header = props => {
54 54
       name: 'detailImgUrl',
55 55
       type: FieldTypes.ImageUploader,
56 56
       value: goodsData.detailImgUrl,
57
-      help: '建议图片尺寸:750*750px,比例1:1,格式:jpg,用于商品主图',
57
+      help: '建议图片尺寸:750*375px,比例2:1,格式:jpg,用于商品主图',
58 58
       rules: [
59 59
         {required: true, message: '请选择商品主图'},
60 60
       ]

+ 26
- 26
src/pages/news/list/editNewsList.jsx Ver arquivo

@@ -67,7 +67,7 @@ const Basic = (props) => {
67 67
       name: 'newsImg',
68 68
       type: FieldTypes.ImageUploader,
69 69
       value: dynamicData.newsImg,
70
-      help: '建议图片尺寸:320*240px,比例5:4,格式:jpg,用于资讯列表',
70
+      help: '建议图片尺寸:220*176px,比例5:4,格式:jpg,用于资讯列表',
71 71
       rules: [
72 72
         {required: true, message: '请选择资讯列表'},
73 73
       ]
@@ -90,39 +90,39 @@ const Basic = (props) => {
90 90
         {required: true, message: '请选择资讯类型'},
91 91
       ]
92 92
     },
93
+    // {
94
+    //   label: '资讯详情',
95
+    //   name: 'newsDetailType',
96
+    //   render: <Radio.Group> 
97
+    //           <Radio value={1}>自定义</Radio>
98
+    //           <Radio value={0}>公众号链接</Radio>
99
+    //           </Radio.Group>,
100
+    //   value: dynamicData.newsDetailType - 0,
101
+    //   rules: [
102
+    //     {required: true, message: '请选择资讯类型'},
103
+    //   ]
104
+    // },
93 105
     {
94 106
       label: '资讯详情',
95
-      name: 'newsDetailType',
96
-      render: <Radio.Group> 
97
-              <Radio value={1}>自定义</Radio>
98
-              <Radio value={0}>公众号链接</Radio>
99
-              </Radio.Group>,
100
-      value: dynamicData.newsDetailType - 0,
101
-      rules: [
102
-        {required: true, message: '请选择资讯类型'},
103
-      ]
104
-    },
105
-    {
106
-      label: '详情内容',
107 107
       name: 'newsDetail',
108 108
       render: <Wangedit />,
109
-      hidden: () => !detailVisible,
109
+      // hidden: () => !detailVisible,
110 110
       value: dynamicData.newsDetail,
111 111
       rules: [
112 112
         {required: true, message: '请输入详情内容'},
113 113
       ]
114 114
     },
115
-    {
116
-      label: '公众号链接',
117
-      name: 'newsDetail',
118
-      type: FieldTypes.Text,
119
-      hidden: () => !urlVisible,
120
-      value: dynamicData.newsDetail,
121
-      help: "只能填写同一主体公众号的文章链接",
122
-      rules: [
123
-        {required: true, message: '请输入公众号链接'},
124
-      ]
125
-    },
115
+    // {
116
+    //   label: '公众号链接',
117
+    //   name: 'newsDetail',
118
+    //   type: FieldTypes.Text,
119
+    //   hidden: () => !urlVisible,
120
+    //   value: dynamicData.newsDetail,
121
+    //   help: "只能填写同一主体公众号的文章链接",
122
+    //   rules: [
123
+    //     {required: true, message: '请输入公众号链接'},
124
+    //   ]
125
+    // },
126 126
   ]
127 127
 
128 128
   const handleSubmit = val => { 
@@ -349,7 +349,7 @@ const Basic = (props) => {
349 349
         <p style={{ minWidth: '200px', color: '#222', textAlign: 'right', margin: '0 30px 0 0' }}>分享模板</p>
350 350
         <div>
351 351
           {/* <p style={{ display: 'flex', alignItems: 'center', fontSize: '14px', color: '#999', margin: '0', lineHeight: '0' }}><img src={logo} style={{ width: '22px', marginRight: '10px' }} />南京云致</p> */}
352
-          <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : '精准获客平台'}</p>
352
+          <p style={{ fontSize: '16px', color: '#222', fontWeight: '600', margin: '0' }}>{inputValue ? inputValue : ''}</p>
353 353
           <img style={{ width: '200px', height: '160px' }} src={imgValue ? imgValue : poster2} alt="" />
354 354
         </div>
355 355
       </div>

+ 21
- 10
src/pages/property/ticket/Detail.jsx Ver arquivo

@@ -1,6 +1,7 @@
1 1
 import React, { useEffect, useState } from 'react'
2
-import { PageHeader, Descriptions, List, Steps, Row, Col, Rate  } from 'antd'
2
+import { PageHeader, Descriptions, List, Steps, Row, Col, Rate, Button, Statistic } from 'antd'
3 3
 import { fetch, fetchList, apis } from '@/utils/request'
4
+import Prompt from '@/components/Prompt'
4 5
 
5 6
 const TicketTypeDict = {
6 7
   '0': '投诉',
@@ -28,6 +29,7 @@ const getTicketDetail = fetch(apis.ticket.ticketEdit)
28 29
 
29 30
 export default props => {
30 31
   const [loading, setLoading] = useState(false)
32
+  const [showPrompt, setShowPrompt] = useState(false)
31 33
   const [ticketData, setTicketData] = useState({})
32 34
   const [approvalProcessList, setApprovalProcessList] = useState([])
33 35
 
@@ -54,15 +56,24 @@ export default props => {
54 56
         backIcon={false}
55 57
         style={{ borderBottom: '1px solid rgb(235, 237, 240)' }}
56 58
       >
57
-        <Descriptions column={3}>
58
-          <Descriptions.Item label="工单号">{ticketData.id}</Descriptions.Item>
59
-          <Descriptions.Item label="工单类型">{ticketType}</Descriptions.Item>
60
-          <Descriptions.Item label="发起时间">{ticketData.createDate}</Descriptions.Item>
61
-          <Descriptions.Item label="发起人">{ticketData.createUserNmae}</Descriptions.Item>
62
-          <Descriptions.Item label="联系方式">{ticketData.loginName}</Descriptions.Item>
63
-          <Descriptions.Item label="负责人">{ticketData.tpUserNmae || '暂无'}</Descriptions.Item>
64
-          <Descriptions.Item label="工单内容">{ticketData.ticketContent}</Descriptions.Item>
65
-        </Descriptions>
59
+        <div style={{display: 'flex'}}>
60
+          <div>
61
+            <Descriptions column={3}>
62
+              <Descriptions.Item label="工单号">{ticketData.id}</Descriptions.Item>
63
+              <Descriptions.Item label="工单类型">{ticketType}</Descriptions.Item>
64
+              <Descriptions.Item label="发起时间">{ticketData.createDate}</Descriptions.Item>
65
+              <Descriptions.Item label="发起人">{ticketData.createUserNmae}</Descriptions.Item>
66
+              <Descriptions.Item label="联系方式">{ticketData.loginName}</Descriptions.Item>
67
+              <Descriptions.Item label="负责人">{ticketData.tpUserNmae || '暂无'}</Descriptions.Item>
68
+              <Descriptions.Item label="工单内容">{ticketData.ticketContent}</Descriptions.Item>
69
+            </Descriptions>
70
+          </div>
71
+          <div style={{minWidth: '150px'}}>
72
+            <Statistic title={<b>费用</b>} prefix="¥" value={125.60} precision={2} />
73
+            <Button onClick={() => setShowPrompt(true)}>设置费用</Button>
74
+            <Prompt visible={showPrompt} onCancel={() => setShowPrompt(false)} placeholder="请填写金额比如: 100.00"></Prompt>
75
+          </div>
76
+        </div>
66 77
         {
67 78
           ticketData.contentImageUrl && ticketData.contentImageUrl.length && (
68 79
             <List dataSource={ticketData.contentImageUrl} grid={imgGrid} renderItem={it => (