|
|
@ -272,13 +272,12 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="通讯来源类型" prop="deviceSource"> |
|
|
|
<el-select v-model="form.deviceSource" placeholder="请选择是否可用"> |
|
|
|
<el-select v-model="form.deviceSource" placeholder="请选择是否可用" @change="deviceSourceChange"> |
|
|
|
<el-option |
|
|
|
v-for="dict in dc_device_source" |
|
|
|
:key="dict.value" |
|
|
|
:label="dict.label" |
|
|
|
:value="dict.value" |
|
|
|
@change="deviceSourceChange" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -678,7 +677,7 @@ function selectDept(val){ |
|
|
|
} |
|
|
|
|
|
|
|
function deviceSourceChange(val){ |
|
|
|
form.value.deviceSourceId=val.deviceSourceId; |
|
|
|
form.value.deviceSourceId=val; |
|
|
|
} |
|
|
|
|
|
|
|
getDeptTree(); |
|
|
|