diff --git a/src/views/borrow/apply/index.vue b/src/views/borrow/apply/index.vue
index 5f9dd072..9e7a31ce 100644
--- a/src/views/borrow/apply/index.vue
+++ b/src/views/borrow/apply/index.vue
@@ -393,6 +393,7 @@ export default {
company: null,
remark: null,
createTime: [],
+ historyOrList: "List",
},
optType: null,
// 表单参数
@@ -432,27 +433,27 @@ export default {
},
//获取字典数据
handleInitList() {
- // 获取借阅申请类型
+ // 获取借阅申请状态
listData({
pageNo: 1,
pageSize: 100,
- dictType: "borrow_apply",
+ dictType: "borrow_state",
}).then((res) => {
this.borrowStateOptions = res.data.list || [];
});
- // 获取借阅申请类型
+ // 获取借阅申请方式
listData({
pageNo: 1,
pageSize: 100,
- dictType: "archives_way",
+ dictType: "way_type",
}).then((res) => {
this.wayOptions = res.data.list || [];
});
- // 获取借阅申请类型
+ // 获取借阅申请介质类型
listData({
pageNo: 1,
pageSize: 100,
- dictType: "archives_media",
+ dictType: "media_type",
}).then((res) => {
this.mediaOptions = res.data.list || [];
});
diff --git a/src/views/borrow/record/index.vue b/src/views/borrow/record/index.vue
index 016d1ed0..5aed91a0 100644
--- a/src/views/borrow/record/index.vue
+++ b/src/views/borrow/record/index.vue
@@ -124,7 +124,7 @@
{{ parseTime(scope.row.createTime) }}
-
+
{
- this.form = response.data;
- this.open = true;
- this.title = "修改档案借阅申请";
+ const data = { id: row.id, borrowState: "2", recordId: row.recordId };
+ updateBorrowApply(data).then((response) => {
+ this.getList();
+ this.$modal.msgSuccess("归还成功");
});
},
/** 提交按钮 */