|
@@ -146,7 +146,6 @@
|
|
<!-- 搜索工作栏 -->
|
|
<!-- 搜索工作栏 -->
|
|
<el-form
|
|
<el-form
|
|
class="-mb-15px"
|
|
class="-mb-15px"
|
|
- :model="queryParams"
|
|
|
|
ref="queryFormRef"
|
|
ref="queryFormRef"
|
|
:inline="true"
|
|
:inline="true"
|
|
label-width="68px"
|
|
label-width="68px"
|
|
@@ -408,9 +407,9 @@ onMounted(async () => {
|
|
if (id){
|
|
if (id){
|
|
formType.value = 'update'
|
|
formType.value = 'update'
|
|
const iotMaintain = await IotMaintainApi.getIotMaintain(id);
|
|
const iotMaintain = await IotMaintainApi.getIotMaintain(id);
|
|
- debugger
|
|
|
|
deviceLabel.value = iotMaintain.deviceName
|
|
deviceLabel.value = iotMaintain.deviceName
|
|
formData.value = iotMaintain
|
|
formData.value = iotMaintain
|
|
|
|
+ formData.value.status = undefined
|
|
} else {
|
|
} else {
|
|
formData.value.type = 'in'
|
|
formData.value.type = 'in'
|
|
formType.value = 'create';
|
|
formType.value = 'create';
|