添加流程中心的初始化查询

This commit is contained in:
yf
2021-06-21 14:10:22 +08:00
parent d474a981e7
commit e5f18ec16c
5 changed files with 64 additions and 1 deletions
@@ -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
@@ -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
@@ -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
@@ -199,7 +199,6 @@ export default {
}, e => {
})
},
selectProcessBtn () { // 搜索按钮
this.pageNo = 1
this.queryProcess()
@@ -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