|
@@ -1,182 +1,35 @@
|
|
|
<template>
|
|
|
<div class="dashboard_box" style="width: 1180px;margin: auto;">
|
|
|
- <div class="dashboard_box">
|
|
|
- <h3>
|
|
|
- Field Replaceable Unit(FRU)
|
|
|
-
|
|
|
- </h3>
|
|
|
- <p style="display:none">
|
|
|
- This page gives detailed information for the various FRU devices present in this system.
|
|
|
-
|
|
|
- </p>
|
|
|
-
|
|
|
- <h4 style="display:none">
|
|
|
- Basic Information:
|
|
|
-
|
|
|
- </h4>
|
|
|
- <div style="display:none" class="subSection">
|
|
|
- <table cellspacing="0" cellpadding="6" border="0" width="700">
|
|
|
- <tbody><tr><td width="40%"><strong>
|
|
|
- FRU Device ID
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><select id="_FRUDeviceID" class="classicTxtBox"></select></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- FRU Device Name
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_FRUDeviceName" class="classicTxtBox"></label></td></tr>
|
|
|
- </tbody></table>
|
|
|
- </div>
|
|
|
-
|
|
|
- <h4>
|
|
|
- Chassis Information:
|
|
|
-
|
|
|
- </h4>
|
|
|
- <div class="subSection">
|
|
|
- <table cellspacing="0" cellpadding="6" border="0" width="700">
|
|
|
- <tbody><tr><td width="40%"><strong>
|
|
|
- Chassis Information Area Format Version
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_CI_ChassisInfoAreaFormatVersion" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Chassis Type
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_CI_ChassisType" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Chassis Part Number
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_CI_ChassisPartNum" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Chassis Serial Number
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_CI_ChassisSerialNum" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Chassis Extra
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_CI_CustomFields" class="classicTxtBox"></label></td></tr>
|
|
|
- </tbody></table>
|
|
|
- </div>
|
|
|
-
|
|
|
- <h4>
|
|
|
- Board Information:
|
|
|
-
|
|
|
- </h4>
|
|
|
- <div class="subSection">
|
|
|
- <table cellspacing="0" cellpadding="6" border="0" width="700">
|
|
|
- <tbody><tr><td width="40%"><strong>
|
|
|
- Board Information Area Format Version
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_BoardInfoAreaFormatVersion" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Language
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_Language" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Manufacture Date Time
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_MfgDateTime" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Board Manufacturer
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_BoardMfr" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Board Product Name
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_BoardProductName" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Board Serial Number
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_BoardSerialNum" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Board Part Number
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_BoardPartNum" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- FRU File ID
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_FRUFileID" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Board Extra
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_BI_CustomFields" class="classicTxtBox"></label></td></tr>
|
|
|
- </tbody></table>
|
|
|
- </div>
|
|
|
-
|
|
|
- <h4>
|
|
|
- Product Information:
|
|
|
-
|
|
|
- </h4>
|
|
|
- <div class="subSection">
|
|
|
- <table cellspacing="0" cellpadding="6" border="0" width="700">
|
|
|
- <tbody><tr><td width="40%"><strong>
|
|
|
- Product Information Area Format Version
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_ProductInfoAreaFormatVersion" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- </script>Language
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_Language" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Manufacturer Name
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_MfrName" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Product Name
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_ProductName" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Product Part Number
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_ProductPartNum" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Product Version
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_ProductVersion" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Product Serial Number
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_ProductSerialNum" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Asset Tag
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_AssetTag" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- FRU File ID
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_FRUFileID" class="classicTxtBox"></label></td></tr>
|
|
|
- <tr><td><strong>
|
|
|
- Product Extra
|
|
|
-
|
|
|
- </strong></td>
|
|
|
- <td><label id="_PI_CustomFields" class="classicTxtBox"></label></td></tr>
|
|
|
- </tbody></table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
+ <table class="table">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>名称</th>
|
|
|
+ <th>速度(RPM)</th>
|
|
|
+ <th style="width: 200px">模式</th>
|
|
|
+ <th style="width: 200px">任务(%)</th>
|
|
|
+ <th style="width: 120px;">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="tableContent">
|
|
|
+ <tr v-for='item in fanList'>
|
|
|
+ <td>{{item.name}}</td>
|
|
|
+ <td>{{item.speed}}RPM</td>
|
|
|
+ <td>
|
|
|
+ <select v-model='item.model' class="form-control">
|
|
|
+ <option value="1" >自动</option>
|
|
|
+ <option value="2">手动</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input type="text" v-model='item.duty' class="form-control">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <Button type="primary" @click='set(item)'>设置</Button>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -212,44 +65,111 @@ input {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
-table {
|
|
|
- font-size: 12px;
|
|
|
+.dashboard_box {
|
|
|
+ background: -webkit-linear-gradient(bottom, #FFFFFF, #D1E3FF);
|
|
|
+ /* Safari 5.1 - 6.0 */
|
|
|
+ background: -o-linear-gradient(top, #FFFFFF, #D1E3FF);
|
|
|
+ /* Opera 11.1 - 12.0 */
|
|
|
+ background: -moz-linear-gradient(top, #FFFFFF, #D1E3FF);
|
|
|
+ /* Firefox 3.6 - 15 */
|
|
|
+ background: linear-gradient(to top, #FFFFFF, #D1E3FF);
|
|
|
+ height: 100%;
|
|
|
+ overflow-y: auto;
|
|
|
+ /*margin-top:30px;*/
|
|
|
}
|
|
|
|
|
|
-tr {
|
|
|
- height: 26px;
|
|
|
+.table {
|
|
|
+ border-spacing: 0;
|
|
|
+ border-collapse: collapse;
|
|
|
+ width: 100%;
|
|
|
+ max-width: 100%;
|
|
|
+ font-size:13px;
|
|
|
}
|
|
|
-td{
|
|
|
- width: 40%;
|
|
|
+
|
|
|
+.table td,
|
|
|
+.table th {
|
|
|
+ padding: 8px;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
-.dashboard_box {
|
|
|
- width: 1180px;
|
|
|
- margin: auto;
|
|
|
- margin-top: 10px;
|
|
|
- /* background: #040C19; */
|
|
|
- padding: 10px 0;
|
|
|
- color: #fff;
|
|
|
- h3 {
|
|
|
- color: #fff;
|
|
|
- margin-bottom: 0;
|
|
|
- padding-bottom: 5px;
|
|
|
- }
|
|
|
+
|
|
|
+.form-control {
|
|
|
+ display: block;
|
|
|
+ width: 100%;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ padding: 4px 12px;
|
|
|
+ font-size: 13px;
|
|
|
+ background: transparent;
|
|
|
+ border: 1px solid #1874FF;
|
|
|
+ color: #003C97;
|
|
|
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
|
|
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
|
|
+ -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
|
|
|
+ -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
|
|
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
|
|
}
|
|
|
-h4 {
|
|
|
- font-size: 15px;
|
|
|
- width: auto;
|
|
|
- margin: 3px;
|
|
|
- padding: 2px;
|
|
|
+
|
|
|
+.form-control:focus {
|
|
|
+ border-color: #66afe9;
|
|
|
+ outline: 0;
|
|
|
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
|
|
|
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
|
|
|
}
|
|
|
-h3 {
|
|
|
- color: #fff;
|
|
|
- font-size: 20px;
|
|
|
- padding-bottom: 0px;
|
|
|
- /*margin-top: 5px;*/
|
|
|
- border-bottom: 1px solid #000;
|
|
|
+
|
|
|
+.btn {
|
|
|
+ display: inline-block;
|
|
|
+ padding: 4px 20px;
|
|
|
+ margin-bottom: 0;
|
|
|
+ font-size: 13px;
|
|
|
+ font-weight: 400;
|
|
|
+ line-height: 1.42857143;
|
|
|
+ text-align: center;
|
|
|
+ white-space: nowrap;
|
|
|
+ vertical-align: middle;
|
|
|
+ -ms-touch-action: manipulation;
|
|
|
+ touch-action: manipulation;
|
|
|
+ cursor: pointer;
|
|
|
+ -webkit-user-select: none;
|
|
|
+ -moz-user-select: none;
|
|
|
+ -ms-user-select: none;
|
|
|
+ user-select: none;
|
|
|
+ background-image: none;
|
|
|
+ border: 1px solid transparent;
|
|
|
}
|
|
|
-.subSection {
|
|
|
- padding: 20px;
|
|
|
- padding-top: 0px;
|
|
|
+
|
|
|
+.btn:focus {
|
|
|
+ outline: none;
|
|
|
+}
|
|
|
+
|
|
|
+.btn-primary {
|
|
|
+ color: #fff;
|
|
|
+ background-color: #1874FF;
|
|
|
+ border-color: #1874FF;
|
|
|
+ border-radius: 3px;
|
|
|
+}
|
|
|
+
|
|
|
+.btn-primary:hover {
|
|
|
+ color: #fff;
|
|
|
+ background-color: #0364F7;
|
|
|
+ border-color: #0364F7;
|
|
|
+}
|
|
|
+
|
|
|
+.dashboard_box table tr:nth-of-type(odd) {
|
|
|
+ background-color: rgba(24, 116, 255, 0.06);
|
|
|
+ ;
|
|
|
+}
|
|
|
+
|
|
|
+.dashboard_box table thead tr {
|
|
|
+ background-color: transparent !important;
|
|
|
+}
|
|
|
+
|
|
|
+.dashboard_box table tr td {
|
|
|
+ color: #003C97;
|
|
|
+}
|
|
|
+
|
|
|
+.dashboard_box table tr th {
|
|
|
+ color: #022B7D;
|
|
|
+ padding: 14px 8px;
|
|
|
+ font-weight: normal;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|