diff --git a/src/api/base/type/index.js b/src/api/base/type/index.js new file mode 100644 index 0000000..a7ccad9 --- /dev/null +++ b/src/api/base/type/index.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 创建配置类型 +export function createBaseType(data) { + return request({ + url: '/conf/baseType/create', + method: 'post', + data: data + }) +} + +// 更新配置类型 +export function updateBaseType(data) { + return request({ + url: '/conf/baseType/update', + method: 'put', + data: data + }) +} + +// 删除配置类型 +export function deleteBaseType(id) { + return request({ + url: '/conf/baseType/delete?id=' + id, + method: 'delete' + }) +} + +// 获得配置类型 +export function getBaseType(id) { + return request({ + url: '/conf/baseType/get?id=' + id, + method: 'get' + }) +} + +// 获得配置类型列表 +export function getBaseTypeList(params) { + return request({ + url: '/conf/baseType/list', + method: 'get', + params + }) +} +// 导出配置类型 Excel +export function exportBaseTypeExcel(params) { + return request({ + url: '/conf/baseType/export-excel', + method: 'get', + params, + responseType: 'blob' + }) +} diff --git a/src/views/conf/baseType/BaseTypeForm.vue b/src/views/conf/baseType/BaseTypeForm.vue new file mode 100644 index 0000000..d9782dc --- /dev/null +++ b/src/views/conf/baseType/BaseTypeForm.vue @@ -0,0 +1,183 @@ + + + diff --git a/src/views/conf/baseType/account/index.vue b/src/views/conf/baseType/account/index.vue new file mode 100644 index 0000000..bd014c0 --- /dev/null +++ b/src/views/conf/baseType/account/index.vue @@ -0,0 +1,138 @@ + + + diff --git a/src/views/conf/baseType/parts/index.vue b/src/views/conf/baseType/parts/index.vue new file mode 100644 index 0000000..1161d21 --- /dev/null +++ b/src/views/conf/baseType/parts/index.vue @@ -0,0 +1,138 @@ + + + diff --git a/src/views/conf/baseType/serve/index.vue b/src/views/conf/baseType/serve/index.vue new file mode 100644 index 0000000..d8d6d12 --- /dev/null +++ b/src/views/conf/baseType/serve/index.vue @@ -0,0 +1,138 @@ + + +