|
|
@ -6,8 +6,8 @@ |
|
|
|
<div class="shipinlisttop"> |
|
|
|
<el-form ref="" :inline="true" label-width="110px" class="tab-header"> |
|
|
|
<el-form-item label="选择仓库"> |
|
|
|
<el-select v-model="ckId" filterable placeholder="请选择仓库" @change="ckChange"> |
|
|
|
<el-option v-for="item in ckList" :key="item.id" :label="item.name" :value="item.id" /> |
|
|
|
<el-select v-model="ckId" filterable placeholder="请选择仓库" @change="ckChange" style="width:200px"> |
|
|
|
<el-option v-for="item in ckList" :key="item.sid" :label="item.name" :value="item.sid" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-button v-if="moreFlag" type="button" @click="moreShow(ckId)">多屏展示 |
|
|
@ -26,9 +26,8 @@ |
|
|
|
</div> |
|
|
|
<div class="shipinscons"> |
|
|
|
<div class="shipinscon"> |
|
|
|
|
|
|
|
<div class="shipinstu" style="height:400px"> |
|
|
|
<img src="/image/cangkutu.png" style="height:400px;width:800px"/> |
|
|
|
<img src="/image/cangku2.png" style="height:600px;width:1000px" /> |
|
|
|
<!-- 入侵报警 --> |
|
|
|
<!-- <div class="ruqinbaojingcss" style="z-index: 10;" v-if="showRuqinbaojing"> |
|
|
|
<div class="myiconfont bluezibg jingicon ruqin_zhengchang1" v-if="showRuqinbaojing_zhengchang" @click="openshipinRuqinbaojing()"></div> |
|
|
@ -192,7 +191,6 @@ |
|
|
|
</div> |
|
|
|
<!-- 列表结束 --> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
@ -400,6 +398,10 @@ export default { |
|
|
|
} |
|
|
|
console.log(this.dzwl_list) |
|
|
|
}) |
|
|
|
|
|
|
|
getStatusCount({ deviceType: null, statusType: null, ckId: item }).then(res => { |
|
|
|
this.statusData = res.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
bodyCloseMenus() { |
|
|
|
this.active = -1 |
|
|
@ -640,26 +642,30 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
init() { |
|
|
|
getOtherList({ type: 1 }).then((res) => { |
|
|
|
getWareHouseList().then(res => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.ckList = res.data |
|
|
|
this.ckId = res.data[0].sid |
|
|
|
} |
|
|
|
getOtherList({ type: 1, ckId: this.ckId }).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.zc_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getOtherList({ type: 2 }).then((res) => { |
|
|
|
getOtherList({ type: 2, ckId: this.ckId }).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.dzwl_list = res.data |
|
|
|
} |
|
|
|
console.log(this.dzwl_list) |
|
|
|
}) |
|
|
|
getStatusCount({ deviceType: null, statusType: null }).then(res => { |
|
|
|
|
|
|
|
getStatusCount({ deviceType: null, statusType: null, ckId: this.ckId }).then(res => { |
|
|
|
this.statusData = res.data |
|
|
|
}) |
|
|
|
getWareHouseList().then(res => { |
|
|
|
console.log(res) |
|
|
|
if (res.code == 200) { |
|
|
|
this.ckList = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
// 序号 |
|
|
|
indexMethod(index) { |
|
|
|