miaofuhao месяцев назад: 11
Родитель
Сommit
1ec534d70b

+ 2 - 2
.env.production

@@ -5,8 +5,8 @@ VITE_APP_TITLE = 智能客服中心
5 5
 VITE_APP_ENV = 'production'
6 6
 
7 7
 # 若依管理系统/生产环境
8
-VITE_APP_BASE_API = 'http://39.164.159.226:8120'
9
-VITE_APP_BASE_WS = 'ws://192.168.1.19:9000/ws'
8
+VITE_APP_BASE_API = 'http://192.168.0.78:8120/'
9
+VITE_APP_BASE_WS = 'ws://192.168.0.78:9000/ws'
10 10
 
11 11
 VITE_APP_PHONE_TYPE = 'PHONE'
12 12
 VITE_APP_CALL_TYPE = 'VIOCE'

+ 2 - 2
.env.staging

@@ -7,9 +7,9 @@ VITE_APP_ENV = 'staging'
7 7
 # 若依管理系统/生产环境
8 8
 # VITE_APP_BASE_API = 'http://192.168.1.15:8010/'
9 9
 
10
-VITE_APP_BASE_API = 'http://39.164.159.226:8120'
10
+VITE_APP_BASE_API = 'http://39.164.159.226:8120/'
11 11
 
12
-VITE_APP_BASE_WS = '192.168.1.15:8010/'
12
+VITE_APP_BASE_WS = 'ws://192.168.1.19:9000/ws'
13 13
 
14 14
 
15 15
 # 是否在打包时开启压缩,支持 gzip 和 brotli

BIN
0122-1dist.zip


BIN
0122-2dist.zip


+ 14 - 2
src/views/main/knowledgeBase/knowledgeList/cpns/konwlegelist/konwlegelist.vue

@@ -17,6 +17,7 @@
17 17
                 :data="knowledgeCatalogData"
18 18
                 @change="changeDirectory"
19 19
                 check-strictly
20
+                clearable
20 21
                 :render-after-expand="false"
21 22
               />
22 23
             </div>
@@ -79,6 +80,7 @@
79 80
                 @change="changeDirectory"
80 81
                 :data="knowledgeCatalogData"
81 82
                 check-strictly
83
+                clearable
82 84
                 :render-after-expand="false"
83 85
                 style="width: 100%"
84 86
               />
@@ -223,6 +225,10 @@
223 225
   function changeDirectory(data) {
224 226
     getKnowledgeCatalog(data, knowledgeCatalogData);
225 227
   }
228
+  function changeDirectoryClear() {
229
+    paramsSearch.value.directory  = ''
230
+    console.log(paramsSearch.value.directory)
231
+  }
226 232
   const handleClose = (tag) => {
227 233
     dynamicTags.value.splice(dynamicTags.value.indexOf(tag), 1);
228 234
   };
@@ -283,7 +289,7 @@
283 289
     if (outerFlag.value) {
284 290
       apiUrl = '/km/doc';
285 291
     } else {
286
-      apiUrl = '/km/doc/searchDoc';
292
+      apiUrl = '/km/doc';
287 293
       delete paramsSearch.value.toExamine;
288 294
     }
289 295
     getPageListData(apiUrl, paramsSearch.value).then(({ data, total }) => {
@@ -388,7 +394,13 @@
388 394
         },
389 395
       });
390 396
     } else {
391
-      window.open('/knowledgeBase/detailOuter?docId=' + item.docId, '_blank');
397
+      router.push({
398
+        path: '/knowledge/detail',
399
+        query: {
400
+          docId: item.docId,
401
+        },
402
+      });
403
+      // window.open('/knowledgeBase/detailOuter?docId=' + item.docId, '_blank');
392 404
     }
393 405
   }
394 406
 

+ 2 - 2
src/views/main/phone/index.vue

@@ -123,7 +123,7 @@
123 123
                         </template>
124 124
                         <div class="space-y-4">
125 125
                             <!-- <el-input v-model="workOrderSearchQuery" placeholder="搜索工单..." :prefix-icon="Search" /> -->
126
-                            <div class="space-y-2 h-[600px] overflow-y-auto" ref="workOrderContainer"
126
+                            <div class="space-y-2 overflow-y-auto" style="height: 100%;" ref="workOrderContainer"
127 127
                                 @scroll="handleScroll">
128 128
                                 <div v-for="(item, index) in displayedActivities" :key="index"
129 129
                                     class="bg-white p-3 rounded-lg shadow-sm hover:shadow-md transition-shadow mb-4 border border-gray-100">
@@ -299,7 +299,7 @@ let { proxy } = getCurrentInstance()
299 299
 const showCallPanel = ref(false);
300 300
 const searchQuery = ref('');
301 301
 console.log('proxy', proxy.$route);
302
-const telNumber = ref(proxy.$route.query.phone || proxy.$route.query.callNumber || proxy.$route.params.callNumber || '17737610413');
302
+const telNumber = ref(proxy.$route.query.phone || proxy.$route.query.callNumber || proxy.$route.params.callNumber);
303 303
 proxy.$route.meta.title = telNumber.value || '来电弹屏';
304 304
 const callid = ref(proxy.$route.query.callid || 0);
305 305
 onMounted(() => {