Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eaacc8db
authored
Jul 18, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.55.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V4.55.0
2 parents
4b20b70b
06c0e607
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
77 additions
and
16 deletions
api/module/systemApi.js
components/HomeFrame/components/ReceptionCenter/LineBar.vue
components/HomeFrame/components/ReceptionCenter/RecordList.vue
components/HomeFrame/components/ReceptionCenter/index.vue
components/HomeFrame/components/SceneMarket/compontens/Material.vue
components/TypeTabComponent.vue
mixin/aiUrlMixin.js
mixin/report.js
pages/common/materialDetail/index.vue
pages/common/receptionDetail/components/Quality.vue
pages/common/receptionDetail/index.vue
utils/Track.js
api/module/systemApi.js
View file @
eaacc8d
...
@@ -138,7 +138,7 @@ const getSoureData = async (shopMerchantId, sceneType, params = {}) => {
...
@@ -138,7 +138,7 @@ const getSoureData = async (shopMerchantId, sceneType, params = {}) => {
storageName
=
`source_
${
sceneType
}
_
${
shopMerchantId
}
`
storageName
=
`source_
${
sceneType
}
_
${
shopMerchantId
}
`
if
(
params
.
brandId
&&
params
.
subBrandId
)
storageName
+=
`_
${
params
.
brandId
}
_
${
params
.
subBrandId
}
`
if
(
params
.
brandId
&&
params
.
subBrandId
)
storageName
+=
`_
${
params
.
brandId
}
_
${
params
.
subBrandId
}
`
let
insurance
=
materialInfoList
.
find
(
e
=>
e
.
componentName
==
'insurance'
),
let
insurance
=
materialInfoList
.
find
(
e
=>
e
.
componentName
==
'insurance'
),
hasEquity
=
toolList
.
find
(
e
=>
e
.
id
==
insurance
.
id
)
hasEquity
=
toolList
.
find
(
e
=>
e
.
id
==
insurance
.
id
)
if
(
insurance
&&
hasEquity
)
{
if
(
insurance
&&
hasEquity
)
{
let
configList
let
configList
try
{
try
{
...
@@ -164,7 +164,9 @@ const getSoureData = async (shopMerchantId, sceneType, params = {}) => {
...
@@ -164,7 +164,9 @@ const getSoureData = async (shopMerchantId, sceneType, params = {}) => {
showAlt
:
false
,
showAlt
:
false
,
componentName
:
'CaseCenter'
,
componentName
:
'CaseCenter'
,
receptionpriproCusCaseList
:
i
.
receptionpriproCusCaseList
,
receptionpriproCusCaseList
:
i
.
receptionpriproCusCaseList
,
hide
:
true
hide
:
true
,
detailTitle
:
i
.
productName
,
thumbnail
:
'https://img02.glsx.com.cn/weapp/resource/app-tape/common/qsyw.webp'
}
}
})
})
materialInfoList
=
materialInfoList
.
concat
(
moduleOtherList
)
materialInfoList
=
materialInfoList
.
concat
(
moduleOtherList
)
...
...
components/HomeFrame/components/ReceptionCenter/LineBar.vue
View file @
eaacc8d
...
@@ -44,7 +44,7 @@ export default {
...
@@ -44,7 +44,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
tabIndex
:
0
,
tabIndex
:
0
,
tabList
:
[
'本月
转化
率'
,
'本月客单价'
],
tabList
:
[
'本月
成交
率'
,
'本月客单价'
],
chartData
:
{},
chartData
:
{},
//您可以通过修改 config-ucharts.js 文件中下标为 ['bar'] 的节点来配置全局默认参数,如都是默认参数,此处可以不传 opts 。实际应用过程中 opts 只需传入与全局默认参数中不一致的【某一个属性】即可实现同类型的图表显示不同的样式,达到页面简洁的需求。
//您可以通过修改 config-ucharts.js 文件中下标为 ['bar'] 的节点来配置全局默认参数,如都是默认参数,此处可以不传 opts 。实际应用过程中 opts 只需传入与全局默认参数中不一致的【某一个属性】即可实现同类型的图表显示不同的样式,达到页面简洁的需求。
opts
:
{
opts
:
{
...
...
components/HomeFrame/components/ReceptionCenter/RecordList.vue
View file @
eaacc8d
...
@@ -130,6 +130,9 @@ export default {
...
@@ -130,6 +130,9 @@ export default {
name
:
''
,
name
:
''
,
components
:
{
SelectComponent
,
PageTabs
}
,
components
:
{
SelectComponent
,
PageTabs
}
,
inject
:
[
'getRecorder'
],
inject
:
[
'getRecorder'
],
props
:
{
show
:
Boolean
}
,
data
()
{
data
()
{
return
{
return
{
tabList
:
Object
.
freeze
([
tabList
:
Object
.
freeze
([
...
@@ -166,13 +169,25 @@ export default {
...
@@ -166,13 +169,25 @@ export default {
pageSize
:
10
,
pageSize
:
10
,
isPrePage
:
false
,
isPrePage
:
false
,
reviewFlag
:
0
,
reviewFlag
:
0
,
orderFinishFlag
:
0
orderFinishFlag
:
0
,
loaded
:
false
}
}
,
watch
:
{
show
:
{
immediate
:
true
,
handler
(
newval
)
{
if
(
newval
&&
!
this
.
loaded
)
{
this
.
init
();
this
.
getRecordNum
()
this
.
getPreRecordNum
()
this
.
loaded
=
true
}
}
}
}
}
,
}
,
mounted
()
{
mounted
()
{
this
.
init
();
this
.
getRecordNum
()
this
.
getPreRecordNum
()
}
,
}
,
methods
:
{
methods
:
{
resetData
()
{
resetData
()
{
...
@@ -186,6 +201,8 @@ export default {
...
@@ -186,6 +201,8 @@ export default {
if
(
this
.
tabIndex
==
index
)
return
if
(
this
.
tabIndex
==
index
)
return
this
.
resetData
()
this
.
resetData
()
this
.
tabIndex
=
index
this
.
tabIndex
=
index
this
.
reviewFlag
=
0
this
.
orderFinishFlag
=
0
if
(
index
==
0
)
this
.
getReceptionList
()
if
(
index
==
0
)
this
.
getReceptionList
()
else
this
.
getRecordFail
()
else
this
.
getRecordFail
()
}
,
}
,
...
@@ -376,6 +393,7 @@ export default {
...
@@ -376,6 +393,7 @@ export default {
await
this
.
getPreRecordFail
()
await
this
.
getPreRecordFail
()
}
,
}
,
searchReceptionList
({
item
}
,
name
)
{
searchReceptionList
({
item
}
,
name
)
{
if
(
this
[
name
]
==
item
.
value
)
return
this
[
name
]
=
item
.
value
this
[
name
]
=
item
.
value
this
.
resetData
()
this
.
resetData
()
this
.
getReceptionList
()
this
.
getReceptionList
()
...
...
components/HomeFrame/components/ReceptionCenter/index.vue
View file @
eaacc8d
...
@@ -50,12 +50,14 @@
...
@@ -50,12 +50,14 @@
@
showSuccess=
"$refs.successRef.open()"
@
showSuccess=
"$refs.successRef.open()"
ref=
"customerFile"
ref=
"customerFile"
@
editCustomer=
"editCustomer"
@
editCustomer=
"editCustomer"
:show=
"tabIndex == 0"
/>
/>
</view>
</view>
<view
:class=
"['right-content',`$
{tabIndex != 1?'hide-record':'show-record'}`]">
<view
:class=
"['right-content',`$
{tabIndex != 1?'hide-record':'show-record'}`]">
<record-list
<record-list
@
openRecordPage=
"openRecordPage"
@
openRecordPage=
"openRecordPage"
ref=
"recordListRef"
ref=
"recordListRef"
:show=
"tabIndex == 1"
/>
/>
</view>
</view>
</view>
</view>
...
...
components/HomeFrame/components/SceneMarket/compontens/Material.vue
View file @
eaacc8d
...
@@ -65,8 +65,7 @@ export default {
...
@@ -65,8 +65,7 @@ export default {
},
},
async
jump
()
{
async
jump
()
{
let
{
item
,
sceneMarketLevelTwoItem
}
=
this
,
let
{
item
,
sceneMarketLevelTwoItem
}
=
this
,
// params = `id=${item.id}&specialFlag=1`
params
=
`id=
${
item
.
id
}
&specialFlag=
${
sceneMarketLevelTwoItem
.
specialFlag
}
`
params
=
`id=
${
item
.
id
}
&specialFlag=
${
sceneMarketLevelTwoItem
.
specialFlag
?
1
:
0
}
`
// 类型:0-图片;1-视频;2-pdf;3-富文本; 4-Excel; 5-Word
// 类型:0-图片;1-视频;2-pdf;3-富文本; 4-Excel; 5-Word
let
url
=
`/pages/common/caseDetail?
${
params
}
`
let
url
=
`/pages/common/caseDetail?
${
params
}
`
uni
.
$track
.
add
({
eventCode
:
'scene_market'
,
businessId
:
item
.
id
})
uni
.
$track
.
add
({
eventCode
:
'scene_market'
,
businessId
:
item
.
id
})
...
...
components/TypeTabComponent.vue
View file @
eaacc8d
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
}
}
.mask-box
{
.mask-box
{
position
:
absolute
;
position
:
absolute
;
height
:
calc
(
100%
-
#{
toRpx
(
128
)}
)
;
height
:
100vh
;
width
:
100%
;
width
:
100%
;
background
:
#fff
;
background
:
#fff
;
left
:
0
;
left
:
0
;
...
...
mixin/aiUrlMixin.js
View file @
eaacc8d
...
@@ -23,8 +23,10 @@ export default {
...
@@ -23,8 +23,10 @@ export default {
3
:
'其他'
3
:
'其他'
}[
channelType
],
}[
channelType
],
title
=
options
.
title
||
''
title
=
options
.
title
||
''
let
{
agentUrl
,
domainName
}
=
data
let
{
agentUrl
,
domainName
}
=
data
,
this
.
AIUrl
=
`
${
agentUrl
}
?no_header=1&business_type=
${
bussinessType
}
&phone=
${
phone
}
&brand=
${
brand
}
&one_id=
${
uuid
}
&platformType=1&domain=
${
domainName
}
&presuppositionProblem=
${
title
}
`
url
=
`
${
agentUrl
}
?no_header=1&business_type=
${
bussinessType
}
&phone=
${
phone
}
&brand=
${
brand
}
&one_id=
${
uuid
}
&platformType=1&domain=
${
domainName
}
&presuppositionProblem=
${
title
}
`
if
(
options
.
id
)
url
+=
`&enter_id=
${
options
.
id
}
`
this
.
AIUrl
=
url
this
.
setWebviewStyle
()
this
.
setWebviewStyle
()
}
else
uni
.
showToast
({
}
else
uni
.
showToast
({
title
:
'获取智能体失败'
,
title
:
'获取智能体失败'
,
...
...
mixin/report.js
View file @
eaacc8d
...
@@ -36,7 +36,6 @@ export default {
...
@@ -36,7 +36,6 @@ export default {
}
}
if
(
this
.
visitsId
)
params
.
visitsId
=
this
.
visitsId
if
(
this
.
visitsId
)
params
.
visitsId
=
this
.
visitsId
uni
.
$api
.
commonApi
.
leaveRecord
(
params
).
then
(
res
=>
{
uni
.
$api
.
commonApi
.
leaveRecord
(
params
).
then
(
res
=>
{
console
.
log
(
res
,
888
)
})
})
}
}
}
}
pages/common/materialDetail/index.vue
View file @
eaacc8d
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
import
{
aiUrlMixin
,
report
}
from
'@/mixin/index.js'
import
{
aiUrlMixin
,
report
}
from
'@/mixin/index.js'
export
default
{
export
default
{
name
:
''
,
name
:
''
,
mixins
:
[
report
,
aiUrlMixin
],
mixins
:
[
report
,
aiUrlMixin
],
data
()
{
data
()
{
return
{
return
{
url
:
''
,
url
:
''
,
...
@@ -44,6 +44,7 @@ export default {
...
@@ -44,6 +44,7 @@ export default {
else
this
.
url
=
options
.
url
else
this
.
url
=
options
.
url
if
(
options
.
title
)
this
.
title
=
options
.
title
if
(
options
.
title
)
this
.
title
=
options
.
title
if
(
options
.
specialFlag
==
1
)
this
.
getAiagent
(
options
)
if
(
options
.
specialFlag
==
1
)
this
.
getAiagent
(
options
)
else
this
.
setWv
()
},
},
mounted
()
{
mounted
()
{
},
},
...
@@ -55,6 +56,34 @@ export default {
...
@@ -55,6 +56,34 @@ export default {
animationDuration
:
100
animationDuration
:
100
})
})
},
},
setWv
()
{
const
setWebviewStyleWithRetry
=
()
=>
{
const
currentWebview
=
this
.
$scope
.
$getAppWebview
()
let
[
wv
]
=
currentWebview
.
children
(),
wvFlag
=
false
if
(
wv
)
{
wv
.
setStyle
({
left
:
'0'
,
top
:
'9.37%'
,
height
:
'90.63%'
,
width
:
'100%'
})
wvFlag
=
true
;
}
return
wvFlag
}
const
retrySetWebviewStyle
=
()
=>
{
if
(
!
setWebviewStyleWithRetry
())
{
// 如果未成功,继续重试
setTimeout
(
retrySetWebviewStyle
,
50
);
}
else
{
// 成功设置样式,结束循环
console
.
log
(
'Webview样式设置成功'
);
}
};
setTimeout
(
retrySetWebviewStyle
,
100
);
}
}
}
}
}
</
script
>
</
script
>
...
...
pages/common/receptionDetail/components/Quality.vue
View file @
eaacc8d
...
@@ -123,6 +123,7 @@ export default {
...
@@ -123,6 +123,7 @@ export default {
}
}
},
},
tabClick
(
item
,
index
)
{
tabClick
(
item
,
index
)
{
if
(
this
.
activeIndex
==
index
)
return
this
.
activeIndex
=
index
this
.
activeIndex
=
index
this
.
$emit
(
'tabClick'
,
item
)
this
.
$emit
(
'tabClick'
,
item
)
}
}
...
...
pages/common/receptionDetail/index.vue
View file @
eaacc8d
...
@@ -414,7 +414,16 @@ export default {
...
@@ -414,7 +414,16 @@ export default {
setTimeout
(
retrySetWebviewStyle
,
100
);
setTimeout
(
retrySetWebviewStyle
,
100
);
},
},
tabClick
(
item
)
{
tabClick
(
item
)
{
if
(
item
.
sumScore
>
item
.
score
&&
this
.
wv
)
this
.
wv
.
evalJS
(
`sendMessage({type:'reset_chat',payload:{message:'
${
item
.
tagGroupName
}
'}})`
)
if
(
item
.
sumScore
>
item
.
score
&&
this
.
wv
)
{
uni
.
showLoading
({
mask
:
true
})
this
.
wv
.
evalJS
(
`sendMessage({type:'reset_chat',payload:{message:'
${
item
.
tagGroupName
}
'}})`
)
setTimeout
(()
=>
{
uni
.
hideLoading
()
},
1
e3
)
}
}
}
}
}
}
}
...
...
utils/Track.js
View file @
eaacc8d
...
@@ -22,6 +22,7 @@ class Track {
...
@@ -22,6 +22,7 @@ class Track {
uuid
,
uuid
,
scene
,
scene
,
prePagePath
:
'/'
,
prePagePath
:
'/'
,
pagePath
:
data
.
pagePath
||
'/'
,
eventTime
:
dayjs
(
Date
.
now
()).
format
(
'YYYY-MM-DD HH:mm:ss'
),
eventTime
:
dayjs
(
Date
.
now
()).
format
(
'YYYY-MM-DD HH:mm:ss'
),
systemSource
:
3
,
systemSource
:
3
,
eventType
:
data
.
eventType
||
0
eventType
:
data
.
eventType
||
0
...
@@ -29,7 +30,6 @@ class Track {
...
@@ -29,7 +30,6 @@ class Track {
if
(
data
.
batchId
)
item
.
batchId
=
data
.
batchId
if
(
data
.
batchId
)
item
.
batchId
=
data
.
batchId
if
(
data
.
eventCode
)
item
.
eventCode
=
data
.
eventCode
if
(
data
.
eventCode
)
item
.
eventCode
=
data
.
eventCode
if
(
data
.
businessParam
)
item
.
businessParam
=
JSON
.
stringify
(
data
.
businessParam
)
if
(
data
.
businessParam
)
item
.
businessParam
=
JSON
.
stringify
(
data
.
businessParam
)
if
(
data
.
pagePath
)
item
.
pagePath
=
data
.
pagePath
if
(
data
.
businessId
)
item
.
businessId
=
data
.
businessId
if
(
data
.
businessId
)
item
.
businessId
=
data
.
businessId
trackList
.
push
(
item
)
trackList
.
push
(
item
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
trackList
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
trackList
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment