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 27ac03eb
authored
Jul 25, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
ee42907e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
tabWorkOrder/pages/refundApply/refundApply.js
tabWorkOrder/pages/refundApply/refundApply.js
View file @
27ac03e
...
@@ -76,6 +76,8 @@ Page({
...
@@ -76,6 +76,8 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
// 跳转进入页面 清空防止选择账号后再次进入页面
wx
.
$SCENE
=
null
let
userInfo
=
wx
.
$util
.
getUserInfo
()
let
userInfo
=
wx
.
$util
.
getUserInfo
()
this
.
setData
({
this
.
setData
({
scene
:
userInfo
?.
sceneType
,
// 埋点业务场景
scene
:
userInfo
?.
sceneType
,
// 埋点业务场景
...
@@ -381,8 +383,7 @@ Page({
...
@@ -381,8 +383,7 @@ Page({
})
})
const
{
code
,
data
,
message
}
=
img
const
{
code
,
data
,
message
}
=
img
if
(
code
==
0
)
{
if
(
code
==
0
)
{
let
fileUrl
=
data
.
replace
(
'https'
,
'http'
)
infoData
.
attachmentList
.
push
({
fileUrl
:
data
,
fileName
:
fileName
})
infoData
.
attachmentList
.
push
({
fileUrl
:
fileUrl
,
fileName
:
fileName
})
_this
.
setData
({
_this
.
setData
({
[
`infoData.attachmentList`
]:
infoData
.
attachmentList
[
`infoData.attachmentList`
]:
infoData
.
attachmentList
})
})
...
@@ -435,7 +436,14 @@ Page({
...
@@ -435,7 +436,14 @@ Page({
})
})
// 跳转到退款审批列表
// 跳转到退款审批列表
setTimeout
(()
=>
{
setTimeout
(()
=>
{
wx
.
$router
.
back
()
const
pages
=
getCurrentPages
()
if
(
pages
.
length
>
1
)
{
wx
.
$router
.
back
()
}
else
{
wx
.
redirectTo
({
url
:
`/tabWorkOrder/pages/refundOperationList/refundOperationList`
})
}
},
300
)
},
300
)
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
@@ -471,8 +479,16 @@ Page({
...
@@ -471,8 +479,16 @@ Page({
icon
:
"success"
icon
:
"success"
})
})
this
.
cancelRepeal
()
this
.
cancelRepeal
()
// 跳转到退款审批列表
setTimeout
(()
=>
{
setTimeout
(()
=>
{
wx
.
$router
.
back
()
const
pages
=
getCurrentPages
()
if
(
pages
.
length
>
1
)
{
wx
.
$router
.
back
()
}
else
{
wx
.
redirectTo
({
url
:
`/tabWorkOrder/pages/refundOperationList/refundOperationList`
})
}
},
300
)
},
300
)
}
else
{
}
else
{
this
.
setData
({
repealStatus
:
false
})
this
.
setData
({
repealStatus
:
false
})
...
...
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