报警规则、网关设备管理和点检方案管理菜单样式功能修改

This commit is contained in:
zhangjunwen 2024-11-05 14:40:58 +08:00
parent d94c410bb2
commit 3c1fc98c5e
3 changed files with 115 additions and 88 deletions

View File

@ -502,90 +502,110 @@
width="40%" width="40%"
:close-on-click-modal="false" :close-on-click-modal="false"
> >
<el-form <el-card class="box-card">
:model="detailForm" <el-form
v-loading="detailLoading" :model="detailForm"
label-width="100px" v-loading="detailLoading"
> label-width="100px"
<el-col :span="12"> >
<el-form-item <el-row>
label="客户名称" <el-col :span="12">
prop="customerName" <el-form-item
> label="客户名称:"
{{ detailForm.customerName }} prop="customerName"
</el-form-item> class="form-item-border"
</el-col> >
<el-col :span="12"> {{ detailForm.customerName }}
<el-form-item </el-form-item>
label="设备型号" </el-col>
prop="equipNo" <el-col :span="12">
> <el-form-item
{{ detailForm.equipNo }} label="设备型号:"
</el-form-item> prop="equipNo"
</el-col> class="form-item-border"
<el-col :span="12"> >
<el-form-item {{ detailForm.equipNo }}
label="规则名称" </el-form-item>
prop="alarmName" </el-col>
> </el-row>
{{ detailForm.alarmName }} <el-row>
</el-form-item> <el-col :span="12">
</el-col> <el-form-item
<el-col :span="12"> label="规则名称:"
<el-form-item prop="alarmName"
label="规则单位" class="form-item-border"
prop="alarmInfoUnit" >
> {{ detailForm.alarmName }}
{{ detailForm.alarmInfoUnit }} </el-form-item>
</el-form-item> </el-col>
</el-col> <el-col :span="12">
<el-col :span="12"> <el-form-item
<el-form-item label="规则单位:"
label="判断规则" prop="alarmInfoUnit"
prop="referenceCon" class="form-item-border"
> >
{{ detailForm.referenceCon }} {{ detailForm.alarmInfoUnit }}
</el-form-item> </el-form-item>
</el-col> </el-col></el-row>
<el-col :span="12"> <el-row>
<el-form-item <el-col :span="12">
label="规则描述" <el-form-item
prop="referenceName" label="判断规则:"
> prop="referenceCon"
{{ detailForm.referenceName }} class="form-item-border"
</el-form-item> >
</el-col> {{ detailForm.referenceCon }}
<el-col :span="12"> </el-form-item>
<el-form-item </el-col>
label="规则上限" <el-col :span="12">
prop="alertUpperBound" <el-form-item
> label="规则描述:"
{{ detailForm.alertUpperBound }} prop="referenceName"
</el-form-item> class="form-item-border"
</el-col> >
<el-col :span="12"> {{ detailForm.referenceName }}
<el-form-item </el-form-item>
label="规则下限" </el-col></el-row>
prop="alertLowerBound" <el-row>
> <el-col :span="12">
{{ detailForm.alertLowerBound }} <el-form-item
</el-form-item> label="规则上限:"
</el-col> prop="alertUpperBound"
<el-col :span="24"> class="form-item-border"
<el-form-item >
label="可能故障原因" {{ detailForm.alertUpperBound }}
prop="reasonDescription" </el-form-item>
> </el-col>
<div v-html="detailForm.reasonDescription" /> <el-col :span="12">
</el-form-item> <el-form-item
</el-col> label="规则下限:"
<el-col :span="24"> prop="alertLowerBound"
<el-form-item class="form-item-border"
label="备注" >
prop="remark" {{ detailForm.alertLowerBound }}
>{{ detailForm.remark }}</el-form-item> </el-form-item>
</el-col> </el-col></el-row>
</el-form> <el-row>
<el-col :span="24">
<el-form-item
label="可能故障原因:"
prop="reasonDescription"
class="form-item-border"
label-width="110px"
>
<div v-html="detailForm.reasonDescription" />
</el-form-item>
</el-col></el-row>
<el-row>
<el-col :span="24">
<el-form-item
label="备注:"
prop="remark"
class="form-item-border"
>{{ detailForm.remark }}</el-form-item>
</el-col></el-row>
</el-form>
</el-card>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
@ -769,3 +789,10 @@ export default {
}, },
}; };
</script> </script>
<style scoped>
.form-item-border {
border-bottom: 1px solid #e4e7ed; /* 你可以调整颜色和宽度 */
padding-bottom: 10px; /* 可选:增加底部间距 */
margin-bottom: 10px; /* 可选:增加外边距 */
}
</style>

View File

@ -80,7 +80,7 @@
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <!-- <el-button
type="warning" type="warning"
plain plain
icon="el-icon-download" icon="el-icon-download"
@ -88,7 +88,7 @@
@click="handleExport" @click="handleExport"
:loading="exportLoading" :loading="exportLoading"
v-hasPermi="['imt:gateway-info:export']" v-hasPermi="['imt:gateway-info:export']"
>导出</el-button> >导出</el-button> -->
</el-col> </el-col>
<right-toolbar <right-toolbar
:showSearch.sync="showSearch" :showSearch.sync="showSearch"

View File

@ -12,12 +12,12 @@
> >
<el-form-item <el-form-item
label="父级点检方案名" label="父级点检方案名"
label-width="90px" label-width="110px"
prop="inspectionName" prop="inspectionName"
> >
<el-input <el-input
v-model="queryParams.inspectionName" v-model="queryParams.inspectionName"
placeholder="请输入辅机点检方案名" placeholder="请输入父级点检方案名"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />