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 82f7cd99
authored
Jul 24, 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
4e02d0bd
535c90e8
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
87 additions
and
53 deletions
components/HomeFrame/components/ReceptionCenter/CustomerFile.vue
components/HomeFrame/components/ReceptionCenter/LineBar.vue
components/HomeFrame/components/ReceptionCenter/OutputValue.vue
components/HomeFrame/components/ReceptionCenter/RecordList.vue
components/HomeFrame/components/ReceptionCenter/index.vue
components/PageTabs.vue
components/SelectComponent.vue
pages/common/receptionDetail/components/Quality.vue
pages/common/receptionDetail/index.vue
components/HomeFrame/components/ReceptionCenter/CustomerFile.vue
View file @
82f7cd9
...
...
@@ -130,6 +130,9 @@ export default {
PageTabs
},
name
:
''
,
props
:
{
show
:
Boolean
},
data
()
{
return
{
dateList
:
[
...
...
@@ -151,8 +154,7 @@ export default {
flag
:
false
,
nothing
:
false
,
pageSize
:
10
,
loaded
:
false
}
},
computed
:
{
...
...
@@ -164,8 +166,19 @@ export default {
}
},
},
watch
:
{
show
:
{
immediate
:
true
,
handler
(
newval
)
{
if
(
newval
&&
!
this
.
loaded
)
{
this
.
init
()
this
.
loaded
=
true
}
}
}
},
mounted
()
{
this
.
init
();
},
methods
:
{
refresh
()
{
...
...
components/HomeFrame/components/ReceptionCenter/LineBar.vue
View file @
82f7cd9
...
...
@@ -12,6 +12,7 @@
type=
"bar"
:opts=
"opts"
:chartData=
"chartData"
:tooltipShow=
"false"
/>
</view>
</view>
...
...
components/HomeFrame/components/ReceptionCenter/OutputValue.vue
View file @
82f7cd9
...
...
@@ -14,6 +14,7 @@
type=
"arcbar"
:opts=
"opts"
:chartData=
"chartData"
:tooltipShow=
"false"
/>
</view>
<view
class=
"output-view flex"
>
...
...
components/HomeFrame/components/ReceptionCenter/RecordList.vue
View file @
82f7cd9
...
...
@@ -188,8 +188,7 @@ export default {
},
mounted
()
{
uni
.
$on
(
'refreshRecord'
,
()
=>
{
this
.
resetData
()
this
.
getReceptionList
()
this
.
changeTab
(
0
)
})
},
methods
:
{
...
...
@@ -219,12 +218,13 @@ export default {
},
jumpDetail
(
item
)
{
if
(
this
.
tabIndex
==
0
)
{
// 已上传 && 新质检
uni
.
$track
.
add
({
eventCode
:
item
.
orderFinishFlag
?
'app_reception_deal'
:
'app_reception_defeat'
})
const
{
sceneType
}
=
uni
.
$storage
.
get
(
"userInfo"
);
if
(
sceneType
==
1
||
item
.
checkHistoryFlag
!=
0
)
return
uni
.
showToast
({
if
(
sceneType
==
1
||
item
.
checkHistoryFlag
!=
0
||
item
.
score
==
null
)
return
uni
.
showToast
({
title
:
'该接待尚不支持复盘'
,
icon
:
"none"
})
uni
.
$track
.
add
({
eventCode
:
item
.
orderFinishFlag
?
'app_reception_deal'
:
'app_reception_defeat'
})
this
.
tabIndex
=
-
1
uni
.
navigateTo
({
url
:
`/pages/common/receptionDetail/index`
,
success
(
res
)
{
...
...
components/HomeFrame/components/ReceptionCenter/index.vue
View file @
82f7cd9
...
...
@@ -20,12 +20,14 @@
{{
timeProgress
}}
%
</view>
</view>
<view
class=
"select-box"
>
<select-component
:selectList=
"performanceTypeList"
@
chooseType=
"changePerformance"
/>
</view>
<template
v-if=
"sceneType == 0"
>
<view
class=
"reception-select"
>
<select-component
:selectList=
"performanceTypeList"
@
chooseType=
"changePerformance"
/>
</view>
</
template
>
</view>
<
template
v-if=
"showPageFlag"
>
<view
class=
"customer-box box"
>
...
...
@@ -68,17 +70,17 @@
:tabIndex
.
sync=
"tabIndex"
></type-tab-component>
<view
:class=
"['right-content',`${tabIndex != 0?'hide-record':'show-record'}`]"
>
<customer-file
@
showSuccess=
"$refs.successRef.open()"
ref=
"customerFile"
@
editCustomer=
"editCustomer"
<record-list
@
openRecordPage=
"openRecordPage"
ref=
"recordListRef"
:show=
"tabIndex == 0"
/>
</view>
<view
:class=
"['right-content',`${tabIndex != 1?'hide-record':'show-record'}`]"
>
<record-list
@
openRecordPage=
"openRecordPage"
ref=
"recordListRef"
<customer-file
@
showSuccess=
"$refs.successRef.open()"
ref=
"customerFile"
@
editCustomer=
"editCustomer"
:show=
"tabIndex == 1"
/>
</view>
...
...
@@ -148,8 +150,8 @@ export default {
timeProgress
:
''
,
tabIndex
:
0
,
typeList
:
Object
.
freeze
([
{
tabName
:
'客户预录'
},
{
tabName
:
'接待复盘'
},
{
tabName
:
'客户预录'
},
]),
showInfo
:
false
,
customerId
:
''
,
...
...
@@ -196,6 +198,9 @@ export default {
{
label
:
'权益'
,
value
:
3
},
]
return
list
},
sceneType
()
{
return
uni
.
$storage
.
get
(
'userInfo'
).
sceneType
}
},
mounted
()
{
...
...
@@ -237,11 +242,13 @@ export default {
merchantIdList
:
shopMerchantId
,
sceneType
,
startDate
:
dayjs
().
startOf
(
'month'
).
format
(
'YYYY-MM-DD'
),
endDate
:
dayjs
().
endOf
(
'month'
).
format
(
'YYYY-MM-DD'
),
bussinessType
endDate
:
dayjs
().
endOf
(
'month'
).
format
(
'YYYY-MM-DD'
)
}
if
(
sceneType
==
0
)
{
params
.
bussinessType
=
bussinessType
if
(
hmzxFlag
)
params
.
hmzxFlag
=
hmzxFlag
if
(
this
.
isAito
&&
!
params
.
hmzxFlag
)
params
.
hmzxFlag
=
1
}
if
(
hmzxFlag
)
params
.
hmzxFlag
=
hmzxFlag
if
(
this
.
isAito
&&
!
params
.
hmzxFlag
)
params
.
hmzxFlag
=
1
this
.
pageData
=
await
uni
.
$api
.
receptionApi
.
getMerchantPerformance
(
params
)
||
{}
},
changePerformance
({
item
})
{
...
...
@@ -324,7 +331,7 @@ export default {
font-weight
:
500
;
}
}
.
select-box
{
.
reception-select
{
position
:
absolute
;
top
:
toRpx
(
36
);
right
:
toRpx
(
32
);
...
...
@@ -346,6 +353,9 @@ export default {
top
:
toRpx
(
64
);
color
:
#292d33
;
font-size
:
toRpx
(
28
);
.type-item
{
height
:
toRpx
(
56
);
}
}
}
}
...
...
components/PageTabs.vue
View file @
82f7cd9
...
...
@@ -111,10 +111,10 @@ export default {
position
:
relative
;
.dot
{
position
:
absolute
;
top
:
4
rpx
;
right
:
28
rpx
;
width
:
12
rpx
;
height
:
12
rpx
;
top
:
toRpx
(
4
)
;
right
:
toRpx
(
28
)
;
width
:
toRpx
(
12
)
;
height
:
toRpx
(
12
)
;
border-radius
:
100%
;
background
:
#f24724
;
}
...
...
components/SelectComponent.vue
View file @
82f7cd9
...
...
@@ -14,7 +14,7 @@
<view
v-for=
"(i,index) in selectList"
:key=
"index"
class=
"type-item"
class=
"type-item
flex
"
:class=
"index == selectIndex ? 'active' : ''"
@
click=
"chooseType(index, i)"
>
{{
i
[
labelKey
]
}}
</view>
...
...
@@ -83,10 +83,10 @@ export default {
text-align
:
center
;
animation
:
show-view-opacity
0.15s
forwards
;
.type-item
{
padding
:
0
toRpx
(
2
4
);
padding
:
0
toRpx
(
2
8
);
margin-bottom
:
toRpx
(
8
);
height
:
toRpx
(
48
);
line-height
:
toRpx
(
48
)
;
height
:
toRpx
(
84
);
justify-content
:
center
;
&:last-child
{
margin-bottom
:
0
;
}
...
...
pages/common/receptionDetail/components/Quality.vue
View file @
82f7cd9
...
...
@@ -80,6 +80,10 @@ export default {
qualityAudio
:
{
type
:
Object
,
default
:
()
=>
({})
},
disabled
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
...
...
@@ -123,7 +127,13 @@ export default {
}
},
tabClick
(
item
,
index
)
{
if
(
this
.
activeIndex
==
index
)
return
if
(
this
.
activeIndex
==
index
)
return
if
(
this
.
disabled
)
return
uni
.
showToast
({
title
:
'请等待内容生成后再切换其他质检点'
,
icon
:
'none'
,
mask
:
true
,
duration
:
500
})
this
.
activeIndex
=
index
this
.
$emit
(
'tabClick'
,
item
)
}
...
...
pages/common/receptionDetail/index.vue
View file @
82f7cd9
...
...
@@ -93,6 +93,7 @@
@
onPause=
"onPause"
@
changeOperate=
"isOperate = $event"
@
tabClick=
"tabClick"
:disabled=
"aiDisabled"
/>
</view>
</view>
...
...
@@ -103,7 +104,10 @@
v-if=
"AIUrl"
>
<view
class=
"AI-title flex"
>
AI导师
</view>
<web-view
:src=
"AIUrl"
></web-view>
<web-view
:src=
"AIUrl"
@
message=
"handlerMessage"
></web-view>
</view>
<
template
v-else
>
<view
class=
"nothing flex"
>
...
...
@@ -160,7 +164,7 @@ export default {
showPlayControl
:
false
,
AIUrl
:
''
,
wv
:
null
,
loading
:
fals
e
aiDisabled
:
tru
e
}
},
onLoad
()
{
...
...
@@ -383,9 +387,10 @@ export default {
{
modelType
}
=
this
.
pageData
let
title
=
''
if
(
item
.
sumScore
>
item
.
score
)
title
=
item
.
tagGroupName
let
{
agentUrl
,
domainName
,
checkDate
,
taskStatus
}
=
data
,
url
=
`
${
agentUrl
}
?no_header=1&businessType=
${
bussinessType
}
&phone=
${
phone
}
&brand=
${
brand
}
&one_id=
${
uuid
}
&platformType=1&domain=
${
domainName
}
&presuppositionProblem=
${
title
}
&brandType=
${
modelType
||
1001
}
`
url
+=
`&date=
${
dayjs
().
format
(
'YYYY-MM-DD'
)}
`
let
{
agentUrl
,
domainName
,
taskStatus
}
=
data
agentUrl
=
'http://192.168.1.237:3000/chat/0piVRFb1xn6OBTcv'
let
url
=
`
${
agentUrl
}
?no_header=1&businessType=
${
bussinessType
}
&one_id=
${
uuid
}
&platformType=1&domain=
${
domainName
}
&presuppositionProblem=
${
title
}
&brandType=
${
modelType
||
1001
}
`
url
+=
`&phone=
${
phone
}
&brand=
${
brand
}
&date=
${
dayjs
().
format
(
'YYYY-MM-DD'
)}
`
if
(
taskStatus
)
url
+=
`&practice_status=
${
taskStatus
}
`
this
.
AIUrl
=
url
this
.
setWebviewStyle
()
...
...
@@ -429,20 +434,14 @@ export default {
setTimeout
(
retrySetWebviewStyle
,
100
);
},
tabClick
(
item
)
{
if
(
item
.
sumScore
>
item
.
score
&&
this
.
wv
)
{
if
(
this
.
loading
)
return
uni
.
showToast
({
title
:
'请勿频繁操作'
,
icon
:
'none'
,
mask
:
true
,
duration
:
500
})
this
.
loading
=
true
this
.
wv
.
evalJS
(
`sendMessage({type:'reset_chat',payload:{message:'
${
item
.
tagGroupName
}
'}})`
)
setTimeout
(()
=>
{
this
.
loading
=
false
},
500
)
if
(
this
.
wv
)
{
let
message
=
item
.
sumScore
>
item
.
score
?
item
.
tagGroupName
:
''
this
.
wv
.
evalJS
(
`sendMessage({type:'reset_chat',payload:{message:'
${
message
}
'}})`
)
}
},
handlerMessage
({
detail
})
{
let
[
data
]
=
detail
.
data
this
.
aiDisabled
=
data
.
isResponding
}
}
}
...
...
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