|
|
|
@ -103,7 +103,14 @@
|
|
|
|
|
prop="categoryCode"
|
|
|
|
|
/>
|
|
|
|
|
<!-- <el-table-column label="档案类型父id" align="center" prop="parentId" /> -->
|
|
|
|
|
<el-table-column label="类型名称" align="center" prop="typeName" />
|
|
|
|
|
<el-table-column label="类型名称" align="center" prop="typeName" >
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<dict-tag
|
|
|
|
|
:type="DICT_TYPE.ARCHIVES_FILE_TYPE"
|
|
|
|
|
:value="scope.row.typeName"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="目录号" align="center" prop="catalogNumber" />
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="二级类别号"
|
|
|
|
@ -193,7 +200,15 @@
|
|
|
|
|
</el-col> -->
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="类型名称" prop="typeName">
|
|
|
|
|
<el-input v-model="form.typeName" placeholder="请输入类型名称" />
|
|
|
|
|
<el-select v-model="form.typeName" placeholder="请选择档案类型">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in fileTypeOptions"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
@ -250,6 +265,7 @@ import {
|
|
|
|
|
} from "@/api/setting/fileCategory";
|
|
|
|
|
import { listData } from "@/api/system/dict/data";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "FileCategory",
|
|
|
|
|
components: {},
|
|
|
|
@ -269,6 +285,7 @@ export default {
|
|
|
|
|
title: "",
|
|
|
|
|
// 是否显示弹出层
|
|
|
|
|
open: false,
|
|
|
|
|
fileTypeOptions: [], //档案类型
|
|
|
|
|
// 查询参数
|
|
|
|
|
queryParams: {
|
|
|
|
|
pageNo: 1,
|
|
|
|
@ -294,6 +311,17 @@ export default {
|
|
|
|
|
this.handleInitList();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
//获取字典数据
|
|
|
|
|
handleInitList() {
|
|
|
|
|
// 获取档案类型
|
|
|
|
|
listData({
|
|
|
|
|
pageNo: 1,
|
|
|
|
|
pageSize: 100,
|
|
|
|
|
dictType: "archives_file_type",
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
this.fileTypeOptions = res.data.list || [];
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/** 查询列表 */
|
|
|
|
|
getList() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|