Compare commits
No commits in common. "8fa81f1f76ecd2663786ca916efaef5486cdac38" and "3a317a03d3ec5994360c735d110edc231c1ce414" have entirely different histories.
8fa81f1f76
...
3a317a03d3
|
|
@ -208,15 +208,8 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
getWfOptions() {
|
||||
let permissions = this.$TOOL.data.get("PERMISSIONS");
|
||||
this.$API.wf.workflow.list.req({ page: 0 }).then((res) => {
|
||||
let wfOptions = [];
|
||||
res.forEach((item) => {
|
||||
if(item.key && permissions.includes(item.key)) {
|
||||
wfOptions.push(item)
|
||||
}
|
||||
})
|
||||
this.wfOptions = wfOptions;
|
||||
this.wfOptions = res;
|
||||
});
|
||||
},
|
||||
reStart(row) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue