From 754ffecdc9ef6a24c3bf2d2abe53face460c6640 Mon Sep 17 00:00:00 2001
From: MO <448233645@qq.com>
Date: Thu, 19 Oct 2023 11:12:43 +0800
Subject: [PATCH] =?UTF-8?q?=E5=80=9F=E9=98=85=E7=94=B3=E8=AF=B7=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E5=80=9F=E9=98=85=E6=A1=A3=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/borrow/apply/index.vue | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/src/views/borrow/apply/index.vue b/src/views/borrow/apply/index.vue
index bac1728a..4aa138a9 100644
--- a/src/views/borrow/apply/index.vue
+++ b/src/views/borrow/apply/index.vue
@@ -270,6 +270,8 @@
+
+
@@ -280,8 +282,22 @@
:label="item.label"
>
-
+
+
+
+
+
+
+
+
+
+
+
@@ -317,6 +333,7 @@ import {
} from "@/api/borrow/apply";
import { listData } from "@/api/system/dict/data";
import { listUser } from "@/api/system/user";
+import { getRecordPage } from "@/api/archives/record";
export default {
name: "BorrowApply",
@@ -365,12 +382,14 @@ export default {
wayOptions: [],
mediaOptions: [],
userOptions: [], //用户数据
+ filesNumOptions: [], //借阅档案数据
};
},
created() {
this.getList();
this.handleInitList();
this.getUserList();
+ this.getFilesNum();
},
methods: {
/** 查询列表 */
@@ -383,6 +402,12 @@ export default {
this.loading = false;
});
},
+ // 获取借阅档案
+ getFilesNum() {
+ getRecordPage().then((response) => {
+ this.filesNumOptions = response.data.list;
+ });
+ },
//获取字典数据
handleInitList() {
// 获取借阅申请类型