|
|
|
@ -580,10 +580,7 @@ export default {
|
|
|
|
this.select.page = 1
|
|
|
|
this.select.page = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const res = await flowList(this.$route.params.type, this.select, false);
|
|
|
|
const res = await flowList(this.$route.params.type, this.select, false);
|
|
|
|
console.log(res);
|
|
|
|
res.data?.data?.forEach(i => this.contentFormatter(i))
|
|
|
|
if (this.$route.params.type === 'todo') {
|
|
|
|
|
|
|
|
res.data?.data?.forEach(i => this.contentFormatter(i))
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.list = res?.data?.data || [];
|
|
|
|
this.list = res?.data?.data || [];
|
|
|
|
this.total = res?.data?.total ?? 0;
|
|
|
|
this.total = res?.data?.total ?? 0;
|
|
|
|
this.models = res.customModels;
|
|
|
|
this.models = res.customModels;
|
|
|
|
|