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 aed5b7e6
authored
Mar 13, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改报错
1 parent
729ff698
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
12 deletions
packageEquity/components/orderInfoCom/orderInfoCom.js
packageEquity/components/orderInfoCom/orderInfoCom.wxml
packageEquity/pages/carEquity/components/constant/secondStepData.js
packageEquity/pages/carEquity/previewContract/previewContract.js
packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.js
packageEquity/pages/carQuotation/schemeConfirmation/schemeConfirmation.js
project.private.config.json
packageEquity/components/orderInfoCom/orderInfoCom.js
View file @
aed5b7e
...
@@ -48,7 +48,7 @@ Component({
...
@@ -48,7 +48,7 @@ Component({
},
},
{
{
labelName
:
'订单状态'
,
labelName
:
'订单状态'
,
key
:
'
s
tatus'
key
:
'
payS
tatus'
},
},
{
{
labelName
:
'支付时间'
,
labelName
:
'支付时间'
,
...
...
packageEquity/components/orderInfoCom/orderInfoCom.wxml
View file @
aed5b7e
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
</view>
</view>
<view class="item" wx:if="{{item.orderType!='success'}}">
<view class="item" wx:if="{{item.orderType!='success'}}">
<view class="label">{{item.labelName}}</view>
<view class="label">{{item.labelName}}</view>
<view class="text" style="color:{{orderInfo
[item.key]==3?'#FF6601':'#4AC18E'}}" wx:if="{{item.key == 's
tatus'}}">
<view class="text" style="color:{{orderInfo
.payOrder[item.key]==2?'#FF6601':'#4AC18E'}}" wx:if="{{item.key == 'payS
tatus'}}">
{{orderInfo
[item.key]==3
?'已支付':'待支付'}}
{{orderInfo
.payOrder[item.key]==2
?'已支付':'待支付'}}
<!-- test -->
<!-- test -->
</view>
</view>
<view class="text" wx:elif="{{item.type == 'project' }}">
<view class="text" wx:elif="{{item.type == 'project' }}">
...
...
packageEquity/pages/carEquity/components/constant/secondStepData.js
View file @
aed5b7e
...
@@ -121,7 +121,7 @@ const secondObj = {
...
@@ -121,7 +121,7 @@ const secondObj = {
label
:
'服务年限'
,
label
:
'服务年限'
,
name
:
'servicePeriod'
,
name
:
'servicePeriod'
,
type
:
'input'
,
type
:
'input'
,
disabled
:
tru
e
disabled
:
fals
e
},
{
},
{
label
:
'生效日期'
,
label
:
'生效日期'
,
name
:
'effectiveDate'
,
name
:
'effectiveDate'
,
...
...
packageEquity/pages/carEquity/previewContract/previewContract.js
View file @
aed5b7e
...
@@ -7,7 +7,8 @@ Page({
...
@@ -7,7 +7,8 @@ Page({
*/
*/
data
:
{
data
:
{
routeInfo
:
{},
routeInfo
:
{},
url
:
'https://qcimg01.glsx.com.cn/rpc-scrm-equity/upload/pdf/TEST轮胎无忧(嘀加)b237add688c251b1.pdf'
url
:
''
// url: 'https://qcimg01.glsx.com.cn/rpc-scrm-equity/upload/pdf/TEST轮胎无忧(嘀加)b237add688c251b1.pdf'
},
},
getUrl
()
{
getUrl
()
{
...
@@ -19,8 +20,8 @@ Page({
...
@@ -19,8 +20,8 @@ Page({
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
code
==
'0'
)
{
if
(
res
.
code
==
'0'
)
{
this
.
setData
({
this
.
setData
({
//
url: res.data
url
:
res
.
data
url
:
'https://qcimg01.glsx.com.cn/rpc-scrm-equity/upload/pdf/TEST轮胎无忧(嘀加)b237add688c251b1.pdf'
//
url: 'https://qcimg01.glsx.com.cn/rpc-scrm-equity/upload/pdf/TEST轮胎无忧(嘀加)b237add688c251b1.pdf'
})
})
console
.
log
(
this
.
data
.
url
)
console
.
log
(
this
.
data
.
url
)
}
else
{
}
else
{
...
...
packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.js
View file @
aed5b7e
...
@@ -21,7 +21,7 @@ Page({
...
@@ -21,7 +21,7 @@ Page({
oParams
.
path
=
'packagesPayment/pages/payment/index'
oParams
.
path
=
'packagesPayment/pages/payment/index'
oParams
.
scene
=
`orderCode=
${
_this
.
data
.
orderCode
}
&workWxSessionId=
${
wx
.
getStorageSync
(
'dj_boutique_sessionId'
)}
`
oParams
.
scene
=
`orderCode=
${
_this
.
data
.
orderCode
}
&workWxSessionId=
${
wx
.
getStorageSync
(
'dj_boutique_sessionId'
)}
`
oParams
.
channelType
=
1
oParams
.
channelType
=
1
oParams
.
env
=
accountInfo
.
miniProgram
.
envVersion
//
oParams.env = accountInfo.miniProgram.envVersion
// B端小程序调用接口生成领券码时,传参userId用uuid,类型由int变string
// B端小程序调用接口生成领券码时,传参userId用uuid,类型由int变string
createQrcodeImage
(
oParams
).
then
(
res
=>
{
createQrcodeImage
(
oParams
).
then
(
res
=>
{
console
.
log
(
res
.
data
)
console
.
log
(
res
.
data
)
...
@@ -116,6 +116,7 @@ Page({
...
@@ -116,6 +116,7 @@ Page({
},
},
onRoute
(
options
)
{
onRoute
(
options
)
{
console
.
log
(
options
)
console
.
log
(
options
)
// options.id = 12
let
{
data
,
id
}
=
options
let
{
data
,
id
}
=
options
this
.
setData
({
id
})
this
.
setData
({
id
})
this
.
getQuotationInfoById
()
this
.
getQuotationInfoById
()
...
@@ -138,7 +139,10 @@ Page({
...
@@ -138,7 +139,10 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
()
{},
onHide
()
{
// clearInterval(time)
if
(
time
)
clearInterval
(
time
)
},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
...
...
packageEquity/pages/carQuotation/schemeConfirmation/schemeConfirmation.js
View file @
aed5b7e
...
@@ -87,8 +87,9 @@ Page({
...
@@ -87,8 +87,9 @@ Page({
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
env
=
accountInfo
.
miniProgram
.
envVersion
const
env
=
accountInfo
.
miniProgram
.
envVersion
const
createQuotedUrl
=
{
const
createQuotedUrl
=
{
develop
:
`http://192.168.1.178:9528/dj-scrm-wx-work-main-zhangls/#/equityPoster?id=
${
id
}
`
,
// develop: `http://192.168.1.178:9528/dj-scrm-wx-work-main-zhangls/#/equityPoster?id=${id}`,
trial
:
`http://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=
${
id
}
`
,
develop
:
`https://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=
${
id
}
`
,
trial
:
`https://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=
${
id
}
`
,
release
:
`https://dj.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=
${
id
}
`
release
:
`https://dj.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=
${
id
}
`
}
}
console
.
log
(
env
)
console
.
log
(
env
)
...
...
project.private.config.json
View file @
aed5b7e
...
@@ -126,5 +126,6 @@
...
@@ -126,5 +126,6 @@
}
}
]
]
}
}
}
},
"setting"
:
{}
}
}
\ No newline at end of file
\ No newline at end of file
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