diff --git a/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue index 4cfd649b2..e65b520ec 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue @@ -179,6 +179,22 @@ export default { this.queryProcess() }, queryProcess () { // 查询待办流程 + this.$http.postData('lawss/activiti/doneProcess', { + current: this.pageNo, + size: this.$store.getters.userInfo.configContent, + userId: this.$store.getters.userInfo.userId, + prcName: this.searchForm.prcName, + prcType: parseInt(this.searchForm.prcType) || '', + prcNum: this.searchForm.prcNum + }, { + loading: 'loading', + _this: this + }, res => { + console.log(res) + this.processList = res.list || [] + this.total = res.count + }, e => { + }) }, selectProcessBtn () { // 搜索按钮 this.pageNo = 1 diff --git a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue index f788dbf12..b23c1234a 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue @@ -179,6 +179,23 @@ export default { this.queryProcess() }, queryProcess () { // 查询待办流程 + this.$http.postData('lawss/activiti/IssuedProcess', + { + current: this.pageNo, + size: this.$store.getters.userInfo.configContent, + userId: this.$store.getters.userInfo.userId, + prcName: this.searchForm.prcName, + prcType: parseInt(this.searchForm.prcType) || '', + prcNum: this.searchForm.prcNum + }, + { + loading: 'loading', + _this: this + }, res => { + this.processList = res.list + this.total = res.count + }, e => { + }) }, selectProcessBtn () { // 搜索按钮 this.pageNo = 1 diff --git a/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue b/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue index 492b68d1d..66a405294 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/monitorProcess/index.vue @@ -179,6 +179,23 @@ export default { this.queryProcess() }, queryProcess () { // 查询待办流程 + this.$http.postData('lawss/activiti/allProcess', + { + current: this.pageNo, + size: this.$store.getters.userInfo.configContent, + userId: this.$store.getters.userInfo.userId, + prcName: this.searchForm.prcName, + prcType: parseInt(this.searchForm.prcType) || '', + prcNum: this.searchForm.prcNum + }, + { + loading: 'loading', + _this: this + }, res => { + this.processList = res.list || [] + this.total = res.count + }, e => { + }) }, selectProcessBtn () { // 搜索按钮 this.pageNo = 1 diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index e9a545f17..f55bc97d9 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -199,7 +199,6 @@ export default { }, e => { }) }, - selectProcessBtn () { // 搜索按钮 this.pageNo = 1 this.queryProcess() diff --git a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue index 42fbdb731..a666b610f 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue @@ -179,6 +179,20 @@ export default { this.queryProcess() }, queryProcess () { // 查询待办流程 + this.$http.postData('lawss/activiti/queryTaskDraft', { + current: this.pageNo, + size: parseInt(this.$store.getters.userInfo.configContent), + userId: this.$store.getters.userInfo.usid || this.$store.getters.userInfo.userId, + prcName: this.searchForm.prcName, + prcType: parseInt(this.searchForm.prcType) || '' + }, + { + loading: 'loading', + _this: this + }, res => { + this.processList = res.list + this.total = res.count + }) }, selectProcessBtn () { // 搜索按钮 this.pageNo = 1