ll
liukangdong
2024-08-09 d363cff9c24109497adef1a2797eae0ff4408257
ll
已修改1个文件
18 ■■■■■ 文件已修改
wechat_staff/pages/kefu/select.js 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
wechat_staff/pages/kefu/select.js
@@ -41,7 +41,7 @@
      customer
    } = this.data
    const enjoyList = wx.getStorageSync('enjoyList') || []
    if (!customer.userId) return wx.showToast({
    if (!customer.customerId) return wx.showToast({
      title: '请先选择要关联的客户',
      icon: 'none'
    })
@@ -58,21 +58,19 @@
            icon: 'none'
          })
        }, 500)
        this.setData({
          customer: {},
          total: 0,
          dataList: [],
          page: 1
        })
        this.getList()
      }else{
        return wx.showToast({
          title: res.message,
          icon: 'none'
        })
      }
      this.setData({
        customer: {}
      })
      this.setData({
        total: 0,
        dataList: [],
        page: 1
      })
      this.getList()
    })
  },
  tabsClick(e) {