Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
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 fd252ee2
authored
Aug 18, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
c598e4e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
api/env/index.js
packageEquity/pages/kaqDetail/kaqDetail.js
api/env/index.js
View file @
fd252ee
import
{
preReleaseAppId
}
from
'~/config'
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
let
index
=
2
let
index
=
3
/**
*
...
...
packageEquity/pages/kaqDetail/kaqDetail.js
View file @
fd252ee
Page
({
data
:
{},
onLoad
:
function
(
options
)
{
setTimeout
(()
=>
{
this
.
getOrderInfo
(
options
.
orderCode
)
},
2
*
1000
)
this
.
getOrderInfo
(
options
.
orderCode
)
},
getOrderInfo
(
orderCode
)
{
wx
.
p
.
wxApi
.
showLoading
()
wx
.
p
.
api
.
equityApi
.
orderDetailData
({
orderCode
}).
then
(
res
=>
{
wx
.
p
.
api
.
equityApi
.
orderDetailData
({
orderCode
}).
then
(
res
=>
{
wx
.
hideLoading
();
let
richText
=
res
.
useNotes
res
.
warrantyDate
=
res
.
warrantyDate
?
new
Date
(
res
.
warrantyDate
).
format
(
'yyyy-MM-dd hh:mm:ss'
)
:
''
...
...
@@ -31,4 +31,4 @@ Page({
wx
.
p
.
wxApi
.
showToast
(
'复制成功'
)
})
}
})
})
\ 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