fix -- 调整办公管理模块接口
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user