zhaoxiaohai преди 2 години
родител
ревизия
5980857e80
променени са 1 файла, в които са добавени 9 реда и са изтрити 4 реда
  1. 9 4
      packageA/setclient/index.js

+ 9 - 4
packageA/setclient/index.js

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