档案分类

main
JiilingLee 1 year ago
parent 9e40e8f3fe
commit 25c8971d31

@ -104,14 +104,7 @@
/> />
<!-- <el-table-column label="档案类型父id" align="center" prop="parentId" /> --> <!-- <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" />
<el-table-column label="目录号" align="center" prop="catalogNumber"> <el-table-column label="目录号" align="center" prop="catalogNumber" />
<template v-slot="scope">
<dict-tag
:type="DICT_TYPE.ARCHIVES_CATALOG_NUM"
:value="scope.row.catalogNumber"
/>
</template>
</el-table-column>
<el-table-column <el-table-column
label="二级类别号" label="二级类别号"
align="center" align="center"
@ -205,18 +198,7 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="目录号" prop="catalogNumber"> <el-form-item label="目录号" prop="catalogNumber">
<el-select <el-input v-model="form.catalogNumber" placeholder="请输入目录号" />
v-model="form.catalogNumber"
placeholder="请选择目录号"
>
<el-option
v-for="item in catalogNumOptions"
:key="item.id"
:value="item.value"
:label="item.label"
>
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -305,7 +287,6 @@ export default {
form: {}, form: {},
// //
rules: {}, rules: {},
catalogNumOptions: [], //
}; };
}, },
created() { created() {
@ -323,17 +304,6 @@ export default {
this.loading = false; this.loading = false;
}); });
}, },
//
handleInitList() {
//
listData({
pageNo: 1,
pageSize: 100,
dictType: "archives_catalog_num",
}).then((res) => {
this.catalogNumOptions = res.data.list || [];
});
},
/** 取消按钮 */ /** 取消按钮 */
cancel() { cancel() {
this.open = false; this.open = false;

Loading…
Cancel
Save