借阅申请新增借阅档案

main
mo 1 year ago
parent 0bdec38a64
commit 754ffecdc9

@ -270,6 +270,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="档案介质" prop="media"> <el-form-item label="档案介质" prop="media">
<el-select v-model="form.media" placeholder="请选择档案介质"> <el-select v-model="form.media" placeholder="请选择档案介质">
@ -280,8 +282,22 @@
:label="item.label" :label="item.label"
> >
</el-option> </el-option>
</el-select> </el-form-item </el-select>
></el-col> </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-row> <el-row>
<el-col :span="24"> <el-col :span="24">
@ -317,6 +333,7 @@ import {
} from "@/api/borrow/apply"; } from "@/api/borrow/apply";
import { listData } from "@/api/system/dict/data"; import { listData } from "@/api/system/dict/data";
import { listUser } from "@/api/system/user"; import { listUser } from "@/api/system/user";
import { getRecordPage } from "@/api/archives/record";
export default { export default {
name: "BorrowApply", name: "BorrowApply",
@ -365,12 +382,14 @@ export default {
wayOptions: [], wayOptions: [],
mediaOptions: [], mediaOptions: [],
userOptions: [], // userOptions: [], //
filesNumOptions: [], //
}; };
}, },
created() { created() {
this.getList(); this.getList();
this.handleInitList(); this.handleInitList();
this.getUserList(); this.getUserList();
this.getFilesNum();
}, },
methods: { methods: {
/** 查询列表 */ /** 查询列表 */
@ -383,6 +402,12 @@ export default {
this.loading = false; this.loading = false;
}); });
}, },
//
getFilesNum() {
getRecordPage().then((response) => {
this.filesNumOptions = response.data.list;
});
},
// //
handleInitList() { handleInitList() {
// //

Loading…
Cancel
Save