fix workflow
This commit is contained in:
parent
aa987f839c
commit
32da0e7107
5 changed files with 86 additions and 30 deletions
|
|
@ -18,6 +18,7 @@ const modal = defineModel<boolean>("modal", { required: true });
|
|||
const props = defineProps({
|
||||
stateId: { type: String, require: true },
|
||||
fetchData: { type: Function, require: true },
|
||||
type: { type: String, require: true },
|
||||
});
|
||||
|
||||
/** table*/
|
||||
|
|
@ -72,7 +73,7 @@ const isReasonSetting = ref<boolean>(false);
|
|||
async function fetchLists() {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.workflow + `commander`)
|
||||
.get(config.API.workflow + `commander/${props.type}`)
|
||||
.then(async (res) => {
|
||||
rows.value = res.data.result;
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue