|
@@ -1132,12 +1132,16 @@ export default {
|
|
|
if (arr.length == 0) {
|
|
|
arr = chooseChannelNameList;
|
|
|
} else {
|
|
|
+ let status = false;
|
|
|
for (let i in this.chooiseItemData) {
|
|
|
let flag = false;
|
|
|
for (let j in arr) {
|
|
|
let tName = arr[j].label ? arr[j].label : arr[j].itemName;
|
|
|
if (this.chooiseItemData[i].label == tName) {
|
|
|
flag = true;
|
|
|
+ if (!status) {
|
|
|
+ status = true;
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -1145,6 +1149,13 @@ export default {
|
|
|
arr.push(this.chooiseItemData[i]);
|
|
|
}
|
|
|
}
|
|
|
+ if (status) {
|
|
|
+ //
|
|
|
+ this.$message({
|
|
|
+ message: '请注意,选择的数据项中含有重复的项',
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
this.handleCheckAllChange(false);
|
|
|
this.$nextTick(() => {
|