Yannay преди 2 месеца
родител
ревизия
badb38d7bb
променени са 3 файла, в които са добавени 43 реда и са изтрити 33 реда
  1. 2 2
      pages/orderDetailNew/components/pageOne.vue
  2. 17 7
      pages/pagereceivecenter/pagereceivecenter.vue
  3. 24 24
      pages/person/cards/index.vue

+ 2 - 2
pages/orderDetailNew/components/pageOne.vue

@@ -216,7 +216,7 @@ export default {
216 216
         //一键复制
217 217
         copyAllImages() {
218 218
             // 合并所有图片
219
-            const allImages = [...this.trueUploadList, ...this.chatRecordsUploadList];
219
+            const allImages = [...this.trueUploadList];
220 220
             //取出所有图的url
221 221
             const allUrls = allImages.map(item => item.fileUrl);
222 222
             if (allUrls.length > 0) {
@@ -265,7 +265,7 @@ export default {
265 265
                         console.error(`保存图片失败: ${url}`, error);
266 266
                         failedImages.push(url);
267 267
                     }
268
-                    
268
+
269 269
                     // 更新进度
270 270
                     uni.showLoading({
271 271
                         title: `正在保存图片... (${i + 1}/${imageUrls.length})`,

+ 17 - 7
pages/pagereceivecenter/pagereceivecenter.vue

@@ -200,6 +200,7 @@ export default {
200 200
             if (res.code == 200) {
201 201
                 uni.$u.toast('提交待跟进记录成功');
202 202
             }
203
+            this.followUpNotes = '';
203 204
         },
204 205
     }
205 206
 }
@@ -278,9 +279,9 @@ export default {
278 279
                                 <view class="card-button isBusy" @click.stop="handleBtnClick('tag', item)">打标签</view>
279 280
                             </view>
280 281
 
281
-                            <view class="btnGroup" v-if="item && (item.status == '3')">
282
+                            <!-- <view class="btnGroup" v-if="item && (item.status == '3')">
282 283
                                 <view class="card-button share" @click.stop="handleBtnClick('share', item)">一键分享</view>
283
-                            </view>
284
+                            </view> -->
284 285
 
285 286
                             <view class="btnGroup" v-if="item && (item.status == '4')">
286 287
                                 <view class="card-button oneFollow" @click.stop="handleBtnClick('oneFollow', item)">待跟进
@@ -300,9 +301,9 @@ export default {
300 301
 
301 302
 
302 303
         <!-- 打标签模态窗 -->
303
-        <u-modal :show="tagModalVisible" title="选择标签" @confirm="confirmTag" @cancel="cancelTag">
304
+        <u-modal showCancelButton :show="tagModalVisible" title="选择标签" @confirm="confirmTag" @cancel="cancelTag">
304 305
             <view class="slot-content">
305
-                <u-checkbox-group v-model="currentTags" placement="column">
306
+                <u-checkbox-group class="tagCheckboxGroup" v-model="currentTags" placement="column">
306 307
                     <u-checkbox :customStyle="{ marginBottom: '8px' }" v-for="(item, index) in tagList" :key="item.id"
307 308
                         :label="item.name" :name="item.id">
308 309
                     </u-checkbox>
@@ -310,12 +311,11 @@ export default {
310 311
             </view>
311 312
         </u-modal>
312 313
 
313
-        <u-modal :show="followUpModelShow" :title="'填写跟进细节'" :showConfirmButton="false">
314
+        <u-modal showCancelButton :show="followUpModelShow" :title="'填写跟进细节'" @confirm="confirmFollowUp"
315
+            @cancel="followUpModelShow = false">
314 316
             <view class="modal-content">
315 317
                 <u--textarea v-model="followUpNotes" placeholder="请输入情况" confirm-type="done"
316 318
                     style="width: 400rpx; margin-bottom: 30rpx;"></u--textarea>
317
-
318
-                <u-button type="primary" size="large" @click="confirmFollowUp">确认</u-button>
319 319
             </view>
320 320
         </u-modal>
321 321
     </view>
@@ -510,4 +510,14 @@ export default {
510 510
     background-color: #EFF6FF;
511 511
     color: #2563EB;
512 512
 }
513
+
514
+.cancelBtn {
515
+    margin-top: 20rpx;
516
+}
517
+
518
+
519
+.tagCheckboxGroup {
520
+    display: grid;
521
+    grid-template-columns: repeat(2, 1fr);
522
+}
513 523
 </style>

+ 24 - 24
pages/person/cards/index.vue

@@ -108,7 +108,7 @@
108 108
             </view>
109 109
         </view>
110 110
         <!-- 最新线索 -->
111
-        <view class="latest_clue"  v-if="clueList.length > 0">
111
+        <view class="latest_clue" v-if="clueList.length > 0">
112 112
             <view class="clue_header">
113 113
                 <text class="card_title">最新线索</text>
114 114
                 <view class="more_btn" @click="toPrivateClue">
@@ -232,28 +232,28 @@ export default {
232 232
     },
233 233
 
234 234
     methods: {
235
-        getCardData() {
236
-            uni.$u.api.getPersonCards().then(res => {
237
-              if (res.code === 200) {
238
-                this.cardData = res.data;
239
-              }
240
-            });
241
-        },
242
-        getClueList() {
243
-            uni.$u.api.getPersonLatestClue().then(res => {
244
-                if (res.code === 200) {
245
-                    this.clueList = res.data;
246
-                }
247
-            });
248
-        },
249
-        getChartData() {
250
-            uni.$u.api.getPersonRanking().then(res => {
251
-                if (res.code === 200) {
252
-                    this.chartData.categories = res.data.map(item => item.x);
253
-                    this.chartData.series[0].data = res.data.map(item => item.y);
254
-                }
255
-            });
256
-        },
235
+        // getCardData() {
236
+        //     uni.$u.api.getPersonCards().then(res => {
237
+        //       if (res.code === 200) {
238
+        //         this.cardData = res.data;
239
+        //       }
240
+        //     });
241
+        // },
242
+        // getClueList() {
243
+        //     uni.$u.api.getPersonLatestClue().then(res => {
244
+        //         if (res.code === 200) {
245
+        //             this.clueList = res.data;
246
+        //         }
247
+        //     });
248
+        // },
249
+        // getChartData() {
250
+        //     uni.$u.api.getPersonRanking().then(res => {
251
+        //         if (res.code === 200) {
252
+        //             this.chartData.categories = res.data.map(item => item.x);
253
+        //             this.chartData.series[0].data = res.data.map(item => item.y);
254
+        //         }
255
+        //     });
256
+        // },
257 257
         // 跳转私有线索页面
258 258
         toPrivateClue() {
259 259
             uni.switchTab({ url: '/pages/privateClue/index' });
@@ -264,7 +264,7 @@ export default {
264 264
         this.getClueList();
265 265
         this.getChartData();
266 266
     },
267
-    
267
+
268 268
 };
269 269
 </script>
270 270