借阅申请新增借阅档案

main
mo 1 year ago
parent 0bdec38a64
commit 754ffecdc9

@ -270,6 +270,8 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="档案介质" prop="media">
<el-select v-model="form.media" placeholder="请选择档案介质">
@ -280,8 +282,22 @@
:label="item.label"
>
</el-option>
</el-select> </el-form-item
></el-col>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="借阅档案" prop="filesNum">
<el-select v-model="form.filesNum" placeholder="请选择借阅档案">
<el-option
v-for="item in filesNumOptions"
:key="item.id"
:value="item.filesNum"
:label="item.filesNum"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
@ -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() {
//

Loading…
Cancel
Save