|
|
@ -51,6 +51,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-form-item label="语言" prop="language_code" v-if="false">
|
|
|
|
<el-form-item label="语言" prop="language_code" v-if="false">
|
|
|
|
<el-select v-model="info.languageCode" placeholder="请选择">
|
|
|
|
<el-select v-model="info.languageCode" placeholder="请选择">
|
|
|
@ -63,8 +65,13 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
|
|
|
<el-form-item label="模型类型" prop="deviceModelType">
|
|
|
|
|
|
|
|
<el-input placeholder="请输入模型类型" v-model="info.deviceModelType"/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="设备模型图片" prop="deviceModePic">
|
|
|
|
<el-form-item label="设备模型图片" prop="deviceModePic">
|
|
|
|
<el-upload
|
|
|
|
<el-upload
|
|
|
|
single
|
|
|
|
single
|
|
|
@ -513,11 +520,11 @@ export default {
|
|
|
|
this.attributesData = (res.data.deviceModeFunctionMap)['1'];
|
|
|
|
this.attributesData = (res.data.deviceModeFunctionMap)['1'];
|
|
|
|
const servicesData = (res.data.deviceModeFunctionMap)['2'];
|
|
|
|
const servicesData = (res.data.deviceModeFunctionMap)['2'];
|
|
|
|
const eventsData = (res.data.deviceModeFunctionMap)['3'];
|
|
|
|
const eventsData = (res.data.deviceModeFunctionMap)['3'];
|
|
|
|
if(servicesData != null && servicesData!==''){
|
|
|
|
if (servicesData != null && servicesData !== '') {
|
|
|
|
this.servicesData =servicesData;
|
|
|
|
this.servicesData = servicesData;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(servicesData != null && eventsData!==''){
|
|
|
|
if (servicesData != null && eventsData !== '') {
|
|
|
|
this.eventsData =eventsData;
|
|
|
|
this.eventsData = eventsData;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.deviceModeId = deviceModeId;
|
|
|
|
this.deviceModeId = deviceModeId;
|
|
|
|
if (res.data.deviceMode.deviceModePic != null) {
|
|
|
|
if (res.data.deviceMode.deviceModePic != null) {
|
|
|
|