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 31130cb9
authored
Jun 20, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sentry bug修复
1 parent
9beb6b05
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
21 deletions
tabDate/pages/detail/detail.js
tabDate/pages/index/index.js
tabDate/pages/userPortrait/constant/data.js
tabDate/pages/userPortrait/userPortrait.js
tabWorkOrder/pages/confirmOrder/confirmOrder.js
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.js
tabWorkOrder/pages/createOrder/createOrder.js
tabWorkOrder/pages/orderDetail/orderDetail.js
tabWorkOrder/pages/orderSignature/orderSignature.js
tabDate/pages/detail/detail.js
View file @
31130cb
...
@@ -130,7 +130,7 @@ Page({
...
@@ -130,7 +130,7 @@ Page({
})
})
this
.
getInviteDetail
(
options
.
id
)
this
.
getInviteDetail
(
options
.
id
)
}
}
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
)
},
},
checkPhoneShow
(
config
)
{
checkPhoneShow
(
config
)
{
console
.
log
(
'config'
,
config
)
console
.
log
(
'config'
,
config
)
...
...
tabDate/pages/index/index.js
View file @
31130cb
...
@@ -302,7 +302,7 @@ Page({
...
@@ -302,7 +302,7 @@ Page({
*/
*/
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
this
.
setData
({
this
.
setData
({
phoneShow
:
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
phoneShow
:
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
})
})
this
.
getStatByPeriod
()
this
.
getStatByPeriod
()
this
.
getiIviteRecord
()
this
.
getiIviteRecord
()
...
...
tabDate/pages/userPortrait/constant/data.js
View file @
31130cb
...
@@ -67,7 +67,7 @@ const giftProduct = [
...
@@ -67,7 +67,7 @@ const giftProduct = [
},
},
{
{
confId
:
'6'
,
confId
:
'6'
,
confName
:
'
单机
车机'
confName
:
'
联网
车机'
}
}
]
]
...
...
tabDate/pages/userPortrait/userPortrait.js
View file @
31130cb
...
@@ -82,12 +82,14 @@ if (code!= 0 ) return
...
@@ -82,12 +82,14 @@ if (code!= 0 ) return
formData
.
forEach
(
item
=>
{
formData
.
forEach
(
item
=>
{
// console.log(item?.optionList,'item?.optionList');
// console.log(item?.optionList,'item?.optionList');
// if(item.isMult) params[item.name] = []
// if(item.isMult) params[item.name] = []
item
?.
optionList
?.
forEach
(
subItem
=>
{
if
(
item
.
name
!=
'customerSex'
)
{
if
(
item
!=
'customerSex'
)
{
item
?.
optionList
?.
forEach
(
subItem
=>
{
subItem
.
active
=
false
subItem
.
active
=
false
}
})
})
}
})
})
console
.
log
(
formData
,
'formData'
);
this
.
setData
({
this
.
setData
({
formData
formData
})
})
...
...
tabWorkOrder/pages/confirmOrder/confirmOrder.js
View file @
31130cb
...
@@ -219,7 +219,7 @@ Page({
...
@@ -219,7 +219,7 @@ Page({
// this.getDetail(options.orderCode)
// this.getDetail(options.orderCode)
// }
// }
if
(
time
)
clearInterval
(
time
)
if
(
time
)
clearInterval
(
time
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
)
// wx.$util.setWebSocket()
// wx.$util.setWebSocket()
setWebSocket
()
setWebSocket
()
},
},
...
@@ -283,7 +283,7 @@ Page({
...
@@ -283,7 +283,7 @@ Page({
// 校验是否显示二级流量方
// 校验是否显示二级流量方
if
(
data
.
subShopMerchantName
)
{
if
(
data
.
subShopMerchantName
)
{
let
{
customerObj
}
=
this
.
data
let
{
customerObj
}
=
this
.
data
if
(
customerObj
.
findIndex
(
val
=>
val
.
key
==
'subShopMerchantName'
)
<
0
)
{
if
(
customerObj
.
findIndex
(
val
=>
val
?.
key
&&
val
.
key
==
'subShopMerchantName'
)
<
0
)
{
customerObj
[
customerObj
.
length
-
2
]
=
{
customerObj
[
customerObj
.
length
-
2
]
=
{
label
:
'二级流量方:'
,
label
:
'二级流量方:'
,
key
:
'subShopMerchantName'
key
:
'subShopMerchantName'
...
@@ -317,7 +317,7 @@ Page({
...
@@ -317,7 +317,7 @@ Page({
isArtificer
(
data
)
{
isArtificer
(
data
)
{
let
{
customerObj
,
orderInfo
}
=
this
.
data
let
{
customerObj
,
orderInfo
}
=
this
.
data
orderInfo
.
isOpenArtificer
=
true
orderInfo
.
isOpenArtificer
=
true
if
(
customerObj
.
findIndex
(
val
=>
val
.
key
==
'technicianName'
)
<
0
)
{
if
(
customerObj
.
findIndex
(
val
=>
val
?.
key
&&
val
.
key
==
'technicianName'
)
<
0
)
{
customerObj
[
customerObj
.
length
]
=
{
customerObj
[
customerObj
.
length
]
=
{
label
:
'选择技师:'
,
label
:
'选择技师:'
,
key
:
'technicianName'
,
key
:
'technicianName'
,
...
...
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.js
View file @
31130cb
...
@@ -136,7 +136,7 @@ Page({
...
@@ -136,7 +136,7 @@ Page({
this
.
getOrderDetail
(
options
.
orderCode
)
this
.
getOrderDetail
(
options
.
orderCode
)
}
}
let
o
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
let
o
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
)
this
.
setData
({
this
.
setData
({
userInfo
:
o
,
userInfo
:
o
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
...
@@ -220,7 +220,7 @@ Page({
...
@@ -220,7 +220,7 @@ Page({
// 校验是否显示二级流量方
// 校验是否显示二级流量方
if
(
data
.
subShopMerchantName
)
{
if
(
data
.
subShopMerchantName
)
{
let
{
customerObj
}
=
this
.
data
let
{
customerObj
}
=
this
.
data
if
(
customerObj
.
findIndex
(
val
=>
val
.
key
==
'subShopMerchantName'
)
<
0
)
{
if
(
customerObj
.
findIndex
(
val
=>
val
?.
key
&&
val
.
key
==
'subShopMerchantName'
)
<
0
)
{
customerObj
[
customerObj
.
length
-
2
]
=
{
customerObj
[
customerObj
.
length
-
2
]
=
{
label
:
'二级流量方:'
,
label
:
'二级流量方:'
,
key
:
'subShopMerchantName'
key
:
'subShopMerchantName'
...
@@ -254,7 +254,7 @@ Page({
...
@@ -254,7 +254,7 @@ Page({
isArtificer
(
data
)
{
isArtificer
(
data
)
{
let
{
customerObj
,
orderInfo
}
=
this
.
data
let
{
customerObj
,
orderInfo
}
=
this
.
data
orderInfo
.
isOpenArtificer
=
true
orderInfo
.
isOpenArtificer
=
true
if
(
customerObj
.
findIndex
(
val
=>
val
.
key
==
'technicianName'
)
<
0
)
{
if
(
customerObj
.
findIndex
(
val
=>
val
?.
key
&&
val
.
key
==
'technicianName'
)
<
0
)
{
customerObj
[
customerObj
.
length
]
=
{
customerObj
[
customerObj
.
length
]
=
{
label
:
'选择技师:'
,
label
:
'选择技师:'
,
key
:
'technicianName'
key
:
'technicianName'
...
...
tabWorkOrder/pages/createOrder/createOrder.js
View file @
31130cb
...
@@ -495,7 +495,7 @@ Page({
...
@@ -495,7 +495,7 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
// console.log(app.globalData.YQorderSetting, 'app.globalData.YQorderSetting.yqPhoneConfig')
// console.log(app.globalData.YQorderSetting, 'app.globalData.YQorderSetting
?
.yqPhoneConfig')
console
.
log
(
options
)
console
.
log
(
options
)
if
(
options
.
scene
)
{
if
(
options
.
scene
)
{
this
.
setData
(
options
)
this
.
setData
(
options
)
...
...
tabWorkOrder/pages/orderDetail/orderDetail.js
View file @
31130cb
...
@@ -11,7 +11,7 @@ Page({
...
@@ -11,7 +11,7 @@ Page({
showTips
:
true
,
showTips
:
true
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isStaff
:
app
.
globalData
.
isStaff
,
isStaff
:
app
.
globalData
.
isStaff
,
isShowPhone
:
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
,
isShowPhone
:
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
,
customerService
:
''
,
customerService
:
''
,
defaultCustomerService
:
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/kf.png'
,
defaultCustomerService
:
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/kf.png'
,
failCustomerService
:
'../images/kfrefresh.png'
,
failCustomerService
:
'../images/kfrefresh.png'
,
...
@@ -107,7 +107,7 @@ Page({
...
@@ -107,7 +107,7 @@ Page({
let
o
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
let
o
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
)
this
.
setData
({
this
.
setData
({
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
...
@@ -187,7 +187,7 @@ Page({
...
@@ -187,7 +187,7 @@ Page({
// 校验是否显示二级流量方
// 校验是否显示二级流量方
if
(
data
.
subShopMerchantName
)
{
if
(
data
.
subShopMerchantName
)
{
let
{
customerObj
}
=
this
.
data
let
{
customerObj
}
=
this
.
data
if
(
customerObj
.
findIndex
(
val
=>
val
.
key
==
'subShopMerchantName'
)
<
0
)
{
if
(
customerObj
.
findIndex
(
val
=>
val
?.
key
&&
val
.
key
==
'subShopMerchantName'
)
<
0
)
{
customerObj
[
customerObj
.
length
-
2
]
=
{
customerObj
[
customerObj
.
length
-
2
]
=
{
label
:
'二级流量方:'
,
label
:
'二级流量方:'
,
key
:
'subShopMerchantName'
key
:
'subShopMerchantName'
...
@@ -221,7 +221,7 @@ Page({
...
@@ -221,7 +221,7 @@ Page({
isArtificer
(
data
)
{
isArtificer
(
data
)
{
let
{
customerObj
,
orderInfo
}
=
this
.
data
let
{
customerObj
,
orderInfo
}
=
this
.
data
orderInfo
.
isOpenArtificer
=
true
orderInfo
.
isOpenArtificer
=
true
if
(
customerObj
.
findIndex
(
val
=>
val
.
key
==
'technicianName'
)
<
0
)
{
if
(
customerObj
.
findIndex
(
val
=>
val
?.
key
&&
val
.
key
==
'technicianName'
)
<
0
)
{
customerObj
[
customerObj
.
length
]
=
{
customerObj
[
customerObj
.
length
]
=
{
label
:
'选择技师:'
,
label
:
'选择技师:'
,
key
:
'technicianName'
key
:
'technicianName'
...
...
tabWorkOrder/pages/orderSignature/orderSignature.js
View file @
31130cb
...
@@ -14,7 +14,7 @@ Page({
...
@@ -14,7 +14,7 @@ Page({
showTips
:
true
,
showTips
:
true
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isStaff
:
app
.
globalData
.
isStaff
,
isStaff
:
app
.
globalData
.
isStaff
,
isShowPhone
:
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
,
isShowPhone
:
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
,
ctx
:
''
,
ctx
:
''
,
hasDraw
:
false
,
hasDraw
:
false
,
canvasWidth
:
0
,
canvasWidth
:
0
,
...
@@ -557,7 +557,7 @@ Page({
...
@@ -557,7 +557,7 @@ Page({
}
}
let
o
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
let
o
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
.
yqPhoneConfig
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?
.
yqPhoneConfig
)
this
.
setData
({
this
.
setData
({
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
...
...
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