|
|
|
@ -17,10 +17,10 @@
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="借阅申请状态" prop="borrowState">
|
|
|
|
|
<!-- <el-form-item label="借阅状态" prop="borrowState">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="queryParams.borrowState"
|
|
|
|
|
placeholder="请选择借阅申请状态"
|
|
|
|
|
placeholder="请选择借阅状态"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in borrowStateOptions"
|
|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form-item> -->
|
|
|
|
|
<el-form-item label="借阅人" prop="userName">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.userName"
|
|
|
|
@ -84,7 +84,7 @@
|
|
|
|
|
<el-table-column label="借阅人名称" align="center" prop="userName" />
|
|
|
|
|
<el-table-column label="借阅部门名称" align="center" prop="deptName" />
|
|
|
|
|
<el-table-column label="借阅事由" align="center" prop="reason" />
|
|
|
|
|
<el-table-column label="借阅申请状态" align="center" prop="borrowState">
|
|
|
|
|
<el-table-column label="借阅状态" align="center" prop="borrowState">
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<dict-tag
|
|
|
|
|
:type="DICT_TYPE.BORROW_APPLY"
|
|
|
|
@ -135,7 +135,6 @@
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-check"
|
|
|
|
|
v-if="scope.row.borrowState == null"
|
|
|
|
|
@click="handlePass(scope.row)"
|
|
|
|
|
v-hasPermi="['archives:borrowAapply:update']"
|
|
|
|
|
>通过</el-button
|
|
|
|
@ -144,7 +143,6 @@
|
|
|
|
|
size="mini"
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-close"
|
|
|
|
|
v-if="scope.row.borrowState == null"
|
|
|
|
|
@click="handleUnpass(scope.row)"
|
|
|
|
|
v-hasPermi="['archives:borrowAapply:update']"
|
|
|
|
|
>驳回</el-button
|
|
|
|
@ -223,22 +221,6 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<!-- <el-col :span="8">
|
|
|
|
|
<el-form-item label="借阅申请状态" prop="borrowState">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="form.borrowState"
|
|
|
|
|
placeholder="请选择借阅申请状态"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in borrowStateOptions"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col> -->
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="借阅事由" prop="reason">
|
|
|
|
|
<el-input
|
|
|
|
@ -482,7 +464,7 @@ export default {
|
|
|
|
|
this.form = {
|
|
|
|
|
id: undefined,
|
|
|
|
|
borrowCode: undefined,
|
|
|
|
|
borrowState: undefined,
|
|
|
|
|
borrowState: "1",
|
|
|
|
|
reason: undefined,
|
|
|
|
|
describe: undefined,
|
|
|
|
|
userId: undefined,
|
|
|
|
|