Commit 04b819894f11a63eb8a11e46562e36e9b3640df5
Merge remote-tracking branch 'origin/dev' into dev
Showing
1 changed file
with
2 additions
and
2 deletions
pages-sub/daily/maintain-manage/now-list-page.vue
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | <view class="report-item" v-for="(item, index) in reportList" :key="index"> | 9 | <view class="report-item" v-for="(item, index) in reportList" :key="index"> |
| 10 | <view class="item-title">【第{{ index+1 }}次上报】{{ item.planName }}{{ item.planName }}</view> | 10 | <view class="item-title">【第{{ index+1 }}次上报】{{ item.planName }}{{ item.planName }}</view> |
| 11 | <view class="item-row item-row-bottom"> | 11 | <view class="item-row item-row-bottom"> |
| 12 | - <view class="item-time">提交时间:{{ item.submitTime }}</view> | 12 | + <view class="item-time">提交时间:{{ timeFormat(item.createTime,'yyyy-mm-dd')}}</view> |
| 13 | <view class="look-btn" @click="handleView(item)">查看</view> | 13 | <view class="look-btn" @click="handleView(item)">查看</view> |
| 14 | </view> | 14 | </view> |
| 15 | </view> | 15 | </view> |
| @@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
| 28 | import { ref } from 'vue' | 28 | import { ref } from 'vue' |
| 29 | import { onShow, onLoad } from '@dcloudio/uni-app' | 29 | import { onShow, onLoad } from '@dcloudio/uni-app' |
| 30 | import { maintainPlanList } from "@/api/maintain-manage/maintain-manage"; | 30 | import { maintainPlanList } from "@/api/maintain-manage/maintain-manage"; |
| 31 | - | 31 | +import {timeFormat} from '@/uni_modules/uview-plus'; |
| 32 | // 上报记录数据 | 32 | // 上报记录数据 |
| 33 | const reportList = ref<any[]>([]) | 33 | const reportList = ref<any[]>([]) |
| 34 | let planNo = ref('') | 34 | let planNo = ref('') |