|
@@ -1,64 +1,67 @@
|
|
|
<template>
|
|
|
- <scroll-view scroll-y="true" class="check-map-list">
|
|
|
- <tm-top-menu>
|
|
|
- <view class="top-menu" @click="showModalHandle(!showModal)">
|
|
|
- <text>第{{checkIndex}}/{{planList.length}}次查核</text>
|
|
|
- <image :src="`../../static/${showModal?'open':'close'}-icon.png`"></image>
|
|
|
- </view>
|
|
|
- </tm-top-menu>
|
|
|
- <view class="item"
|
|
|
- v-for="(item, index) in depList"
|
|
|
- @click="gotoCheckMainPointsPage(item)"
|
|
|
- :key="index">
|
|
|
- <view class="title-wrap">
|
|
|
- <text>{{item.deptName}}</text>
|
|
|
- <view>
|
|
|
- <image src="../../static/icon-map.png"></image>
|
|
|
- <text>{{item.deptClassName}}</text>
|
|
|
+ <view class="check-map-list-page">
|
|
|
+ <scroll-view scroll-y="true" class="check-map-list">
|
|
|
+ <tm-top-menu>
|
|
|
+ <view class="top-menu" @click="showModalHandle(!showModal)">
|
|
|
+ <text>第{{checkIndex}}/{{planList.length}}次查核</text>
|
|
|
+ <image :src="`../../static/${showModal?'open':'close'}-icon.png`"></image>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="content">
|
|
|
- <text>{{item.decs}}</text>
|
|
|
- <text>
|
|
|
- 要点概览:{{item.checkPointNames}}
|
|
|
- </text>
|
|
|
- </view>
|
|
|
- <view class="footer">
|
|
|
- <text>查核人:{{item.empName}}</text>
|
|
|
- <text v-if="item.startDate && item.endDate">
|
|
|
- {{item.startDate}}~{{item.endDate}}
|
|
|
- </text>
|
|
|
- </view>
|
|
|
- <view class="icon-wrap"
|
|
|
- v-if="Number(item.completeStatus) === 2 || Number(item.completeStatus) === 3">
|
|
|
- <image :src="`../../static/${Number(item.completeStatus) === 2 ?'hight-bg':'top-img'}.png`"></image>
|
|
|
- <text>{{item.completeDes}}</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <tm-no-data v-if="depList.length === 0"
|
|
|
- :textArr="['暂时没有内容可以展示哦', '请返回上一页面或尝试刷新页面']" />
|
|
|
- <tm-modal v-show="showModal" v-on:click="showModalHandle(false)">
|
|
|
- <scroll-view scroll-y="true" class="content-list">
|
|
|
- <view class="list-item"
|
|
|
- v-for="(item, index) in planList"
|
|
|
- :class="{active: checkId === item.id}"
|
|
|
- @click="checkItem($event, item.id)"
|
|
|
- :key="index">
|
|
|
+ </tm-top-menu>
|
|
|
+ <view class="item"
|
|
|
+ v-for="(item, index) in depList"
|
|
|
+ @click="gotoCheckMainPointsPage(item)"
|
|
|
+ :key="index">
|
|
|
+ <view class="title-wrap">
|
|
|
+ <text>{{item.deptName}}</text>
|
|
|
<view>
|
|
|
- <text>{{item.name}}({{item.startDate}} ~ {{item.endDate}})</text>
|
|
|
- <view class="item-icon"
|
|
|
- :class="{icon2: Number(item.status) === 2}"
|
|
|
- v-if="Number(item.status) !== 1">
|
|
|
- {{Number(item.status) === 2 ? '进行中' : '已完成'}}
|
|
|
- </view>
|
|
|
+ <image src="../../static/icon-map.png"></image>
|
|
|
+ <text>{{item.deptClassName}}</text>
|
|
|
</view>
|
|
|
- <image class="check-img"
|
|
|
- v-if="checkId === item.id"
|
|
|
- src="../../static/checkStatus.png"></image>
|
|
|
</view>
|
|
|
- </scroll-view>
|
|
|
- </tm-modal>
|
|
|
- </scroll-view>
|
|
|
+ <view class="content">
|
|
|
+ <text>{{item.decs}}</text>
|
|
|
+ <text>
|
|
|
+ 要点概览:{{item.checkPointNames}}
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="footer">
|
|
|
+ <text>查核人:{{item.empName}}</text>
|
|
|
+ <text v-if="item.startDate && item.endDate">
|
|
|
+ {{item.startDate}}~{{item.endDate}}
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
+ <view class="icon-wrap"
|
|
|
+ v-if="Number(item.completeStatus) === 2 || Number(item.completeStatus) === 3">
|
|
|
+ <image :src="`../../static/${Number(item.completeStatus) === 2 ?'hight-bg':'top-img'}.png`"></image>
|
|
|
+ <text>{{item.completeDes}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <tm-no-data v-if="depList.length === 0"
|
|
|
+ :textArr="['暂时没有内容可以展示哦', '请返回上一页面或尝试刷新页面']" />
|
|
|
+ <tm-modal v-show="showModal" v-on:click="showModalHandle(false)">
|
|
|
+ <scroll-view scroll-y="true" class="content-list">
|
|
|
+ <view class="list-item"
|
|
|
+ v-for="(item, index) in planList"
|
|
|
+ :class="{active: checkId === item.id}"
|
|
|
+ @click="checkItem($event, item.id)"
|
|
|
+ :key="index">
|
|
|
+ <view>
|
|
|
+ <text>{{item.name}}({{item.startDate}} ~ {{item.endDate}})</text>
|
|
|
+ <view class="item-icon"
|
|
|
+ :class="{icon2: Number(item.status) === 2}"
|
|
|
+ v-if="Number(item.status) !== 1">
|
|
|
+ {{Number(item.status) === 2 ? '进行中' : '已完成'}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <image class="check-img"
|
|
|
+ v-if="checkId === item.id"
|
|
|
+ src="../../static/checkStatus.png"></image>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </tm-modal>
|
|
|
+ </scroll-view>
|
|
|
+ <tm-callback-listpage/>
|
|
|
+ </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -128,6 +131,10 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="less">
|
|
|
+ .check-map-list-page {
|
|
|
+ position: relative;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
.check-map-list {
|
|
|
padding: 25rpx;
|
|
|
padding-top: 75rpx;
|