通讯链路:绑定设备后刷新表格

This commit is contained in:
高云鹏 2024-08-12 17:08:31 +08:00
parent 19a8861d3c
commit 7b7de91450
2 changed files with 3 additions and 2 deletions

View File

@ -13,13 +13,13 @@
<el-form-item :label="itemChild.data.label" :prop="itemChild.key">
<el-input
v-if="itemChild.data.type === 'input'"
v-model="formData[itemChild.key]"
v-model="formData[itemChild.key] as string"
:disabled="props.disabled"
class="formInput"
></el-input>
<el-input-number
v-else-if="itemChild.data.type === 'number'"
v-model="formData[itemChild.key]"
v-model="formData[itemChild.key] as number"
:disabled="props.disabled"
></el-input-number>
<el-select

View File

@ -343,6 +343,7 @@ const submitcorrectionDevice = () => {
bindDeviceMeasReq({ equipmentId: bindDevice, linkId: route.query.id }).then((res) => {
ElMessage.success('关联成功!')
closecorrectionDevice()
resetExcel()
})
}