|
@@ -22,7 +22,7 @@ import AddChannel from "./addchannel"; //新增渠道
|
|
|
import ChannelLog from "./channellog"; //转交日志
|
|
|
import ChangeLog from "./changelog"; //更名日志
|
|
|
import ChannelDetail from "./channeldetail"; //渠道详情
|
|
|
-import FollowDetail from "../../../../component/manageCenter/customer/NEW/intentionCustomer/followDetail";
|
|
|
+import FollowDetail from "../../../../component/manageCenter/customer/NEW/intentionCustomer/followDetail";//新增渠道跟进
|
|
|
|
|
|
const { TabPane } = Tabs;
|
|
|
const FormItem = Form.Item;
|
|
@@ -150,7 +150,6 @@ class ChannelUnit extends Component {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
changeList(arr) {
|
|
|
const newArr = [];
|
|
|
this.state.columns.forEach((item) => {
|
|
@@ -328,7 +327,7 @@ class ChannelUnit extends Component {
|
|
|
informationTransferVisible: true,
|
|
|
});
|
|
|
},
|
|
|
- onCancel() {},
|
|
|
+ onCancel() { },
|
|
|
});
|
|
|
}
|
|
|
//转交
|
|
@@ -380,6 +379,7 @@ class ChannelUnit extends Component {
|
|
|
// 移出渠道
|
|
|
remove() {
|
|
|
const { dataSource, selectedRowKeys, ispage } = this.state;
|
|
|
+ const _this = this
|
|
|
Modal.confirm({
|
|
|
title: "您确定将以下渠道移至公共渠道吗??",
|
|
|
content: (
|
|
@@ -409,24 +409,24 @@ class ChannelUnit extends Component {
|
|
|
thedata = {};
|
|
|
} else {
|
|
|
message.success("移除成功");
|
|
|
- this.loadData(
|
|
|
- dataSource.length === 1
|
|
|
- ? ispage === 1
|
|
|
- ? 1
|
|
|
- : ispage - 1
|
|
|
- : ispage
|
|
|
- );
|
|
|
}
|
|
|
+ _this.loadData(
|
|
|
+ dataSource.length === 1
|
|
|
+ ? ispage === 1
|
|
|
+ ? 1
|
|
|
+ : ispage - 1
|
|
|
+ : ispage
|
|
|
+ )
|
|
|
}.bind(this),
|
|
|
}).always(
|
|
|
function () {
|
|
|
- this.setState({
|
|
|
+ _this.setState({
|
|
|
loading: false,
|
|
|
});
|
|
|
}.bind(this)
|
|
|
);
|
|
|
},
|
|
|
- onCancel() {},
|
|
|
+ onCancel() { },
|
|
|
});
|
|
|
}
|
|
|
selectAuto(value, options) {
|