邓宏 2 years ago
parent
commit
4b711438f9
  1. 4
      pages/home/index.vue

4
pages/home/index.vue

@ -331,12 +331,12 @@
<template v-if="!baseIndex || baseIndex=='record'"> <template v-if="!baseIndex || baseIndex=='record'">
<view v-for="(v,k) in baseInfo.farmWork||[]" :key="`${k}_work`" class="item" style="--c:16, 193, 118;"> <view v-for="(v,k) in baseInfo.farmWork||[]" :key="`${k}_work`" class="item" style="--c:16, 193, 118;">
<text>农事</text> <text class="over">{{new Date(v.time).format('yyyy-MM-dd')}}{{v.userName}}{{v.plotName}}{{v.farmWorkName}}</text> <text>农事</text> <text class="over">{{v.userName}}{{new Date(v.time).format('yyyy-MM-dd')}}日完成了{{v.plotName}}{{v.farmWorkName}}任务</text>
</view> </view>
</template> </template>
<template v-if="!baseIndex || baseIndex=='input'"> <template v-if="!baseIndex || baseIndex=='input'">
<view v-for="(v,k) in baseInfo.farmingInput||[]" :key="`${k}_input`" class="item" style="--c:255, 195, 83;"> <view v-for="(v,k) in baseInfo.farmingInput||[]" :key="`${k}_input`" class="item" style="--c:255, 195, 83;">
<text>投入品</text> <text class="over">{{new Date(v.time).format('yyyy-MM-dd')}}{{v.userName}}{{v.plotName}}{{v.farmWorkName}}</text> <text>投入品</text> <text class="over">{{v.userName}}{{new Date(v.time).format('yyyy-MM-dd')}}日完成了{{v.plotName}}{{v.farmWorkName}}任务</text>
</view> </view>
</template> </template>
<u-empty v-if="isEmpty" width="70%" icon="/static/noData.png"/> <u-empty v-if="isEmpty" width="70%" icon="/static/noData.png"/>

Loading…
Cancel
Save