|
|
@@ -149,11 +149,50 @@ Page({
|
|
|
})}&radio=true&principal=true`,
|
|
|
})
|
|
|
break;
|
|
|
+ case "查看重复":
|
|
|
+ _Http.basic({
|
|
|
+ "id": 20221208172002,
|
|
|
+ "content": {
|
|
|
+ "sa_customersid": data.sa_customersid,
|
|
|
+ "enterprisename": data.enterprisename,
|
|
|
+ "taxno": data.taxno,
|
|
|
+ "address": data.address,
|
|
|
+ pageSize: 999
|
|
|
+ }
|
|
|
+ }).then(res => {
|
|
|
+ console.log("查看重复", res)
|
|
|
+ if (res.msg != '成功') return wx.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
+ this.setData({
|
|
|
+ repetitionList: res.data,
|
|
|
+ repetitionShow: true
|
|
|
+ })
|
|
|
+ })
|
|
|
+ break;
|
|
|
default:
|
|
|
console.log(detail)
|
|
|
break;
|
|
|
}
|
|
|
},
|
|
|
+ /* 前去重复项详情 */
|
|
|
+ toRepDetail(e) {
|
|
|
+ const {
|
|
|
+ item
|
|
|
+ } = e.currentTarget.dataset;
|
|
|
+ console.log(item)
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/packageA/setclient/detail?id=' + item.sa_customersid,
|
|
|
+ })
|
|
|
+ this.repClose()
|
|
|
+ },
|
|
|
+ /* 关闭查重 */
|
|
|
+ repClose() {
|
|
|
+ this.setData({
|
|
|
+ repetitionShow: false
|
|
|
+ })
|
|
|
+ },
|
|
|
/* 处理回收客户 */
|
|
|
handleTransfer({
|
|
|
value
|
|
|
@@ -418,6 +457,20 @@ Page({
|
|
|
getTags() {
|
|
|
this.selectComponent("#Tags").getTags();
|
|
|
},
|
|
|
+ //标签获取到列表后
|
|
|
+ onGetList({
|
|
|
+ detail
|
|
|
+ }) {
|
|
|
+ if (detail.data.systemtag.includes("疑似重复")) {
|
|
|
+ this.data.tabbarList.push({
|
|
|
+ icon: "icon-a-shouyejingangquhehuoren",
|
|
|
+ label: "查看重复"
|
|
|
+ });
|
|
|
+ this.setData({
|
|
|
+ tabbarList: this.data.tabbarList
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
//更新团队成员
|
|
|
getGroup() {
|
|
|
this.selectComponent("#Group").getList();
|