重点工程视频监控信息维护增加企业ID字段的增删改和对接
parent
f8af529c6e
commit
75c3699ef8
|
@ -156,6 +156,13 @@
|
||||||
<el-input v-model="addForm.info.REMAKE" style="width: 100%" placeholder="请输入内容"/>
|
<el-input v-model="addForm.info.REMAKE" style="width: 100%" placeholder="请输入内容"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-form-item label="所属企业:" prop="CORPINFO_ID">
|
||||||
|
<el-select v-model="addForm.info.CORPINFO_ID" style="width: 100%;">
|
||||||
|
<el-option v-for="item in corpinfoAllList" :key="item.CORPINFO_ID" :value="item.CORPINFO_ID" :label="item.CORP_NAME"/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="addForm.dialogVisible = false">取 消</el-button>
|
<el-button @click="addForm.dialogVisible = false">取 消</el-button>
|
||||||
|
@ -213,6 +220,7 @@ export default {
|
||||||
dialogVideoHLS: false,
|
dialogVideoHLS: false,
|
||||||
dialogVideoBack: false,
|
dialogVideoBack: false,
|
||||||
dialogVideoAll: false,
|
dialogVideoAll: false,
|
||||||
|
corpinfoAllList: [],
|
||||||
VIDEOURL: '',
|
VIDEOURL: '',
|
||||||
player: {},
|
player: {},
|
||||||
//
|
//
|
||||||
|
@ -305,12 +313,22 @@ export default {
|
||||||
async created() {
|
async created() {
|
||||||
await this.getUnitsList()
|
await this.getUnitsList()
|
||||||
await this.getList()
|
await this.getList()
|
||||||
|
await this.getCoroInfoAll()
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
console.log('定时器关闭')
|
console.log('定时器关闭')
|
||||||
clearInterval(this.timer)
|
clearInterval(this.timer)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getCoroInfoAll() {
|
||||||
|
requestFN(
|
||||||
|
'/corpinfo/listSelect',
|
||||||
|
{ }
|
||||||
|
).then((data) => {
|
||||||
|
this.corpinfoAllList = data.list
|
||||||
|
}).catch((e) => {
|
||||||
|
})
|
||||||
|
},
|
||||||
// 五分钟关闭视频播放页面定时任务
|
// 五分钟关闭视频播放页面定时任务
|
||||||
start() {
|
start() {
|
||||||
console.log('定时器开启')
|
console.log('定时器开启')
|
||||||
|
@ -474,6 +492,7 @@ export default {
|
||||||
this.addForm.info.PHONE = row.PHONE
|
this.addForm.info.PHONE = row.PHONE
|
||||||
this.addForm.info.PERSON = row.PERSON
|
this.addForm.info.PERSON = row.PERSON
|
||||||
this.addForm.info.REMAKE = row.REMAKE
|
this.addForm.info.REMAKE = row.REMAKE
|
||||||
|
this.addForm.info.CORPINFO_ID = row.CORPINFO_ID
|
||||||
this.addForm.dialogType = 'edit'
|
this.addForm.dialogType = 'edit'
|
||||||
this.addForm.dialogVisible = true
|
this.addForm.dialogVisible = true
|
||||||
},
|
},
|
||||||
|
@ -543,7 +562,8 @@ export default {
|
||||||
CODE: '', // 摄像头编号
|
CODE: '', // 摄像头编号
|
||||||
REMAKE: '', // 在线情况
|
REMAKE: '', // 在线情况
|
||||||
PHONE: '', // 手机号码
|
PHONE: '', // 手机号码
|
||||||
PERSON: '' // 负责人
|
PERSON: '', // 负责人
|
||||||
|
CORPINFO_ID: '' // 企业ID
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 搜索
|
// 搜索
|
||||||
|
|
Loading…
Reference in New Issue