mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
add the function of fuzzy query item
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<el-container>
|
||||
<el-header>
|
||||
<notice-head @selectByCond="selectByCond"></notice-head>
|
||||
<notice-head @selectByCond="getLoading"></notice-head>
|
||||
</el-header>
|
||||
<el-main>
|
||||
<el-button
|
||||
@@ -63,16 +63,6 @@ export default {
|
||||
SIZE_ICON_MD() {
|
||||
return SIZE_ICON_MD
|
||||
},
|
||||
selectByCond() {
|
||||
noticeStore.selectAllNotice(
|
||||
this.currentPage,
|
||||
this.pageSize,
|
||||
this.search.title,
|
||||
this.search.type,
|
||||
this.search.startTime,
|
||||
this.search.endTime
|
||||
)
|
||||
},
|
||||
handleDialogClose() {
|
||||
noticeStore.$patch((state) => {
|
||||
state.dialogEditVisible = false
|
||||
@@ -101,6 +91,7 @@ export default {
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
''
|
||||
)
|
||||
} else if (response.data.code === 20034) {
|
||||
@@ -127,7 +118,8 @@ export default {
|
||||
this.search.title,
|
||||
this.search.type,
|
||||
this.search.startTime,
|
||||
this.search.endTime
|
||||
this.search.endTime,
|
||||
this.search.userName
|
||||
)
|
||||
},
|
||||
deleteBatchByIds() {
|
||||
@@ -154,6 +146,7 @@ export default {
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
''
|
||||
)
|
||||
} else if (response.data.code === 20034) {
|
||||
|
||||
Reference in New Issue
Block a user