Commit 57ce269d67ffba523ade50fd311f61b7b6e58354

Authored by 刘淇
1 parent e1ff7fd5

失效也有查看功能

pages-sub/daily/maintain-manage/now-list-page.vue
1 <template> 1 <template>
2 <view class="page-wrap"> 2 <view class="page-wrap">
3 <!-- 顶部提示栏 --> 3 <!-- 顶部提示栏 -->
4 - <view class="tip-bar" v-if="isView!==2" > 4 + <view class="tip-bar" v-if="isView==1" >
5 一个任务可提交多次上报记录,每一次作业需如实上报。 5 一个任务可提交多次上报记录,每一次作业需如实上报。
6 </view> 6 </view>
7 <!-- 上报记录列表 --> 7 <!-- 上报记录列表 -->
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 <empty-view text="暂无数据"></empty-view> 19 <empty-view text="暂无数据"></empty-view>
20 </view> 20 </view>
21 <!-- 底部固定按钮 --> 21 <!-- 底部固定按钮 -->
22 - <view class="fixed-bottom-btn-wrap" v-if="isView!==2"> 22 + <view class="fixed-bottom-btn-wrap" v-if="isView==1">
23 <up-button type="primary" size="large" block @click="handleAddReport">上报本次记录</up-button> 23 <up-button type="primary" size="large" block @click="handleAddReport">上报本次记录</up-button>
24 </view> 24 </view>
25 </view> 25 </view>
pages-sub/daily/maintain-manage/type-list-page.vue
@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
28 <!-- 待完成:去作业;已完成:去查看 --> 28 <!-- 待完成:去作业;已完成:去查看 -->
29 <view v-if="activeStatus === '1'" class="mini-btn" @click.stop="handleGoWork(item)">去作业</view> 29 <view v-if="activeStatus === '1'" class="mini-btn" @click.stop="handleGoWork(item)">去作业</view>
30 <view v-else-if="activeStatus === '2'" class="mini-btn" @click.stop="handleGoWork(item)">去查看</view> 30 <view v-else-if="activeStatus === '2'" class="mini-btn" @click.stop="handleGoWork(item)">去查看</view>
31 - 31 +<view v-else-if="activeStatus === '3'" class="mini-btn" @click.stop="handleGoWork(item)">去查看</view>
32 </view> 32 </view>
33 <!-- 第三行:有效期 + 结束任务按钮 --> 33 <!-- 第三行:有效期 + 结束任务按钮 -->
34 <view class="row row-3"> 34 <view class="row row-3">