diff --git a/src/api/system/taglibrary/index.ts b/src/api/system/taglibrary/index.ts new file mode 100644 index 0000000..ff5efcc --- /dev/null +++ b/src/api/system/taglibrary/index.ts @@ -0,0 +1,44 @@ +import request from '@/config/axios' + +// 企业标签 VO +export interface TagLibraryVO { + id: number // 签的唯一标识,自增主键 + tagName: string // 标签的名称 + parentTagId: number // 父标签的ID + tagLevel: number // 标签层级(一级、二级、三级) + tagType: number // 1、企业标签2、执法标签 + sort: number +} + +// 企业标签 API +export const TagLibraryApi = { + // 查询企业标签分页 + getTagLibraryPage: async (params: any) => { + return await request.get({ url: `/system/tag-library/page`, params }) + }, + + // 查询企业标签详情 + getTagLibrary: async (id: number) => { + return await request.get({ url: `/system/tag-library/get?id=` + id }) + }, + + // 新增企业标签 + createTagLibrary: async (data: TagLibraryVO) => { + return await request.post({ url: `/system/tag-library/create`, data }) + }, + + // 修改企业标签 + updateTagLibrary: async (data: TagLibraryVO) => { + return await request.put({ url: `/system/tag-library/update`, data }) + }, + + // 删除企业标签 + deleteTagLibrary: async (id: number) => { + return await request.delete({ url: `/system/tag-library/delete?id=` + id }) + }, + + // 导出企业标签 Excel + exportTagLibrary: async (params) => { + return await request.download({ url: `/system/tag-library/export-excel`, params }) + }, +} diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 40b91e0..99c1800 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -131,6 +131,7 @@ export enum DICT_TYPE { SYSTEM_SOCIAL_TYPE = 'system_social_type', USER_AUDIT_TYPE = 'user_audit_type', WX_USER_TYPE = 'wx_user_type', + TAG_TYPE = 'tag_type', // ========== 企业 模块 ========== ENTERPRISES_TYPE='enterprises_type', diff --git a/src/views/system/taglibrary/TagLibraryForm.vue b/src/views/system/taglibrary/TagLibraryForm.vue new file mode 100644 index 0000000..7381e45 --- /dev/null +++ b/src/views/system/taglibrary/TagLibraryForm.vue @@ -0,0 +1,172 @@ + + \ No newline at end of file diff --git a/src/views/system/taglibrary/index.vue b/src/views/system/taglibrary/index.vue new file mode 100644 index 0000000..d14d2e9 --- /dev/null +++ b/src/views/system/taglibrary/index.vue @@ -0,0 +1,186 @@ + + + \ No newline at end of file diff --git a/src/views/system/task/form.vue b/src/views/system/task/form.vue new file mode 100644 index 0000000..1d1aba1 --- /dev/null +++ b/src/views/system/task/form.vue @@ -0,0 +1,118 @@ + + + diff --git a/src/views/system/task/index.vue b/src/views/system/task/index.vue new file mode 100644 index 0000000..ca212d6 --- /dev/null +++ b/src/views/system/task/index.vue @@ -0,0 +1,217 @@ + + + + + diff --git a/src/views/system/user/enterprisesDetail.vue b/src/views/system/user/enterprisesDetail.vue new file mode 100644 index 0000000..fcee53d --- /dev/null +++ b/src/views/system/user/enterprisesDetail.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/src/views/system/user/examine.vue b/src/views/system/user/examine.vue new file mode 100644 index 0000000..920266f --- /dev/null +++ b/src/views/system/user/examine.vue @@ -0,0 +1,215 @@ + + + + diff --git a/src/views/system/user/examineform.vue b/src/views/system/user/examineform.vue new file mode 100644 index 0000000..8167aa5 --- /dev/null +++ b/src/views/system/user/examineform.vue @@ -0,0 +1,59 @@ + + + + +