新增装册管理
parent
3a86ff2de5
commit
ec639374cd
@ -0,0 +1,253 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
title="档案选择"
|
||||
v-if="showFlag"
|
||||
:visible.sync="showFlag"
|
||||
:modal="false"
|
||||
width="80%"
|
||||
center
|
||||
>
|
||||
<!-- <el-form
|
||||
:model="queryParams"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
v-show="showSearch"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-row>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="会计科目编号" prop="accountCode">
|
||||
<el-input
|
||||
v-model="queryParams.accountCode"
|
||||
placeholder="请输入会计科目编号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="会计科目名称" prop="accountName">
|
||||
<el-input
|
||||
v-model="queryParams.accountName"
|
||||
placeholder="请输入会计科目名称"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-search"
|
||||
size="mini"
|
||||
@click="handleQuery"
|
||||
>搜索</el-button
|
||||
>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
||||
>重置</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form> -->
|
||||
<el-row>
|
||||
<right-toolbar
|
||||
:showSearch.sync="showSearch"
|
||||
@queryTable="getList"
|
||||
></right-toolbar>
|
||||
</el-row>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="accountList"
|
||||
@current-change="handleCurrent"
|
||||
@row-dblclick="handleRowDbClick"
|
||||
>
|
||||
<el-table-column width="50" align="center">
|
||||
<template v-slot="scope">
|
||||
<el-radio
|
||||
v-model="selectedAccountId"
|
||||
:label="scope.row.subjectId"
|
||||
@change="handleRowChange(scope.row)"
|
||||
>{{ "" }}</el-radio
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="业务实体" align="center" prop="company" />
|
||||
<el-table-column label="归档频次" align="center" prop="frequency" />
|
||||
<el-table-column label="档案类型" align="center" prop="fileType">
|
||||
<template v-slot="scope">
|
||||
<dict-tag
|
||||
:type="DICT_TYPE.ARCHIVES_FILE_TYPE"
|
||||
:value="scope.row.fileType"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="会计年份" align="center" prop="year" />
|
||||
<el-table-column label="会计月份" align="center" prop="period" />
|
||||
<el-table-column label="起止凭证号" align="center" prop="vouNum" />
|
||||
<el-table-column label="全宗号" align="center" prop="caseNum" />
|
||||
<el-table-column label="目录号" align="center" prop="catalogNum" />
|
||||
<el-table-column label="案卷号" align="center" prop="filesNum" />
|
||||
<el-table-column label="档案位置" align="center" prop="site" />
|
||||
<el-table-column label="关联号" align="center" prop="flowId" />
|
||||
<el-table-column
|
||||
label="创建日期"
|
||||
align="center"
|
||||
prop="createTime"
|
||||
width="160"
|
||||
>
|
||||
<template v-slot="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="归档详情" align="center" prop="note" />
|
||||
<el-table-column label="归档状态" align="center" prop="fileStatus">
|
||||
<template v-slot="scope">
|
||||
<dict-tag
|
||||
:type="DICT_TYPE.ARCHIVES_FILE_STATUS"
|
||||
:value="scope.row.fileStatus"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="借阅状态" align="center" prop="borrowStatus" />
|
||||
<el-table-column label="鉴定状态" align="center" prop="identifyStatus" />
|
||||
<el-table-column label="归档时间" align="center" prop="recordTime" />
|
||||
<el-table-column label="备注" align="center" prop="remark" />
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="confirmSelect">确 定</el-button>
|
||||
<el-button @click="showFlag = false">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getRecordPage } from "@/api/archives/record";
|
||||
export default {
|
||||
name: "ArchivesSelect",
|
||||
data() {
|
||||
return {
|
||||
showFlag: false,
|
||||
selectedAccountId: undefined,
|
||||
selectedRow: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 非单个禁用
|
||||
single: true,
|
||||
// 非多个禁用
|
||||
multiple: true,
|
||||
// 显示搜索条件
|
||||
showSearch: true,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 会计科目表格数据
|
||||
accountList: [],
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
companyId: null,
|
||||
company: null,
|
||||
frequency: null,
|
||||
fileType: null,
|
||||
year: null,
|
||||
period: null,
|
||||
vouNum: null,
|
||||
caseNum: null,
|
||||
catalogNum: null,
|
||||
filesNum: null,
|
||||
site: null,
|
||||
flowId: null,
|
||||
createTime: [],
|
||||
status: null,
|
||||
note: null,
|
||||
fileStatus: null,
|
||||
borrowStatus: null,
|
||||
identifyStatus: null,
|
||||
remark: null,
|
||||
recordTime: [],
|
||||
deptId: null,
|
||||
deptName: null,
|
||||
attr1: null,
|
||||
attr2: null,
|
||||
attr3: null,
|
||||
attr4: null,
|
||||
userId: null,
|
||||
organizationId: null, //立档单位
|
||||
depotId: null, //库房
|
||||
cabinetId: null, //档案柜
|
||||
},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
/** 查询列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
getRecordPage(this.queryParams).then((response) => {
|
||||
this.accountList = response.data.list;
|
||||
this.total = response.data.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
handleCurrent(row) {
|
||||
if (row) {
|
||||
this.selectedRow = row;
|
||||
}
|
||||
},
|
||||
//行双击选中
|
||||
handleRowDbClick(row) {
|
||||
if (row) {
|
||||
this.selectedRow = row;
|
||||
this.$emit("onSelected", this.selectedRow);
|
||||
this.showFlag = false;
|
||||
}
|
||||
},
|
||||
// 单选选中数据
|
||||
handleRowChange(row) {
|
||||
if (row) {
|
||||
this.selectedRow = row;
|
||||
}
|
||||
},
|
||||
//确定选中
|
||||
confirmSelect() {
|
||||
if (this.selectedAccountId == null || this.selectedAccountId == 0) {
|
||||
this.$notify({
|
||||
title: "提示",
|
||||
type: "warning",
|
||||
message: "请至少选择一条数据!",
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.$emit("onSelected", this.selectedRow);
|
||||
this.showFlag = false;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
@ -0,0 +1,110 @@
|
||||
<template>
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="form"
|
||||
label-width="100px"
|
||||
style="margin-top: 20px; margin-right: 10px"
|
||||
>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="业务实体:" prop="company">
|
||||
<el-input v-model="form.company" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="库房名称:" prop="depotName">
|
||||
<el-input v-model="form.depotName" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="档案柜名称:" prop="cabinetName">
|
||||
<el-input v-model="form.cabinetName" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="会计年份:" prop="year">
|
||||
<el-input v-model="form.year" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="会计月份:" prop="period">
|
||||
<el-input v-model="form.period" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="全宗号:" prop="caseNum">
|
||||
<el-input v-model="form.caseNum" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="目录号:" prop="catalogNum">
|
||||
<el-input v-model="form.catalogNum" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="案卷号:" prop="filesNum">
|
||||
<el-input v-model="form.filesNum" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="关联号:" prop="flowId">
|
||||
<el-input v-model="form.flowId" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="装册时间:" prop="packageTime">
|
||||
<el-input v-model="form.packageTime" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="装册数量:" prop="packageNum">
|
||||
<el-input v-model="form.packageNum" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-form-item label="备注:" prop="remark">
|
||||
<el-input v-model="form.remark" type="textarea" placeholder="" readonly />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getCodeValueo } from "@/api/login";
|
||||
export default {
|
||||
name: "info",
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
form: {},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
console.log(location);
|
||||
this.getCodeValueo();
|
||||
},
|
||||
methods: {
|
||||
getCodeValueo() {
|
||||
// const params = window.location.search.substring(1);
|
||||
const params = new URLSearchParams(location.search);
|
||||
const name = params.get("codeValue");
|
||||
console.log(name);
|
||||
getCodeValueo({
|
||||
codeValue: name,
|
||||
}).then((response) => {
|
||||
this.form = response.data;
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
Loading…
Reference in New Issue