Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
3ad0d617
Commit
3ad0d617
authored
Sep 16, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve: 点击订单cell按钮之后的跳转传参优化
parent
76062105
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
31 deletions
+31
-31
fiveOrders.vue
src/components/order/fiveOrders.vue
+3
-3
index.vue
src/components/order/index.vue
+0
-2
order.vue
src/pages/index/order.vue
+1
-1
index.vue
src/pages/mine/history/index.vue
+2
-2
list.vue
src/pages/mine/order/list.vue
+2
-2
complete.vue
src/pages/order/complete.vue
+1
-1
search.vue
src/pages/order/search.vue
+22
-20
No files found.
src/components/order/fiveOrders.vue
View file @
3ad0d617
...
...
@@ -112,9 +112,9 @@ export default {
showCountTime
,
})
},
handleClickButton
(
item
,
type
,
showCountTime
,
auditResults
)
{
handleClickButton
(
item
,
type
,
showCountTime
)
{
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'click'
,
item
,
type
,
showCountTime
,
auditResults
)
this
.
$emit
(
'click'
,
item
,
type
,
showCountTime
)
// 去完工
uni
.
navigateTo
({
url
:
...
...
@@ -135,7 +135,7 @@ export default {
'&brandId='
+
item
.
lianbaoBrandId
+
'&auditResults='
+
(
auditResults
?
auditResults
.
join
()
:
''
)
+
(
item
.
auditResults
?
item
.
auditResults
.
join
()
:
''
)
+
'&orderNumber='
+
item
.
orderNumber
,
})
...
...
src/components/order/index.vue
View file @
3ad0d617
...
...
@@ -440,7 +440,6 @@ export default {
this
.
orderData
,
this
.
realType
,
this
.
showCountTime
?
'show'
:
''
,
this
.
auditResults
)
this
.
otherAction
()
},
...
...
@@ -461,7 +460,6 @@ export default {
this
.
orderData
,
this
.
realType
,
this
.
showCountTime
?
'show'
:
''
,
this
.
auditResults
)
this
.
otherAction
()
},
...
...
src/pages/index/order.vue
View file @
3ad0d617
...
...
@@ -416,7 +416,7 @@ export default {
}
})
},
handleClickCellButton
(
item
,
type
)
{
handleClickCellButton
(
item
)
{
if
(
!
this
.
loaded
)
return
uni
.
navigateTo
({
url
:
...
...
src/pages/mine/history/index.vue
View file @
3ad0d617
...
...
@@ -125,7 +125,7 @@ export default {
showCountTime
,
})
},
handleClickButton
(
item
,
type
,
showCountTime
,
auditResults
)
{
handleClickButton
(
item
)
{
uni
.
navigateTo
({
url
:
'pages/order/complete?orderId='
+
...
...
@@ -145,7 +145,7 @@ export default {
'&brandId='
+
item
.
lianbaoBrandId
+
'&auditResults='
+
(
auditResults
?
auditResults
.
join
()
:
''
)
+
(
item
.
auditResults
?
item
.
auditResults
.
join
()
:
''
)
+
'&orderNumber='
+
item
.
orderNumber
,
})
...
...
src/pages/mine/order/list.vue
View file @
3ad0d617
...
...
@@ -147,7 +147,7 @@ export default {
})
},
handleClickCellButton
(
item
,
type
,
showCountTime
,
auditResults
)
{
handleClickCellButton
(
item
)
{
// 去完工
uni
.
navigateTo
({
url
:
...
...
@@ -168,7 +168,7 @@ export default {
'&brandId='
+
item
.
lianbaoBrandId
+
'&auditResults='
+
(
auditResults
?
auditResults
.
join
()
:
''
)
+
(
item
.
auditResults
?
item
.
auditResults
.
join
()
:
''
)
+
'&orderNumber='
+
item
.
orderNumber
,
})
...
...
src/pages/order/complete.vue
View file @
3ad0d617
...
...
@@ -1161,7 +1161,7 @@ export default {
// 申请费用计算
this
.
calcMoney
()
}
console
.
log
(
"this.form"
,
this
.
form
)
//
console.log("this.form", this.form)
},
// 申请费用计算
calcMoney
()
{
...
...
src/pages/order/search.vue
View file @
3ad0d617
...
...
@@ -203,26 +203,28 @@ export default {
handleClickCellButton
(
item
)
{
// 去完工
uni
.
navigateTo
({
url
:
"pages/order/complete?orderId="
+
item
.
orderId
+
"&categoryId="
+
item
.
categoryId
+
"&orderServiceType="
+
item
.
orderServiceType
+
"&inGuaranteePeriod="
+
item
.
inGuaranteePeriod
+
"&partnerCompanyId="
+
item
.
partnerCompanyId
+
"&auditResultsId="
+
(
item
.
auditResults
?
Object
.
keys
(
item
.
auditResults
)[
Object
.
keys
(
item
.
auditResults
).
length
-
1
]
:
""
)
+
"&maintainStep="
+
item
.
maintainStep
,
});
url
:
'pages/order/complete?orderId='
+
item
.
orderId
+
'&categoryId='
+
item
.
categoryId
+
'&orderServiceType='
+
item
.
orderServiceType
+
'&inGuaranteePeriod='
+
item
.
inGuaranteePeriod
+
'&partnerCompanyId='
+
item
.
partnerCompanyId
+
'&maintainStep='
+
item
.
maintainStep
+
'&orderStatus='
+
item
.
orderStatus
+
'&brandId='
+
item
.
lianbaoBrandId
+
'&auditResults='
+
(
item
.
auditResults
?
item
.
auditResults
.
join
()
:
''
)
+
'&orderNumber='
+
item
.
orderNumber
,
})
},
handleClick
(
item
,
type
,
showCountTime
)
{
// type:类型,showCountTime:是否显示倒计时。详情页面情况太多,提前传值可以避免页面晃动
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment