fix:字段修改/交互逻辑修改

This commit is contained in:
chenpingsen
2024-08-30 14:03:31 +08:00
parent f8eda43169
commit 93f2869a5b
8 changed files with 86 additions and 49 deletions

View File

@@ -22,7 +22,7 @@
</div>
<!-- 右下角按钮 -->
<div class="buttons">
<a-button type="primary" @click="openDrawer1">执行</a-button>
<a-button type="primary" @click="openDrawer">执行</a-button>
<a-button type="primary" @click="resetAll">全部撤销</a-button>
</div>
<!-- 页面右侧抽屉开关 -->
@@ -91,7 +91,6 @@
<span>{{ item.value + item.unit }}</span>
</div>
</div>
<div></div>
</div>
</div>
<a-empty style="margin-top: 100px" v-if="valveList.length == 0">
@@ -197,7 +196,7 @@
const valveList = ref<any>([]);
// 打开右侧抽屉
const openDrawer1 = () => {
const openDrawer = () => {
valveList.value = device2.value.filter((item: any) => {
return item.edited;
});
@@ -461,6 +460,7 @@
transform: translateY(-60px);
img {
height: 100%;
user-select: none;
}
div {
width: inherit;
@@ -593,6 +593,8 @@
.list-item-main {
display: flex;
font-size: 13px;
flex-direction: column;
gap: 15px;
> div {
flex: 1;
display: flex;