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
ba359819
Commit
ba359819
authored
Aug 10, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 底部按钮:【ID1001292】 前台-师傅在小程序前台完工后,“审核中”及“已完工”状态下均可查看完工信息
parent
13f1ff51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
4 deletions
+26
-4
complete.vue
src/pages/order/complete.vue
+26
-4
No files found.
src/pages/order/complete.vue
View file @
ba359819
...
...
@@ -260,9 +260,16 @@
</u-form>
</scroll-view>
</view>
<view
:class=
"['btn-wrap', 'flex-xc', { 'btn-bottom': tabIndex > 0 }]"
>
<view
:class=
"[
'btn-wrap',
'flex-xc',
{ 'btn-bottom': tabIndex > 0, 'read-only': readOnly },
]"
>
<u-button
class=
"btn-submit"
v-if=
"!readOnly"
@
click=
"saveComplete"
type=
"primary"
shape=
"circle"
...
...
@@ -279,7 +286,15 @@
shape=
"circle"
:hover-class=
"submitStatus ? '' : 'none'"
>
{{ tabIndex === list.length - 1 ? '提交' : '下一步' }}
{{
tabIndex === list.length - 1
? readOnly
? '返回列表'
: '提交'
: readOnly
? '查看下一步'
: '下一步'
}}
</u-button>
</view>
</view>
...
...
@@ -862,9 +877,12 @@ export default {
// 下一步弹窗处理
nextStep
()
{
console
.
log
(
'---------------------------'
,
this
.
readOnly
)
if
(
this
.
readOnly
)
{
this
.
nextTab
()
if
(
this
.
tabIndex
===
this
.
list
.
length
-
1
)
{
uni
.
navigateBack
()
}
else
{
this
.
nextTab
()
}
return
}
this
.
pass
=
this
.
checkCompleteItem
()
...
...
@@ -1432,6 +1450,10 @@ export default {
justify-content
:
center
;
align-items
:
center
;
}
.read-only
{
justify-content
:
flex-end
;
padding-right
:
30rpx
;
}
.btn-save
{
color
:
#ffffff
;
...
...
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