重点工程视频监控信息维护增加企业ID字段的增删改和对接

cmt地图合并
songwenxuan 2024-03-12 15:11:10 +08:00
parent f8af529c6e
commit 75c3699ef8
1 changed files with 21 additions and 1 deletions

View File

@ -156,6 +156,13 @@
<el-input v-model="addForm.info.REMAKE" style="width: 100%" placeholder="请输入内容"/>
</el-form-item>
</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>
<div slot="footer" class="dialog-footer">
<el-button @click="addForm.dialogVisible = false"> </el-button>
@ -213,6 +220,7 @@ export default {
dialogVideoHLS: false,
dialogVideoBack: false,
dialogVideoAll: false,
corpinfoAllList: [],
VIDEOURL: '',
player: {},
//
@ -305,12 +313,22 @@ export default {
async created() {
await this.getUnitsList()
await this.getList()
await this.getCoroInfoAll()
},
beforeDestroy() {
console.log('定时器关闭')
clearInterval(this.timer)
},
methods: {
getCoroInfoAll() {
requestFN(
'/corpinfo/listSelect',
{ }
).then((data) => {
this.corpinfoAllList = data.list
}).catch((e) => {
})
},
//
start() {
console.log('定时器开启')
@ -474,6 +492,7 @@ export default {
this.addForm.info.PHONE = row.PHONE
this.addForm.info.PERSON = row.PERSON
this.addForm.info.REMAKE = row.REMAKE
this.addForm.info.CORPINFO_ID = row.CORPINFO_ID
this.addForm.dialogType = 'edit'
this.addForm.dialogVisible = true
},
@ -543,7 +562,8 @@ export default {
CODE: '', //
REMAKE: '', // 线
PHONE: '', //
PERSON: '' //
PERSON: '', //
CORPINFO_ID: '' // ID
}
},
//