Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cd0da2fb
authored
May 15, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
复制短链跳转问题
1 parent
095f643d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
6 deletions
packageEquity/pages/extract/extract/extract.js
packageEquity/pages/receptionDetail/components/dialogue/dialogue.js
packageEquity/pages/receptionDetail/receptionDetail.js
packageEquity/pages/extract/extract/extract.js
View file @
cd0da2f
...
...
@@ -42,7 +42,7 @@ Page({
}
],
businessTypeList
:
[
{
label
:
'延保'
,
type
:
0
},
{
label
:
'延保
/权益
'
,
type
:
0
},
{
label
:
'精品'
,
type
:
1
}
],
activeTab
:
-
1
,
...
...
packageEquity/pages/receptionDetail/components/dialogue/dialogue.js
View file @
cd0da2f
...
...
@@ -9,7 +9,21 @@ Component({
*/
properties
:
{
recordData
:
Object
,
batchId
:
Number
,
batchId
:
{
type
:
Number
,
observer
:
function
(
n
)
{
console
.
log
(
n
,
'====123456'
)
thisPage
=
wx
.
$router
.
getPageInstance
()
this
.
innerAudioContext
=
thisPage
.
qualityAudio
const
data
=
{
batchId
:
n
,
currentPage
:
1
,
pageSize
:
999999
,
};
this
.
findConversationDetailByBatchId
(
data
)
this
.
findCbByBatchId
(
data
)
}
},
autoPlayConfig
:
Object
},
lifetimes
:
{
...
...
packageEquity/pages/receptionDetail/receptionDetail.js
View file @
cd0da2f
// packageEquity/pages/receptionDetail/receptionDetail.js
import
reportPageTrackMixin
from
'~/mixins/reportPageTrackMixin'
import
{
getRecordDetailList
}
from
"../../receptionRecordsApi"
Page
({
behaviors
:
[
reportPageTrackMixin
],
...
...
@@ -25,13 +26,55 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
async
onLoad
(
options
)
{
console
.
log
(
options
,
'onload'
)
// 若有参数,则是短链进入
if
(
Object
.
keys
(
options
).
length
)
{
// 调用接口获取详情,默认取第一条
const
time
=
new
Date
(
+
options
.
receptionStartTime
).
format
(
'yyyy-MM-dd'
)
console
.
log
(
time
)
const
params
=
{
batchId
:
options
.
batchId
,
merchantNo
:
options
.
merchantNo
,
startDateTime
:
time
,
endDateTime
:
time
}
// this.setData({
// record: {batchId: options.batchId}
// })
const
res
=
await
getRecordDetailList
(
params
)
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
const
detailInfo
=
data
.
list
[
0
]
||
{}
if
(
Object
.
keys
(
detailInfo
).
length
)
{
detailInfo
.
staticDate
=
new
Date
(
detailInfo
.
staticDate
).
format
(
'MM月dd日'
)
this
.
track_businessParam
=
{
batchId
:
detailInfo
.
batchId
}
//埋点业务参数
let
typeLists
=
[
"对话"
,
],
showViolationBtn
=
false
,
autoPlayConfig
=
{}
this
.
setData
({
record
:
detailInfo
,
typeLists
:
typeLists
,
showViolationBtn
,
autoPlayConfig
},
()
=>
{
this
.
setAudio
()
})
}
}
}
},
back
()
{
this
.
qualityAudio
.
pause
()
if
(
this
.
qualityAudio
)
this
.
qualityAudio
.
pause
()
wx
.
$router
.
back
()
},
onHandle
(
e
)
{
let
{
...
...
@@ -152,6 +195,7 @@ Page({
return
`
${
minutes
}
:
${
remainingSeconds
}
`
;
},
onRoute
(
options
)
{
console
.
log
(
options
,
'==='
)
if
(
Object
.
keys
(
options
).
length
)
{
options
.
staticDate
=
new
Date
(
options
.
staticDate
).
format
(
'MM月dd日'
)
this
.
track_businessParam
=
{
...
...
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