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
7754cfaa
Commit
7754cfaa
authored
Apr 30, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表数量
parent
60b95736
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
XhInput.vue
src/components/createCom/XhInput.vue
+1
-2
index.vue
src/pages/order/index.vue
+5
-6
No files found.
src/components/createCom/XhInput.vue
View file @
7754cfaa
<!-- ******************* 输入框 ******************* -->
<
template
>
<view>
<view
:style=
"
{'width': fieldsWidth}"
>
<u-input
:type=
"type"
class=
"input-item"
v-model=
"dataValue"
@
input=
"valueChange"
:placeholder=
"placeholder"
:placeholder-style=
"placeholderStyle"
:custom-style=
"customStyle"
:clearable=
"false"
:border=
"border"
border-color=
"#ECECEC"
/>
</view>
...
...
@@ -48,7 +48,6 @@
'border-radius'
:
'12rpx'
,
'color'
:
'#333333'
,
'padding-left'
:
this
.
textarea
?
'0rpx'
:
'20rpx'
,
'width'
:
this
.
fieldsWidth
,
'font-size'
:
'26rpx'
,
'height'
:
'76rpx'
}
...
...
src/pages/order/index.vue
View file @
7754cfaa
...
...
@@ -256,18 +256,17 @@
if
(
res
.
code
==
200
)
{
console
.
log
(
"==="
,
res
.
data
)
if
(
res
.
data
)
{
var
count
=
0
self
.
list
.
forEach
(
item
=>
{
if
(
item
.
name
===
'待预约'
)
{
item
.
count
=
res
.
data
.
toAppointmentCount
item
.
total
=
res
.
data
.
toAppointmentCount
}
else
if
(
item
.
name
===
'待签到'
)
{
item
.
count
=
res
.
data
.
toCheckinCount
item
.
total
=
res
.
data
.
toCheckinCount
}
else
if
(
item
.
name
===
'待完工'
)
{
item
.
count
=
res
.
data
.
toFinishCount
item
.
total
=
res
.
data
.
toFinishCount
}
else
if
(
item
.
name
===
'审核中'
)
{
item
.
count
=
res
.
data
.
reviewingCount
item
.
total
=
res
.
data
.
reviewingCount
}
else
if
(
item
.
name
===
'异常单'
)
{
item
.
count
=
res
.
data
.
exceptionCount
item
.
total
=
res
.
data
.
exceptionCount
}
})
var
count
=
0
...
...
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