소스 검색

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

魏超 5 년 전
부모
커밋
96b2632844
3개의 변경된 파일13개의 추가작업 그리고 4개의 파일을 삭제
  1. 1
    1
      src/pages/customer/customerlist/index.jsx
  2. 9
    3
      src/pages/staff/components/CustomerChange.jsx
  3. 3
    0
      src/pages/staff/list/StaffList.jsx

+ 1
- 1
src/pages/customer/customerlist/index.jsx 파일 보기

422
       align: 'center',
422
       align: 'center',
423
       width: '10%',
423
       width: '10%',
424
       // eslint-disable-next-line no-nested-ternary
424
       // eslint-disable-next-line no-nested-ternary
425
-      render: (_, record) => <><span>{record.sex === '1' ? '男' : record.sex === '2' ? '女' : '未知'}</span></>,
425
+      render: (_, record) => <><span>{record.sex === 1 ? '男' : record.sex === 2 ? '女' : '未知'}</span></>,
426
     },
426
     },
427
     {
427
     {
428
       title: '操作',
428
       title: '操作',

+ 9
- 3
src/pages/staff/components/CustomerChange.jsx 파일 보기

78
       align: 'center',
78
       align: 'center',
79
     },
79
     },
80
     {
80
     {
81
-      title: '状态',
82
-      dataIndex: 'status',
83
-      key: 'status',
81
+      title: '客户状态',
82
+      dataIndex: 'reportRecommendStatus',
83
+      key: 'reportRecommendStatus',
84
       align: 'center',
84
       align: 'center',
85
+      render: (text, records) => {
86
+        if (records.status === 1) { return '报备' }
87
+        if (records.status === 2) { return '到访' }
88
+        if (records.status === 3) { return '认购' }
89
+        if (records.status === 4) { return '签约' }
90
+      },
85
     },
91
     },
86
     {
92
     {
87
       title: '调整后归属',
93
       title: '调整后归属',

+ 3
- 0
src/pages/staff/list/StaffList.jsx 파일 보기

97
   //迁移私客成功回调
97
   //迁移私客成功回调
98
   const moveSuccess = (e) => {
98
   const moveSuccess = (e) => {
99
     setVisible(false)
99
     setVisible(false)
100
+    if(e === 'success'){
101
+      confirm(data)()
102
+    }
100
   }
103
   }
101
 
104
 
102
   // 员工离职
105
   // 员工离职