소스 검색

项目关联客户搜索

zhaoxiaohai 2 년 전
부모
커밋
3908389732
2개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 5
      packageA/project/modules/treaty/search.js
  2. 2 1
      packageA/project/modules/treaty/search.json

+ 3 - 5
packageA/project/modules/treaty/search.js

@@ -13,14 +13,12 @@ Page({
     },
     /* 获取地址列表 */
     getList(init) {
+        if (init.detail != undefined) init = init.detail;
         let content = this.data.content;
-        if (init) {
-            content.pageNumber = 1
-            content.pageTotal = 1
-        }
+        if (init) content.pageNumber = 1
         if (content.pageNumber > content.pageTotal) return;
         _Http.basic({
-            "id": "20220920083901",
+            "id": "20221027143702",
             content
         }).then(res => {
             console.log("关联客户列表", res)

+ 2 - 1
packageA/project/modules/treaty/search.json

@@ -1,5 +1,6 @@
 {
     "usingComponents": {
         "List": "../../../setclient/modules/list/index"
-    }
+    },
+    "navigationBarTitleText": "搜索客户"
 }