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 7fdaf79e
authored
Mar 27, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
冒烟测试修改
1 parent
df7c1569
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
7 deletions
app.js
packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.js
project.private.config.json
store/index.js
tabIndex/pages/index/index.js
app.js
View file @
7fdaf79
...
@@ -36,8 +36,20 @@ App({
...
@@ -36,8 +36,20 @@ App({
// 如果是带参数的小程序码进入 会处理后把参数存到wx.$SCENE
// 如果是带参数的小程序码进入 会处理后把参数存到wx.$SCENE
// options.query.scene = 2 //调试用
// options.query.scene = 2 //调试用
// console.log(options, 'options')
// console.log(options, 'options')
// orderCode=2208241419054111&merchantId=44209480&customerName=123&page=createOrder
// const mockOptions = {
// query:{
// orderCode:2208241419054111,
// merchantId:44209480,
// customerName:'123',
// page:'createOrder'
// }
// }
// options = mockOptions
if
(
options
)
{
if
(
options
)
{
let
res
=
checkScene
(
options
)
let
res
=
checkScene
(
options
)
console
.
log
(
res
,
'res'
);
// 如果需要重新登录
// 如果需要重新登录
res
&&
this
.
login
(
true
)
res
&&
this
.
login
(
true
)
}
}
...
...
packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.js
View file @
7fdaf79
...
@@ -84,8 +84,8 @@ Page({
...
@@ -84,8 +84,8 @@ Page({
wxqrcode
:
res
.
data
wxqrcode
:
res
.
data
})
})
// 轮询订单状态
// 轮询订单状态
this
.
getDetail
()
})
})
this
.
getDetail
()
},
},
// getOrderDetail() {
// getOrderDetail() {
// // console.log(wx.$router, 'wx.$router')
// // console.log(wx.$router, 'wx.$router')
...
...
project.private.config.json
View file @
7fdaf79
...
@@ -158,6 +158,13 @@
...
@@ -158,6 +158,13 @@
"query"
:
""
,
"query"
:
""
,
"launchMode"
:
"default"
,
"launchMode"
:
"default"
,
"scene"
:
null
"scene"
:
null
},
{
"name"
:
"客户建档"
,
"pathName"
:
"tabWorkOrder/pages/createArchives/createArchives"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
}
}
]
]
}
}
...
...
store/index.js
View file @
7fdaf79
...
@@ -152,6 +152,7 @@ export const checkScene = options => {
...
@@ -152,6 +152,7 @@ export const checkScene = options => {
// console.log(wx)
// console.log(wx)
// return true
// return true
let
{
query
}
=
options
let
{
query
}
=
options
console
.
log
(
query
,
'query'
)
// 判断对象是否满足任意一个key
// 判断对象是否满足任意一个key
// console.log(query, ' query')
// console.log(query, ' query')
if
(
query
&&
(
query
.
scene
||
query
.
merchantId
||
query
.
type
||
query
.
page
))
{
if
(
query
&&
(
query
.
scene
||
query
.
merchantId
||
query
.
type
||
query
.
page
))
{
...
@@ -159,11 +160,11 @@ export const checkScene = options => {
...
@@ -159,11 +160,11 @@ export const checkScene = options => {
// &&options.patch == 'tabIndex/pages/index/index'
// &&options.patch == 'tabIndex/pages/index/index'
let
userInfo
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
let
userInfo
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
// 需要当前门店的 不是就重新登录
// 需要当前门店的 不是就重新登录
if
(
userInfo
?.
subLoginUser
?.
merchantId
!=
query
.
merchantId
)
{
//
if (userInfo?.subLoginUser?.merchantId != query.merchantId) {
wx
.
$SCENE
=
null
//
wx.$SCENE = null
// return this.login(true)
//
// return this.login(true)
return
true
// 重新登录
//
return true // 重新登录
}
//
}
if
(
query
.
page
)
{
if
(
query
.
page
)
{
//订单跟进
//订单跟进
options
.
patch
=
'tabWorkOrder/pages/createOrder/createOrder'
options
.
patch
=
'tabWorkOrder/pages/createOrder/createOrder'
...
...
tabIndex/pages/index/index.js
View file @
7fdaf79
...
@@ -407,7 +407,7 @@ Page({
...
@@ -407,7 +407,7 @@ Page({
break
break
case
'trial'
:
case
'trial'
:
// index = manual ? index : 2
// index = manual ? index : 2
checklist
=
[
'15398879285'
,
'15816539334'
]
checklist
=
[
'15398879285'
]
break
break
case
'release'
:
case
'release'
:
checklist
=
[
'18123663366'
,
'19557403672'
]
checklist
=
[
'18123663366'
,
'19557403672'
]
...
...
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