liuxiaona 2 年 前
コミット
5985a4f77f

+ 21 - 3
.idea/workspace.xml

@@ -3,9 +3,27 @@
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$/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" />
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" />
8 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" />
9 27
     </list>
10 28
     <option name="SHOW_DIALOG" value="false" />
11 29
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -56,7 +74,7 @@
56 74
       <workItem from="1654573024055" duration="23176000" />
57 75
       <workItem from="1654653264438" duration="30604000" />
58 76
       <workItem from="1654739102819" duration="11048000" />
59
-      <workItem from="1654756255993" duration="12675000" />
77
+      <workItem from="1654756255993" duration="14418000" />
60 78
     </task>
61 79
     <servers />
62 80
   </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.ca0bb2ce5da7c6112059c43a66539fe9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.7d3582531b7ed57472bc.js></script><script type=text/javascript src=./static/js/app.45403076c99d3dc6e810.js></script></body></html>
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>

+ 12 - 5
project/src/components/marketingGuest/batchAddFriend/addFriend/importRecordDetial.vue

@@ -68,7 +68,7 @@
68 68
         </el-table-column>
69 69
         <el-table-column label="操作" align="center">
70 70
           <template slot-scope="scope">
71
-            <div :class="scope.row.add_status==3 ? 'c-999 pointer-drop' : 'c-00B38A pointer' " @click="scope.row.add_status!=3&&remindCustomer(scope.row.id)">提醒添加</div>
71
+            <div :class="scope.row.add_status==3 ? 'c-999 pointer-drop' : 'c-00B38A pointer' " @click="scope.row.add_status!=3&&remindCustomer(scope.row.user_id,scope.row.add_status)">提醒添加</div>
72 72
           </template>
73 73
         </el-table-column>
74 74
       </el-table>
@@ -77,7 +77,7 @@
77 77
         </el-pagination>
78 78
       </div>
79 79
 
80
-      <dialogPublic ref="dialogPublic" :dialogTitle="dialogTitle" :dialogMsg="dialogMsg"></dialogPublic>
80
+      <dialogPublic ref="dialogPublic" :dialogTitle="dialogTitle" :dialogMsg="dialogMsg"  :type="dialogType" :user_ids="user_ids"></dialogPublic>
81 81
 
82 82
     </div>
83 83
   </div>
@@ -92,6 +92,7 @@ export default {
92 92
   components:{dialogPublic,selfInput,selfChannel},
93 93
   data(){
94 94
     return{
95
+      dialogType:'',
95 96
       loading:false,
96 97
       tableData:[],
97 98
       height:'',
@@ -104,7 +105,8 @@ export default {
104 105
       input_keyword:'',
105 106
       addStatus:'',
106 107
       allNum:'',
107
-      addedNum:''
108
+      addedNum:'',
109
+      user_ids:[]
108 110
     }
109 111
   },
110 112
   created () {
@@ -115,14 +117,19 @@ export default {
115 117
     handleCurrentChange (val) {
116 118
       this.init(val)
117 119
     },
118
-    remindCustomer(id,status){
120
+    remindCustomer(user_id,status){
119 121
       this.$nextTick(()=>{
120 122
         this.$refs.dialogPublic.dialogVisible = true
123
+        this.dialogType = 'remindSingle'
121 124
         this.dialogTitle = '提醒'
122 125
         this.dialogMsg = '将通过企微提醒给该成员添加该手机号为好友,是否确认发送?'
126
+        this.user_ids = []
127
+        this.user_ids.push(user_id)
123 128
       })
124 129
     },
125
-
130
+    clearuser_ids(){//dialogPublic在用
131
+      this.user_ids = []
132
+    },
126 133
     init (page, type) {
127 134
       this.page = page ? page : this.page;
128 135
       this.loading = true

+ 9 - 9
project/src/components/marketingGuest/batchAddFriend/addFriend/setting.vue

@@ -155,9 +155,9 @@ export default {
155 155
       this.loading=true
156 156
       // this.$loading(this.$loadingConfig)
157 157
       let config_list_finally=[]
158
-      this.config_list.assigned.threshold = this.config_list.assigned.threshold*60
159
-      this.config_list.charged.threshold = this.config_list.charged.threshold*60
160
-      this.config_list.auto_recycle.threshold = this.config_list.auto_recycle.threshold*60
158
+      this.config_list.assigned.threshold = this.config_list.assigned.threshold*1440
159
+      this.config_list.charged.threshold = this.config_list.charged.threshold*1440
160
+      this.config_list.auto_recycle.threshold = this.config_list.auto_recycle.threshold*1440
161 161
       config_list_finally.push(this.config_list.assigned,this.config_list.charged,this.config_list.auto_recycle)
162 162
       this.$axios.post(this.URL.BASEURL + this.URL.editConfig, {
163 163
         config_list:config_list_finally
@@ -190,7 +190,7 @@ export default {
190 190
             configData.assigned = res.rst.assigned
191 191
 
192 192
             configData.assigned.enable = true
193
-            configData.assigned.threshold = res.rst.assigned.threshold/60
193
+            configData.assigned.threshold = res.rst.assigned.threshold/1440
194 194
             let users = configData.assigned.notice_users
195 195
             if(users.split(',')){
196 196
               this.user_id_list = users.split(',')
@@ -203,7 +203,7 @@ export default {
203 203
               configData.assigned.config_id = res.rst.assigned.config_id
204 204
             }
205 205
             if(res.rst.assigned.threshold){
206
-              configData.assigned.threshold = res.rst.assigned.threshold/60
206
+              configData.assigned.threshold = res.rst.assigned.threshold/1440
207 207
             }
208 208
           }
209 209
 
@@ -211,7 +211,7 @@ export default {
211 211
             configData.charged = res.rst.charged
212 212
 
213 213
             configData.charged.enable = true
214
-            configData.charged.threshold = res.rst.charged.threshold/60
214
+            configData.charged.threshold = res.rst.charged.threshold/1440
215 215
           }else{
216 216
             configData.charged.enable = false
217 217
 
@@ -220,7 +220,7 @@ export default {
220 220
             }
221 221
 
222 222
             if(res.rst.charged.threshold){
223
-              configData.charged.threshold = res.rst.charged.threshold/60
223
+              configData.charged.threshold = res.rst.charged.threshold/1440
224 224
             }
225 225
           }
226 226
 
@@ -228,7 +228,7 @@ export default {
228 228
             configData.auto_recycle = res.rst.auto_recycle
229 229
 
230 230
             configData.auto_recycle.enable = true
231
-            configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/60
231
+            configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/1440
232 232
           }else{
233 233
             configData.auto_recycle.enable = false
234 234
 
@@ -236,7 +236,7 @@ export default {
236 236
               configData.auto_recycle.config_id = res.rst.auto_recycle.config_id
237 237
             }
238 238
             if(res.rst.auto_recycle.threshold){
239
-              configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/60
239
+              configData.auto_recycle.threshold = res.rst.auto_recycle.threshold/1440
240 240
             }
241 241
           }
242 242
 

File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/css/app.55983f8f.css


File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/css/app.e155fb38.css


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/index.html


File diff suppressed because it is too large
+ 0 - 2
qwh5/dist/js/app.94e42e6b.js


File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/js/app.94e42e6b.js.map


File diff suppressed because it is too large
+ 2 - 0
qwh5/dist/js/app.f361feed.js


File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/js/app.f361feed.js.map


+ 23 - 16
qwh5/src/views/HomeView.vue

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div class="home" v-loading="loading">
3
-    <div class="tipsBox">管理员给你分配了{{ customer_total ? customer_total : '-' }}个客户还未添加,快去复制电话号码添加客户吧,管理员在微后台可查看添加状态哦~</div>
3
+    <div class="tipsBox">管理员给你分配了{{ customer_total ? customer_total : '-' }}个客户还未添加,快去复制电话号码添加客户吧,管理员在微后台可查看添加状态哦~</div>
4 4
     <div class="operateArea">
5 5
       <div>
6 6
         <el-select v-model="addStatus_val" :popper-append-to-body="false" placeholder="请选择添加状态" @change="statusChange">
@@ -119,17 +119,24 @@ export default class HomeView extends Vue {
119 119
     }
120 120
   }
121 121
 
122
-  copyDomText (id) { //复制到粘贴板
123
-    const node = document.getElementById(id)
124
-    if (node) {
125
-      let createRange = document.createRange()
126
-      createRange.selectNodeContents(document.getElementById(id))
127
-      const selection = document.getSelection()
128
-      selection.removeAllRanges()
129
-      selection.addRange(createRange)
130
-      document.execCommand('Copy')
131
-      selection.removeAllRanges()
132
-    }
122
+  copyDomText (data) { //复制到粘贴板
123
+    // const node = document.getElementById(id)
124
+    // if (node) {
125
+    //   let createRange = document.createRange()
126
+    //   createRange.selectNodeContents(document.getElementById(id))
127
+    //   const selection = document.getSelection()
128
+    //   selection.removeAllRanges()
129
+    //   selection.addRange(createRange)
130
+    //   document.execCommand('Copy')
131
+    //   selection.removeAllRanges()
132
+    // }
133
+
134
+    var input = document.createElement("input");// 创建input
135
+    input.value = data; // 赋值
136
+    document.body.appendChild(input); // 添加dom
137
+    input.select(); // 选中input
138
+    document.execCommand("Copy"); // 复制到剪贴板
139
+    document.body.removeChild(input); // 清除input
133 140
   }
134 141
 
135 142
   loadMore () {
@@ -174,9 +181,7 @@ export default class HomeView extends Vue {
174 181
     }).then((res) => {
175 182
       const resNew = res.data
176 183
       this.authInfo = resNew.rst
177
-      if(item.add_status == 1){
178
-        this.get_dataReporting(item)
179
-      }
184
+      this.get_dataReporting(item)
180 185
     }).catch((err) => {
181 186
       console.log(err)
182 187
     })
@@ -253,7 +258,9 @@ export default class HomeView extends Vue {
253 258
       }
254 259
     }).then((res) => {
255 260
       const resNew = res.data
256
-      this.initQYConfig()
261
+      if(item.add_status == 1 || item.add_status == 2){
262
+        this.initQYConfig()
263
+      }
257 264
     }).catch((err) => {
258 265
       console.log(err)
259 266
     })

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


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


File diff suppressed because it is too large
+ 1 - 1
static/js/32.ed17950db5aa1c8331df.js


File diff suppressed because it is too large
+ 1 - 1
static/js/33.d8551f260ee729e34453.js


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


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


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


File diff suppressed because it is too large
+ 2 - 2
static/js/app.45403076c99d3dc6e810.js


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