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