codeMan 3 anni fa
parent
commit
af7099c495
1 ha cambiato i file con 7 aggiunte e 6 eliminazioni
  1. 7 6
      packageA/saleClue/addClue.js

+ 7 - 6
packageA/saleClue/addClue.js

@@ -42,7 +42,7 @@ Page({
             type: "region",
             value: "",
             placeholder: "省市县",
-            valueName: "province",
+            valueName: "region",
             checking: "base",
             required: false
         }, {
@@ -71,7 +71,8 @@ Page({
                     "pageNumber": 1,
                     "pageSize": 999999999,
                     "where": {
-                        'condition': ''
+                        'condition': '',
+                        "unend":1
                     }
                 }
             },
@@ -180,10 +181,10 @@ Page({
         if (content.campaign_name && content.campaign_name.length > 1) {
             content.sat_campaignid = content.campaign_name[1][0]
         }
-        if (content.province.length > 0) {
-            content.city = content.province[1]
-            content.county = content.province[2]
-            content.province = content.province[0]
+        if (content.region.length > 0) {
+            content.city = content.region[1]
+            content.county = content.region[2]
+            content.province = content.region[0]
         }
         _Http.basic({
             "id": "20221205162402",