Commit f1b984872cf37b8c2a8f80be8b4ca28edbebb04f
1 parent
397b30ae
暂存
Showing
1 changed file
with
2 additions
and
2 deletions
pages-sub/daily/maintain-manage/now-list-page.vue
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | <view class="report-item" v-for="(item, index) in reportList" :key="index"> |
| 10 | 10 | <view class="item-title">【第{{ index+1 }}次上报】{{ item.planName }}{{ item.planName }}</view> |
| 11 | 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 | 13 | <view class="look-btn" @click="handleView(item)">查看</view> |
| 14 | 14 | </view> |
| 15 | 15 | </view> |
| ... | ... | @@ -28,7 +28,7 @@ |
| 28 | 28 | import { ref } from 'vue' |
| 29 | 29 | import { onShow, onLoad } from '@dcloudio/uni-app' |
| 30 | 30 | import { maintainPlanList } from "@/api/maintain-manage/maintain-manage"; |
| 31 | - | |
| 31 | +import {timeFormat} from '@/uni_modules/uview-plus'; | |
| 32 | 32 | // 上报记录数据 |
| 33 | 33 | const reportList = ref<any[]>([]) |
| 34 | 34 | let planNo = ref('') | ... | ... |