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 @@ diff --git a/src/views/knowledge/views/archives/components/ArchivesTable.vue b/src/views/knowledge/views/archives/components/ArchivesTable.vue index 72b9095..499d284 100644 --- a/src/views/knowledge/views/archives/components/ArchivesTable.vue +++ b/src/views/knowledge/views/archives/components/ArchivesTable.vue @@ -7,72 +7,90 @@ - 新增 - 修改 - 删除 - +
- - - - - - - - - 搜索 - 重置 - - + +
+ + + + + + + + + 搜索 + 重置 + + - - - - 新增 - - - - + + + + 新增 + + + + +
+ + + +