修改待办的接口的传参
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="fixed">
|
||||
<div class="header-search">
|
||||
<!-- <van-icon class="icon" name="arrow-left"/>-->
|
||||
<van-search v-model="value"
|
||||
<van-search v-model="phoneQueryValue"
|
||||
@search="onSearch"
|
||||
@clear="onClear"
|
||||
:placeholder="$t('phoneSearch')"/>
|
||||
@@ -255,7 +255,8 @@
|
||||
sentProcessLoading: false,
|
||||
sentProcessFinished: false,
|
||||
sentProcessPageNo: 1,
|
||||
sentProcessPageSize: 10
|
||||
sentProcessPageSize: 10,
|
||||
phoneQueryValue:'',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -270,10 +271,57 @@
|
||||
},
|
||||
methods: {
|
||||
onSearch() {
|
||||
|
||||
if (this.form.checked) {
|
||||
this.form.mobileProcessing = '1'
|
||||
} else {
|
||||
this.form.mobileProcessing = '0'
|
||||
}
|
||||
if (this.activeTab == 'toDoProcess') {
|
||||
this.toDoProcessLoading = true
|
||||
this.toDoProcessList = []
|
||||
this.toDoProcessFinished = false
|
||||
this.toDoProcessPageNo = 1
|
||||
this.getToDoProcess()
|
||||
} else if (this.activeTab == 'processDone') {
|
||||
this.processDoneLoading = true
|
||||
this.processDoneList = []
|
||||
this.processDoneFinished = false
|
||||
this.processDonePageNo = 1
|
||||
this.getProcessDone()
|
||||
} else if (this.activeTab == 'sentProcess') {
|
||||
this.sentProcessLoading = true
|
||||
this.sentProcessList = []
|
||||
this.sentProcessFinished = false
|
||||
this.sentProcessPageNo = 1
|
||||
this.getSentProcess()
|
||||
}
|
||||
},
|
||||
onClear() {
|
||||
|
||||
this.phoneQueryValue = ''
|
||||
if (this.form.checked) {
|
||||
this.form.mobileProcessing = '1'
|
||||
} else {
|
||||
this.form.mobileProcessing = '0'
|
||||
}
|
||||
if (this.activeTab == 'toDoProcess') {
|
||||
this.toDoProcessLoading = true
|
||||
this.toDoProcessList = []
|
||||
this.toDoProcessFinished = false
|
||||
this.toDoProcessPageNo = 1
|
||||
this.getToDoProcess()
|
||||
} else if (this.activeTab == 'processDone') {
|
||||
this.processDoneLoading = true
|
||||
this.processDoneList = []
|
||||
this.processDoneFinished = false
|
||||
this.processDonePageNo = 1
|
||||
this.getProcessDone()
|
||||
} else if (this.activeTab == 'sentProcess') {
|
||||
this.sentProcessLoading = true
|
||||
this.sentProcessList = []
|
||||
this.sentProcessFinished = false
|
||||
this.sentProcessPageNo = 1
|
||||
this.getSentProcess()
|
||||
}
|
||||
},
|
||||
onChange(value) {
|
||||
if (value == 'search') {
|
||||
@@ -482,7 +530,8 @@
|
||||
let query = {
|
||||
pageNo: this.toDoProcessPageNo,
|
||||
pageSize: this.toDoProcessPageSize,
|
||||
...form
|
||||
...form,
|
||||
phoneQueryValue:this.phoneQueryValue
|
||||
}
|
||||
getAction('/phone/toDoCenter/queryTodoTaskPage', query).then((res) => {
|
||||
if (res.success) {
|
||||
@@ -507,7 +556,8 @@
|
||||
let query = {
|
||||
pageNo: this.processDonePageNo,
|
||||
pageSize: this.processDonePageSize,
|
||||
...form
|
||||
...form,
|
||||
phoneQueryValue:this.phoneQueryValue
|
||||
}
|
||||
getAction('/todoCenter/projectProcess/doneProcess', query).then((res) => {
|
||||
if (res.success) {
|
||||
@@ -532,7 +582,8 @@
|
||||
let query = {
|
||||
pageNo: this.sentProcessPageNo,
|
||||
pageSize: this.sentProcessPageSize,
|
||||
...form
|
||||
...form,
|
||||
phoneQueryValue:this.phoneQueryValue
|
||||
}
|
||||
getAction('/todoCenter/projectProcess/issuedProcess', query).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user