feat: There is no way the, bug 52907 52906
This commit is contained in:
+11
-8
@@ -2455,14 +2455,17 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
filterData(data){
|
filterData(data){
|
||||||
let result = ''
|
if(data.indexOf(",") !== -1){
|
||||||
let str1 = data.substring(0,1);
|
let permission = data.split(",");
|
||||||
if(str1 === ','){
|
const list = permission.filter ( item => item !== '');
|
||||||
result = data.substring(1,data.length)
|
let nameNew=Array.from(list).join(',')
|
||||||
this.sarBussionessStandEO['QCDW'] = result
|
if(nameNew.length > 0){
|
||||||
}else {
|
nameNew = nameNew.replace("undefined","").replace(",,",",")
|
||||||
this.sarBussionessStandEO['QCDW'] = data
|
}
|
||||||
}
|
this.$set(this.sarBussionessStandEO, 'QCDW', nameNew)
|
||||||
|
}else {
|
||||||
|
this.sarBussionessStandEO['QCDW'] = data
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async getTreeAsync(){
|
async getTreeAsync(){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user