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 @@
新增 - 导出 - + 导出 + + 导入 - + - 删除 + + + 删除 + - 批量操作 + 批量操作 + +