已检测过的监测点不可编辑、删除
This commit is contained in:
@@ -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,6 +215,7 @@ watch(
|
||||
() => props.DevFormContent.monitorList,
|
||||
newVal => {
|
||||
tableData.value = newVal || []
|
||||
console.log(newVal)
|
||||
},
|
||||
{ immediate: true }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user