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 c230d25e
authored
May 21, 2025
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.52.1' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V4.53.0
2 parents
8b20b540
485926cd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
72 additions
and
61 deletions
api/module/boutique.js
components/HomeFrame/components/AIBazaar.vue
mixin/timeout.js
pages/common/aiWebview.vue
pages/equity/detail/components/History.vue
api/module/boutique.js
View file @
c230d25
/*
* @Description:
* @Description:
* @Author: huyue
* @Date: 2024-09-05 14:05:25
* @LastEditors: huyue
* @LastEditTime: 2024-09-13 11:08:55
*/
import
http
from
"../request/http"
;
import
http
from
'../request/http'
module
.
exports
=
{
/**获取APP更新 */
findSoureList
(
data
)
{
findSoureList
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.recepiton.soure.findSoureList"
,
projectName
:
"boutique"
,
...
data
,
})
;
method
:
'dj.api.smartcarlife.recepiton.soure.findSoureList'
,
projectName
:
'boutique'
,
...
data
})
},
/** 查询可发放礼券-分页查询商户券列表 */
findCouponList
(
data
)
{
findCouponList
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.merchantCoupon.pageForZYApp"
,
projectName
:
"boutique"
,
method
:
'dj.api.smartcarlife.merchantCoupon.pageForZYApp'
,
projectName
:
'boutique'
,
onlyUsable
:
true
,
currentPage
:
1
,
pageSize
:
99999
,
...
data
,
})
;
...
data
})
},
/**查询用户是否领券 */
findCustomerReceivedStatus
(
data
)
{
findCustomerReceivedStatus
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.customerCoupon.pageForZYApp"
,
projectName
:
"boutique"
,
method
:
'dj.api.smartcarlife.customerCoupon.pageForZYApp'
,
projectName
:
'boutique'
,
...
data
,
currentPage
:
1
,
pageSize
:
99999
,
statusList
:
[
0
,
1
]
})
;
})
},
/**历史成交客户 */
historyDealOrderPage
(
data
)
{
historyDealOrderPage
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.order.historyDealOrder.page"
,
projectName
:
"boutique"
,
...
data
,
})
;
method
:
'dj.api.smartcarlife.order.historyDealOrder.page'
,
projectName
:
'boutique'
,
...
data
})
},
// 历史订单列表
getQuotationList
(
data
)
{
getQuotationList
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page"
,
projectName
:
"boutique"
,
...
data
,
});
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page'
,
projectName
:
'boutique'
,
...
data
})
},
// 历史订单列表
getOrderList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.for.pad.page'
,
projectName
:
'boutique'
,
...
data
})
},
/**客户邀约记录 */
customerInviteRecordPage
(
data
)
{
customerInviteRecordPage
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.customerInviteRecord.page"
,
projectName
:
"boutique"
,
...
data
,
})
;
method
:
'dj.api.smartcarlife.customerInviteRecord.page'
,
projectName
:
'boutique'
,
...
data
})
},
/**轻改素材配置 */
getBoutiqueMaterialConfig
(
data
)
{
getBoutiqueMaterialConfig
(
data
)
{
return
http
.
post
({
method
:
"dj.api.boutique.recepiton.material.merchant.detail"
,
projectName
:
"boutique"
,
...
data
,
})
;
method
:
'dj.api.boutique.recepiton.material.merchant.detail'
,
projectName
:
'boutique'
,
...
data
})
},
/** 案例视频 */
getCaseList
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.recepiton.material.case.find"
,
projectName
:
"boutique"
,
method
:
'dj.api.smartcarlife.recepiton.material.case.find'
,
projectName
:
'boutique'
,
...
data
})
},
/** 获取类目 */
getCategory
(
data
)
{
return
http
.
post
({
method
:
"dj.api.boutique.recepiton.material.merchant.category"
,
projectName
:
"boutique"
,
method
:
'dj.api.boutique.recepiton.material.merchant.category'
,
projectName
:
'boutique'
,
...
data
})
},
/**
...
...
@@ -94,10 +102,9 @@ module.exports = {
*/
getInviteRecordCount
(
data
)
{
return
http
.
post
({
method
:
"dj.api.smartcarlife.customerInviteRecord.inviteStatus.count"
,
projectName
:
"boutique"
,
method
:
'dj.api.smartcarlife.customerInviteRecord.inviteStatus.count'
,
projectName
:
'boutique'
,
...
data
})
},
};
}
}
components/HomeFrame/components/AIBazaar.vue
View file @
c230d25
...
...
@@ -40,7 +40,7 @@ export default {
this
.
list
=
res
},
jump
(
data
)
{
let
{
agentUrl
,
domainName
}
=
data
let
{
agentUrl
,
domainName
,
presuppositionProblem
}
=
data
if
(
!
agentUrl
)
{
return
uni
.
showToast
({
title
:
'待开放'
,
...
...
@@ -48,7 +48,7 @@ export default {
})
}
uni
.
navigateTo
({
url
:
`/pages/common/aiWebview?url=
${
agentUrl
}
&domain=
${
domainName
}
`
url
:
`/pages/common/aiWebview?url=
${
agentUrl
}
&domain=
${
domainName
}
&presuppositionProblem=
${
presuppositionProblem
}
`
})
}
}
...
...
mixin/timeout.js
View file @
c230d25
/*
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-08 11:28:48
* @LastEditors:
yangming@didihu.com.cn yangming@didihu.com.cn
* @LastEditTime: 2025-0
4-29 11:23:03
* @LastEditors:
liimin 17653212@qq.com
* @LastEditTime: 2025-0
5-16 16:44:50
* @FilePath: \gl_tape\mixin\timeout.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -25,23 +25,26 @@ export default {
this
.
__timer
=
setInterval
(()
=>
{
if
(
this
.
__counter
>=
TIMER_TIMEOUT
)
{
//关闭录音
uni
.
$logger
.
local
.
info
(
'== 长时间未触碰平板 =='
)
uni
.
$logger
.
local
.
info
(
'== 长时间未触碰平板 ==
__timer:'
+
this
.
__timer
+
'__counter:'
+
this
.
__counter
+
'分钟
'
)
this
.
endWatchClick
()
this
.
stopRecorder
()
return
}
this
.
__counter
++
uni
.
$logger
.
local
.
info
(
'== 未触碰平板计时 =='
+
this
.
__counter
+
'分钟'
)
uni
.
$logger
.
local
.
info
(
'== 未触碰平板计时 =='
+
this
.
__counter
+
'分钟'
+
'== __timer:'
+
this
.
__timer
)
},
TIMER_INTERVAL
)
},
endWatchClick
()
{
if
(
this
.
__timer
)
clearInterval
(
this
.
__timer
)
this
.
__timer
=
null
this
.
__counter
=
0
uni
.
$logger
.
local
.
info
(
'== 停止监听未触碰平板事件 =='
)
if
(
this
.
__timer
)
{
clearInterval
(
this
.
__timer
)
this
.
__timer
=
null
this
.
__counter
=
0
uni
.
$logger
.
local
.
info
(
'== 停止监听未触碰平板事件 == __timer:'
+
this
.
__timer
+
' __counter:'
+
this
.
__counter
)
}
},
handleTouchStart
()
{
if
(
this
.
__counter
)
{
uni
.
$logger
.
local
.
info
(
`==
${
this
.
__counter
}
分钟后触碰平板
==
`
)
if
(
this
.
__counter
>
0
)
{
uni
.
$logger
.
local
.
info
(
`==
${
this
.
__counter
}
分钟后触碰平板
,重置计数器 == __timer:
${
this
.
__timer
}
`
)
}
this
.
__counter
=
0
}
...
...
pages/common/aiWebview.vue
View file @
c230d25
...
...
@@ -30,14 +30,15 @@ export default {
}
},
onLoad
(
options
)
{
const
{
sceneType
,
uuid
,
channelType
=
1
}
=
uni
.
$storage
.
get
(
'userInfo'
)
const
{
sceneType
,
uuid
,
phone
,
channelType
=
1
}
=
uni
.
$storage
.
get
(
'userInfo'
)
const
bussinessType
=
sceneType
==
0
?
1
:
2
// sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
const
brand
=
{
1
:
'问界'
,
2
:
'比亚迪'
,
3
:
'其他'
}[
channelType
]
this
.
url
=
`
${
options
.
url
}
?no_header=1&business_type=
${
bussinessType
}
&brand=
${
brand
}
&one_id=
${
uuid
}
&platformType=1&domain=
${
options
.
domain
}
`
this
.
url
=
`
${
options
.
url
}
?no_header=1&business_type=
${
bussinessType
}
&phone=
${
phone
}
&brand=
${
brand
}
&one_id=
${
uuid
}
&platformType=1&domain=
${
options
.
domain
}
&presuppositionProblem=
${
options
.
presuppositionProblem
}
`
console
.
log
(
this
.
url
,
999
)
// this.url='http://assistant.test.glsx.com.cn/chat/jHpvpOmuMWPxYxKo?business_type=12&brand=%E9%97%AE%E7%95%8C&one_id=266&platformType=2&no_header=1&domain=http://aiassistant.test.glsx.com.cn'
setTimeout
(()
=>
{
const
currentWebview
=
this
.
$scope
.
$getAppWebview
()
...
...
pages/equity/detail/components/History.vue
View file @
c230d25
This diff is collapsed.
Click to expand it.
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