布局待办中心

This commit is contained in:
sunFlower
2022-10-14 13:58:15 +08:00
parent d118dcaad9
commit 9510b39db1
12 changed files with 188 additions and 26 deletions
@@ -114,7 +114,28 @@
return {
queryParam: {},
toggleSearchStatus: false,
taskTypeList: [],
taskTypeList: [
{
name:this.$t('confirmationOfRegulationsList'),
value:'1',
},
{
name:this.$t('listTaskConfirmation'),
value:'2',
},
{
name:this.$t('designComplianceReview'),
value:'3',
},
{
name:this.$t('preHomeConfirmation'),
value:'4',
},
{
name:this.$t('verificationComplianceReview'),
value:'5',
},
],
taskStatusList: [],
tabActive: this.$t('toDoProcess')
}
@@ -127,10 +148,23 @@
this.toggleSearchStatus = !this.toggleSearchStatus
},
searchQuery() {
if (this.tabActive == this.$t('toDoProcess')) {
this.$refs.dealtWithRef.searchQuery(this.queryParam )
} else if (this.tabActive == this.$t('processDone')) {
this.$refs.doneListRef.searchQuery(this.queryParam )
} else if (this.tabActive == this.$t('sentProcess')) {
this.$refs.SentListRef.searchQuery(this.queryParam )
}
},
searchReset() {
this.queryParam = {}
if (this.tabActive == this.$t('toDoProcess')) {
this.$refs.dealtWithRef.searchReset()
} else if (this.tabActive == this.$t('processDone')) {
this.$refs.doneListRef.searchReset()
} else if (this.tabActive == this.$t('sentProcess')) {
this.$refs.SentListRef.searchReset()
}
},
taskConfirmationHandlingClick() {
this.$router.push({