Przeglądaj źródła

优化AI销售参谋页面

zhujindu 1 rok temu
rodzic
commit
c12fc26acc
1 zmienionych plików z 6 dodań i 2 usunięć
  1. 6 2
      src/views/intelligence/index.vue

+ 6 - 2
src/views/intelligence/index.vue

@@ -378,7 +378,7 @@
             bottom: 0;
             background-color: white;
             width: 100%;
-            height: 260px;
+            height: 360px;
           ">
           <div class="audio" v-if="shows">
             <div class="wave"></div>
@@ -421,6 +421,7 @@ import tabBar from '@/components/tabBar';
 import { getReportInfo } from '@/api';
 import { aiDialogue } from '@/api/inventory';
 import axios from 'axios';
+import { getPosition, getMapPoi, getkeywordPoi, getTicketFun } from '@/utils/TXApiFun';
 export default {
   name: 'ai',
   components: { tabBar },
@@ -478,6 +479,8 @@ export default {
   // },
   activated() {
     this.onLoad();
+    // 授权
+    getTicketFun(['getLocation', 'startRecord', 'stopRecord', 'onVoiceRecordEnd']);
   },
   methods: {
     garbageManager() {
@@ -580,6 +583,7 @@ export default {
       });
     },
     lujin() {
+      this.tips = '松开 发送';
       let url = window.location.href;
       let that = this;
       let wx = this.wx;
@@ -648,7 +652,7 @@ export default {
                   // that.pageNum = 1;
                   // that.Ggreet = [];
                   // that.aiDialogueGgreet();
-                  this.Ggreet.push(...response.rows);
+                  that.Ggreet.push(...response.rows);
                   that.garbageManager();
                 }
                 that.shows = false;