浏览代码

公客取消推广人员,总注册数加了一个死数据

魏熙美 5 年前
父节点
当前提交
68089e9748
共有 2 个文件被更改,包括 8 次插入8 次删除
  1. 1
    1
      src/pages/Welcome.jsx
  2. 7
    7
      src/pages/customer/customerlist/index.jsx

+ 1
- 1
src/pages/Welcome.jsx 查看文件

@@ -41,7 +41,7 @@ const welcome = (props) => {
41 41
           borderRadius: '12px', width: '32%', marginRight: '2%'
42 42
         }}>
43 43
           <span style={{ fontSize: '24px', color: '#fff' }}>总注册用户 </span>
44
-          <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.selectRegisteredCount || '0'}</span>
44
+          <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{(data.selectRegisteredCount && data.selectRegisteredCount + 95) || '0'}</span>
45 45
         </div>
46 46
         <div onClick={() => router.push('/indexEcharts/newUsers')} style={{
47 47
           textAlign: 'center', display: 'flex', justifyContent: 'center', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',

+ 7
- 7
src/pages/customer/customerlist/index.jsx 查看文件

@@ -196,13 +196,13 @@ function body(props) {
196 196
       align: 'center',
197 197
       width: '15%',
198 198
     },
199
-    {
200
-      title: '推广人员',
201
-      dataIndex: 'sharePersonName',
202
-      key: 'sharePersonName',
203
-      align: 'center',
204
-      width: '15%',
205
-    },
199
+    // {
200
+    //   title: '推广人员',
201
+    //   dataIndex: 'sharePersonName',
202
+    //   key: 'sharePersonName',
203
+    //   align: 'center',
204
+    //   width: '15%',
205
+    // },
206 206
   ]
207 207
 
208 208
   const privateColumns = [