修改取值范围
This commit is contained in:
@@ -429,7 +429,7 @@
|
|||||||
<el-input-number v-model="item.value"
|
<el-input-number v-model="item.value"
|
||||||
size="small"
|
size="small"
|
||||||
style="width:95px"
|
style="width:95px"
|
||||||
placeholder="请输入" />
|
placeholder="请输入" disabled="true"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="text-align:right">
|
<div style="text-align:right">
|
||||||
@@ -442,7 +442,7 @@
|
|||||||
<el-button type="success" size="small" @click="messageTest" link><el-icon><Message /></el-icon>短信试发</el-button>
|
<el-button type="success" size="small" @click="messageTest" link><el-icon><Message /></el-icon>短信试发</el-button>
|
||||||
|
|
||||||
<el-button @click="settingTimeDialogVisible = false" size="small">取消</el-button>
|
<el-button @click="settingTimeDialogVisible = false" size="small">取消</el-button>
|
||||||
<el-button type="primary" @click="settingTime" size="small">确定</el-button>
|
<el-button type="primary" @click="settingTime" size="small" disabled="true">确定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@@ -816,9 +816,10 @@
|
|||||||
if (type === 'CPU') {
|
if (type === 'CPU') {
|
||||||
if (cpuAvg >= 85) {
|
if (cpuAvg >= 85) {
|
||||||
return 'exception';
|
return 'exception';
|
||||||
} else if (cpuMax >= 90 && cpuAvg < 85) {
|
//} else if (cpuMax >= 90 && cpuAvg < 85) {
|
||||||
|
} else if (cpuAvg >= 80) {
|
||||||
return 'warning';
|
return 'warning';
|
||||||
} else if (cpuMax < 90) {
|
} else {//if (cpuMax < 90) {
|
||||||
return 'success';
|
return 'success';
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
@@ -826,9 +827,10 @@
|
|||||||
|
|
||||||
if (cpuAvg >= 85) {
|
if (cpuAvg >= 85) {
|
||||||
return 'danger';
|
return 'danger';
|
||||||
} else if (cpuMax >= 90 && cpuAvg < 85) {
|
//} else if (cpuMax >= 90 && cpuAvg < 85) {
|
||||||
|
} else if (cpuAvg >= 80) {
|
||||||
return 'warning';
|
return 'warning';
|
||||||
} else if (cpuMax < 90) {
|
} else {//if (cpuMax < 90) {
|
||||||
return 'success';
|
return 'success';
|
||||||
}
|
}
|
||||||
// 通用处理
|
// 通用处理
|
||||||
|
|||||||
Reference in New Issue
Block a user