heyang 2 år sedan
förälder
incheckning
b2a6d78ddf

BIN
images/Version3.3.3/icon_djcsys.png


BIN
images/Version3.3.3/icon_xyxc_aqyh.png


BIN
images/Version3.3.3/icon_xyxc_qx.png


BIN
images/Version3.3.3/icon_xyxc_sys.png


BIN
images/Version3.3.3/icon_xyxc_syszc.png


BIN
images/Version3.3.3/icon_xyxc_xy.png


BIN
images/Version3.3.3/icon_xyxc_xyxc.png


+ 9 - 0
pages.json

@@ -1,5 +1,14 @@
 {
 	"pages": [
+		{
+			"path": "pages/safetyExamineWorkbench",//安全检查
+			"style": {
+				"navigationBarTitleText": "安全检查",
+				"navigationBarTextStyle": "white", //导航文字颜色
+				"navigationBarBackgroundColor": "#0183FA" //导航背景色
+			}
+		},
+		
 
 		{
 			"path": "pages/home",//首页

+ 419 - 0
pages/safetyExamineWorkbench.vue

@@ -0,0 +1,419 @@
+<!-- 安全检查-工作台 -->
+<template>
+  <view class="examine">
+    <view v-if="pageType==0">
+		<view class="statistics">
+			<view class="statistics_li" v-for="(item,index) in  statisticsList" :key="index">
+				<text>{{item.name}}</text>
+				<text>{{item.value}}</text>
+			</view>
+		</view>
+		<viwe class="inspect_btn">
+			<view class="inspect_btn_li">
+				<img src="@/images/Version3.3.3/icon_xyxc_xyxc.png"/>
+				<text>校院巡查</text>
+			</view>
+			<text class="line"></text>
+			<view class="inspect_btn_li">
+				<img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
+				<text>实验室自查</text>
+			</view>
+			<text class="line"></text>
+			<view class="inspect_btn_li">
+				<img src="@/images/Version3.3.3/icon_xyxc_aqyh.png"/>
+				<text>安全隐患</text>
+			</view>
+		</viwe>
+		<view class="tabTitle">
+			<view class="tabTitle_li" @tap="tabClick(index)"  :key="index" v-for="(item,index) in tabText">
+				<view :class="{on:curTab==index}" class="tabTitle_text">{{item}}<text>2</text></view>
+			    <view :class="{on:curTab==index}" class="tabTitle_across"></view>
+			</view>
+		</view>
+		<view class="list">
+			<view class="list_li">
+				<view class="list_li_t">
+					<view class="list_li_t_l">
+						<img src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
+						<text></text>
+					</view>
+					<view class="list_li_t_c">计划标题计划标题计划标题计划标题</view>
+					<view class="list_li_t_r"></view>
+				</view>
+				<view class="list_li_m">
+					<view class="list_li_m_t">计划周期:2023-03-12至2023-03-15</view>
+					<view class="list_li_m_b">
+						<text>未开始</text>
+						<text>校院巡查</text>
+					</view>
+				</view>
+				<view class="list_li_b">
+					<img src="@/images/Version3.3.3/icon_djcsys.png"/>
+					<text>待检查实验室:</text>
+					<text>22间</text>
+				</view>
+			</view>
+		</view>
+    </view>
+  </view>
+
+</template>
+
+<script>
+import { config } from '@/api/request/config.js'
+import { } from '@/api/index.js'
+export default {
+  name: "rectifyList",
+  components: {
+   
+  },
+  data() {
+    return {
+	  pageType:0,
+      //列表请求参数
+      getData:{
+        pageNum:1,
+        pageSize:20,
+      },
+	  statisticsList:[
+		  {name:'本月已检查',value:'20'},
+		  {name:'本月检查隐患',value:'10'},
+		  {name:'本月已整改',value:'5'},
+		  {name:'本月检查合格率',value:'40%'},
+		  {name:'本月已检查',value:'20'},
+		  {name:'本月复核通过率',value:'30%'},
+	  ],
+	  tabText:['未开始','进行中'],
+	  curTab:0,
+    }
+  },
+  onLoad() {
+
+  },
+  onShow() {
+
+  },
+  mounted(){
+  },
+  methods: {
+	  //顶部tab点击
+	  tabClick(index) {
+	  	this.curTab = index;
+	  	
+	  },
+    
+  }
+}
+</script>
+
+<style lang="stylus" scoped>
+.examine{
+	.statistics{
+		background: #fff;
+		display: flex;
+		justify-content: flex-start;
+		flex-wrap: wrap;
+		padding: 38rpx 26rpx;
+		box-sizing: border-box;
+		.statistics_li{
+			width: 230rpx;
+			border-right: 1rpx solid #D8D8D8;
+			border-bottom: 1rpx solid #D8D8D8;
+			>text{
+				display: block;
+				text-align: center;
+			}
+			>text:nth-of-type(1){
+				font-size: 26rpx;
+				font-family: PingFang SC-Medium, PingFang SC;
+				font-weight: 400;
+				color: #666666;
+				line-height: 26rpx;
+				margin-top: 24rpx;
+			}
+			>text:nth-of-type(2){
+				font-size: 34rpx;
+				font-family: PingFang SC-Heavy, PingFang SC;
+				font-weight: 400;
+				color: #1FA50D;
+				line-height: 34rpx;
+				margin-top: 28rpx;
+			}
+		}
+		>view:nth-of-type(1){
+			>text:nth-of-type(1){
+				margin-top: 4rpx;
+			}
+			>text:nth-of-type(2){
+				margin-bottom: 18rpx;
+				color: #1FA50D;
+			}
+		}
+		>view:nth-of-type(2){
+			>text:nth-of-type(1){
+				margin-top: 4rpx;
+			}
+			>text:nth-of-type(2){
+				margin-bottom: 18rpx;
+				color: #FA8201;
+			}
+		}
+		>view:nth-of-type(3){
+			border-right:none;
+			>text:nth-of-type(1){
+				margin-top: 4rpx;
+			}
+			>text:nth-of-type(2){
+				margin-bottom: 18rpx;
+				color: #0183FA;
+			}
+		}
+		>view:nth-of-type(4){
+			border-bottom:none;
+			>text:nth-of-type(2){
+				color: #1FA50D;
+			}
+		}
+		>view:nth-of-type(5){
+			border-bottom:none;
+			>text:nth-of-type(2){
+				color: #FA8201;
+			}
+		}
+		>view:nth-of-type(6){
+			border-right:none;border-bottom:none;
+			>text:nth-of-type(2){
+				color: #0183FA;
+			}
+		}
+	}
+	.inspect_btn{
+		height: 150rpx;
+		background: #fff;
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
+		margin-top: 20rpx;
+		padding: 0 74rpx;
+		.inspect_btn_li{
+			>img{
+				width: 60rpx;
+				height: 60rpx;
+				margin:0 auto;
+			}
+			>text{
+				font-size: 28rpx;
+				font-family: PingFang SC-Medium, PingFang SC;
+				font-weight: 400;
+				color: #333333;
+				line-height: 28rpx;
+				margin-top: 14rpx;
+			}
+		}
+		.line{
+			display: inline-block;
+			height: 60rpx;
+			width: 1rpx;
+			background: #E0E0E0;
+		}
+		
+	}
+	/* 切换按钮 */
+	.tabTitle{
+		width:100%;
+		height: 100rpx;
+		background: #fff;
+		display flex;
+		justify-content: center;
+		align-items: center;
+		margin-top: 20rpx;
+		position: sticky;
+		top: 0;
+		z-index: 100;
+		.tabTitle_li{
+			position: relative;
+			width:372rpx;
+			text-align center;
+			.tabTitle_text{
+				display: inline-block;
+				font-size: 30rpx;
+				font-family: PingFang SC;
+				font-weight: 500;
+				color: #333333;
+				line-height: 46rpx;
+				position: relative;
+				>text{
+					position:absolute;
+					width: 30rpx;
+					height: 30rpx;
+					border-radius:50%;
+					background: #E80000;
+					font-size: 18rpx;
+					font-family: PingFang SC-Medium, PingFang SC;
+					font-weight: 400;
+					color: #FFFFFF;
+					text-align: center;
+					line-height: 30rpx;
+					margin-left: 6rpx;
+				}
+				&.on{
+					color:#0183FA;
+				}
+			}
+			.tabTitle_across{
+				width: 50rpx;
+				height: 4rpx;
+				background: #0183FA;
+				border-radius: 2rpx;
+				margin-left 162rpx;
+				display none;
+				&.on{
+					display block;
+				}
+			}
+	
+		}
+		.tabTitle_li:nth-of-type(1)::after{
+			content: '';
+			position: absolute;
+			top: 0rpx;
+			right:  0rpx;
+			width: 1rpx;
+			height: 50rpx;
+			background: #E0E0E0;
+		}
+	}
+	.list{
+		padding: 0 30rpx;
+		box-sizing: border-box;
+		margin-top: 20rpx;
+		.list_li{
+			position: relative;
+			width: 690rpx;
+			height: 360rpx;
+			background: #fff;
+			border-radius: 10rpx;
+			overflow: hidden;
+			margin-bottom: 20rpx;
+			.list_li_t{
+				width: 100%;
+				position: absolute;
+				left: 0;
+				top: 0;
+				.list_li_t_l{
+					>img{
+						width: 70rpx;
+						height: 70rpx;
+					}
+					>text{
+						position: absolute;
+						left: -15rpx;
+						top: 76rpx;
+						display: inline-block;
+						width: 30rpx;
+						height: 30rpx;
+						background: #F5F5F5;
+						border-radius: 15rpx;
+					}
+				}
+				.list_li_t_c{
+					width: 630rpx;
+					height: 110rpx;
+					position: absolute;
+					left: 30rpx;
+					top: 0;
+					font-size: 30rpx;
+					font-family: PingFang SC-Medium, PingFang SC;
+					font-weight: 400;
+					color: #333333;
+					line-height: 110rpx;
+					border-bottom: 1rpx dashed #D8D8D8;
+					overflow: hidden;
+					text-overflow:ellipsis;
+					white-space: nowrap;
+				}
+				.list_li_t_r{
+					position: absolute;
+					right:-15rpx;
+					top: 76rpx;
+					width: 30rpx;
+					height: 30rpx;
+					background:#F5F5F5;
+					border-radius: 15rpx;
+				}
+			}
+			.list_li_m{
+				position: absolute;
+				top: 110rpx;
+				left: 0;
+				width: 690rpx;
+				height: 168rpx;
+				border-bottom: 1rpx solid #E0E0E0;
+				padding-left: 30rpx;
+				box-sizing: border-box;
+				.list_li_m_t{
+					font-size: 28rpx;
+					font-family: PingFang SC-Medium, PingFang SC;
+					font-weight: 400;
+					color: #666666;
+					line-height: 40rpx;
+					margin-top:22rpx;
+				}
+				.list_li_m_b{
+					margin-top:26rpx;
+					>text:nth-of-type(1){
+						font-size: 26rpx;
+						font-family: PingFang SC-Medium, PingFang SC;
+						font-weight: 400;
+						color: #0183FA;
+						line-height: 40rpx;
+						border: 1rpx solid #0183FA;
+						border-radius: 6rpx;
+						padding: 0 20rpx;
+						margin-right: 14rpx;
+					}
+					>text:nth-of-type(2){
+						font-size: 26rpx;
+						font-family: PingFang SC-Medium, PingFang SC;
+						font-weight: 400;
+						color: #0183FA;
+						line-height: 40rpx;
+						padding: 0 8rpx;
+						border-radius: 6rpx;
+						background: rgba(1,131,250,0.1);
+					}
+				}
+			}
+			.list_li_b{
+				height: 80rpx;
+				position: absolute;
+				top: 278rpx;
+				left: 0;
+				display: flex;
+				justify-content: flex-start;
+				align-items: center;
+				>img{
+					width: 24rpx;
+					height: 30rpx;
+					margin-right: 26rpx;
+					margin-left: 30rpx;
+				}
+				>text:nth-of-type(1){
+					font-size: 28rpx;
+					font-family: PingFang SC-Medium, PingFang SC;
+					font-weight: 400;
+					color: #333333;
+					line-height: 28rpx;
+				}
+				>text:nth-of-type(2){
+					font-size: 28rpx;
+					font-family: PingFang SC-Medium, PingFang SC;
+					font-weight: 400;
+					color: #0183FA;
+					line-height: 28rpx;
+				}
+			}
+		}
+	}
+}
+</style>