99%
This commit is contained in:
@ -1,47 +1,50 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="filter-bar">
|
||||
<!-- <view class="filter-bar">
|
||||
|
||||
</view>
|
||||
<view class="task-item" v-for="(item,index) in taskList" :key="index">
|
||||
<view class="task-status" :style="`background-color:${item.status==1?'#50c2b0':'#c85449'}`">
|
||||
<text>
|
||||
{{item.status==1?'已整改':'未整改'}}
|
||||
</text>
|
||||
</view>
|
||||
<view class="task-title">
|
||||
{{item.name}}
|
||||
</view>
|
||||
<view class="task-content">
|
||||
<image src="@/static/inspector/inspector_example.png" mode=""></image>
|
||||
<view class="desc-list">
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">检查内容: </text>
|
||||
<text class="desc-value">{{item.content}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">巡检单位: </text>
|
||||
<text class="desc-value">{{item.unit}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">检查情况: </text>
|
||||
<text class="desc-value">{{item.situation}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">巡检人员: </text>
|
||||
<text class="desc-value">{{item.staff}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">纠正预防措施: </text>
|
||||
<text class="desc-value">{{item.measure}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">巡检日期: </text>
|
||||
<text class="desc-value">{{item.date}}</text>
|
||||
</view> -->
|
||||
<view>
|
||||
<view class="task-item" v-for="(item,index) in taskList" :key="index">
|
||||
<view class="task-status" :style="`background-color:${item.status==1?'#50c2b0':'#c85449'}`">
|
||||
<text>
|
||||
{{item.status==1?'已整改':'未整改'}}
|
||||
</text>
|
||||
</view>
|
||||
<view class="task-title">
|
||||
{{item.name}}
|
||||
</view>
|
||||
<view class="task-content">
|
||||
<image src="@/static/inspector/inspector_example.png" mode=""></image>
|
||||
<view class="desc-list">
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">检查内容: </text>
|
||||
<text class="desc-value">{{item.content}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">巡检单位: </text>
|
||||
<text class="desc-value">{{item.unit}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">检查情况: </text>
|
||||
<text class="desc-value">{{item.situation}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">巡检人员: </text>
|
||||
<text class="desc-value">{{item.staff}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">纠正预防措施: </text>
|
||||
<text class="desc-value">{{item.measure}}</text>
|
||||
</view>
|
||||
<view class="desc-item">
|
||||
<text class="desc-key">巡检日期: </text>
|
||||
<text class="desc-value">{{item.date}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="sizedbox" style="height: 34rpx;"></view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -106,6 +109,7 @@
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.task-item {
|
||||
background-color: #fff;
|
||||
margin: 0 16rpx 0;
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user