diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index 11b91214..1cf82d5d 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -762,10 +762,14 @@ export default { this.notFilled.push('部门联系人电话') } if (this.radio === '智能算法' && !this.submitFrom.apiUrl) { - this.notFilled.push('服务接口') + if ((this.submitFrom.infoList.filter(val => val.attrType === '使用方式')[0].attrValue === '调用接口')) { + this.notFilled.push('服务接口') + } } if (this.radio === '智能算法' && !this.submitFrom.apiMethodType) { - this.notFilled.push('接口请求方式') + 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('算法类别') diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index a17d0296..434d5966 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -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