fix -- 调整办公管理模块接口

This commit is contained in:
konbai
2022-04-04 17:59:06 +08:00
parent 0858f853df
commit b51c4d91fd
16 changed files with 189 additions and 322 deletions

View File

@@ -82,7 +82,8 @@
</template>
<script>
import { finishedList, delDeployment, revokeProcess } from "@/api/workflow/finished";
import { listFinishedProcess } from '@/api/workflow/process';
import { delDeployment, revokeProcess } from "@/api/workflow/finished";
export default {
name: "Finished",
@@ -137,7 +138,7 @@ export default {
/** 查询流程定义列表 */
getList() {
this.loading = true;
finishedList(this.queryParams).then(response => {
listFinishedProcess(this.queryParams).then(response => {
this.finishedList = response.rows;
this.total = response.total;
this.loading = false;

View File

@@ -79,12 +79,8 @@
</template>
<script>
import { listTodoProcess } from '@/api/workflow/process';
import {
todoList,
complete,
returnList,
returnTask,
rejectTask,
delDeployment,
exportDeployment
} from "@/api/workflow/todo";
@@ -132,7 +128,7 @@ export default {
/** 查询流程定义列表 */
getList() {
this.loading = true;
todoList(this.queryParams).then(response => {
listTodoProcess(this.queryParams).then(response => {
this.todoList = response.rows;
this.total = response.total;
this.loading = false;