|
@@ -35,19 +35,19 @@
|
|
|
<div class="edit-right">
|
|
<div class="edit-right">
|
|
|
<div class="right-title">条件逻辑说明</div>
|
|
<div class="right-title">条件逻辑说明</div>
|
|
|
<div class="right-content">
|
|
<div class="right-content">
|
|
|
- <div class="right-item">IF 温度≥60℃</div>
|
|
|
|
|
- <div class="right-item">AND 持续时间≥30s</div>
|
|
|
|
|
|
|
+ <div class="right-item">IF 温度≥{{ formData.wdyz || 60 }}℃</div>
|
|
|
|
|
+ <div class="right-item">AND 持续时间≥{{ formData.time || 30 }}s</div>
|
|
|
<div class="right-item">AND 设备状态-在线</div>
|
|
<div class="right-item">AND 设备状态-在线</div>
|
|
|
<div class="right-item">AND 时间在生效范围内</div>
|
|
<div class="right-item">AND 时间在生效范围内</div>
|
|
|
<div class="right-item">THEN 执行联动动作</div>
|
|
<div class="right-item">THEN 执行联动动作</div>
|
|
|
<div class="right-item">【优先级:高】</div>
|
|
<div class="right-item">【优先级:高】</div>
|
|
|
- <div class="right-item">此规则触发后将组织低优先级</div>
|
|
|
|
|
|
|
+ <div class="right-item">此规则触发后将阻断低优先级</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</basicBorder>
|
|
</basicBorder>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="basic-box">
|
|
|
|
|
|
|
+ <div class="basic-box1">
|
|
|
<basicBorder title="联动动作设置">
|
|
<basicBorder title="联动动作设置">
|
|
|
<div class="basic-table">
|
|
<div class="basic-table">
|
|
|
<div class="table-title">
|
|
<div class="table-title">
|
|
@@ -77,7 +77,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</basicBorder>
|
|
</basicBorder>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="basic-box1">
|
|
|
|
|
|
|
+ <div class="basic-box2">
|
|
|
<basicBorder title="联动执行流程图">
|
|
<basicBorder title="联动执行流程图">
|
|
|
<div class="workflow-container">
|
|
<div class="workflow-container">
|
|
|
<div class="steps-wrapper">
|
|
<div class="steps-wrapper">
|
|
@@ -149,11 +149,19 @@ const fetchStepStatus = async () => {
|
|
|
let formData = reactive({
|
|
let formData = reactive({
|
|
|
gzmc: '一级温度报警',
|
|
gzmc: '一级温度报警',
|
|
|
bjjb: '一级(严重)',
|
|
bjjb: '一级(严重)',
|
|
|
- wdyz: '60℃',
|
|
|
|
|
|
|
+ wdyz: '50',
|
|
|
cfsb: '声光报警',
|
|
cfsb: '声光报警',
|
|
|
- time: '≥30s',
|
|
|
|
|
|
|
+ time: '≥35',
|
|
|
sjfw: '值班人员',
|
|
sjfw: '值班人员',
|
|
|
});
|
|
});
|
|
|
|
|
+// const formData = ref({
|
|
|
|
|
+// gzmc: '',
|
|
|
|
|
+// bjjb: '',
|
|
|
|
|
+// wdyz: '',
|
|
|
|
|
+// cfsb: '',
|
|
|
|
|
+// time: '',
|
|
|
|
|
+// sjfw: '',
|
|
|
|
|
+// });
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
fetchStepStatus();
|
|
fetchStepStatus();
|
|
|
});
|
|
});
|
|
@@ -178,7 +186,6 @@ onMounted(() => {
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
-
|
|
|
|
|
.item-input {
|
|
.item-input {
|
|
|
background: transparent !important;
|
|
background: transparent !important;
|
|
|
background: linear-gradient(to right, #114469, #0b2542) !important;
|
|
background: linear-gradient(to right, #114469, #0b2542) !important;
|
|
@@ -191,12 +198,15 @@ onMounted(() => {
|
|
|
}
|
|
}
|
|
|
box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ .basic-box1,
|
|
|
|
|
+ .basic-box2 {
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ }
|
|
|
.edit-wrap {
|
|
.edit-wrap {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
- gap: 30px;
|
|
|
|
|
|
|
+ gap: 10px;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
}
|
|
}
|
|
|
.edit-left {
|
|
.edit-left {
|
|
@@ -204,7 +214,7 @@ onMounted(() => {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
- margin: 10px;
|
|
|
|
|
|
|
+ margin: 5px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.edit-item {
|
|
.edit-item {
|
|
@@ -299,12 +309,6 @@ onMounted(() => {
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
margin-right: 5px;
|
|
margin-right: 5px;
|
|
|
}
|
|
}
|
|
|
- .basic-box,
|
|
|
|
|
- .basic-box1 {
|
|
|
|
|
- flex: 1;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
.table-title {
|
|
.table-title {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|