|
@@ -235,7 +235,7 @@ export default {
|
|
|
this.authorityLists.forEach(item => {
|
|
|
savejob.push({
|
|
|
SmId: item.id,
|
|
|
- FIds: item.selList,
|
|
|
+ FIds: this.unique(item.selList),
|
|
|
});
|
|
|
})
|
|
|
console.log(savejob);
|
|
@@ -349,6 +349,9 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
|
|
|
+ },
|
|
|
+ unique(arr) {
|
|
|
+ return Array.from(new Set(arr));
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|