Procházet zdrojové kódy

Merge branch 'chengdu-move' into dev

huoyi před 3 dny
rodič
revize
67382dc08b
1 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 4 3
      src/pages/home-new/components/messagePush.vue

+ 4 - 3
src/pages/home-new/components/messagePush.vue

@@ -24,7 +24,7 @@ export default {
24
     computed: {
24
     computed: {
25
         prohibitedItemText() {
25
         prohibitedItemText() {
26
             if (!this.prohibitedItemsTop3 || this.prohibitedItemsTop3.length === 0) {
26
             if (!this.prohibitedItemsTop3 || this.prohibitedItemsTop3.length === 0) {
27
-                return '移交公安TOP1:火种/打火机';
27
+                return '移交公安TOP1:';
28
             }
28
             }
29
             const item = this.prohibitedItemsTop3[0];
29
             const item = this.prohibitedItemsTop3[0];
30
             const nameOne = item.categoryNameOne || '';
30
             const nameOne = item.categoryNameOne || '';
@@ -33,7 +33,7 @@ export default {
33
         },
33
         },
34
         concealmentPositionText() {
34
         concealmentPositionText() {
35
             if (!this.concealmentPositionsTop3 || this.concealmentPositionsTop3.length === 0) {
35
             if (!this.concealmentPositionsTop3 || this.concealmentPositionsTop3.length === 0) {
36
-                return '藏匿部位TOP1:随身行礼物品';
36
+                return '藏匿部位TOP1:';
37
             }
37
             }
38
             const item = this.concealmentPositionsTop3[0];
38
             const item = this.concealmentPositionsTop3[0];
39
             const nameOne = item.positionNameOne || '';
39
             const nameOne = item.positionNameOne || '';
@@ -42,7 +42,7 @@ export default {
42
         },
42
         },
43
         highRiskChannelText() {
43
         highRiskChannelText() {
44
             if (!this.highRiskChannelsTop3 || this.highRiskChannelsTop3.length === 0) {
44
             if (!this.highRiskChannelsTop3 || this.highRiskChannelsTop3.length === 0) {
45
-                return '高发通道TOP1:T1航站楼/a区域/a01';
45
+                return '高发通道TOP1:';
46
             }
46
             }
47
             const item = this.highRiskChannelsTop3[0];
47
             const item = this.highRiskChannelsTop3[0];
48
             const terminalName = item.terminalName || '';
48
             const terminalName = item.terminalName || '';
@@ -64,6 +64,7 @@ export default {
64
             try {
64
             try {
65
                 const response = await getPushMessage();
65
                 const response = await getPushMessage();
66
                 console.log('推送消息响应:', response);
66
                 console.log('推送消息响应:', response);
67
+                
67
                 if (response && response.data) {
68
                 if (response && response.data) {
68
                     const { concealmentPositionsTop3, highRiskChannelsTop3, prohibitedItemsTop3 } = response.data;
69
                     const { concealmentPositionsTop3, highRiskChannelsTop3, prohibitedItemsTop3 } = response.data;
69
                     this.concealmentPositionsTop3 = concealmentPositionsTop3 || [];
70
                     this.concealmentPositionsTop3 = concealmentPositionsTop3 || [];