修改界面

master
夜笙歌 5 months ago
parent 8f0adc13ec
commit 16c4117fba

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

@ -101,6 +101,7 @@
<el-table-column label="模型名称" align="center" prop="deviceModeName"/>
<el-table-column label="所属租户" align="center" prop="tenantName"/>
<el-table-column label="所属场景" align="center" prop="sceneName"/>
<el-table-column label="模型类型" align="center" prop="deviceModelType"/>
<el-table-column label="定位标识" align="center" prop="gpsFlag">
<template slot-scope="scope">
<dict-tag :options="dict.type.hw_device_mode_gps_flag" :value="scope.row.gpsFlag"/>

Loading…
Cancel
Save