标准合规评估添加重复项目群提示 51844

This commit is contained in:
宋伟佳
2022-03-17 16:48:32 +08:00
parent 4643d9fde8
commit 578d76d202
@@ -528,6 +528,7 @@ export default {
// 查询相关参数
searching: false,
fileType: "",
subFlag: 0,
projectSearch: {
managementHostName: "", //管理主体
developmentHostName: "", //开发主体
@@ -847,8 +848,13 @@ export default {
this.projectList.forEach(items => {
if(!proData.includes(items.projectGroup)){
this.dataList.push(items)
}else{
this.subFlag++
}
})
if(this.subFlag > 0){
this.$message.warning('请勿重复添加数据')
}
}else{
this.dataList = this.projectList
}