傅行帆 5 år sedan
förälder
incheckning
e1974b7c7c
2 ändrade filer med 12 tillägg och 3 borttagningar
  1. 9
    3
      src/pages/staff/components/CustomerChange.jsx
  2. 3
    0
      src/pages/staff/list/StaffList.jsx

+ 9
- 3
src/pages/staff/components/CustomerChange.jsx Visa fil

@@ -78,10 +78,16 @@ const CustomerChange = (props) => {
78 78
       align: 'center',
79 79
     },
80 80
     {
81
-      title: '状态',
82
-      dataIndex: 'status',
83
-      key: 'status',
81
+      title: '客户状态',
82
+      dataIndex: 'reportRecommendStatus',
83
+      key: 'reportRecommendStatus',
84 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 93
       title: '调整后归属',

+ 3
- 0
src/pages/staff/list/StaffList.jsx Visa fil

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