From cd636f2f3ce21e8c8c852e965bed768251a4afad Mon Sep 17 00:00:00 2001
From: MO <448233645@qq.com>
Date: Thu, 19 Oct 2023 14:21:43 +0800
Subject: [PATCH] =?UTF-8?q?=E5=80=9F=E9=98=85=E7=94=B3=E8=AF=B7=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/archives/record/index.vue | 1 -
src/views/borrow/apply/index.vue | 38 +++++++++++++++++++++--
src/views/fileAuth/authenticate/index.vue | 9 ++----
3 files changed, 37 insertions(+), 11 deletions(-)
diff --git a/src/views/archives/record/index.vue b/src/views/archives/record/index.vue
index 395fc1c3..fb598d72 100644
--- a/src/views/archives/record/index.vue
+++ b/src/views/archives/record/index.vue
@@ -1106,7 +1106,6 @@ export default {
catalogNumOptions: [], //目录号
caseNumOptions: [], //全宗号
organizationList: [],
- fileTypeOptions: [], //档案类型
};
},
created() {
diff --git a/src/views/borrow/apply/index.vue b/src/views/borrow/apply/index.vue
index 4aa138a9..5f9dd072 100644
--- a/src/views/borrow/apply/index.vue
+++ b/src/views/borrow/apply/index.vue
@@ -286,18 +286,38 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -374,6 +394,7 @@ export default {
remark: null,
createTime: [],
},
+ optType: null,
// 表单参数
form: {},
// 表单校验
@@ -383,6 +404,7 @@ export default {
mediaOptions: [],
userOptions: [], //用户数据
filesNumOptions: [], //借阅档案数据
+ fileTypeOptions: [], //档案类型
};
},
created() {
@@ -434,6 +456,14 @@ export default {
}).then((res) => {
this.mediaOptions = res.data.list || [];
});
+ // 获取档案类型
+ listData({
+ pageNo: 1,
+ pageSize: 100,
+ dictType: "archives_file_type",
+ }).then((res) => {
+ this.fileTypeOptions = res.data.list || [];
+ });
},
//获取用户
getUserList() {
@@ -480,12 +510,14 @@ export default {
/** 新增按钮操作 */
handleAdd() {
this.reset();
+ this.optType = "add";
this.open = true;
this.title = "添加档案借阅申请";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
+ this.optType = "edit";
const id = row.id;
getBorrowApply(id).then((response) => {
this.form = response.data;
diff --git a/src/views/fileAuth/authenticate/index.vue b/src/views/fileAuth/authenticate/index.vue
index dbdccbaa..de4c776f 100644
--- a/src/views/fileAuth/authenticate/index.vue
+++ b/src/views/fileAuth/authenticate/index.vue
@@ -159,10 +159,7 @@