后台挂载BUG修改 前台视频资源上限改为1000
This commit is contained in:
parent
a25df90421
commit
f54169dfa3
|
@ -762,11 +762,15 @@ export default {
|
||||||
this.notFilled.push('部门联系人电话')
|
this.notFilled.push('部门联系人电话')
|
||||||
}
|
}
|
||||||
if (this.radio === '智能算法' && !this.submitFrom.apiUrl) {
|
if (this.radio === '智能算法' && !this.submitFrom.apiUrl) {
|
||||||
|
if ((this.submitFrom.infoList.filter(val => val.attrType === '使用方式')[0].attrValue === '调用接口')) {
|
||||||
this.notFilled.push('服务接口')
|
this.notFilled.push('服务接口')
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (this.radio === '智能算法' && !this.submitFrom.apiMethodType) {
|
if (this.radio === '智能算法' && !this.submitFrom.apiMethodType) {
|
||||||
|
if ((this.submitFrom.infoList.filter(val => val.attrType === '使用方式')[0].attrValue === '调用接口')) {
|
||||||
this.notFilled.push('接口请求方式')
|
this.notFilled.push('接口请求方式')
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (this.radio === '智能算法' && (!this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0] || !this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0].attrValue)) {
|
if (this.radio === '智能算法' && (!this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0] || !this.submitFrom.infoList.filter(val => val.attrType === '算法类别')[0].attrValue)) {
|
||||||
this.notFilled.push('算法类别')
|
this.notFilled.push('算法类别')
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,7 +266,7 @@
|
||||||
current: 1,
|
current: 1,
|
||||||
pageSize: 10, //每页中显示10条数据
|
pageSize: 10, //每页中显示10条数据
|
||||||
showSizeChanger: true,
|
showSizeChanger: true,
|
||||||
pageSizeOptions: ['10','30', '50','100'], //每页中显示的数据
|
pageSizeOptions: ['10', '30', '50', '100', '1000'], //每页中显示的数据
|
||||||
})
|
})
|
||||||
const mapSearchParam = ref({
|
const mapSearchParam = ref({
|
||||||
// 地图搜索初始化数据
|
// 地图搜索初始化数据
|
||||||
|
@ -709,8 +709,8 @@
|
||||||
const onSelectChange = (record, selected, selectedRows, nativeEvent) => {
|
const onSelectChange = (record, selected, selectedRows, nativeEvent) => {
|
||||||
console.log('hahhahah', record, selected, selectedRows, nativeEvent)
|
console.log('hahhahah', record, selected, selectedRows, nativeEvent)
|
||||||
if (selected) {
|
if (selected) {
|
||||||
if (selectedRowKeys.value.length == 100) {
|
if (selectedRowKeys.value.length == 1000) {
|
||||||
message.warning('最多只能添加100个摄像头!')
|
message.warning('最多只能添加1000个摄像头!')
|
||||||
} else {
|
} else {
|
||||||
selectedList.value.push(record)
|
selectedList.value.push(record)
|
||||||
selectedRowKeys.value.push(record.channelCode || record.channelId)
|
selectedRowKeys.value.push(record.channelCode || record.channelId)
|
||||||
|
@ -734,8 +734,8 @@
|
||||||
selectedList.value.push(val)
|
selectedList.value.push(val)
|
||||||
selectedRowKeys.value.push(val.channelCode || val.channelId)
|
selectedRowKeys.value.push(val.channelCode || val.channelId)
|
||||||
})
|
})
|
||||||
if (selectedRowKeys.value.length > 100) {
|
if (selectedRowKeys.value.length > 1000) {
|
||||||
message.warning('最多只能添加100个摄像头!')
|
message.warning('最多只能添加1000个摄像头!')
|
||||||
changeRows.map((val) => {
|
changeRows.map((val) => {
|
||||||
selectedList.value = selectedList.value.filter(
|
selectedList.value = selectedList.value.filter(
|
||||||
(item) => item.idtCameraChannel !== val.idtCameraChannel
|
(item) => item.idtCameraChannel !== val.idtCameraChannel
|
||||||
|
|
Loading…
Reference in New Issue