diff --git a/src/views/setting/fileCategory/index.vue b/src/views/setting/fileCategory/index.vue index b2c3e68c..5b07479f 100644 --- a/src/views/setting/fileCategory/index.vue +++ b/src/views/setting/fileCategory/index.vue @@ -103,7 +103,14 @@ prop="categoryCode" /> - + + + --> - + + + + @@ -250,6 +265,7 @@ import { } from "@/api/setting/fileCategory"; import { listData } from "@/api/system/dict/data"; + export default { name: "FileCategory", components: {}, @@ -269,6 +285,7 @@ export default { title: "", // 是否显示弹出层 open: false, + fileTypeOptions: [], //档案类型 // 查询参数 queryParams: { pageNo: 1, @@ -294,6 +311,17 @@ export default { this.handleInitList(); }, methods: { + //获取字典数据 + handleInitList() { + // 获取档案类型 + listData({ + pageNo: 1, + pageSize: 100, + dictType: "archives_file_type", + }).then((res) => { + this.fileTypeOptions = res.data.list || []; + }); + }, /** 查询列表 */ getList() { this.loading = true;