From 82f4d9f92a02f7ebb2726a3e5ffb9f753ede8c1e Mon Sep 17 00:00:00 2001 From: wish Date: Wed, 5 Jul 2023 10:47:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=9B=BE=E8=B0=B1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/config/router.config.js | 2 +- .../src/views/projectx/ProjectxList.vue | 145 ++++-- .../src/views/xmtp/SeKnowAtlasList.vue | 80 ++++ .../src/views/xmtp/XmtpList.vue | 244 ++++++---- .../src/views/xmtp/atlas/components/erwei.vue | 165 +++++++ .../src/views/xmtp/atlas/components/grade.vue | 72 +++ .../views/xmtp/atlas/components/kaoqin.vue | 72 +++ .../src/views/xmtp/atlas/components/son.vue | 64 +++ .../src/views/xmtp/atlas/components/son1.vue | 65 +++ .../src/views/xmtp/atlas/components/son2.vue | 64 +++ .../src/views/xmtp/atlas/js/bg.js | 105 +++++ .../src/views/xmtp/atlas/js/main.js | 394 ++++++++++++++++ .../src/views/xmtp/atlas/js/main1.js | 275 +++++++++++ .../src/views/xmtp/atlas/js/vendor.js | 5 + .../src/views/xmtp/atlas/js/vendor1.js | 5 + .../org/jeecg/config/shiro/ShiroConfig.java | 2 +- .../functionx/service/IFunctionxService.java | 30 +- .../service/impl/FunctionxServiceImpl.java | 272 ++++++----- .../demo/gxlx/controller/GxlxController.java | 319 ++++++------- .../demo/mkgx/controller/MkgxController.java | 446 +++++++++--------- .../demo/mkgx/service/IMkgxService.java | 14 +- .../mkgx/service/impl/MkgxServiceImpl.java | 21 +- .../demo/rulex/service/IRulexService.java | 9 +- .../rulex/service/impl/RulexServiceImpl.java | 54 ++- .../controller/TppronextController.java | 324 +++++++------ .../demo/xmtp/controller/CreateTP.java | 113 ++++- .../demo/xmtp/controller/XmtpController.java | 345 ++++++++------ .../jeecg/modules/demo/xmtp/entity/Gxlx.java | 117 +++++ .../modules/demo/xmtp/entity/SkillType.java | 125 +++++ .../modules/demo/xmtp/entity/TaskSkill.java | 117 +++++ .../modules/demo/xmtp/entity/Tppronext.java | 165 +++++++ .../jeecg/modules/demo/xmtp/entity/Xmtp.java | 112 +++-- .../modules/demo/xmtp/mapper/YGxlxMapper.java | 18 + .../demo/xmtp/mapper/YSkillTypeMapper.java | 18 + .../demo/xmtp/mapper/YTaskSkillMapper.java | 18 + .../demo/xmtp/mapper/YTppronextMapper.java | 18 + .../demo/xmtp/service/IXmtpService.java | 11 +- .../demo/xmtp/service/TaskSkillService.java | 13 + .../demo/xmtp/service/YGxlxService.java | 13 + .../demo/xmtp/service/YSkillTypeService.java | 13 + .../demo/xmtp/service/YTppronextService.java | 17 + .../xmtp/service/impl/XmtpServiceImpl.java | 360 +++++++++++++- .../xmtp/service/impl/YGxlxServiceImpl.java | 22 + .../service/impl/YSkillTypeServiceImpl.java | 22 + .../service/impl/YTaskSkillServiceImpl.java | 22 + .../service/impl/YTppronextServiceImpl.java | 32 ++ .../resources/mapper/SkillPointsMapper.xml | 30 ++ .../src/main/resources/mapper/YGxlxMapper.xml | 23 + .../resources/mapper/YSkillTypeMapper.xml | 24 + .../resources/mapper/YTaskSkillMapper.xml | 23 + .../resources/mapper/YTppronextMapper.xml | 31 ++ 51 files changed, 4040 insertions(+), 1030 deletions(-) create mode 100644 ant-design-vue-jeecg/src/views/xmtp/SeKnowAtlasList.vue create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/components/erwei.vue create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/components/grade.vue create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/components/kaoqin.vue create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/components/son.vue create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/components/son1.vue create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/components/son2.vue create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/js/bg.js create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/js/main.js create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/js/main1.js create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/js/vendor.js create mode 100644 ant-design-vue-jeecg/src/views/xmtp/atlas/js/vendor1.js create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/Gxlx.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/SkillType.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/TaskSkill.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/entity/Tppronext.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YGxlxMapper.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YSkillTypeMapper.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YTaskSkillMapper.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/mapper/YTppronextMapper.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/TaskSkillService.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/YGxlxService.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/YSkillTypeService.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/YTppronextService.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YGxlxServiceImpl.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YSkillTypeServiceImpl.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YTaskSkillServiceImpl.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/xmtp/service/impl/YTppronextServiceImpl.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/SkillPointsMapper.xml create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YGxlxMapper.xml create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YSkillTypeMapper.xml create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YTaskSkillMapper.xml create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/resources/mapper/YTppronextMapper.xml diff --git a/ant-design-vue-jeecg/src/config/router.config.js b/ant-design-vue-jeecg/src/config/router.config.js index 38126ce..87fa550 100644 --- a/ant-design-vue-jeecg/src/config/router.config.js +++ b/ant-design-vue-jeecg/src/config/router.config.js @@ -550,7 +550,7 @@ export const constantRouterMap = [ { path: '/atlas', - // component: () => import(/* webpackChunkName: "fail" */ '@/views/seknowgroup/SeKnowAtlasList'), + component: () => import(/* webpackChunkName: "fail" */ '@/views/xmtp/SeKnowAtlasList'), }, //cms首页,免登录,单独访问页面 diff --git a/ant-design-vue-jeecg/src/views/projectx/ProjectxList.vue b/ant-design-vue-jeecg/src/views/projectx/ProjectxList.vue index ed1018a..230e289 100644 --- a/ant-design-vue-jeecg/src/views/projectx/ProjectxList.vue +++ b/ant-design-vue-jeecg/src/views/projectx/ProjectxList.vue @@ -7,7 +7,8 @@ - + @@ -23,9 +24,12 @@ - - 查询 - 重置 + + 查询 + 重置 @@ -37,25 +41,25 @@
新增 - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +
@@ -97,13 +101,15 @@ 详情 - + 删除 - + 生成图谱 @@ -123,6 +129,7 @@ import {mixinDevice} from '@/utils/mixin' import {JeecgListMixin} from '@/mixins/JeecgListMixin' import ProjectxModal from './modules/ProjectxModal' import JEllipsis from '@/components/jeecg/JEllipsis' +import {postAction} from "@api/manage"; export default { name: 'ProjectxList', //添加用户 @@ -244,6 +251,7 @@ export default { ], url: { list: "/projectx/projectx/list", + add: "/xmtp/xmtp/add", delete: "/projectx/projectx/delete", deleteBatch: "/projectx/projectx/deleteBatch", exportXlsUrl: "/projectx/projectx/exportXls", @@ -263,6 +271,16 @@ export default { }, }, methods: { + // 生成图谱 + maketupu(record) { + postAction(this.url.add, record).then((res) => { + console.log(res) + if (res.success) + this.$message.success(res.result) + else + this.$message.error(res.message) + }); + }, rolemanage() { this.$router.push({ path: '/src/views/projectUserRole/ProjectUserRoleList', @@ -279,19 +297,74 @@ export default { }, getSuperFieldList() { let fieldList = []; - fieldList.push({type: 'string', value: 'projectName', text: '项目中文名称', dictCode: ''}) - fieldList.push({type: 'string', value: 'projectEnName', text: '项目英文名称', dictCode: ''}) - fieldList.push({type: 'string', value: 'projectCode', text: '项目编码', dictCode: ''}) - fieldList.push({type: 'string', value: 'pmDescribe', text: '项目描述', dictCode: ''}) - fieldList.push({type: 'string', value: 'projectPic', text: '项目图片', dictCode: ''}) - fieldList.push({type: 'string', value: 'projectUrl', text: '项目网址', dictCode: ''}) - fieldList.push({type: 'string', value: 'projectCodeUrl', text: '源码地址', dictCode: ''}) - fieldList.push({type: 'string', value: 'projectDbName', text: '数据库名', dictCode: ''}) - fieldList.push({type: 'string', value: 'projectDbUrl', text: '数据地址', dictCode: ''}) + fieldList.push({ + type: 'string', + value: 'projectName', + text: '项目中文名称', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'projectEnName', + text: '项目英文名称', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'projectCode', + text: '项目编码', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'pmDescribe', + text: '项目描述', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'projectPic', + text: '项目图片', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'projectUrl', + text: '项目网址', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'projectCodeUrl', + text: '源码地址', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'projectDbName', + text: '数据库名', + dictCode: '' + }) + fieldList.push({ + type: 'string', + value: 'projectDbUrl', + text: '数据地址', + dictCode: '' + }) fieldList.push({type: 'date', value: 'startTime', text: '开始时间'}) fieldList.push({type: 'date', value: 'completeTime', text: '完成时间'}) - fieldList.push({type: 'string', value: 'sourceProjectId', text: '复制来源', dictCode: ''}) - fieldList.push({type: 'int', value: 'projectStatus', text: '项目状态', dictCode: ''}) + fieldList.push({ + type: 'string', + value: 'sourceProjectId', + text: '复制来源', + dictCode: '' + }) + fieldList.push({ + type: 'int', + value: 'projectStatus', + text: '项目状态', + dictCode: '' + }) this.superFieldList = fieldList } } diff --git a/ant-design-vue-jeecg/src/views/xmtp/SeKnowAtlasList.vue b/ant-design-vue-jeecg/src/views/xmtp/SeKnowAtlasList.vue new file mode 100644 index 0000000..643a9de --- /dev/null +++ b/ant-design-vue-jeecg/src/views/xmtp/SeKnowAtlasList.vue @@ -0,0 +1,80 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/xmtp/XmtpList.vue b/ant-design-vue-jeecg/src/views/xmtp/XmtpList.vue index ce991b0..33e1a1a 100644 --- a/ant-design-vue-jeecg/src/views/xmtp/XmtpList.vue +++ b/ant-design-vue-jeecg/src/views/xmtp/XmtpList.vue @@ -6,18 +6,24 @@ - + - + - - 查询 - 重置 + + 查询 + 重置 {{ toggleSearchStatus ? '收起' : '展开' }} @@ -32,24 +38,35 @@
新增 - 导出 - + 导出 + + 导入 - + - 删除 + + + 删除 + - 批量操作 + 批量操作 + +