|
@@ -303,17 +303,14 @@ export default {
|
|
},
|
|
},
|
|
toRightPool(){
|
|
toRightPool(){
|
|
if(this.currentLis.length == 0){
|
|
if(this.currentLis.length == 0){
|
|
- this.$message({
|
|
|
|
- showClose: true,
|
|
|
|
- message: '请选择标签池标签',
|
|
|
|
- type: 'warning'
|
|
|
|
- });
|
|
|
|
|
|
+ // this.$message({
|
|
|
|
+ // showClose: true,
|
|
|
|
+ // message: '请选择标签池标签',
|
|
|
|
+ // type: 'warning'
|
|
|
|
+ // });
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
this.getRightListDes();
|
|
this.getRightListDes();
|
|
- if(this.choose == 'multiple'){
|
|
|
|
- // this.getRightListDes();
|
|
|
|
- }
|
|
|
|
},
|
|
},
|
|
toLeftPool(){ //往左返回数据
|
|
toLeftPool(){ //往左返回数据
|
|
if(this.choose == 'single' && utils.filterArr(this.selectArr,true,2) && this.poolDetailList[this.activePart].length > 0){
|
|
if(this.choose == 'single' && utils.filterArr(this.selectArr,true,2) && this.poolDetailList[this.activePart].length > 0){
|
|
@@ -454,7 +451,7 @@ export default {
|
|
++plus2
|
|
++plus2
|
|
if(plus2 == 5){ //右侧数据填满了
|
|
if(plus2 == 5){ //右侧数据填满了
|
|
// alert('请选择需要修改的模块')
|
|
// alert('请选择需要修改的模块')
|
|
- return;
|
|
|
|
|
|
+ // return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -506,7 +503,7 @@ export default {
|
|
if(num == 6){
|
|
if(num == 6){
|
|
for(let i = 1;i < this.poolDetailList.length;i++){
|
|
for(let i = 1;i < this.poolDetailList.length;i++){
|
|
let ids = [];
|
|
let ids = [];
|
|
- if(this.poolDetailList[i].length == 0 || (this.poolDetailList[i].length > 0 && !this.poolDetailList[i].id)){ //判断part里面是不是有数据,没有直接添加
|
|
|
|
|
|
+ if(this.poolDetailList[i].length == 0 || (this.poolDetailList[i].length > 0 && !this.poolDetailList[i][0].id)){ //判断part里面是不是有数据,没有直接添加
|
|
this.poolDetailList[i] = tmpArr;
|
|
this.poolDetailList[i] = tmpArr;
|
|
this.poolDetailListAll = Array.prototype.concat.apply([],this.poolDetailList);
|
|
this.poolDetailListAll = Array.prototype.concat.apply([],this.poolDetailList);
|
|
this.searchTagList();
|
|
this.searchTagList();
|