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 bdb0a9e2
authored
Aug 14, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
还原
1 parent
2ca552ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
25 deletions
pages/boutique/index.vue
utils/Track.js
utils/logger/LocalLog.js
pages/boutique/index.vue
View file @
bdb0a9e
...
@@ -38,12 +38,6 @@
...
@@ -38,12 +38,6 @@
@
choose=
"chooseCustomerType"
@
choose=
"chooseCustomerType"
title=
"请选择当前洽谈的客户类型"
title=
"请选择当前洽谈的客户类型"
/>
/>
<order-popup
ref=
"test"
:data=
"data"
@
onConfirm=
"data.customer.carSeriesId = $event.carSeriesId"
popupType=
"0"
/>
</
template
>
</
template
>
</home-frame>
</home-frame>
</template>
</template>
...
@@ -76,19 +70,11 @@ const defaultConfig = [
...
@@ -76,19 +70,11 @@ const defaultConfig = [
tabId
:
3
tabId
:
3
}
}
]
]
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
export
default
{
export
default
{
components
:
{
HomeFrame
,
detail
,
CenterPopup
,
OrderPopup
},
components
:
{
HomeFrame
,
detail
,
CenterPopup
},
name
:
'boutique'
,
name
:
'boutique'
,
data
()
{
data
()
{
return
{
return
{
data
:
{
customer
:
{
carSeriesId
:
1145120
},
userId
:
'1caea5b0a50b433bacf5be533af6a4e3'
,
sellerUserId
:
'9ec5c68f73e84357a427da9503a5ee8b'
},
moduleList
:
[],
moduleList
:
[],
toolList
:
[],
toolList
:
[],
chooseItem
:
{},
chooseItem
:
{},
...
...
utils/Track.js
View file @
bdb0a9e
...
@@ -46,11 +46,11 @@ class Track {
...
@@ -46,11 +46,11 @@ class Track {
async
sendTrackData
()
{
async
sendTrackData
()
{
const
recordList
=
uni
.
getStorageSync
(
'TRACK_LIST'
)
||
[]
const
recordList
=
uni
.
getStorageSync
(
'TRACK_LIST'
)
||
[]
//
if (recordList.length) {
if
(
recordList
.
length
)
{
//
const res = await uni.$api.commonApi.recordInsert({ recordList })
const
res
=
await
uni
.
$api
.
commonApi
.
recordInsert
({
recordList
})
//
if (res)
if
(
res
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
[])
uni
.
setStorageSync
(
'TRACK_LIST'
,
[])
//
}
}
}
}
}
}
...
...
utils/logger/LocalLog.js
View file @
bdb0a9e
...
@@ -4,20 +4,19 @@ import { getTime, withinSpliter, daysBetween } from './util'
...
@@ -4,20 +4,19 @@ import { getTime, withinSpliter, daysBetween } from './util'
class
LocalLog
{
class
LocalLog
{
logger
=
null
logger
=
null
constructor
()
{
constructor
()
{
this
.
logger
=
{}
this
.
logger
=
new
LogCat
()
// this.logger = new LogCat()
}
}
debug
(
msg
)
{
debug
(
msg
)
{
//
this.logger.writeLog(LogLevel.DEBUG, msg)
this
.
logger
.
writeLog
(
LogLevel
.
DEBUG
,
msg
)
}
}
info
(
msg
)
{
info
(
msg
)
{
//
this.logger.writeLog(LogLevel.INFO, msg)
this
.
logger
.
writeLog
(
LogLevel
.
INFO
,
msg
)
}
}
warn
(
msg
)
{
warn
(
msg
)
{
//
this.logger.writeLog(LogLevel.WARN, msg)
this
.
logger
.
writeLog
(
LogLevel
.
WARN
,
msg
)
}
}
error
(
msg
)
{
error
(
msg
)
{
//
this.logger.writeLog(LogLevel.ERROR, msg)
this
.
logger
.
writeLog
(
LogLevel
.
ERROR
,
msg
)
}
}
getFiles
(
beginDate
,
endDate
)
{
getFiles
(
beginDate
,
endDate
)
{
const
logFiles
=
this
.
logger
.
getLogFileList
()
const
logFiles
=
this
.
logger
.
getLogFileList
()
...
...
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