This commit is contained in:
yanran200730
2022-03-22 17:51:53 +08:00
parent 1b290214f6
commit 1ddf31185c
7 changed files with 10 additions and 6 deletions

View File

@@ -15,6 +15,7 @@
size="mini"
placeholder="请输入部门名称"
v-model="unitName"
clearable
suffix-icon="iconfont iconSearch">
</el-input>
</div>

View File

@@ -55,8 +55,9 @@
<el-input placeholder="输入公文名称/编号"
v-model="searchObj.name"
size="small"
@change="(page.current = 1), getList()"
v-throttle="() => {page.current = 1, getList()}"
clearable
@clear="page.current = 1, searchObj.name = '', getList()"
prefix-icon="iconfont iconSearch"/>
</template>
</ai-search-bar>
@@ -192,7 +193,7 @@ export default {
];
},
},
mounted() {
created() {
this.dict.load('officialDocumentName', 'officialDocumentConfidentialityLevel', 'officialDocumentReadType', 'documentStatus').then(() => {
this.$nextTick(() => this.getList())
})