# Conflicts:
#	frontend/src/views/machine/device/components/monitorTab.vue
This commit is contained in:
sjl
2025-11-04 09:18:40 +08:00
3 changed files with 22 additions and 17 deletions

View File

@@ -15,7 +15,6 @@
type="primary"
:icon="CirclePlus"
@click="openDialog('add')"
:disabled="props.DevFormContent.importFlag == 1"
>
新增
</el-button>
@@ -38,7 +37,6 @@
link
:icon="EditPen"
:model-value="false"
:disabled="props.DevFormContent.importFlag == 1"
@click="openDialog('edit', scope.row)"
>
编辑
@@ -49,13 +47,14 @@
link
:icon="Delete"
@click="handleDelete(scope.row.id)"
:disabled="scope.row.resultType!=null"
>
删除
删除
</el-button>
</template>
</ProTable>
</div>
<MonitorPopup @getParameter="getParameter" ref="monitorPopup" />
<MonitorPopup @getParameter="getParameter" ref="monitorPopup" :DevFormContent="props.DevFormContent"/>
</template>
<script setup lang="ts">
@@ -216,7 +215,6 @@ watch(
() => props.DevFormContent.monitorList,
newVal => {
tableData.value = newVal || []
},
{ immediate: true }
)