diff --git a/src/api/company/archives/archivesRole.js b/src/api/company/archives/archivesRole.js
new file mode 100644
index 0000000..9f001e8
--- /dev/null
+++ b/src/api/company/archives/archivesRole.js
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 查看档案名称
+export function getArchivesCatalogList(dictType){
+ return request({
+ url: "/archives/role/list?dictType=" + dictType,
+ method: "get"
+ })
+}
+
+// 新增或修改档案名称
+export function updateArchivesRoleAndDict(data){
+ return request({
+ url: "/archives/role/update",
+ method: "post",
+ data
+ })
+}
+
+// 删除档案名称
+export function removeArchivesRoleAndDict(ids){
+ return request({
+ url: "/archives/role/remove/" + ids,
+ method: "delete"
+ })
+}
diff --git a/src/utils/dict.js b/src/utils/dict.js
index ed0b27e..b315b44 100644
--- a/src/utils/dict.js
+++ b/src/utils/dict.js
@@ -164,10 +164,8 @@ export const DICT_TYPE = {
JY_ORDER_STATUS: 'jy_order_status',
// 车辆类型
RESCUE_CAR_TYPE: 'rescue_car_type',
- // 合同分类
- CONTRACT_TYPE: 'contract_type',
- // 资料分类
- MATERIAL_TYPE: 'material_type',
+ // 档案分类
+ ARCHIVES_TYPE: 'archives_type',
}
/**
diff --git a/src/views/knowledge/views/archives/archives.vue b/src/views/knowledge/views/archives/archives.vue
index 1b760cb..3eb874d 100644
--- a/src/views/knowledge/views/archives/archives.vue
+++ b/src/views/knowledge/views/archives/archives.vue
@@ -1,19 +1,13 @@