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 8efa7378
authored
Mar 24, 2026
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.6.4' into SAAS+V5.7.0
2 parents
8e360111
eb03ed87
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
29 additions
and
18 deletions
components/FinishStep.vue
lib/sqlite.js
manifest.json
mixin/record/recorder.js
pages/boutique/components/CouponPop.vue
pages/boutique/index.vue
pages/boutique/invitation.vue
store/modules/audio.js
utils/recordManager/RecordSaveService.js
utils/recordManager/RecordService.js
components/FinishStep.vue
View file @
8efa737
lib/sqlite.js
View file @
8efa737
...
...
@@ -10,7 +10,7 @@ class SQLite {
this
.
size
=
size
||
50
*
1024
*
1024
// 50MB
this
.
db
=
null
//注意:
this
.
dbPath
=
null
// 存储数据库的完整路径
this
.
dbPath
=
`_doc/
${
name
}
.db`
// 存储数据库的完整路径
// 初始化该数据库的队列(如果不存在)
if
(
!
SQLite
.
_queues
[
name
])
{
SQLite
.
_queues
[
name
]
=
new
TaskQueue
(
`SQLite:
${
name
}
`
)
...
...
@@ -25,15 +25,15 @@ class SQLite {
async
init
()
{
// 如果已经有路径,直接使用
if
(
this
.
dbPath
)
{
//
if (this.dbPath) {
uni
.
$logger
?.
local
?.
info
(
`[SQLite] 使用已有路径:
${
this
.
dbPath
}
`
)
return
this
.
openDatabase
()
}
//
}
// 获取当前文档目录路径
const
rootPath
=
await
PathUtils
.
getFilePath
()
this
.
dbPath
=
`
${
rootPath
}${
this
.
name
}
.db`
uni
.
$logger
?.
local
?.
info
(
`[SQLite] 数据库路径已确定:
${
this
.
dbPath
}
`
)
return
this
.
openDatabase
()
//
const rootPath = await PathUtils.getFilePath()
//
this.dbPath = `${rootPath}${this.name}.db`
//
uni.$logger?.local?.info(`[SQLite] 数据库路径已确定: ${this.dbPath}`)
//
return this.openDatabase()
}
/**
...
...
manifest.json
View file @
8efa737
...
...
@@ -2,8 +2,8 @@
"name"
:
"展业助手"
,
"appid"
:
"__UNI__D3BD3DF"
,
"description"
:
""
,
"versionName"
:
"2.22.
1
"
,
"versionCode"
:
222
1
,
"versionName"
:
"2.22.
2
"
,
"versionCode"
:
222
2
,
"transformPx"
:
false
,
"sassImplementationName"
:
"node-sass"
,
/*
5
+App特有相关
*/
...
...
mixin/record/recorder.js
View file @
8efa737
...
...
@@ -40,6 +40,9 @@ export default {
// 代理权限检查
async
isPermission
(
hintText
)
{
return
await
this
.
recordService
.
isPermission
(
hintText
)
},
updateCustomerInfo
(
data
){
this
.
recordService
.
updateCustomerInfo
(
data
)
}
}
}
pages/boutique/components/CouponPop.vue
View file @
8efa737
...
...
@@ -273,11 +273,11 @@ export default {
this
.
customerInfo
=
Object
.
assign
(
this
.
customerInfo
,
newval
)
if
(
newval
.
carModel
)
{
this
.
pageParams
.
carInfo
=
{
carChildsBrandId
:
newval
.
car
Childs
BrandId
,
carChildsBrandName
:
newval
.
car
ChildsBrandName
,
carBrandId
:
newval
.
c
arBrandId
,
carBrand
:
newval
.
c
arBrand
,
id
:
newval
.
car
Series
Id
,
carChildsBrandId
:
newval
.
carBrandId
,
carChildsBrandName
:
newval
.
car
Brand
,
carBrandId
:
newval
.
oneC
arBrandId
,
carBrand
:
newval
.
oneC
arBrand
,
id
:
newval
.
car
Model
Id
,
name
:
newval
.
carModel
}
}
...
...
pages/boutique/index.vue
View file @
8efa737
...
...
@@ -340,6 +340,7 @@ export default {
this
.
customerType
=
-
1
this
.
clearHistory
();
this
.
recording
=
false
this
.
setReceptionStatus
(
-
1
);
this
.
$refs
.
home
.
$refs
.
leftBox
.
getMessageInfo
()
if
(
this
.
requested
)
this
.
$refs
.
home
.
updateApp
()
this
.
getBoutiquePackageList
()
//套餐列表
...
...
@@ -381,10 +382,13 @@ export default {
this
.
jumpPage
(
id
)
}
else
this
.
jumpPage
()
setTimeout
(()
=>
{
this
.
setReceptionStatus
(
1
);
},
1000
);
},
done
(
e
)
{
async
done
(
e
)
{
this
.
$refs
.
home
.
finishRef
.
close
();
if
(
this
.
recording
)
this
.
$refs
.
home
.
stopAudio
();
if
(
this
.
recording
)
await
this
.
$refs
.
home
.
stopAudio
();
this
.
recording
=
false
setTimeout
(()
=>
{
this
.
id
=
""
;
...
...
@@ -392,10 +396,10 @@ export default {
this
.
currentCarId
=
''
this
.
bannerAutoplay
=
true
this
.
customerType
=
-
1
this
.
setReceptionStatus
(
e
);
this
.
$store
.
dispatch
(
"clearHistory"
)
this
.
$store
.
dispatch
(
'clearReceptionTrack'
)
this
.
getBoutiquePackageList
()
//套餐列表
this
.
setReceptionStatus
(
-
1
);
},
1500
);
},
/**客户邀约接待 */
...
...
@@ -409,6 +413,8 @@ export default {
}
//开始接待
this
.
customerType
=
0
this
.
jumpPage
()
uni
.
$logger
.
local
.
info
(
'index-reception:回店客户〗 == '
+
JSON
.
stringify
(
customer
))
this
.
$refs
.
home
.
updateCustomerInfo
(
customer
)
this
.
$nextTick
(()
=>
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
customer
))
let
{
carBannerList
}
=
this
,
currentCarId
=
''
,
...
...
pages/boutique/invitation.vue
View file @
8efa737
store/modules/audio.js
View file @
8efa737
...
...
@@ -37,6 +37,7 @@ export default {
state
.
audioInfo
=
Object
.
assign
(
state
.
audioInfo
,
data
)
},
setReceptionStatus
(
state
,
data
)
{
console
.
log
(
data
,
'==='
)
state
.
receptionStatus
=
data
},
setAudioList
(
state
,
data
)
{
...
...
utils/recordManager/RecordSaveService.js
View file @
8efa737
...
...
@@ -337,7 +337,7 @@ class RecordSaveService {
async
_saveOrUpdate
(
data
)
{
uni
.
$logger
.
local
.
info
(
`【接待记录保存服务】 == 开始保存或更新接待记录!!`
)
const
{
status
,
tempFilePath
,
rec
eption
Status
,
...
record
}
=
data
const
{
status
,
tempFilePath
,
rec
ord
Status
,
...
record
}
=
data
const
fileList
=
Array
.
isArray
(
record
.
recordUrlList
)
?
record
.
recordUrlList
:
[]
const
isAllCompleted
=
status
===
FileStatus
.
NoFile
||
fileList
.
every
(
i
=>
[
FileStatus
.
Uploaded
,
FileStatus
.
Completed
].
includes
(
i
.
status
))
if
(
isAllCompleted
)
{
...
...
utils/recordManager/RecordService.js
View file @
8efa737
...
...
@@ -333,6 +333,7 @@ class RecordService {
}
updateReceptionStatus
(
status
)
{
console
.
log
(
'updateReceptionStatus'
,
status
)
this
.
record
.
updatePreRecords
({
receptionStatus
:
status
})
}
...
...
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