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 ea811ba6
authored
Aug 07, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_V4.25.01' into 'develop'
Dev v4.25.01 See merge request
!145
2 parents
424d69a2
b9e0a6a2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
5 deletions
app.js
config.js
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
pages/accountItems/accountItems.js
store/index.js
app.js
View file @
ea811ba
...
@@ -45,7 +45,7 @@ App({
...
@@ -45,7 +45,7 @@ App({
getUpdateManager
()
getUpdateManager
()
if
(
options
)
{
if
(
options
)
{
//
console.log('options', options)
console
.
log
(
'options'
,
options
)
let
res
=
checkScene
(
options
)
let
res
=
checkScene
(
options
)
// console.log(res, 'res')
// console.log(res, 'res')
// 如果需要重新登录
// 如果需要重新登录
...
...
config.js
View file @
ea811ba
...
@@ -18,13 +18,13 @@ export const appId = 'wx570d9331f9ace0bd'
...
@@ -18,13 +18,13 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
3
let
index
=
2
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
envName
=
accountInfo
.
miniProgram
.
envVersion
const
envName
=
accountInfo
.
miniProgram
.
envVersion
//手动控制体验版环境的请求 true就依据下面index false就默认2
//手动控制体验版环境的请求 true就依据下面index false就默认2
const
manual
=
tru
e
const
manual
=
fals
e
const
release
=
false
const
release
=
false
// 判断小程序环境
// 判断小程序环境
...
...
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
View file @
ea811ba
...
@@ -114,6 +114,7 @@ Component({
...
@@ -114,6 +114,7 @@ Component({
// },
// },
onChangeInsurance
(
e
)
{
onChangeInsurance
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
// vdQuotationGoodsList
let
{
detail
}
=
e
let
{
detail
}
=
e
let
{
id
}
=
e
.
currentTarget
.
dataset
let
{
id
}
=
e
.
currentTarget
.
dataset
console
.
log
(
detail
,
'detail'
)
console
.
log
(
detail
,
'detail'
)
...
@@ -156,6 +157,7 @@ Component({
...
@@ -156,6 +157,7 @@ Component({
// if (params?.quotedPriceUpdate) {
// if (params?.quotedPriceUpdate) {
// }
// }
params
.
insureList
=
[]
console
.
log
(
params
,
'params'
)
console
.
log
(
params
,
'params'
)
wx
.
$util
.
showLoading
()
wx
.
$util
.
showLoading
()
priceCounter
(
params
)
priceCounter
(
params
)
...
@@ -164,7 +166,7 @@ Component({
...
@@ -164,7 +166,7 @@ Component({
console
.
log
(
'result'
,
result
)
console
.
log
(
'result'
,
result
)
let
{
data
,
code
,
message
}
=
result
let
{
data
,
code
,
message
}
=
result
if
(
code
)
{
if
(
code
==
0
)
{
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
thisPage
=
wx
.
$router
.
getPageInstance
()
thisPage
.
setData
({
thisPage
.
setData
({
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
View file @
ea811ba
...
@@ -198,6 +198,10 @@ Page({
...
@@ -198,6 +198,10 @@ Page({
insurance
.
forEach
(
item
=>
{
insurance
.
forEach
(
item
=>
{
delete
orderInfo
[
item
]
delete
orderInfo
[
item
]
})
})
if
(
!
orderInfo
.
vdQuotationGoodsList
)
{
//修复为null或则空时,后台报错
orderInfo
.
vdQuotationGoodsList
=
[]
}
// delete orderInfo.quotedPriceUpdate
// delete orderInfo.quotedPriceUpdate
return
orderInfo
return
orderInfo
},
},
...
...
pages/accountItems/accountItems.js
View file @
ea811ba
...
@@ -287,7 +287,9 @@ Page({
...
@@ -287,7 +287,9 @@ Page({
// 只开通一个场景直接跳转页面
// 只开通一个场景直接跳转页面
if
(
openSceneArr
.
length
===
1
)
{
if
(
openSceneArr
.
length
===
1
)
{
wx
.
$util
.
setUserInfo
({
...
wx
.
$util
.
getUserInfo
(),
selectedSceneType
:
openSceneArr
.
includes
(
1
)
?
1
:
0
})
wx
.
$util
.
setUserInfo
({
...
wx
.
$util
.
getUserInfo
(),
selectedSceneType
:
openSceneArr
.
includes
(
1
)
?
1
:
0
})
wx
.
$router
.
reLaunch
(
openSceneArr
.
includes
(
1
)
?
'tabIndex.index'
:
'packageEquity.equityPage'
)
let
pageUrl
=
[
'packageEquity.equityPage'
,
'tabIndex.index'
,
'subvehicleConversion.index'
,
'packageCrowdFunding.paidOrder'
]
wx
.
$router
.
reLaunch
(
pageUrl
[
openSceneArr
[
0
]])
// wx.$router.reLaunch(openSceneArr.includes(1) ? 'tabIndex.index' : 'packageEquity.equityPage')
}
else
if
(
openSceneArr
.
length
>
1
)
{
}
else
if
(
openSceneArr
.
length
>
1
)
{
wx
.
$router
.
reLaunch
(
'pages.sceneIndex'
)
wx
.
$router
.
reLaunch
(
'pages.sceneIndex'
)
}
}
...
...
store/index.js
View file @
ea811ba
...
@@ -213,6 +213,9 @@ export const checkScene = options => {
...
@@ -213,6 +213,9 @@ export const checkScene = options => {
console
.
log
(
options
,
'options'
)
console
.
log
(
options
,
'options'
)
wx
.
$SCENE
=
options
wx
.
$SCENE
=
options
if
(
!
userInfo
&&
options
.
path
!=
'pages/accountItems/accountItems'
)
{
if
(
!
userInfo
&&
options
.
path
!=
'pages/accountItems/accountItems'
)
{
// if (!userInfo) {
// console.log(userInfo);
console
.
log
(
'未登录,请登录。'
);
return
'未登录,请登录。'
return
'未登录,请登录。'
}
}
}
}
...
...
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