Commit f1b984872cf37b8c2a8f80be8b4ca28edbebb04f

Authored by 刘淇
1 parent 397b30ae

暂存

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('')