|
|
@ -5,11 +5,10 @@ |
|
|
|
<div class="main-content"> |
|
|
|
|
|
|
|
<div class="shipinlisttop"> |
|
|
|
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="110px" class="tab-header"> |
|
|
|
<el-form ref="" :inline="true" label-width="110px" class="tab-header"> |
|
|
|
<el-form-item label="选择仓库"> |
|
|
|
<el-select v-model="listQuery.params.cangku" filterable clearable placeholder="请选择仓库"> |
|
|
|
<el-option v-for="item in cangku_list" :key="item.dictKey" :label="item.dictValue" |
|
|
|
:value="item.dictKey" /> |
|
|
|
<el-select v-model="ckId" filterable clearable placeholder="请选择仓库" @change="ckChange"> |
|
|
|
<el-option v-for="item in ckList" :key="item.id" :label="item.name" :value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item label="选择楼栋"> |
|
|
@ -217,7 +216,7 @@ |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import { getOtherList, sysArm, sysDisArm } from '@/api/device/device' |
|
|
|
import { getOtherList, sysArm, sysDisArm, getWareHouseList } from '@/api/device/device' |
|
|
|
import { getVedioPcRecById, getVedioPcLiveById } from '@/api/deviceImage/deviceImage' |
|
|
|
// import baojingchaxunAdd from './baojingchaxunAdd' |
|
|
|
// import baojingchaxunInfo from './baojingchaxunInfo' |
|
|
@ -298,7 +297,8 @@ export default { |
|
|
|
dialogImageJKRec: false, |
|
|
|
// 视频开始 |
|
|
|
videoSrc: '../../../image/cangkushipin.mp4', |
|
|
|
|
|
|
|
ckList: [], |
|
|
|
ckId: '', |
|
|
|
playStatus: '', |
|
|
|
muteStatus: '', |
|
|
|
spUrl: '', |
|
|
@ -375,6 +375,20 @@ export default { |
|
|
|
this.init() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
ckChange(item) { |
|
|
|
getOtherList({ type: 1, ckId: item }).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.zc_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
getOtherList({ type: 2, ckId: item }).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.dzwl_list = res.data |
|
|
|
} |
|
|
|
console.log(this.dzwl_list) |
|
|
|
}) |
|
|
|
}, |
|
|
|
bodyCloseMenus() { |
|
|
|
console.log(111111) |
|
|
|
this.active = -1 |
|
|
@ -587,6 +601,12 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
init() { |
|
|
|
getWareHouseList().then(res => { |
|
|
|
console.log(res) |
|
|
|
if (res.code == 200) { |
|
|
|
this.ckList = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getOtherList({ type: 1 }).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.zc_list = res.data |
|
|
|