liuxiaona 2 years ago
parent
commit
b8f1b1e0e5

+ 4 - 22
.idea/workspace.xml

@@ -3,27 +3,9 @@
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="f876064f-ad38-46e7-bf7d-9df623a9178f" name="Changes" comment="">
5 5
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
-      <change beforePath="$PROJECT_DIR$/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/index.html" afterDir="false" />
7
-      <change beforePath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/importRecordDetial.vue" beforeDir="false" afterPath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/importRecordDetial.vue" afterDir="false" />
8
-      <change beforePath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/setting.vue" beforeDir="false" afterPath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/setting.vue" afterDir="false" />
9
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/css/app.e155fb38.css" beforeDir="false" />
10
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/css/chunk-vendors.01b3e040.css" beforeDir="false" />
11
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/favicon.ico" beforeDir="false" />
12
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/index.html" beforeDir="false" />
13
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/js/about.0c77b459.js" beforeDir="false" />
14
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/js/about.0c77b459.js.map" beforeDir="false" />
15
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/js/app.94e42e6b.js" beforeDir="false" />
16
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/js/app.94e42e6b.js.map" beforeDir="false" />
17
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/js/chunk-vendors.f252284d.js" beforeDir="false" />
18
-      <change beforePath="$PROJECT_DIR$/qwh5/dist/js/chunk-vendors.f252284d.js.map" beforeDir="false" />
19
-      <change beforePath="$PROJECT_DIR$/qwh5/src/views/HomeView.vue" beforeDir="false" afterPath="$PROJECT_DIR$/qwh5/src/views/HomeView.vue" afterDir="false" />
20
-      <change beforePath="$PROJECT_DIR$/static/css/app.ca0bb2ce5da7c6112059c43a66539fe9.css" beforeDir="false" />
21
-      <change beforePath="$PROJECT_DIR$/static/js/32.ed17950db5aa1c8331df.js" beforeDir="false" />
22
-      <change beforePath="$PROJECT_DIR$/static/js/33.d8551f260ee729e34453.js" beforeDir="false" />
23
-      <change beforePath="$PROJECT_DIR$/static/js/34.99b920e67caecb79c65f.js" beforeDir="false" />
24
-      <change beforePath="$PROJECT_DIR$/static/js/7.eaa21a0a6bf804bea81b.js" beforeDir="false" />
25
-      <change beforePath="$PROJECT_DIR$/static/js/app.45403076c99d3dc6e810.js" beforeDir="false" />
26
-      <change beforePath="$PROJECT_DIR$/static/js/manifest.7d3582531b7ed57472bc.js" beforeDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/dialogPublic.vue" beforeDir="false" afterPath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/dialogPublic.vue" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/importCustomer.vue" beforeDir="false" afterPath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/importCustomer.vue" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/index.vue" beforeDir="false" afterPath="$PROJECT_DIR$/project/src/components/marketingGuest/batchAddFriend/addFriend/index.vue" afterDir="false" />
27 9
     </list>
28 10
     <option name="SHOW_DIALOG" value="false" />
29 11
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -74,7 +56,7 @@
74 56
       <workItem from="1654573024055" duration="23176000" />
75 57
       <workItem from="1654653264438" duration="30604000" />
76 58
       <workItem from="1654739102819" duration="11048000" />
77
-      <workItem from="1654756255993" duration="14418000" />
59
+      <workItem from="1654756255993" duration="15471000" />
78 60
     </task>
79 61
     <servers />
80 62
   </component>

+ 1 - 1
index.html

@@ -7,4 +7,4 @@
7 7
         hm.src = "https://hm.baidu.com/hm.js?d61b9e2caf4d46ccda7471b5385e2333";
8 8
         var s = document.getElementsByTagName("script")[0];
9 9
         s.parentNode.insertBefore(hm, s);
10
-      })();</script><link href=./static/css/app.06f1c5b70abb97f295ba1f5285f77c7b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.ba131a074f7ecad8ec91.js></script><script type=text/javascript src=./static/js/app.6f405954ea664523bc98.js></script></body></html>
10
+      })();</script><link href=./static/css/app.3315ac4302e2e41ff3d3d579655a853b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.d6241e2d4a048e9ec36f.js></script><script type=text/javascript src=./static/js/app.6f405954ea664523bc98.js></script></body></html>

+ 3 - 2
project/src/components/marketingGuest/batchAddFriend/addFriend/dialogPublic.vue

@@ -21,7 +21,7 @@ import selfCustomerservice from '@/components/assembly/screen/customerService.vu
21 21
 export default {
22 22
   name: "dialogPublic",
23 23
   components:{selfCustomerservice},
24
-  props:['dialogTitle','dialogMsg','type','user_ids'],
24
+  props:['dialogTitle','dialogMsg','type','user_ids','new_file_name'],
25 25
   data(){
26 26
     return{
27 27
       reset:true,
@@ -90,7 +90,8 @@ export default {
90 90
     batchAddCustomerImportConfirm (num){
91 91
       this.loading = true
92 92
       this.$axios.post(this.URL.BASEURL + this.URL.batchAddCustomerImportConfirm, {
93
-        confirm:num
93
+        confirm:num,
94
+        new_file_name:this.new_file_name,
94 95
       }).then((res) => {
95 96
         var res = res.data
96 97
         this.loading = false

+ 1 - 1
project/src/components/marketingGuest/batchAddFriend/addFriend/importCustomer.vue

@@ -51,7 +51,7 @@
51 51
           <el-button size="mini" type="primary" @click="save()">导 入</el-button>
52 52
         </span>
53 53
     </el-dialog>
54
-    <dialogPublic ref="dialogPublic" :dialogTitle="dialogTitle" :dialogMsg="dialogMsg" :type="dialogType"></dialogPublic>
54
+    <dialogPublic ref="dialogPublic" :dialogTitle="dialogTitle" :dialogMsg="dialogMsg" :type="dialogType" :new_file_name="new_file_name"></dialogPublic>
55 55
   </div>
56 56
 </template>
57 57
 

+ 26 - 13
project/src/components/marketingGuest/batchAddFriend/addFriend/index.vue

@@ -385,7 +385,7 @@ export default {
385 385
       })
386 386
     },
387 387
 
388
-    init (page, type) {
388
+    init (page, type, source) {
389 389
       this.page = page ? page : this.page;
390 390
       this.loading = true
391 391
       this.$axios.get(this.URL.BASEURL + this.URL.batchAddCustomerDetailsList, {
@@ -405,19 +405,32 @@ export default {
405 405
           this.total = res.rst.pageInfo.total;
406 406
           this.pages = res.rst.pageInfo.pages;
407 407
 
408
-          //重置
409
-          this.user_ids=[]
410
-          this.select_id_list=[]
411
-          this.exclude_id_list=[]
412
-
413
-          if(this.pageOptionValue == 1){
414
-            this.$nextTick(() => {
415
-              this.tableData.forEach((row) => {
416
-                this.$refs.multipleTable.toggleRowSelection(row, true);
408
+          if(source == 'handleCurrentChange'){
409
+            if(this.pageOptionValue == 1){
410
+              this.$nextTick(() => {
411
+                this.tableData.forEach((row) => {
412
+                  this.$refs.multipleTable.toggleRowSelection(row, true);
413
+                  this.exclude_id_list.forEach((item)=>{
414
+                    if(item == row.id){
415
+                      this.$refs.multipleTable.toggleRowSelection(row, false);
416
+                    }
417
+                  })
418
+                })
419
+              })
420
+            }
421
+          }else{
422
+            //重置
423
+            this.user_ids=[]
424
+            this.select_id_list=[]
425
+            this.exclude_id_list=[]
426
+            if(this.pageOptionValue == 1){
427
+              this.$nextTick(() => {
428
+                this.tableData.forEach((row) => {
429
+                  this.$refs.multipleTable.toggleRowSelection(row, true);
430
+                })
417 431
               })
418
-            })
432
+            }
419 433
           }
420
-
421 434
         } else if (res.errno != 4002) {
422 435
           this.$message({
423 436
             message: res.err,
@@ -429,7 +442,7 @@ export default {
429 442
       });
430 443
     },
431 444
     handleCurrentChange (val) {
432
-      this.init(val)
445
+      this.init(val,'','handleCurrentChange')
433 446
     },
434 447
   }
435 448
 }

File diff suppressed because it is too large
+ 1 - 1
static/css/app.06f1c5b70abb97f295ba1f5285f77c7b.css


File diff suppressed because it is too large
+ 1 - 0
static/js/0.907bc10ff0392762aaf1.js


File diff suppressed because it is too large
+ 0 - 1
static/js/0.e20210ac85e77109c7fa.js


File diff suppressed because it is too large
+ 1 - 0
static/js/7.3d1dbbee48487649d2d8.js


File diff suppressed because it is too large
+ 0 - 1
static/js/7.67e1dd58bec9a062c9ee.js


File diff suppressed because it is too large
+ 1 - 1
static/js/manifest.ba131a074f7ecad8ec91.js