From 340bb633cfccd17f8c12d9342d3ed0c1a622318c Mon Sep 17 00:00:00 2001
From: JiilingLee <462362@qq.com>
Date: Tue, 10 Oct 2023 11:29:45 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E5=88=86=E7=B1=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/setting/fileCategory/index.vue | 32 ++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
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;