ProjectOverview.cshtml 6.75 KB
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
    ViewData["title"] = "项目工程表";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
{
	<link href="~/css/iot/iconfont.css" rel="stylesheet" />
    <style type="text/css">
		/* head*/
		.head{padding:10px;}
		.head-project {display: flex;width: 100%;height: 10vh;}
		.head-project-logo {display: flex;justify-content: flex-start;width: 80%; align-items: center;}
		.head-project-title {height: 10vh;text-align: center;line-height: 10vh;font-size:30px;padding-left: 6vh;}
		.head-project-route {display: flex;width: 20%;justify-content: flex-end;align-items: center;}



		.divcontent {
			display: flex;
			height: 100%;
		}

		.contcss {
			display: flex;
			width: 20%;
			margin-right: 1vw;
			box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
		}

		.divcontent-left {
			flex: 2;
			display: flex;
			flex-direction: column;
			justify-content: center;
			padding-left: 1vw;
		}

		.divcontent-right {
			flex: 1;
		}

		.imgdiv {
			height: 3vh;
			text-align: center;
			line-height: 10vh;
		}

		.textStyle {
			font-weight: 600;
			font-size: 1.2vw;
			color: black;
		}

		.layui-colla-content {
			padding: 10px 15px;
		}

		.iconfont {
			font-size: 42px;
		}
    </style>
 
			
}


<div>
	<div class="head vueApp">
		<div class="head-breadcrumb">
			<span class="layui-breadcrumb" lay-separator="> ">
				<a href="/configure/BaseProject/ProjectOverview">项目概述</a>
			</span>
		</div>

		<div class="head-project">
			<div class="head-project-logo">
				<div><img style="width:190px;height:21px;" src="/images/logo.png" alt="" /></div>
				<div class="head-project-title">{{head.projectName}}</div>
			</div>
			<div class="head-project-route">
				<a href="/equipment/Equipment/Index" class="sys-a-det">切换到设备列表</a>
			</div>
		</div>
	</div>

	<div class="layui-collapse" style="padding-left:7px;">
		<div class="layui-colla-item">
			<div class="layui-colla-title">设备概述</div>
			<div class="layui-colla-content layui-show" style="height: 10vh">
				<div class="divcontent">
					<div class="contcss">
						<div class="divcontent-left">
							<div>设备总数</div>
							<div class="textStyle">50</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-shebei" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					<div class="contcss">
						<div class="divcontent-left">
							<div>在线数</div>
							<div class="textStyle">35</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-zaixianshu" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					<div class="contcss">
						<div class="divcontent-left">
							<div>待机数</div>
							<div class="textStyle">10</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-dangqianshebeidaijishuliang" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					<div class="contcss">
						<div class="divcontent-left">
							<div>离线数</div>
							<div class="textStyle" style="color:red;">5</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-lixianshu" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="layui-colla-item">
			<div class="layui-colla-title">设备运行(当天)</div>
			<div class="layui-colla-content layui-show" style="height: 10vh">
				<div class="divcontent">
					<div class="contcss">
						<div class="divcontent-left">
							<div>故障时间</div>
							<div class="textStyle">20H</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-guzhangshijian" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					<div class="contcss">
						<div class="divcontent-left">
							<div>运行时间</div>
							<div class="textStyle">40H</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-yunhangshijian" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					<div class="contcss">
						<div class="divcontent-left">
							<div>待机时间</div>
							<div class="textStyle">30H</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-daijishijian" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					
					<div class="contcss">
						<div class="divcontent-left">
							<div>在线率</div>
							<div class="textStyle">50%</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-shebeizaixianshuai" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="layui-colla-item">
			<div class="layui-colla-title">扩展指标(一周内)</div>
			<div class="layui-colla-content layui-show" style="height: 10vh">
				<div class="divcontent">
					<div class="contcss">
						<div class="divcontent-left">
							<div>妥善率</div>
							<div class="textStyle">98%</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-xiaoshuai" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					<div class="contcss">
						<div class="divcontent-left">
							<div>MTTR</div>
							<div class="textStyle">40%</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-shebeiMTTR" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
					<div class="contcss">
						<div class="divcontent-left">
							<div>MTBF</div>
							<div class="textStyle">68</div>
						</div>
						<div class="divcontent-right">
							<div class="imgdiv">
								<span class="iconfont icon-MTBF" style="color: rgb(146, 133, 235);"></span>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<div style="margin: 20px;color:blue;">
		<span><span style="font-weight: bold;">妥善率:</span>故障時間H/故障时间</span>
		<span style="margin-left: 30px;"><span style="font-weight: bold;">MTTR:</span>故障時間H/故障次數</span>
		<span style="margin-left: 30px;"><span style="font-weight: bold;">MTBF:</span>正常運作時間H/故障次數</span>
	</div>
</div>

@section Scripts
	{
		<script src="~/js/vuemin2.js"></script>
       <script type="text/javascript" src="/productjs/configure/ProjectOverview.js" asp-append-version="true"></script>
 }