|
@@ -660,8 +660,9 @@ export default {
|
660
|
660
|
var zoneid=''
|
661
|
661
|
console.log('kkkkk',e.target.innerText);
|
662
|
662
|
const inntext= e.target.innerText.split('(')[0]
|
|
663
|
+ console.log('vvvv',inntext,val.list[0].new_name);
|
663
|
664
|
for(let i=0;i<val.list.length;i++){
|
664
|
|
- if(inntext == val.list[i].name){
|
|
665
|
+ if(inntext == val.list[i].new_name){
|
665
|
666
|
console.log('6666',val,value);
|
666
|
667
|
console.log('7777',this.numberlist);
|
667
|
668
|
this.tipDialogVisible=true
|
|
@@ -820,7 +821,7 @@ export default {
|
820
|
821
|
curInfoDragStart(e,val){
|
821
|
822
|
const inntext2= e.target.innerText.split('(')[0]
|
822
|
823
|
for(let i=0;i<val.list.length;i++){
|
823
|
|
- if(inntext2 == val.list[i].name){
|
|
824
|
+ if(inntext2 == val.list[i].new_name){
|
824
|
825
|
this.cur_drag_info={
|
825
|
826
|
id:val.list[i].id,
|
826
|
827
|
name:val.list[i].name,
|
|
@@ -905,6 +906,12 @@ export default {
|
905
|
906
|
var numberlist=response.data.data.numberList
|
906
|
907
|
this.numberlist= numberlist
|
907
|
908
|
this.subzone = numberlist
|
|
909
|
+ for(let i=0;i<list.length;i++){
|
|
910
|
+ const new_name = 'new_name'
|
|
911
|
+ list[i][new_name]=this.nameSplit(list[i].name)
|
|
912
|
+
|
|
913
|
+ }
|
|
914
|
+ console.log('9999',list);
|
908
|
915
|
if (list != null && list.length > 0) {
|
909
|
916
|
const dataInfo = {}
|
910
|
917
|
list.forEach((item, index) => {
|