添加流程中心的初始化查询
This commit is contained in:
@@ -179,6 +179,22 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
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 () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
|
|||||||
@@ -179,6 +179,23 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
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 () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
|
|||||||
@@ -179,6 +179,23 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
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 () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
|
|||||||
@@ -199,7 +199,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
selectProcessBtn () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
|
|||||||
@@ -179,6 +179,20 @@ export default {
|
|||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
},
|
},
|
||||||
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 () { // 搜索按钮
|
selectProcessBtn () { // 搜索按钮
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user