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