99%
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
</u-navbar>
|
||||
|
||||
</view>
|
||||
<view class="sized-box" style="height:var(--status-bar-height);"></view>
|
||||
<view class="sizedbox" style="height: 88rpx;">
|
||||
</view>
|
||||
<view class="tabs">
|
||||
@ -15,7 +16,7 @@
|
||||
</view>
|
||||
<view class="sizedbox" style="height: 80rpx;">
|
||||
</view>
|
||||
<view class="sized-box" style="height:var(--status-bar-height);"></view>
|
||||
|
||||
<Statistics v-if="activeIndex==0"></Statistics>
|
||||
<Record v-else-if="activeIndex==1"></Record>
|
||||
<IoRecord v-else-if="activeIndex==2"></IoRecord>
|
||||
@ -64,14 +65,14 @@
|
||||
align-items: center;
|
||||
padding: 0 100rpx 0;
|
||||
height: 80rpx;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
z-index: 99;
|
||||
position: fixed;
|
||||
// top: 88rpx;
|
||||
z-index: 999;
|
||||
background-color: #f6f6f6;
|
||||
|
||||
.tab-item {
|
||||
|
||||
font-family: PingFangSC-Regular;
|
||||
font-size: 30rpx;
|
||||
color: #8F959E;
|
||||
|
@ -134,6 +134,7 @@
|
||||
|
||||
.record-list {
|
||||
padding: 0 20rpx 20rpx;
|
||||
margin-top: 28rpx;
|
||||
|
||||
.record-item {
|
||||
position: relative;
|
||||
|
@ -125,6 +125,7 @@
|
||||
}
|
||||
|
||||
.record-list {
|
||||
margin-top: 28rpx;
|
||||
padding: 0 20rpx 20rpx;
|
||||
|
||||
.record-item {
|
||||
|
@ -1,12 +1,15 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="page-top">
|
||||
<u-navbar title="移动巡检" placeholder bgColor="transparent" :leftIcon="null" titleStyle="color:white">
|
||||
</u-navbar>
|
||||
</view>
|
||||
<view class="sized-box" style="height:var(--status-bar-height);"></view>
|
||||
<view class="sizedbox" style="height: 88rpx;"></view>
|
||||
<u-tabs class="tabs" :list="tabList" @change="handleTabClick"></u-tabs>
|
||||
<!-- <scroll-view scroll-y="true"> -->
|
||||
<!-- <view> -->
|
||||
<view class="sizedbox" style="height: 118rpx;"></view>
|
||||
<QualityInspection v-if="activeIndex==0"></QualityInspection>
|
||||
<SecurityInspection v-else-if="activeIndex==1"></SecurityInspection>
|
||||
<!-- </view> -->
|
||||
<!-- </scroll-view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -37,8 +40,27 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss" scoped>
|
||||
.page-top {
|
||||
z-index: 99;
|
||||
background: linear-gradient(to top right, #496df6, #2e9ee8);
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 99;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
::v-deep .u-tabs__wrapper__nav {
|
||||
justify-content: space-between;
|
||||
|
||||
|
@ -1,47 +1,47 @@
|
||||
<template>
|
||||
<view>
|
||||
<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?'#60a7e9':'#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.part}}</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 class="task-item" v-for="(item,index) in taskList" :key="index">
|
||||
<view class="task-status" :style="`background-color:${item.status==1?'#60a7e9':'#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.part}}</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,11 +106,13 @@
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.task-item {
|
||||
background-color: #fff;
|
||||
margin: 0 16rpx 0;
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
padding: 22rpx 34rpx 34rpx;
|
||||
box-shadow: 0 4rpx 12rpx 0 rgba(0, 0, 0, 0.4);
|
||||
// margin-bottom: 20rpx;
|
||||
|
||||
.task-status {
|
||||
position: absolute;
|
||||
|
@ -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;
|
||||
|
@ -8,8 +8,8 @@
|
||||
</u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="sized-box" style="height: 194rpx;"></view>
|
||||
<view class="sized-box" style="height:var(--status-bar-height);"></view>
|
||||
<view class="sized-box" style="height: 194rpx;"></view>
|
||||
<view class="site-list">
|
||||
<!-- <navigator url="/pages/monitor/site-detail/site-detail"> -->
|
||||
<view class="site-item" v-for="item in siteList" :key="item.id" @tap="routerGo">
|
||||
@ -190,14 +190,18 @@
|
||||
}
|
||||
|
||||
.site-list {
|
||||
padding-bottom: 28rpx;
|
||||
|
||||
.site-item {
|
||||
// box-shadow: 0 2rpx 0 rgba(0, 0, 0, 0.4);
|
||||
margin-left: 16rpx;
|
||||
margin-right: 16rpx;
|
||||
margin-bottom: 40rpx;
|
||||
border-radius: 8rpx;
|
||||
background-color: #fff;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
background-color: #949494;
|
||||
width: 92px;
|
||||
|
@ -4,6 +4,7 @@
|
||||
<u-navbar title="个人中心" placeholder bgColor="transparent" :leftIcon="null" titleStyle="color:white">
|
||||
</u-navbar>
|
||||
</view>
|
||||
<view class="sized-box" style="height:var(--status-bar-height);"></view>
|
||||
<view class="sizedbox" style="height: 88rpx;"></view>
|
||||
<view class="avatar_name">
|
||||
<view class="avatar">
|
||||
@ -95,7 +96,11 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
page {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss">
|
||||
.page-top {
|
||||
z-index: 99;
|
||||
|
@ -42,16 +42,14 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
// .quality-issues {
|
||||
// padding: 20rpx;
|
||||
|
||||
.quality-issue-item:not(:last-child) {
|
||||
.quality-issue-item {
|
||||
margin-bottom: 36rpx;
|
||||
}
|
||||
|
||||
.quality-issue-item {
|
||||
border-radius: 16rpx;
|
||||
background-color: #fff;
|
||||
margin-bottom: 28rpx;
|
||||
|
||||
.banner {
|
||||
width: 100%;
|
||||
|
@ -1,5 +1,12 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="page-top">
|
||||
<u-navbar title="六院信息化项目" placeholder bgColor="transparent" autoBack leftIconColor="#fff"
|
||||
titleStyle="color:white">
|
||||
</u-navbar>
|
||||
</view>
|
||||
<view class="sized-box" style="height:var(--status-bar-height);"></view>
|
||||
<view class="sizedbox" style="height: 88rpx;"></view>
|
||||
<u-tabs :list="tabList" class='tabs' @change="activedIndexChanged"></u-tabs>
|
||||
<view class="sized-box"></view>
|
||||
<ProjectDetailHome v-if="activedIndex==0"></ProjectDetailHome>
|
||||
@ -58,6 +65,14 @@
|
||||
}
|
||||
</style>
|
||||
<style lang="scss" scoped>
|
||||
.page-top {
|
||||
z-index: 99;
|
||||
background: linear-gradient(to top right, #496df6, #2e9ee8);
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
@ -10,13 +10,41 @@
|
||||
<u-button class='filter-btn' icon="map" text="筛选"></u-button>
|
||||
</view>
|
||||
<view class="quality-issues">
|
||||
<IssueItems
|
||||
:fields="{issuesName:'质量问题',person:'填报人员',submitDate:'填报日期',content:'整改内容',assignDate:'指派日期',feedback:'整改反馈',rectificationDate:'整改日期'}"
|
||||
:data="{
|
||||
issuesName:'采购电缆发现存在残次品',person:'离散多',submitDate:'2022/07/03',content:'发现800捆电缆中66捆存在残次品,需联系供应商进行全面更换',assignDate:'2022/07/03',
|
||||
feedback:'已联系供应商进行全面更换,等待更换',rectificationDate:'2022/07/03',assignDate:'2020/11/32'
|
||||
}">
|
||||
</IssueItems>
|
||||
<view class="index-0" v-if="activedIndex==0">
|
||||
|
||||
<IssueItems
|
||||
:fields="{date:'日期',part:'施工部位',situation:'验收情况',desc:'安全交底',edu:'安全教育情况',check:'安全检查',remark:'备注'}"
|
||||
:data="{date:'2022/07/03',part:'一楼大楼浇筑墙体',situation:'待验收',desc:'按规定使用安全“三宝”',edu:'已每日进行安全管理规范上岗培训',check:'各个部位已就位,无异常',remark:'无'}">
|
||||
</IssueItems>
|
||||
<IssueItems
|
||||
:fields="{date:'日期',part:'施工部位',situation:'验收情况',desc:'安全交底',edu:'安全教育情况',check:'安全检查',remark:'备注'}"
|
||||
:data="{date:'2022/07/03',part:'一楼大楼浇筑墙体',situation:'待验收',desc:'按规定使用安全“三宝”',edu:'已每日进行安全管理规范上岗培训',check:'各个部位已就位,无异常',remark:'无'}">
|
||||
</IssueItems>
|
||||
<IssueItems
|
||||
:fields="{date:'日期',part:'施工部位',situation:'验收情况',desc:'安全交底',edu:'安全教育情况',check:'安全检查',remark:'备注'}"
|
||||
:data="{date:'2022/07/03',part:'一楼大楼浇筑墙体',situation:'待验收',desc:'按规定使用安全“三宝”',edu:'已每日进行安全管理规范上岗培训',check:'各个部位已就位,无异常',remark:'无'}">
|
||||
</IssueItems>
|
||||
|
||||
</view>
|
||||
<view class="index-1" v-else-if="activedIndex==1">
|
||||
<IssueItems
|
||||
:fields="{date:'日期',checkPerson:'检查人',inSituation:'现场检查情况',recheckPerson:'复查人',situation:'复查情况'}"
|
||||
:data="{date:'2022/07/03',checkPerson:'张三',inSituation:'良好',recheckPerson:'张三十八',situation:'良好'}">
|
||||
</IssueItems>
|
||||
<IssueItems
|
||||
:fields="{date:'日期',checkPerson:'检查人',inSituation:'现场检查情况',recheckPerson:'复查人',situation:'复查情况'}"
|
||||
:data="{date:'2022/07/03',checkPerson:'张三',inSituation:'良好',recheckPerson:'张三十八',situation:'良好'}">
|
||||
</IssueItems>
|
||||
<IssueItems
|
||||
:fields="{date:'日期',checkPerson:'检查人',inSituation:'现场检查情况',recheckPerson:'复查人',situation:'复查情况'}"
|
||||
:data="{date:'2022/07/03',checkPerson:'张三',inSituation:'良好',recheckPerson:'张三十八',situation:'良好'}">
|
||||
</IssueItems>
|
||||
<IssueItems
|
||||
:fields="{date:'日期',checkPerson:'检查人',inSituation:'现场检查情况',recheckPerson:'复查人',situation:'复查情况'}"
|
||||
:data="{date:'2022/07/03',checkPerson:'张三',inSituation:'良好',recheckPerson:'张三十八',situation:'良好'}">
|
||||
</IssueItems>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="page-top">
|
||||
<u-navbar title="个人中心" placeholder bgColor="transparent" :leftIcon="null" titleStyle="color:white">
|
||||
<u-navbar title="项目监管" placeholder bgColor="transparent" :leftIcon="null" titleStyle="color:white">
|
||||
</u-navbar>
|
||||
<view class="search-bar">
|
||||
<u--input placeholder="请输入项目名称" prefixIcon="search" prefixIconStyle="font-size: 32px;color: #909399">
|
||||
@ -301,14 +301,14 @@
|
||||
margin: 0rpx 16rpx 0rpx;
|
||||
}
|
||||
|
||||
.swiper-item:not(:last-child) {
|
||||
.swiper-item {
|
||||
margin-bottom: 20rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
.project-item {
|
||||
position: relative;
|
||||
background-color: white;
|
||||
|
||||
padding: 28rpx 20rpx 28rpx;
|
||||
border-radius: 8rpx;
|
||||
|
||||
|
Reference in New Issue
Block a user