diff --git a/src/api/archives/certificate.js b/src/api/archives/certificate.js new file mode 100644 index 0000000..0d88a58 --- /dev/null +++ b/src/api/archives/certificate.js @@ -0,0 +1,64 @@ +import request from '@/utils/request' + +const api = { + list: '/sys/dictionary/item/list', + findMaxValue: '/sys/dictionary/item/findMaxValue', + get: '/sys/dictionary/item/get', + add: '/sys/dictionary/item/add', + del: '/sys/dictionary/item/del', + edit: '/sys/dictionary/item/edit' +} + +// 证书类型 列表 +export function getCertificateTypeList(params) { + return request({ + url: api.list, + method: 'get', + params: params + }) +} + +// 查询最大词典项值 列表 +export function getCertificateTypeMaxValue(params) { + return request({ + url: api.findMaxValue, + method: 'get', + params: params + }) +} + +// 根据ID查询证书类型 列表 +export function getCertificateType(params) { + return request({ + url: api.get, + method: 'post', + params: params + }) +} + +// 证书类型 新增 +export function addCertificateType(params) { + return request({ + url: api.add, + method: 'post', + data: params + }) +} + +// 证书类型 删除 +export function delCertificateType(params) { + return request({ + url: api.del, + method: 'post', + params: params + }) +} + +// 证书类型 修改 +export function editCertificateType(params) { + return request({ + url: api.edit, + method: 'post', + data: params + }) +} \ No newline at end of file diff --git a/src/views/archives/certificate/CertificateType.vue b/src/views/archives/certificate/CertificateType.vue new file mode 100644 index 0000000..c3d1942 --- /dev/null +++ b/src/views/archives/certificate/CertificateType.vue @@ -0,0 +1,155 @@ + + + + \ No newline at end of file diff --git a/src/views/archives/certificate/Index.vue b/src/views/archives/certificate/Index.vue new file mode 100644 index 0000000..9871c8f --- /dev/null +++ b/src/views/archives/certificate/Index.vue @@ -0,0 +1,81 @@ + + + + \ No newline at end of file