修改取值范围
This commit is contained in:
@@ -429,7 +429,7 @@
|
||||
<el-input-number v-model="item.value"
|
||||
size="small"
|
||||
style="width:95px"
|
||||
placeholder="请输入" />
|
||||
placeholder="请输入" disabled="true"/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<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 @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>
|
||||
</template>
|
||||
</el-dialog>
|
||||
@@ -816,9 +816,10 @@
|
||||
if (type === 'CPU') {
|
||||
if (cpuAvg >= 85) {
|
||||
return 'exception';
|
||||
} else if (cpuMax >= 90 && cpuAvg < 85) {
|
||||
//} else if (cpuMax >= 90 && cpuAvg < 85) {
|
||||
} else if (cpuAvg >= 80) {
|
||||
return 'warning';
|
||||
} else if (cpuMax < 90) {
|
||||
} else {//if (cpuMax < 90) {
|
||||
return 'success';
|
||||
}
|
||||
return null
|
||||
@@ -826,9 +827,10 @@
|
||||
|
||||
if (cpuAvg >= 85) {
|
||||
return 'danger';
|
||||
} else if (cpuMax >= 90 && cpuAvg < 85) {
|
||||
//} else if (cpuMax >= 90 && cpuAvg < 85) {
|
||||
} else if (cpuAvg >= 80) {
|
||||
return 'warning';
|
||||
} else if (cpuMax < 90) {
|
||||
} else {//if (cpuMax < 90) {
|
||||
return 'success';
|
||||
}
|
||||
// 通用处理
|
||||
|
||||
Reference in New Issue
Block a user