傅行帆 před 5 roky
rodič
revize
e1974b7c7c

+ 9
- 3
src/pages/staff/components/CustomerChange.jsx Zobrazit soubor

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 Zobrazit soubor

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
   // 员工离职