Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
sales-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 43aa0db3
authored
Nov 19, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug修复
1 parent
1168b36c
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
7 deletions
api/usersApi/UsersApi.js
components/Authorize/Authorize.wxml
components/PhoneNumber/PhoneNumber.wxml
login/index/components/Box/Box.wxml
packageIndex/pages/regionalLeaders/regionalLeaders.js
packageIndex/pages/regionalLeaders/regionalLeaders.json
router/router.js
utils/track.js
api/usersApi/UsersApi.js
View file @
43aa0db
...
@@ -59,7 +59,7 @@ class UsersApi {
...
@@ -59,7 +59,7 @@ class UsersApi {
{
{
method
:
'dj.api.sale.login.auth.phone'
,
method
:
'dj.api.sale.login.auth.phone'
,
...
detail
,
...
detail
,
platformEntrance
:
'
BUSINESS_ASSISTANT'
// 平台标识:生意助手-BUSINESS_ASSISTANT,门店助手-STORE_ASSISTANT
platformEntrance
:
'
SALES_ASSISTANT'
// 平台标识:销售助手
},
},
true
true
)
)
...
...
components/Authorize/Authorize.wxml
View file @
43aa0db
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
</view>
</view>
</view>
</view>
</view>
</view>
<glsx-privacy appletName="生意助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
<glsx-privacy appletName="销售助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
\ No newline at end of file
\ No newline at end of file
components/PhoneNumber/PhoneNumber.wxml
View file @
43aa0db
...
@@ -44,4 +44,4 @@
...
@@ -44,4 +44,4 @@
<button wx:else class="phoneNumber" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">合作申请</button>
<button wx:else class="phoneNumber" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">合作申请</button>
</view>
</view>
</view>
</view>
<glsx-privacy appletName="
生意
助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<glsx-privacy appletName="
销售
助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
login/index/components/Box/Box.wxml
View file @
43aa0db
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</view>
</view>
<!-- 协议 -->
<!-- 协议 -->
<!-- <auth-setting bind:choose="authChoose" agree="{{ agree }}" /> -->
<!-- <auth-setting bind:choose="authChoose" agree="{{ agree }}" /> -->
<glsx-privacy appletName="
生意
助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<glsx-privacy appletName="
销售
助手" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<!-- 未同意协议弹窗提示 -->
<!-- 未同意协议弹窗提示 -->
<van-dialog use-slot title="隐私协议与用户协议" show="{{ showAuthDialog }}" class="auth-dialog-class" custom-class="auth-dialog-class" width="var(--fontSize552)" show-cancel-button confirmButtonText="同意" use-title-slot="{{ true }}" confirm-button-color="#5092FF" bind:confirm="agreeEvent" bind:close="onClose">
<van-dialog use-slot title="隐私协议与用户协议" show="{{ showAuthDialog }}" class="auth-dialog-class" custom-class="auth-dialog-class" width="var(--fontSize552)" show-cancel-button confirmButtonText="同意" use-title-slot="{{ true }}" confirm-button-color="#5092FF" bind:confirm="agreeEvent" bind:close="onClose">
<view slot="title">
<view slot="title">
...
...
packageIndex/pages/regionalLeaders/regionalLeaders.js
View file @
43aa0db
...
@@ -15,7 +15,7 @@ Page({
...
@@ -15,7 +15,7 @@ Page({
// // this.getWarningStores()
// // this.getWarningStores()
// },
// },
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
console
.
log
(
options
,
'options'
)
//
console.log(options, 'options')
// 生命周期函数--监听页面加载
// 生命周期函数--监听页面加载
console
.
log
(
options
,
'options'
)
console
.
log
(
options
,
'options'
)
let
{
query
}
=
options
let
{
query
}
=
options
...
...
packageIndex/pages/regionalLeaders/regionalLeaders.json
View file @
43aa0db
{
{
"navigationBarTitleText"
:
"销售助手"
,
"component"
:
true
,
"component"
:
true
,
"usingComponents"
:
{
"usingComponents"
:
{
"regionalLeaders"
:
"/pages/components/regionalLeaders/regionalLeaders"
"regionalLeaders"
:
"/pages/components/regionalLeaders/regionalLeaders"
...
...
router/router.js
View file @
43aa0db
...
@@ -44,7 +44,7 @@ class Router {
...
@@ -44,7 +44,7 @@ class Router {
const
router
=
`
${
thisPage
.
__route__
}
.html`
const
router
=
`
${
thisPage
.
__route__
}
.html`
if
(
__wxConfig
&&
__wxConfig
.
page
&&
__wxConfig
.
page
[
router
])
{
if
(
__wxConfig
&&
__wxConfig
.
page
&&
__wxConfig
.
page
[
router
])
{
let
{
navigationBarTitleText
,
navigationStyle
}
=
__wxConfig
.
page
[
router
].
window
let
{
navigationBarTitleText
,
navigationStyle
}
=
__wxConfig
.
page
[
router
].
window
if
(
!
title
)
title
=
'
生意
助手'
if
(
!
title
)
title
=
'
销售
助手'
if
(
!
navigationBarTitleText
&&
!
navigationStyle
)
if
(
!
navigationBarTitleText
&&
!
navigationStyle
)
wx
.
setNavigationBarTitle
({
wx
.
setNavigationBarTitle
({
title
title
...
...
utils/track.js
View file @
43aa0db
...
@@ -218,7 +218,7 @@ class TRACK {
...
@@ -218,7 +218,7 @@ class TRACK {
?
navigationBarTitleText
?
navigationBarTitleText
:
window
.
navigationBarTitleText
:
window
.
navigationBarTitleText
}
}
if
(
!
title
)
title
=
'
生意助手员工版
'
if
(
!
title
)
title
=
'
销售助手
'
return
title
return
title
}
}
/**获取设备信息 */
/**获取设备信息 */
...
...
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