标准合规评估添加重复项目群提示 51844
This commit is contained in:
@@ -528,6 +528,7 @@ export default {
|
|||||||
// 查询相关参数
|
// 查询相关参数
|
||||||
searching: false,
|
searching: false,
|
||||||
fileType: "",
|
fileType: "",
|
||||||
|
subFlag: 0,
|
||||||
projectSearch: {
|
projectSearch: {
|
||||||
managementHostName: "", //管理主体
|
managementHostName: "", //管理主体
|
||||||
developmentHostName: "", //开发主体
|
developmentHostName: "", //开发主体
|
||||||
@@ -847,8 +848,13 @@ export default {
|
|||||||
this.projectList.forEach(items => {
|
this.projectList.forEach(items => {
|
||||||
if(!proData.includes(items.projectGroup)){
|
if(!proData.includes(items.projectGroup)){
|
||||||
this.dataList.push(items)
|
this.dataList.push(items)
|
||||||
|
}else{
|
||||||
|
this.subFlag++
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
if(this.subFlag > 0){
|
||||||
|
this.$message.warning('请勿重复添加数据')
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
this.dataList = this.projectList
|
this.dataList = this.projectList
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user