@@ -78,10 +78,9 @@
< view class = "banner-icon" >
< uni-icons type = "loop" size = "18" color = "#007AFF" > < / uni-icons >
< / view >
< text class = "banner-text" > AI总结提炼关键 , 为销售减负 < / text >
< / view >
< text class = "banner-right" > 样板间 < / text >
< text class = "banner-text" > AI总结提炼关键 , 为销售减负 < / text >
< / view >
< / view >
<!-- 音频播放器 -- >
< view class = "audio-player" >
@@ -259,7 +258,6 @@
< / view >
< text class = "banner-text" > AI总结提炼关键 , 为销售减负 < / text >
< / view >
< text class = "banner-right" > 样板间 < / text >
< / view >
<!-- 音频播放器 ( 如果有 ) -- >
< view class = "performance-audio" v-if = "category.showAudio" >
@@ -428,6 +426,7 @@
import ServiceList from './components/ServiceList.vue' ;
import CustomerProfileModal from './components/CustomerProfileModal.vue' ;
import { initCustomerProfile , initSummaryList , initPerformanceData } from './utils/dataInit.js' ;
import { API _BASE _URL } from '@/common/config.js' ;
export default {
// #ifdef APP
@@ -649,22 +648,13 @@
return ;
}
// H5环境下使用代理路径, 其他环境 使用完整URL
le t url ;
// #ifdef H5
url = ` /api/audioTextAnalysisFurniture/byParentId?parentId= ${ parentId } ` ;
// #endif
// #ifndef H5
url = ` http://localhost:9060/api/audioTextAnalysisFurniture/byParentId?parentId= ${ parentId } ` ;
// #endif
// 统一 使用完整URL
cons t url = ` ${ API _BASE _URL } api/audioTextAnalysisFurniture/byParentId?parentId= ${ parentId } ` ;
const res = await uni . request ( {
url : url ,
method : 'GET' ,
timeout : 10000 ,
header : {
'Content-Type' : 'application/json'
}
timeout : 10000
} ) ;
if ( res . statusCode === 200 && res . data && res . data . success ) {
@@ -1090,22 +1080,13 @@
. map ( key => ` ${ key } = ${ encodeURIComponent ( queryParams [ key ] ) } ` )
. join ( '&' ) ;
// H5环境下使用代理路径, 其他环境 使用完整URL
le t url ;
// #ifdef H5
url = ` /api/todoItem/list? ${ queryString } ` ;
// #endif
// #ifndef H5
url = ` http://localhost:9060/api/todoItem/list? ${ queryString } ` ;
// #endif
// 统一 使用完整URL
cons t url = ` ${ API _BASE _URL } api/todoItem/list? ${ queryString } ` ;
const res = await uni . request ( {
url : url ,
method : 'GET' ,
timeout : 10000 ,
header : {
'Content-Type' : 'application/json'
}
timeout : 10000
} ) ;
if ( res . statusCode === 200 && res . data && res . data . success ) {
@@ -1237,14 +1218,8 @@
}
try {
// H5环境下使用代理路径, 其他环境 使用完整URL
le t url ;
// #ifdef H5
url = ` /api/todoItem/updateTodoStatus ` ;
// #endif
// #ifndef H5
url = ` http://localhost:9060/api/todoItem/updateTodoStatus ` ;
// #endif
// 统一 使用完整URL
cons t url = ` ${ API _BASE _URL } api/todoItem/updateTodoStatus ` ;
const res = await uni . request ( {
url : url ,
@@ -1300,7 +1275,7 @@
url = ` /api/todoItem/delayProcessTodo ` ;
// #endif
// #ifndef H5
url = ` http://localhost:9060/ api/todoItem/delayProcessTodo` ;
url = ` ${ API _BASE _URL } api/todoItem/delayProcessTodo` ;
// #endif
const res = await uni . request ( {
@@ -1351,22 +1326,13 @@
return ;
}
// H5环境下使用代理路径, 其他环境使用完整URL
le t url ;
// #ifdef H5
url = ` /api/audioTextAnalysisFurniture/byParentId?parentId= ${ parentId } ` ;
// #endif
// #ifndef H5
url = ` http://localhost:8080/api/audioTextAnalysisFurniture/byParentId?parentId= ${ parentId } ` ;
// #endif
// 统一使用域名服务器地址
cons t url = ` ${ API _BASE _URL } api/audioTextAnalysisFurniture/byParentId?parentId= ${ parentId } ` ;
const res = await uni . request ( {
url : url ,
method : 'GET' ,
timeout : 10000 ,
header : {
'Content-Type' : 'application/json'
}
timeout : 10000
} ) ;
if ( res . statusCode === 200 && res . data && res . data . success ) {
@@ -1461,16 +1427,13 @@
url = ` /api/audioTextAnalysisSop/listByParentId?parentId= ${ parentId } ` ;
// #endif
// #ifndef H5
url = ` http://localhost:9060/ api/audioTextAnalysisSop/listByParentId?parentId=${ parentId } ` ;
url = ` ${ API _BASE _URL } api/audioTextAnalysisSop/listByParentId?parentId=${ parentId } ` ;
// #endif
const res = await uni . request ( {
url : url ,
method : 'GET' ,
timeout : 10000 ,
header : {
'Content-Type' : 'application/json'
}
timeout : 10000
} ) ;
if ( res . statusCode === 200 && res . data && res . data . success ) {
@@ -1682,23 +1645,13 @@
. map ( key => ` ${ key } = ${ encodeURIComponent ( queryParams [ key ] ) } ` )
. join ( '&' ) ;
// H5环境下使用代理路径, 其他环境使用完整URL
let url ;
// #ifdef H5
// 使用代理路径, 会被manifest.json中的proxy配置转发
url = ` /api/audioManagement/list? ${ queryString } ` ;
// #endif
// #ifndef H5
url = ` http://localhost:9060/api/audioManagement/list? ${ queryString } ` ;
// #endif
// 统一使用域名服务器地址
const url = ` ${ API _BASE _URL } api/audioManagement/list? ${ queryString } ` ;
const res = await uni . request ( {
url : url ,
method : 'GET' ,
timeout : 10000 ,
header : {
'Content-Type' : 'application/json'
}
timeout : 10000
} ) ;
if ( res . statusCode === 200 && res . data && res . data . success ) {