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