diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/vue/FieldxList.vue b/ant-design-vue-jeecg/src/views/skillPoints/SkillPointsList.vue similarity index 50% rename from jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/vue/FieldxList.vue rename to ant-design-vue-jeecg/src/views/skillPoints/SkillPointsList.vue index 415ccfa..c755ae2 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/vue/FieldxList.vue +++ b/ant-design-vue-jeecg/src/views/skillPoints/SkillPointsList.vue @@ -4,6 +4,17 @@
+ + + + + + + + 查询 + 重置 + +
@@ -12,12 +23,12 @@
新增 - 导出 - - 导入 - + + + + - + 删除 @@ -69,27 +80,20 @@ 编辑 + + 详情 - - 更多 - - - 详情 - - - + + 删除 - - - - +
- + @@ -98,18 +102,17 @@ import '@/assets/less/TableExpand.less' import { mixinDevice } from '@/utils/mixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin' - import FieldxModal from './modules/FieldxModal' - import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' + import SkillPointsModal from './modules/SkillPointsModal' export default { - name: 'FieldxList', + name: 'SkillPointsList', mixins:[JeecgListMixin, mixinDevice], components: { - FieldxModal + SkillPointsModal }, data () { return { - description: '字段管理管理页面', + description: '技能点管理管理页面', // 表头 columns: [ { @@ -123,90 +126,67 @@ } }, { - title:'对应实体id', - align:"center", - dataIndex: 'tableId' - }, - { - title:'中文名称', + title:'编码', align:"center", - dataIndex: 'fieldName' + dataIndex: 'skillCode' }, { - title:'英文名称', + title:'类型', align:"center", - dataIndex: 'fieldEnName' + dataIndex: 'skillType_dictText' }, { - title:'数据类型', + title:'技能点名称', align:"center", - dataIndex: 'type_dictText' + dataIndex: 'skillName' }, { - title:'数据长度', + title:'等级', align:"center", - dataIndex: 'length' + dataIndex: 'skillLevel' }, { - title:'浮点精度', + title:'描述', align:"center", - dataIndex: 'accuracy' - }, - { - title:'显示形式', - align:"center", - dataIndex: 'format' - }, - { - title:'是否主键', - align:"center", - dataIndex: 'isPk' - }, - { - title:'是否外键', - align:"center", - dataIndex: 'isFk' - }, - { - title:'关联实体', - align:"center", - dataIndex: 'associateTable' + dataIndex: 'skillDesc', + scopedSlots: {customRender: 'htmlSlot'} }, { - title:'关联字段', + title:'图标', align:"center", - dataIndex: 'associateField' + dataIndex: 'skillIcon', + scopedSlots: {customRender: 'imgSlot'} }, { - title:'是否为空', + title:'图片', align:"center", - dataIndex: 'isNull' + dataIndex: 'skillPic', + scopedSlots: {customRender: 'imgSlot'} }, { - title:'是否重复', + title:'技能点状态', align:"center", - dataIndex: 'isUniqueness' + dataIndex: 'skillStatus' }, { - title:'字段规则', + title:'创建人', align:"center", - dataIndex: 'rule', - scopedSlots: {customRender: 'htmlSlot'} + dataIndex: 'createBy' }, { - title:'字段状态', + title:'创建日期', align:"center", - dataIndex: 'status' + dataIndex: 'createTime' }, { - title:'版本状态', + title:'修改人', align:"center", - dataIndex: 'verisonStatus' + dataIndex: 'updateBy' }, { - title:'版本号', + title:'修改日期', align:"center", - dataIndex: 'verison' + dataIndex: 'updateTime' }, { title: '操作', @@ -218,11 +198,11 @@ } ], url: { - list: "/fieldx/fieldx/list", - delete: "/fieldx/fieldx/delete", - deleteBatch: "/fieldx/fieldx/deleteBatch", - exportXlsUrl: "/fieldx/fieldx/exportXls", - importExcelUrl: "fieldx/fieldx/importExcel", + list: "/skillPoints/skillPoints/list", + delete: "/skillPoints/skillPoints/delete", + deleteBatch: "/skillPoints/skillPoints/deleteBatch", + exportXlsUrl: "/skillPoints/skillPoints/exportXls", + importExcelUrl: "skillPoints/skillPoints/importExcel", }, dictOptions:{}, @@ -242,23 +222,18 @@ }, getSuperFieldList(){ let fieldList=[]; - fieldList.push({type:'string',value:'tableId',text:'对应实体id',dictCode:'tablex,table_name,id'}) - fieldList.push({type:'string',value:'fieldName',text:'中文名称',dictCode:''}) - fieldList.push({type:'string',value:'fieldEnName',text:'英文名称',dictCode:''}) - fieldList.push({type:'sel_search',value:'type',text:'数据类型',dictTable:'', dictText:'', dictCode:'date_type'}) - fieldList.push({type:'int',value:'length',text:'数据长度',dictCode:''}) - fieldList.push({type:'int',value:'accuracy',text:'浮点精度',dictCode:''}) - fieldList.push({type:'string',value:'format',text:'显示形式',dictCode:''}) - fieldList.push({type:'int',value:'isPk',text:'是否主键',dictCode:''}) - fieldList.push({type:'int',value:'isFk',text:'是否外键',dictCode:''}) - fieldList.push({type:'string',value:'associateTable',text:'关联实体',dictCode:'tablex,table_name,id'}) - fieldList.push({type:'string',value:'associateField',text:'关联字段',dictCode:'fieldx,field_name,id'}) - fieldList.push({type:'int',value:'isNull',text:'是否为空',dictCode:''}) - fieldList.push({type:'int',value:'isUniqueness',text:'是否重复',dictCode:''}) - fieldList.push({type:'string',value:'rule',text:'字段规则',dictCode:''}) - fieldList.push({type:'int',value:'status',text:'字段状态',dictCode:''}) - fieldList.push({type:'int',value:'verisonStatus',text:'版本状态',dictCode:''}) - fieldList.push({type:'int',value:'verison',text:'版本号',dictCode:''}) + fieldList.push({type:'string',value:'skillCode',text:'编码',dictCode:''}) + fieldList.push({type:'int',value:'skillType',text:'类型',dictCode:''}) + fieldList.push({type:'string',value:'skillName',text:'技能点名称',dictCode:''}) + fieldList.push({type:'int',value:'skillLevel',text:'等级',dictCode:''}) + fieldList.push({type:'string',value:'skillDesc',text:'描述',dictCode:''}) + fieldList.push({type:'string',value:'skillIcon',text:'图标',dictCode:''}) + fieldList.push({type:'string',value:'skillPic',text:'图片',dictCode:''}) + fieldList.push({type:'int',value:'skillStatus',text:'技能点状态',dictCode:''}) + fieldList.push({type:'string',value:'createBy',text:'创建人',dictCode:''}) + fieldList.push({type:'datetime',value:'createTime',text:'创建日期'}) + fieldList.push({type:'string',value:'updateBy',text:'更新人',dictCode:''}) + fieldList.push({type:'datetime',value:'updateTime',text:'更新日期'}) this.superFieldList = fieldList } } diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/modules/TablexForm.vue b/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsForm.vue similarity index 50% rename from jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/modules/TablexForm.vue rename to ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsForm.vue index 273b4e2..074bf6e 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/modules/TablexForm.vue +++ b/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsForm.vue @@ -4,43 +4,38 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - + + @@ -55,7 +50,7 @@ import { validateDuplicateValue } from '@/utils/util' export default { - name: 'TablexForm', + name: 'SkillPointsForm', components: { }, props: { @@ -69,6 +64,8 @@ data () { return { model:{ + skillLevel:4, + skillStatus:1, }, labelCol: { xs: { span: 24 }, @@ -80,29 +77,11 @@ }, confirmLoading: false, validatorRules: { - moduleId: [ - { required: true, message: '请输入对应模块id!'}, - ], - tableName: [ - { required: true, message: '请输入中文名称!'}, - ], - tableEnName: [ - { required: true, message: '请输入英文名称!'}, - ], - status: [ - { required: true, message: '请输入实体状态!'}, - ], - verisonStatus: [ - { required: true, message: '请输入版本状态!'}, - ], - verison: [ - { required: true, message: '请输入版本号!'}, - ], }, url: { - add: "/tablex/tablex/add", - edit: "/tablex/tablex/edit", - queryById: "/tablex/tablex/queryById" + add: "/skillPoints/skillPoints/add", + edit: "/skillPoints/skillPoints/edit", + queryById: "/skillPoints/skillPoints/queryById" } } }, diff --git a/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsModal.vue b/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsModal.vue new file mode 100644 index 0000000..2086fd3 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsModal__Style#Drawer.vue new file mode 100644 index 0000000..2cf82ed --- /dev/null +++ b/ant-design-vue-jeecg/src/views/skillPoints/modules/SkillPointsModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/TablexList.vue b/ant-design-vue-jeecg/src/views/skillType/SkillTypeList.vue similarity index 57% rename from jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/TablexList.vue rename to ant-design-vue-jeecg/src/views/skillType/SkillTypeList.vue index 2ce1bcb..d54b075 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/TablexList.vue +++ b/ant-design-vue-jeecg/src/views/skillType/SkillTypeList.vue @@ -4,6 +4,17 @@
+ + + + + + + + 查询 + 重置 + +
@@ -12,12 +23,12 @@
新增 - 导出 - - 导入 - + + + + - + 删除 @@ -69,27 +80,20 @@ 编辑 + + 详情 - - 更多 - - - 详情 - - - + + 删除 - - - - +
- + @@ -98,18 +102,17 @@ import '@/assets/less/TableExpand.less' import { mixinDevice } from '@/utils/mixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin' - import TablexModal from './modules/TablexModal' - import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' + import SkillTypeModal from './modules/SkillTypeModal' export default { - name: 'TablexList', + name: 'SkillTypeList', mixins:[JeecgListMixin, mixinDevice], components: { - TablexModal + SkillTypeModal }, data () { return { - description: '实体表管理页面', + description: '技能类型管理管理页面', // 表头 columns: [ { @@ -123,44 +126,46 @@ } }, { - title:'对应模块id', + title:'类型名称', align:"center", - dataIndex: 'moduleId_dictText' + dataIndex: 'typeName' }, { - title:'中文名称', + title:'父类型', align:"center", - dataIndex: 'tableName' + dataIndex: 'supertypeId_dictText' }, { - title:'英文名称', + title:'描述', align:"center", - dataIndex: 'tableEnName' + dataIndex: 'skillDesc', + scopedSlots: {customRender: 'htmlSlot'} }, { - title:'表结构SQL', + title:'图标', align:"center", - dataIndex: 'tableStructure' + dataIndex: 'skillIcon', + scopedSlots: {customRender: 'imgSlot'} }, { - title:'结构图', + title:'创建人', align:"center", - dataIndex: 'structuralDiagram' + dataIndex: 'createBy' }, { - title:'实体状态', + title:'创建时间', align:"center", - dataIndex: 'status' + dataIndex: 'createTime' }, { - title:'版本状态', + title:'修改人', align:"center", - dataIndex: 'verisonStatus' + dataIndex: 'updateBy' }, { - title:'版本号', + title:'修改时间', align:"center", - dataIndex: 'verison' + dataIndex: 'updateTime' }, { title: '操作', @@ -172,11 +177,11 @@ } ], url: { - list: "/tablex/tablex/list", - delete: "/tablex/tablex/delete", - deleteBatch: "/tablex/tablex/deleteBatch", - exportXlsUrl: "/tablex/tablex/exportXls", - importExcelUrl: "tablex/tablex/importExcel", + list: "/skillType/skillType/list", + delete: "/skillType/skillType/delete", + deleteBatch: "/skillType/skillType/deleteBatch", + exportXlsUrl: "/skillType/skillType/exportXls", + importExcelUrl: "skillType/skillType/importExcel", }, dictOptions:{}, @@ -196,14 +201,14 @@ }, getSuperFieldList(){ let fieldList=[]; - fieldList.push({type:'sel_search',value:'moduleId',text:'对应模块id',dictTable:'modulex', dictText:'module_name', dictCode:'id'}) - fieldList.push({type:'string',value:'tableName',text:'中文名称',dictCode:''}) - fieldList.push({type:'string',value:'tableEnName',text:'英文名称',dictCode:''}) - fieldList.push({type:'string',value:'tableStructure',text:'表结构SQL',dictCode:''}) - fieldList.push({type:'string',value:'structuralDiagram',text:'结构图',dictCode:''}) - fieldList.push({type:'int',value:'status',text:'实体状态',dictCode:''}) - fieldList.push({type:'int',value:'verisonStatus',text:'版本状态',dictCode:''}) - fieldList.push({type:'int',value:'verison',text:'版本号',dictCode:''}) + fieldList.push({type:'string',value:'typeName',text:'类型名称',dictCode:''}) + fieldList.push({type:'string',value:'supertypeId',text:'父类型id',dictCode:''}) + fieldList.push({type:'string',value:'skillDesc',text:'描述',dictCode:''}) + fieldList.push({type:'string',value:'skillIcon',text:'图标',dictCode:''}) + fieldList.push({type:'string',value:'createBy',text:'创建人',dictCode:''}) + fieldList.push({type:'datetime',value:'createTime',text:'创建时间'}) + fieldList.push({type:'string',value:'updateBy',text:'修改人',dictCode:''}) + fieldList.push({type:'datetime',value:'updateTime',text:'修改时间'}) this.superFieldList = fieldList } } diff --git a/ant-design-vue-jeecg/src/views/skillType/modules/SkillTypeForm.vue b/ant-design-vue-jeecg/src/views/skillType/modules/SkillTypeForm.vue new file mode 100644 index 0000000..042a6d4 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/skillType/modules/SkillTypeForm.vue @@ -0,0 +1,119 @@ + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/modules/TablexModal.vue b/ant-design-vue-jeecg/src/views/skillType/modules/SkillTypeModal.vue similarity index 83% rename from jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/modules/TablexModal.vue rename to ant-design-vue-jeecg/src/views/skillType/modules/SkillTypeModal.vue index 1d093d5..d8aaf77 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/tablex/vue/modules/TablexModal.vue +++ b/ant-design-vue-jeecg/src/views/skillType/modules/SkillTypeModal.vue @@ -8,17 +8,17 @@ :okButtonProps="{ class:{'jee-hidden': disableSubmit} }" @cancel="handleCancel" cancelText="关闭"> - + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/taskSkill/modules/TaskSkillForm.vue b/ant-design-vue-jeecg/src/views/taskSkill/modules/TaskSkillForm.vue new file mode 100644 index 0000000..83ef214 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/taskSkill/modules/TaskSkillForm.vue @@ -0,0 +1,138 @@ + + + \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/vue/modules/FieldxModal.vue b/ant-design-vue-jeecg/src/views/taskSkill/modules/TaskSkillModal.vue similarity index 83% rename from jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/vue/modules/FieldxModal.vue rename to ant-design-vue-jeecg/src/views/taskSkill/modules/TaskSkillModal.vue index 60f7968..d8d9f76 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/fieldx/vue/modules/FieldxModal.vue +++ b/ant-design-vue-jeecg/src/views/taskSkill/modules/TaskSkillModal.vue @@ -8,17 +8,17 @@ :okButtonProps="{ class:{'jee-hidden': disableSubmit} }" @cancel="handleCancel" cancelText="关闭"> - +