diff --git a/src/api/knowledgeCentre.ts b/src/api/knowledgeCentre.ts index 3171c9e..c80666f 100644 --- a/src/api/knowledgeCentre.ts +++ b/src/api/knowledgeCentre.ts @@ -48,3 +48,34 @@ export const queryKnowledgeDetail = (data?: object) => { params: data }); }; +/** 撤回知识库( */ + +export const recallKnowledge = (data?: object) => { + return http.request("get", "/know-sub/knowledge/recallKnowledge", { + params: data + }); +}; +/** 撤回知识库( */ + +export const queryKnowledgeFlowRecord = (data?: object) => { + return http.request( + "get", + "/know-sub/knowledgeFlow/queryKnowledgeFlowRecord", + { + params: data + } + ); +}; +/** 分页查询知识审批流程( */ + +export const queryKnowledgeFlowPage = (data?: object) => { + return http.request("get", "/know-sub/knowledgeFlow/queryKnowledgeFlowPage", { + params: data + }); +}; +/** 审批知识流程(*/ +export const processKnowledgeFlow = (data?: object) => { + return http.request("post", "/know-sub/knowledgeFlow/processKnowledgeFlow", { + data + }); +}; diff --git a/src/assets/knowledge/down.png b/src/assets/knowledge/down.png new file mode 100644 index 0000000..bbeb4c3 Binary files /dev/null and b/src/assets/knowledge/down.png differ diff --git a/src/assets/knowledge/question.png b/src/assets/knowledge/question.png new file mode 100644 index 0000000..1402ab4 Binary files /dev/null and b/src/assets/knowledge/question.png differ diff --git a/src/assets/knowledge/statistic.png b/src/assets/knowledge/statistic.png new file mode 100644 index 0000000..fd05dea Binary files /dev/null and b/src/assets/knowledge/statistic.png differ diff --git a/src/assets/knowledge/up.png b/src/assets/knowledge/up.png new file mode 100644 index 0000000..3c0d34e Binary files /dev/null and b/src/assets/knowledge/up.png differ diff --git a/src/router/modules/businessManagement.ts b/src/router/modules/businessManagement.ts index 7a65cca..447cbef 100644 --- a/src/router/modules/businessManagement.ts +++ b/src/router/modules/businessManagement.ts @@ -15,6 +15,19 @@ export default { meta: { title: "流程配置", + showLink: true, + showParent: true, + roles: ["admin", "common"] + } + }, + { + path: "/businessManagement/statisticAnalysis", + name: "statisticAnalysis", + component: () => + import("@/views/businessManagement/statisticAnalysis/index.vue"), + meta: { + title: "统计分析", + showLink: true, showParent: true, roles: ["admin", "common"] diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 7f15cf7..b00d54c 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -14,6 +14,7 @@ import { sessionKey, setUserInfo } from "@/utils/auth"; +import { useTabsStore } from "./tabs"; export const useUserStore = defineStore({ id: "pure-user", @@ -62,6 +63,8 @@ export const useUserStore = defineStore({ removeToken(); useMultiTagsStoreHook().handleTags("equal", [...routerArrays]); resetRouter(); + const tabs = useTabsStore(); + tabs.clearTabs(); router.push("/login"); }, /** 刷新`token` */ diff --git a/src/views/businessManagement/statisticAnalysis/compontents/ColumnarChat.vue b/src/views/businessManagement/statisticAnalysis/compontents/ColumnarChat.vue new file mode 100644 index 0000000..4ee6623 --- /dev/null +++ b/src/views/businessManagement/statisticAnalysis/compontents/ColumnarChat.vue @@ -0,0 +1,64 @@ + + diff --git a/src/views/businessManagement/statisticAnalysis/compontents/LineChat.vue b/src/views/businessManagement/statisticAnalysis/compontents/LineChat.vue new file mode 100644 index 0000000..e37c2ff --- /dev/null +++ b/src/views/businessManagement/statisticAnalysis/compontents/LineChat.vue @@ -0,0 +1,57 @@ + + diff --git a/src/views/businessManagement/statisticAnalysis/compontents/PieChart.vue b/src/views/businessManagement/statisticAnalysis/compontents/PieChart.vue new file mode 100644 index 0000000..e247890 --- /dev/null +++ b/src/views/businessManagement/statisticAnalysis/compontents/PieChart.vue @@ -0,0 +1,85 @@ + + diff --git a/src/views/businessManagement/statisticAnalysis/compontents/VueChart.vue b/src/views/businessManagement/statisticAnalysis/compontents/VueChart.vue new file mode 100644 index 0000000..65b074a --- /dev/null +++ b/src/views/businessManagement/statisticAnalysis/compontents/VueChart.vue @@ -0,0 +1,36 @@ + + diff --git a/src/views/businessManagement/statisticAnalysis/index.vue b/src/views/businessManagement/statisticAnalysis/index.vue new file mode 100644 index 0000000..12aff35 --- /dev/null +++ b/src/views/businessManagement/statisticAnalysis/index.vue @@ -0,0 +1,252 @@ + + + diff --git a/src/views/knowledgeCentre/approval/compontents/Approved.vue b/src/views/knowledgeCentre/approval/compontents/Approved.vue index 33c0709..550c792 100644 --- a/src/views/knowledgeCentre/approval/compontents/Approved.vue +++ b/src/views/knowledgeCentre/approval/compontents/Approved.vue @@ -33,37 +33,55 @@ diff --git a/src/views/knowledgeCentre/approval/index.vue b/src/views/knowledgeCentre/approval/index.vue index 391d4bf..cdebc8f 100644 --- a/src/views/knowledgeCentre/approval/index.vue +++ b/src/views/knowledgeCentre/approval/index.vue @@ -1,28 +1,61 @@