Browse Source

客户管理

zhaoxiaohai 2 years ago
parent
commit
5980857e80
1 changed files with 9 additions and 4 deletions
  1. 9 4
      packageA/setclient/index.js

+ 9 - 4
packageA/setclient/index.js

@@ -3,7 +3,7 @@ const _Http = getApp().globalData.http,
 Page({
     data: {
         navList: [{
-            label: "我负责的",
+            label: "全部",
             icon: "icon-webxialaxuanxiangjiantou",
             color: "",
             width: "",
@@ -35,13 +35,16 @@ Page({
             "sort": [{
                 sortname: "默认",
                 sorted: 1,
-                sortid: 0,
+                sortid: 67,
                 reversed: 0
             }]
         },
         list: [],
         classShow: false, //type类型
         classActions: [{
+                name: '全部',
+                index: 0
+            }, {
                 name: '我负责的',
                 index: 1
             },
@@ -67,7 +70,9 @@ Page({
     },
     /* 去添加 */
     toAdd() {
-        wx.navigateTo({url: './addAndEditor'})
+        wx.navigateTo({
+            url: './addAndEditor'
+        })
     },
     onLoad(options) {
         this.getList()
@@ -130,7 +135,7 @@ Page({
             "id": 20221012164402,
             content: this.data.content
         }).then(res => {
-            console.log("客户列表",res)
+            console.log("客户列表", res)
             this.selectComponent('#ListBox').RefreshToComplete();
             if (res.msg != '成功') return wx.showToast({
                 title: res.data,