Commit 7754cfaa authored by 刘用法's avatar 刘用法

列表数量

parent 60b95736
<!-- ******************* 输入框 ******************* -->
<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'
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment