|
|
|
@ -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() {
|
|
|
|
|
// 获取借阅申请类型
|
|
|
|
|