|
@ -34,17 +34,29 @@ |
|
|
<el-tabs v-model="activeTab" @tab-click="tabClickFn"> |
|
|
<el-tabs v-model="activeTab" @tab-click="tabClickFn"> |
|
|
<el-tab-pane label="详情信息" name="first"> |
|
|
<el-tab-pane label="详情信息" name="first"> |
|
|
<div class="show_bottom_tab_box"> |
|
|
<div class="show_bottom_tab_box"> |
|
|
<div class="show_bottom_tab_item" v-for="item in tabDataInfoList" :key="item.id"> |
|
|
<div class="show_bottom_tab_item"> |
|
|
|
|
|
<div class="show_bottom_tab_item_l">设备名称</div> |
|
|
|
|
|
<div class="show_bottom_tab_item_r">{{ device.deviceName }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="show_bottom_tab_item"> |
|
|
|
|
|
<div class="show_bottom_tab_item_l">设备桩号</div> |
|
|
|
|
|
<div class="show_bottom_tab_item_r">{{ device.stakeMarkId }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="show_bottom_tab_item"> |
|
|
|
|
|
<div class="show_bottom_tab_item_l">屏幕像素</div> |
|
|
|
|
|
<div class="show_bottom_tab_item_r">{{ JSON.parse(device.otherConfig).screenSize }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<!-- <div class="show_bottom_tab_item" v-for="item in tabDataInfoList" :key="item.id"> |
|
|
<div class="show_bottom_tab_item_l">{{ item.tit }}: </div> |
|
|
<div class="show_bottom_tab_item_l">{{ item.tit }}: </div> |
|
|
<div class="show_bottom_tab_item_r" :style="{ 'color': item.col }"> {{ item.txt }}</div> |
|
|
<div class="show_bottom_tab_item_r" :style="{ 'color': item.col }"> {{ item.txt }}</div> |
|
|
</div> |
|
|
</div> --> |
|
|
</div> |
|
|
</div> |
|
|
</el-tab-pane> |
|
|
</el-tab-pane> |
|
|
<el-tab-pane label="设备参数" name="second">设备参数</el-tab-pane> |
|
|
<el-tab-pane label="设备参数" name="second">设备参数</el-tab-pane> |
|
|
</el-tabs> |
|
|
</el-tabs> |
|
|
</div> |
|
|
</div> |
|
|
<div class="dialogContent_bottom_btn"> |
|
|
<div class="dialogContent_bottom_btn"> |
|
|
<div class="show_bottom_btn_add" @click="addMoDataInfoFn(2, 2)">添加信息</div> |
|
|
<div class="show_bottom_btn_add" @click="____onAddDeviceItem">添加信息</div> |
|
|
<div class="show_bottom_btn_del" @click="InformationReleaseFn">信息发布</div> |
|
|
<div class="show_bottom_btn_del" @click="InformationReleaseFn">信息发布</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="sideSwitch" @click="showSidePanel"> |
|
|
<div class="sideSwitch" @click="showSidePanel"> |
|
@ -405,16 +417,32 @@ export default { |
|
|
// 新增待下发 |
|
|
// 新增待下发 |
|
|
____onAddToDevice(item) { |
|
|
____onAddToDevice(item) { |
|
|
let arr = this.selectedSize.split("*"); |
|
|
let arr = this.selectedSize.split("*"); |
|
|
|
|
|
item.origin = { |
|
|
|
|
|
displayAreaWidth: +arr[0], |
|
|
|
|
|
displayAreaHeight: +arr[1] |
|
|
|
|
|
} |
|
|
this.editDialog = { |
|
|
this.editDialog = { |
|
|
visible: true, |
|
|
visible: true, |
|
|
mode: "toDevice", |
|
|
mode: "toDevice", |
|
|
type: "template", |
|
|
type: "template", |
|
|
tpl: item, |
|
|
tpl: item, |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
____onAddDeviceItem() { |
|
|
|
|
|
let arr = this.selectedSize.split("*"); |
|
|
|
|
|
this.editDialog = { |
|
|
|
|
|
visible: true, |
|
|
|
|
|
mode: "add", |
|
|
|
|
|
type: "device", |
|
|
|
|
|
tpl: { |
|
|
|
|
|
"textContent": "", |
|
|
origin : { |
|
|
origin : { |
|
|
displayAreaWidth: +arr[0], |
|
|
displayAreaWidth: +arr[0], |
|
|
displayAreaHeight: +arr[1] |
|
|
displayAreaHeight: +arr[1] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -551,6 +579,7 @@ export default { |
|
|
type: 'warning' |
|
|
type: 'warning' |
|
|
}) |
|
|
}) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
|
|
|
return ; |
|
|
let loading = this.$loading({ |
|
|
let loading = this.$loading({ |
|
|
lock: true, |
|
|
lock: true, |
|
|
text: 'Loading', |
|
|
text: 'Loading', |
|
|