Browse Source

复用定向包问题

xiuli.gao 1 year ago
parent
commit
6032229e95

File diff suppressed because it is too large
+ 1 - 1
dist/assets/index.844a9337.js


File diff suppressed because it is too large
+ 1 - 1
dist/assets/index.abd24d0b.css


+ 1 - 1
dist/index.html

@@ -6,7 +6,7 @@
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
7 7
     <title>广告系统</title>
8 8
       <script src="//open.thunderurl.com/thunder-link.js"></script>
9
-    <script type="module" crossorigin src="./assets/index.844a9337.js"></script>
9
+    <script type="module" crossorigin src="./assets/index.750f6891.js"></script>
10 10
     <link rel="modulepreload" href="./js/@vue/@vue.e7eafc10.js">
11 11
     <link rel="modulepreload" href="./js/vue-router/vue-router.647267ed.js">
12 12
     <link rel="modulepreload" href="./js/axios/axios.27022086.js">

File diff suppressed because it is too large
+ 1 - 1
dist/js/_dialog/_dialog.0a8da2f9.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/_input/_input.2b1ea5f8.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/_select/_select.467e3d51.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/adTask/index.c153dc2c.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/api/api.57179831.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/accountManage.c62bc55b.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/error.b67839d6.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/home.b0031b15.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/basisMoudle/login.f6ed6098.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/businessMoudle/adqManage.dde3e7a2.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/collectClip/index.b5322c0a.js


File diff suppressed because it is too large
+ 1 - 0
dist/js/configArea/index.5529c738.js


File diff suppressed because it is too large
+ 0 - 1
dist/js/configArea/index.f46946cf.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/gdtList/index.1a2a69b8.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/index/index.5870fd38.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/index/index.5351b740.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/layout/index.5baacad4.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/layout/index_head.63c80a98.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/materialBlock/materialBlock.44b77c9e.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/materialLibrary/index.4f001da0.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/menuPermission/menuList.cb5cfb44.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/miniprogram/index.8799f744.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/noData/noData.6141389c.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/tableInfo/tableInfo.72bc6f30.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/taskList/index.2e50d7c1.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/timeScreen/timeScreen.612a4939.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/weekTime/weekTime.1524f351.js


+ 12 - 7
src/components/businessMoudle/batchGdt/configArea/directPacket/echoIndex.vue

@@ -158,16 +158,21 @@ const AcChangeEvent = (arr:any) => {
158 158
         pageInfo?.directContent?.chooseList?.push(a_item)
159 159
       }
160 160
     });
161
-    let arr_ac = arr.map((v)=>{return v.id}) || [];
162
-    pageInfo?.directContent?.chooseList?.forEach((item, index) => {//删除不存在账号
163
-      if(!arr_ac.includes(item.id)){
164
-        pageInfo?.directContent?.chooseList?.splice(index,1)
165
-      }
166
-    });
161
+    if(pageInfo?.directContent?.chooseList){//删除不存在账号
162
+      let arr_ac = arr.map((v)=>{return v.id}) || [];
163
+      let brr:any = []
164
+      let cp_chooseList = _.cloneDeep(pageInfo?.directContent?.chooseList)
165
+      cp_chooseList.forEach((item) => {
166
+        if(arr_ac.includes(item.id)){
167
+          brr.push(_.cloneDeep(item))
168
+        }
169
+      });
170
+      pageInfo.directContent.chooseList = brr;
171
+    }
172
+    
167 173
   }else{
168 174
     clearDirectContent()
169 175
   }
170
-  console.log(arr, pageInfo?.directContent?.chooseList)
171 176
 }
172 177
 
173 178
 //抛出obj