Browse Source

JEECG-BOOT 2.0.2版本发布

pull/365/head
zhangdaihao 5 years ago
parent
commit
d1253bfeb2
  1. 24
      README.md
  2. BIN
      ant-design-jeecg-vue/public/logo.png
  3. BIN
      ant-design-jeecg-vue/src/assets/logo.png
  4. 43
      ant-design-jeecg-vue/src/assets/logo.svg
  5. 35
      ant-design-jeecg-vue/src/components/bpm/DynamicComponent.vue
  6. 72
      ant-design-jeecg-vue/src/components/bpm/FormCommonModal.vue
  7. 120
      ant-design-jeecg-vue/src/components/bpm/ProcNodeInfoModel.vue
  8. 136
      ant-design-jeecg-vue/src/components/bpm/ProcessInstPicModal.vue
  9. 56
      ant-design-jeecg-vue/src/components/dict/README.md
  10. 309
      ant-design-jeecg-vue/src/components/jeecgbiz/JSearchUserByDep.vue
  11. 276
      ant-design-jeecg-vue/src/components/jeecgbiz/JSelectMultipleUser.vue
  12. 87
      ant-design-jeecg-vue/src/components/jeecgbiz/JSelectUser.vue
  13. 97
      ant-design-jeecg-vue/src/components/tools/ShowAnnouncement.vue
  14. 147
      ant-design-jeecg-vue/src/config/router.config.js
  15. 250
      ant-design-jeecg-vue/src/views/jeecg/JoaDemoList.vue
  16. 160
      ant-design-jeecg-vue/src/views/jeecg/modules/JoaDemoForm.vue
  17. 0
      ant-design-vue-jeecg/.editorconfig
  18. 0
      ant-design-vue-jeecg/.eslintignore
  19. 0
      ant-design-vue-jeecg/.gitattributes
  20. 0
      ant-design-vue-jeecg/.gitignore
  21. 0
      ant-design-vue-jeecg/.prettierrc
  22. 0
      ant-design-vue-jeecg/LICENSE
  23. 2
      ant-design-vue-jeecg/README.md
  24. 0
      ant-design-vue-jeecg/babel.config.js
  25. 0
      ant-design-vue-jeecg/idea.config.js
  26. 17939
      ant-design-vue-jeecg/package-lock.json
  27. 16
      ant-design-vue-jeecg/package.json
  28. 0
      ant-design-vue-jeecg/public/avatar2.jpg
  29. 0
      ant-design-vue-jeecg/public/color.less
  30. 0
      ant-design-vue-jeecg/public/goright.png
  31. 30
      ant-design-vue-jeecg/public/index.html
  32. BIN
      ant-design-vue-jeecg/public/logo.png
  33. 0
      ant-design-vue-jeecg/public/tinymce/langs/zh_CN.js
  34. 0
      ant-design-vue-jeecg/public/tinymce/skins/lightgray/content.min.css
  35. 0
      ant-design-vue-jeecg/public/tinymce/skins/lightgray/skin.min.css
  36. 0
      ant-design-vue-jeecg/public/v2.js
  37. 0
      ant-design-vue-jeecg/src/App.vue
  38. 8
      ant-design-vue-jeecg/src/api/api.js
  39. 0
      ant-design-vue-jeecg/src/api/index.js
  40. 8
      ant-design-vue-jeecg/src/api/login.js
  41. 0
      ant-design-vue-jeecg/src/api/manage.js
  42. 0
      ant-design-vue-jeecg/src/assets/background.svg
  43. 0
      ant-design-vue-jeecg/src/assets/less/common.less
  44. 0
      ant-design-vue-jeecg/src/assets/less/index.less
  45. BIN
      ant-design-vue-jeecg/src/assets/logo.png
  46. 172
      ant-design-vue-jeecg/src/assets/logo.svg
  47. 0
      ant-design-vue-jeecg/src/assets/pdf4.jpg
  48. 0
      ant-design-vue-jeecg/src/components/AvatarList/Item.vue
  49. 0
      ant-design-vue-jeecg/src/components/AvatarList/List.vue
  50. 0
      ant-design-vue-jeecg/src/components/AvatarList/index.js
  51. 0
      ant-design-vue-jeecg/src/components/AvatarList/index.less
  52. 0
      ant-design-vue-jeecg/src/components/ChartCard.vue
  53. 0
      ant-design-vue-jeecg/src/components/CountDown/CountDown.vue
  54. 0
      ant-design-vue-jeecg/src/components/CountDown/index.js
  55. 0
      ant-design-vue-jeecg/src/components/Ellipsis/Ellipsis.vue
  56. 0
      ant-design-vue-jeecg/src/components/Ellipsis/index.js
  57. 0
      ant-design-vue-jeecg/src/components/NumberInfo/NumberInfo.vue
  58. 0
      ant-design-vue-jeecg/src/components/NumberInfo/index.js
  59. 0
      ant-design-vue-jeecg/src/components/NumberInfo/index.less
  60. 0
      ant-design-vue-jeecg/src/components/README.md
  61. 0
      ant-design-vue-jeecg/src/components/Trend/Trend.vue
  62. 0
      ant-design-vue-jeecg/src/components/Trend/index.js
  63. 0
      ant-design-vue-jeecg/src/components/Trend/index.less
  64. 0
      ant-design-vue-jeecg/src/components/_util/StringUtil.js
  65. 0
      ant-design-vue-jeecg/src/components/_util/util.js
  66. 0
      ant-design-vue-jeecg/src/components/chart/AreaChartTy.vue
  67. 0
      ant-design-vue-jeecg/src/components/chart/Bar.vue
  68. 0
      ant-design-vue-jeecg/src/components/chart/BarAndLine.vue
  69. 0
      ant-design-vue-jeecg/src/components/chart/BarMultid.vue
  70. 0
      ant-design-vue-jeecg/src/components/chart/DashChartDemo.vue
  71. 0
      ant-design-vue-jeecg/src/components/chart/LineChartMultid.vue
  72. 0
      ant-design-vue-jeecg/src/components/chart/Liquid.vue
  73. 0
      ant-design-vue-jeecg/src/components/chart/MiniArea.vue
  74. 0
      ant-design-vue-jeecg/src/components/chart/MiniBar.vue
  75. 0
      ant-design-vue-jeecg/src/components/chart/MiniProgress.vue
  76. 0
      ant-design-vue-jeecg/src/components/chart/Pie.vue
  77. 0
      ant-design-vue-jeecg/src/components/chart/README.md
  78. 0
      ant-design-vue-jeecg/src/components/chart/Radar.vue
  79. 0
      ant-design-vue-jeecg/src/components/chart/RankList.vue
  80. 0
      ant-design-vue-jeecg/src/components/chart/TransferBar.vue
  81. 0
      ant-design-vue-jeecg/src/components/chart/Trend.vue
  82. 0
      ant-design-vue-jeecg/src/components/chart/chart.scss
  83. 0
      ant-design-vue-jeecg/src/components/dict/JDictSelectTag.vue
  84. 0
      ant-design-vue-jeecg/src/components/dict/JDictSelectUtil.js
  85. 14
      ant-design-vue-jeecg/src/components/dict/JMultiSelectTag.vue
  86. 24
      ant-design-vue-jeecg/src/components/dict/JSearchSelectTag.vue
  87. 181
      ant-design-vue-jeecg/src/components/dict/README.md
  88. 0
      ant-design-vue-jeecg/src/components/dict/index.js
  89. 0
      ant-design-vue-jeecg/src/components/index.less
  90. 20
      ant-design-vue-jeecg/src/components/jeecg/JCheckbox.vue
  91. 0
      ant-design-vue-jeecg/src/components/jeecg/JCodeEditor.vue
  92. 20
      ant-design-vue-jeecg/src/components/jeecg/JDate.vue
  93. 179
      ant-design-vue-jeecg/src/components/jeecg/JEditableTable.vue
  94. 5
      ant-design-vue-jeecg/src/components/jeecg/JEditor.vue
  95. 0
      ant-design-vue-jeecg/src/components/jeecg/JEllipsis.vue
  96. 48
      ant-design-vue-jeecg/src/components/jeecg/JFormContainer.vue
  97. 0
      ant-design-vue-jeecg/src/components/jeecg/JGraphicCode.vue
  98. 0
      ant-design-vue-jeecg/src/components/jeecg/JImportModal.vue
  99. 3
      ant-design-vue-jeecg/src/components/jeecg/JSelectMultiple.vue
  100. 0
      ant-design-vue-jeecg/src/components/jeecg/JSlider.vue
  101. Some files were not shown because too many files have changed in this diff Show More

24
README.md

@ -6,7 +6,7 @@
Jeecg-Boot 快速开发平台(前后端分离版本)
===============
当前最新版本: 2.0.1(发布日期:20190603
当前最新版本: 2.0.2(发布日期:20190708
[![AUR](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/zhangdaiscott/jeecg-boot/blob/master/LICENSE)
[![](https://img.shields.io/badge/Author-Scott-orange.svg)](https://blog.csdn.net/zhangdaiscott)
@ -21,7 +21,7 @@ Jeecg-Boot 快速开发平台(前后端分离版本)
<h4 align="center">Java RAD framework for enterprise web applications</h4>
Jeecg-Boot 是一款基于代码生成器的智能开发平台!采用前后端分离架构:SpringBoot,Mybatis,Shiro,JWT,Vue&Ant Design。强大的代码生成器让前端和后台代码一键生成,不需要写任何代码,保持jeecg一贯的强大,绝对是全栈开发福音!! JeecgBoot在提高UI能力的同时,降低了前后分离的开发成本,JeecgBoot还独创在线开发模式(No代码概念),一系列在线智能开发:在线配置表单、在线配置报表、在线图表设计、在线设计流程等等。
Jeecg-Boot 是一款基于SpringBoot+代码生成器的快速开发平台!前后端分离架构:SpringBoot,Ant Design Vue,Mybatis,Shiro,JWT。强大的代码生成器让前端和后台代码一键生成,不需要写任何代码,保持jeecg一贯的强大,绝对是全栈开发福音!! JeecgBoot在提高UI能力的同时,降低了前后分离的开发成本,JeecgBoot还独创在线开发模式(No代码概念),一系列在线智能开发:在线配置表单、在线配置报表、在线图表设计、在线设计流程等等。
JEECG宗旨是: 简单功能由Online Coding配置实现(在线配置表单、在线配置报表、在线图表设计、在线设计流程、在线设计表单),复杂功能由代码生成器生成进行手工Merge,既保证了智能又兼顾了灵活;
业务流程采用工作流来实现、扩展出任务接口,供开发编写业务逻辑,表单提供多种解决方案: 表单设计器、online配置表单、编码表单。同时实现了流程与表单的分离设计(松耦合)、并支持任务节点灵活配置,既保证了公司流程的保密性,又减少了开发人员的工作量。
@ -44,7 +44,7 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
- 入门必看: [JeecgBoot常见问题大全](http://www.jeecg.org/forum.php?mod=viewthread&tid=7816&extra=page%3D1)
- QQ交流群 : ②769925425、①284271917
- QQ交流群 : ①284271917、②769925425
- 参与开源: [欢迎技术爱好者,加入JEECG开源团队](http://jeecg.com/#/doc/canyu-os)
@ -72,7 +72,7 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
* 14.在线流程设计,采用开源Activiti流程引擎,实现在线画流程,自定义表单,表单挂靠,业务流转
* 15.多数据源:及其简易的使用方式,在线配置数据源配置,便捷的从其他数据抓取数据;
* 16.国际化:支持多语言,开发国际化项目非常方便;
* 17.自定义表单,支持用户自定义表单布局,支持单表,一对多表单、支持select、radio、checkbox、textarea、date、popup、列表、宏等控件
* 17.表单设计器,支持用户自定义表单布局,支持单表,一对多表单、支持select、radio、checkbox、textarea、date、popup、列表、宏等控件
* 18.专业接口对接机制,统一采用restful接口方式,集成swagger-ui在线接口文档,Jwt token安全验证,方便客户端对接
* 19.接口安全机制,可细化控制接口授权,非常简便实现不同客户端只看自己数据等控制
* 20.高级组合查询功能,在线配置支持主子表关联查询,可保存查询历史
@ -96,7 +96,7 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
#### 后端
- 基础框架:Spring Boot 2.1.3.RELEASE
- 持久层框架:Mybatis-plus_3.0.6
- 持久层框架:Mybatis-plus_3.1.2
- 安全框架:Apache Shiro 1.4.0,Jwt_3.7.0
@ -111,7 +111,7 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
#### 前端
- [Vue 2.5.22](https://cn.vuejs.org/),[Vuex](https://vuex.vuejs.org/zh/),[Vue Router](https://router.vuejs.org/zh/)
- [Vue 2.6.10](https://cn.vuejs.org/),[Vuex](https://vuex.vuejs.org/zh/),[Vue Router](https://router.vuejs.org/zh/)
- [Axios](https://github.com/axios/axios)
- [ant-design-vue](https://vuecomponent.github.io/ant-design-vue/docs/vue/introduce-cn/)
- [webpack](https://www.webpackjs.com/),[yarn](https://yarnpkg.com/zh-Hans/)
@ -150,6 +150,12 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
│ ├─表单权限(控制字段禁用、隐藏)
│ ├─部门管理
│ └─字典管理
│ └─树分类字典
│ └─系统公告
│ └─我的组织机构
├─消息中心
│ ├─消息管理
│ ├─模板管理
├─智能化功能
│ ├─代码生成器功能(一键生成前后端代码,生成后无需修改直接用,绝对是后端开发福音)
│ ├─代码生成器模板(提供4套模板,分别支持单表和一对多模型,不同风格选择)
@ -204,8 +210,7 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
│ └─省略显示组件
│ └─时间控件
│ └─高级查询
│ └─通用选择用户组件
│ └─通过组织机构选择用户组件
│ └─用户选择组件
│ └─报表组件封装
│ └─字典组件
│ └─下拉多选组件
@ -215,6 +220,9 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
│ └─封装曲线、柱状图、饼状图、折线图等等报表的组件(经过封装,使用简单)
│ └─在线code编辑器
│ └─上传文件组件
│ └─验证码组件
│ └─树列表组件
│ └─表单禁用组件
│ └─等等
│─更多页面模板
│ ├─各种高级表单

BIN
ant-design-jeecg-vue/public/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
ant-design-jeecg-vue/src/assets/logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

43
ant-design-jeecg-vue/src/assets/logo.svg

@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="200px" height="200px" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
<title>Group 28 Copy 5</title>
<desc>Created with Sketch.</desc>
<defs>
<linearGradient x1="62.1023273%" y1="0%" x2="108.19718%" y2="37.8635764%" id="linearGradient-1">
<stop stop-color="#4285EB" offset="0%"></stop>
<stop stop-color="#2EC7FF" offset="100%"></stop>
</linearGradient>
<linearGradient x1="69.644116%" y1="0%" x2="54.0428975%" y2="108.456714%" id="linearGradient-2">
<stop stop-color="#29CDFF" offset="0%"></stop>
<stop stop-color="#148EFF" offset="37.8600687%"></stop>
<stop stop-color="#0A60FF" offset="100%"></stop>
</linearGradient>
<linearGradient x1="69.6908165%" y1="-12.9743587%" x2="16.7228981%" y2="117.391248%" id="linearGradient-3">
<stop stop-color="#FA816E" offset="0%"></stop>
<stop stop-color="#F74A5C" offset="41.472606%"></stop>
<stop stop-color="#F51D2C" offset="100%"></stop>
</linearGradient>
<linearGradient x1="68.1279872%" y1="-35.6905737%" x2="30.4400914%" y2="114.942679%" id="linearGradient-4">
<stop stop-color="#FA8E7D" offset="0%"></stop>
<stop stop-color="#F74A5C" offset="51.2635191%"></stop>
<stop stop-color="#F51D2C" offset="100%"></stop>
</linearGradient>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="logo" transform="translate(-20.000000, -20.000000)">
<g id="Group-28-Copy-5" transform="translate(20.000000, 20.000000)">
<g id="Group-27-Copy-3">
<g id="Group-25" fill-rule="nonzero">
<g id="2">
<path d="M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z" id="Shape" fill="url(#linearGradient-1)"></path>
<path d="M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z" id="Shape" fill="url(#linearGradient-2)"></path>
</g>
<path d="M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z" id="Shape" fill="url(#linearGradient-3)"></path>
</g>
<ellipse id="Combined-Shape" fill="url(#linearGradient-4)" cx="100.519339" cy="100.436681" rx="23.6001926" ry="23.580786"></ellipse>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.6 KiB

35
ant-design-jeecg-vue/src/components/bpm/DynamicComponent.vue

@ -1,35 +0,0 @@
<template>
<component ref="compModel" :is="comp" :formData="formData" v-if="comp" @ok="callBackOk" @close="callBackClose"></component>
</template>
<script>
export default {
name: 'DynamicComponent',
data () {
return {
compName: this.path
}
},
computed: {
comp: function () {
return () => import(`@/views/${this.compName}.vue`)
}
},
props: ['path','formData'],
methods: {
add () {
this.$refs.compModel.add();
},
callBackClose () {
this.$emit('close');
},
handleOk () {
this.$refs.compModel.handleOk();
},
callBackOk(){
this.$emit('ok');
this.close();
},
}
}
</script>

72
ant-design-jeecg-vue/src/components/bpm/FormCommonModal.vue

@ -1,72 +0,0 @@
<template>
<a-modal
:title="title"
:width="width"
:visible="visible"
:confirmLoading="confirmLoading"
@ok="handleOk"
@cancel="handleCancel"
destroyOnClose
cancelText="关闭">
<a-spin :spinning="confirmLoading">
<dynamic-component ref="dynamiclink" :path="path" :formData="formData" @ok="callBackOk" @close="callBackClose"></dynamic-component>
</a-spin>
</a-modal>
</template>
<script>
import DynamicComponent from "./DynamicComponent";
export default {
name: "FormCommonModal",
props: ['path'],
components: {
DynamicComponent
},
data () {
return {
title:"操作",
width:"80%",
visible: false,
confirmLoading: false,
formData:{},
}
},
created () {
},
methods: {
add () {
this.formData =[];
this.title = "新增";
this.visible = true;
this.$refs.dynamiclink.add();
},
edit (record) {
var data = {
dataId:record.id,
}
this.formData = data;
this.visible = true;
},
callBackClose () {
this.$emit('close');
this.visible = false;
},
handleOk () {
this.$refs.dynamiclink.handleOk();
},
callBackOk(){
this.$emit('ok');
this.callBackClose();
},
handleCancel () {
this.callBackClose()
},
}
}
</script>
<style scoped>
</style>

120
ant-design-jeecg-vue/src/components/bpm/ProcNodeInfoModel.vue

@ -1,120 +0,0 @@
<template>
<a-modal
:title="title"
:width="280"
:visible="visible"
:confirmLoading="confirmLoading"
:bodyStyle ="bodyStyle"
:mask = "false"
destroyOnClose
:footer="null"
@cancel="handleCancel"
cancelText="关闭">
<a-spin :spinning="confirmLoading">
<div style="height: 300px;overflow: hidden;overflow-y: auto;overflow-x: auto;">
<template v-for="(item, key, index) in nodeInfos">
<table class="gridtable">
<tbody>
<tr>
<th width="90">任务名称</th>
<td width="150">{{ item.taskName}}</td>
</tr>
<tr>
<th width="90">执行人</th>
<td width="150">{{ item.taskAssigneeId}}</td>
</tr>
<tr>
<th width="90">开始时间</th>
<td width="150">{{ item.taskBeginTime }}</td>
</tr>
<tr>
<th width="90">结束时间</th>
<td width="150">{{ item.taskEndTime }}</td>
</tr>
<tr>
<th width="90">耗时</th>
<td width="150">{{ item.durationStr }}</td>
</tr>
<tr>
<th width="90">意见</th>
<td width="150">{{ item.remarks }}</td>
</tr>
</tbody>
</table>
</template>
</div>
</a-spin>
</a-modal>
</template>
<script>
import { httpAction } from '@/api/manage'
import pick from 'lodash.pick'
export default {
name: "ProcNodeInfoModel",
data () {
return {
title:"任务审批详情",
visible: false,
bodyStyle:{
padding: "0",
},
confirmLoading: false,
validatorRules:{
},
nodeInfos:[],
}
},
created () {
},
methods: {
showInfo(record,taskId) {
this.nodeInfos = [];
for (var item of record) {
if(item.taskId == taskId){
this.nodeInfos.push(item);
}
}
this.visible = true;
},
close() {
this.nodeInfos = [];
this.visible = false;
},
handleCancel () {
this.nodeInfos = [];
this.visible = false;
},
}
}
</script>
<style scoped>
table.gridtable {
margin: 0 auto;
margin-top: 10px;
font-family: verdana,arial,sans-serif;
font-size:12px;
color:#333333;
border-width: 1px;
border-color: #ddd;
border-collapse: collapse;
}
table.gridtable th {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #ddd;
background-color: #eee;
}
table.gridtable td {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #ddd;
background-color: #ffffff;
}
</style>

136
ant-design-jeecg-vue/src/components/bpm/ProcessInstPicModal.vue

@ -1,136 +0,0 @@
<template>
<a-modal
:title="title"
:width="900"
:visible="visible"
:confirmLoading="confirmLoading"
@cancel="handleCancel"
:bodyStyle="bodyStyle"
style="top: 50px;"
destroyOnClose
:footer="null"
cancelText="关闭">
<a-spin :spinning="confirmLoading">
<img :src="picUrl" alt="流程图" usemap="#planetmap"/>
<map name="planetmap">
<template v-for="(item, key, index) in nodePositionInfo.positionList">
<area shape="rect" :coords="item.coords" title="Venus" @mouseover="showNodeInfo(nodePositionInfo.hisTasks,item.id)">
</template>
</map>
</a-spin>
<proc-node-info-model ref="nodeInfoModel"></proc-node-info-model>
</a-modal>
</template>
<script>
import { getAction } from '@/api/manage'
import qs from 'qs';
import ProcNodeInfoModel from "./ProcNodeInfoModel.vue";
export default {
components: {ProcNodeInfoModel},
name: "ProcessInstPicModal",
data () {
return {
title:"操作",
visible: false,
nodePositionInfo:{},
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 5 },
},
wrapperCol: {
xs: { span: 24 },
sm: { span: 16 },
},
bodyStyle:{
"overflow-y":"auto",
"overflow-x":"auto",
height:(window.innerHeight-280)+"px",
},
confirmLoading: false,
picUrl:"",
url: {
getProcessInfo: "/process/extActFlowData/getProcessInfo",
getNodePositionInfo:"/act/task/getNodePositionInfo",
},
}
},
created () {
},
methods: {
preview(flowCode,dataId){
this.visible = true;
var params = {
flowCode:flowCode,
dataId:dataId
};//查询条件
this.confirmLoading = true;
getAction(this.url.getProcessInfo,params).then((res)=>{
if(res.success){
var processInstanceId = res.result.processInstanceId;
this.picUrl = this.getResourceURL(processInstanceId);
this.getNodePositionInfoData(processInstanceId);
console.log("---流程图----",this.picUrl)
}else{
this.$message.warning(res.message);
}
}).catch(e => {
console.error(e)
}).then(() => {
this.confirmLoading = false;
})
},
close () {
this.$emit('close');
this.visible = false;
},
handleCancel () {
this.close()
},
// 获取静态资源访问地址
getResourceURL(processInstanceId) {
var params = qs.stringify({
//'token': Cookies.get('token'),
'_t': Date.parse(new Date())/1000,
'processInstanceId': processInstanceId
})
return `${window._CONFIG['domianURL']}/act/process/processPic?${params}`
},
// 获取静态资源访问地址
getResourceURL(processInstanceId) {
var params = qs.stringify({
//'token': Cookies.get('token'),
'_t': Date.parse(new Date())/1000,
'processInstanceId': processInstanceId
})
return `${window._CONFIG['domianURL']}/act/process/processPic?${params}`
},
// 查询坐标信息数据
getNodePositionInfoData(processInstanceId) {
var params = {processInstanceId:processInstanceId};//查询条件
getAction(this.url.getNodePositionInfo,params).then(res => {
if (res.success) {
this.nodePositionInfo = res.result
}
}).catch(e => {
console.error(e)
}).then(() => {
})
},
showNodeInfo(data,taskId){
this.$refs.nodeInfoModel.close();
this.$refs.nodeInfoModel.showInfo(data,taskId);
},
}
}
</script>
<style scoped>
</style>

56
ant-design-jeecg-vue/src/components/dict/README.md

@ -1,56 +0,0 @@
# JDictSelectTag 组件用法
----
- 从字典表获取数据,dictCode格式说明: 字典code
```html
<j-dict-select-tag v-model="queryParam.sex" placeholder="请输入用户性别"
dictCode="sex"/>
```
v-decorator用法:
```html
<j-dict-select-tag v-decorator="['sex', {}]" :triggerChange="true" placeholder="请输入用户性别"
dictCode="sex"/>
```
- 从数据库表获取字典数据,dictCode格式说明: 表名,文本字段,取值字段
```html
<j-dict-select-tag v-model="queryParam.username" placeholder="请选择用户名称"
dictCode="sys_user,realname,id"/>
```
# JDictSelectUtil.js 列表字典函数用法
----
- 第一步: 引入依赖方法
```html
import {initDictOptions, filterDictText} from '@/components/dict/JDictSelectUtil'
```
- 第二步: 在created()初始化方法执行字典配置方法
```html
//初始化字典配置
this.initDictConfig();
```
- 第三步: 实现initDictConfig方法,加载列表所需要的字典(列表上有多个字典项,就执行多次initDictOptions方法)
```html
initDictConfig() {
//初始化字典 - 性别
initDictOptions('sex').then((res) => {
if (res.success) {
this.sexDictOptions = res.result;
}
});
},
```
- 第四步: 实现字段的customRender方法
```html
customRender: (text, record, index) => {
//字典值替换通用方法
return filterDictText(this.sexDictOptions, text);
}
```

309
ant-design-jeecg-vue/src/components/jeecgbiz/JSearchUserByDep.vue

@ -1,309 +0,0 @@
<template>
<a-modal
:width="modalWidth"
:visible="visible"
:title="title"
@ok="handleSubmit"
@cancel="close"
cancelText="关闭"
style="margin-top: -70px"
wrapClassName="ant-modal-cust-warp"
>
<a-row :gutter="10" style="background-color: #ececec; padding: 10px; margin: -10px">
<a-col :md="6" :sm="24">
<a-card :bordered="false">
<!--组织机构-->
<a-directory-tree
selectable
:selectedKeys="selectedKeys"
:checkStrictly="true"
@select="this.onSelect"
:dropdownStyle="{maxHeight:'200px',overflow:'auto'}"
:treeData="departTree"
/>
</a-card>
</a-col>
<a-col :md="18" :sm="24">
<a-card :bordered="false">
用户账号:
<a-input-search
:style="{width:'150px',marginBottom:'15px'}"
placeholder="请输入用户账号"
v-model="queryParam.username"
@search="onSearch"
></a-input-search>
<a-button @click="searchReset(1)" style="margin-left: 20px" icon="redo">重置</a-button>
<!--用户列表-->
<a-table
ref="table"
:scroll="scrollTrigger"
size="middle"
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
</a-table>
</a-card>
</a-col>
</a-row>
</a-modal>
</template>
<script>
import { filterObj } from '@/utils/util'
import { queryDepartTreeList, getUserList, queryUserByDepId, queryUserRoleMap } from '@/api/api'
export default {
name: 'JSearchUserByDep',
components: {},
data() {
return {
queryParam: {
username:"",
},
columns: [
{
title: '用户账号',
align: 'center',
dataIndex: 'username'
},
{
title: '真实姓名',
align: 'center',
dataIndex: 'realname'
},
{
title: '角色名称',
align: 'center',
dataIndex: 'roleName'
},
{
title: '性别',
align: 'center',
dataIndex: 'sex',
customRender: function(text) {
if (text === 1) {
return '男'
} else if (text === 2) {
return '女'
} else {
return text
}
}
},
{
title: '手机号码',
align: 'center',
dataIndex: 'phone'
},
{
title: '邮箱',
align: 'center',
dataIndex: 'email'
}
],
scrollTrigger: {},
dataSource: [],
selectedKeys: [],
userNameArr: [],
departName: '',
userRolesMap: {},
title: '',
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '20', '30'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + total + '条'
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
isorter: {
column: 'createTime',
order: 'desc'
},
selectedRowKeys: [],
selectedRows: [],
modalWidth: 1250,
departTree: [],
visible: false,
form: this.$form.createForm(this)
}
},
created() {
// 该方法触发屏幕自适应
this.resetScreenSize();
this.queryUserRoleMap();
},
methods: {
loadData(arg) {
if (arg === 1) {
this.ipagination.current = 1;
}
let params = this.getQueryParams();//查询条件
getUserList(params).then((res) => {
if (res.success) {
this.dataSource = res.result.records;
this.assignRoleName(this.dataSource);
this.ipagination.total = res.result.total;
}
})
},
queryUserRoleMap(){
queryUserRoleMap().then((res) => {
if (res.success) {
this.userRolesMap = res.result;
this.loadData();
}
})
},
// 触发屏幕自适应
resetScreenSize() {
let screenWidth = document.body.clientWidth;
if (screenWidth < 500) {
this.scrollTrigger = { x: 800 };
} else {
this.scrollTrigger = {};
}
},
showModal() {
this.visible = true;
this.assignRoleName(this.dataSource);
this.queryDepartTree();
this.form.resetFields();
},
getQueryParams() {
let param = Object.assign({}, this.queryParam, this.isorter);
param.field = this.getQueryField();
param.pageNo = this.ipagination.current;
param.pageSize = this.ipagination.pageSize;
return filterObj(param);
},
getQueryField() {
let str = 'id,';
for (let a = 0; a < this.columns.length; a++) {
str += ',' + this.columns[a].dataIndex;
}
return str;
},
searchReset(num) {
let that = this;
if(num !== 0){
that.queryParam = {};
that.loadData(1);
}
that.selectedRowKeys = [];
that.userNameArr = [];
that.selectedKeys = [];
},
close() {
this.searchReset(0);
this.visible = false;
},
handleTableChange(pagination, filters, sorter) {
//TODO 筛选
if (Object.keys(sorter).length > 0) {
this.isorter.column = sorter.field;
this.isorter.order = 'ascend' === sorter.order ? 'asc' : 'desc';
}
this.ipagination = pagination;
this.loadData();
},
handleSubmit() {
let that = this;
for (let i = 0, len = this.selectedRowKeys.length; i < len; i++) {
this.getUserNames(this.selectedRowKeys[i]);
}
that.$emit('ok', that.userNameArr.join(','));
that.close();
},
// 遍历匹配,获取用户真实姓名
getUserNames(rowId) {
let dataSource = this.dataSource;
for (let i = 0, len = dataSource.length; i < len; i++) {
if (rowId === dataSource[i].id) {
this.userNameArr.push(dataSource[i].realname);
}
}
},
// 点击树节点,筛选出对应的用户
onSelect(selectedKeys) {
if (selectedKeys[0] != null) {
this.queryUserByDepId(selectedKeys); // 调用方法根据选选择的id查询用户信息
if (this.selectedKeys[0] !== selectedKeys[0]) {
this.selectedKeys = [selectedKeys[0]];
}
}
},
onSelectChange(selectedRowKeys, selectionRows) {
this.selectedRowKeys = selectedRowKeys;
this.selectionRows = selectionRows;
},
onSearch() {
this.loadData(1);
},
// 根据选择的id来查询用户信息
queryUserByDepId(selectedKeys) {
queryUserByDepId({ id: selectedKeys.toString() }).then((res) => {
if (res.success) {
this.dataSource = res.result;
this.ipagination.total = res.result.length;
this.assignRoleName(this.dataSource);
}
})
},
// 传入用户id,找到匹配的角色名称
queryUserRole(userId) {
let map = this.userRolesMap;
let roleName = [];
for (var key in map) {
if (userId === key) {
roleName.push(map[key]);
}
}
return roleName.join(',');
},
queryDepartTree() {
queryDepartTreeList().then((res) => {
if (res.success) {
this.departTree = res.result;
}
})
},
// 为角色名称赋值
assignRoleName(data) {
let userId = '';
let role = '';
for (let i = 0, length = data.length; i < length; i++) {
userId = this.dataSource[i].id;
role = this.queryUserRole(userId);
this.dataSource[i].roleName = role;
}
},
modalFormOk() {
this.loadData();
}
}
}
</script>
<style scoped>
.ant-table-tbody .ant-table-row td {
padding-top: 10px;
padding-bottom: 10px;
}
#components-layout-demo-custom-trigger .trigger {
font-size: 18px;
line-height: 64px;
padding: 0 24px;
cursor: pointer;
transition: color .3s;
}
</style>

276
ant-design-jeecg-vue/src/components/jeecgbiz/JSelectMultipleUser.vue

@ -1,276 +0,0 @@
<template>
<div>
<a-modal
centered
:title="title"
:width="1000"
:visible="visible"
@ok="handleOk"
@cancel="handleCancel"
cancelText="关闭">
<a-row :gutter="18">
<a-col :span="16">
<a-card title="选择人员" :bordered="true">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline">
<a-row :gutter="24">
<a-col :span="10">
<a-form-item label="姓名">
<a-input placeholder="请输入姓名" v-model="queryParam.name"></a-input>
</a-form-item>
</a-col>
<a-col :span="8" >
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<div>
<a-table
size="small"
bordered
rowKey="id"
:columns="columns1"
:dataSource="dataSource1"
:pagination="ipagination"
:loading="loading"
:scroll="{ y: 240 }"
:rowSelection="{selectedRowKeys: selectedRowKeys,onSelectAll:onSelectAll,onSelect:onSelect,onChange: onSelectChange}"
@change="handleTableChange">
</a-table>
</div>
<!-- table区域-end -->
</a-card>
</a-col>
<a-col :span="8">
<a-card title="用户选择" :bordered="true">
<!-- table区域-begin -->
<div>
<a-table
size="small"
bordered
rowKey="id"
:columns="columns2"
:dataSource="dataSource2"
:loading="loading"
:scroll="{ y: 240 }"
>
<span slot="action" slot-scope="text, record">
<a-button type="primary" size="small" @click="handleDelete(record)" icon="delete">删除</a-button>
</span>
</a-table>
</div>
<!-- table区域-end -->
</a-card>
</a-col>
</a-row>
</a-modal>
</div>
</template>
<script>
import { filterObj } from '@/utils/util'
import { getAction } from '@/api/manage'
export default {
name: "SelectDemoModal",
data () {
return {
title: "用户列表",
names: [],
visible: false,
placement: 'right',
description: '人员管理页面',
// 查询条件
queryParam: {},
// 表头
columns1: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:50,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title: '姓名',
align:"center",
width:113,
dataIndex: 'name'
},
{
title: '年龄',
align:"center",
width:100,
dataIndex: 'age'
},
{
title: '出生日期',
align:"center",
width:100,
dataIndex: 'birthday'
}
],
columns2: [
{
title: '用户账号',
align:"center",
width:100,
dataIndex: 'name'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
width:100,
scopedSlots: { customRender: 'action' },
}
],
//数据集
dataSource1:[],
dataSource2:[],
// 分页参数
ipagination:{
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '20', '30'],
showTotal: (total, range) => {
return range[0] + "-" + range[1] + " 共" + total + "条"
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
isorter:{
column: 'createTime',
order: 'desc',
},
loading:false,
selectedRowKeys: [],
selectedRows: [],
url: {
list: "/test/jeecgDemo/list",
},
}
},
created() {
this.loadData();
},
methods: {
searchQuery(){
this.loadData(1);
},
searchReset(){
this.queryParam={};
this.loadData(1);
},
handleCancel() {
this.visible = false;
},
handleOk() {
this.$emit("selectFinished",this.dataSource2);
this.visible = false;
},
add() {
this.visible = true;
},
loadData (arg){
//加载数据 若传入参数1则加载第一页的内容
if(arg===1){
this.ipagination.current = 1;
}
var params = this.getQueryParams();//查询条件
getAction(this.url.list,params).then((res)=>{
if(res.success){
this.dataSource1 = res.result.records;
this.ipagination.total = res.result.total;
}
})
},
getQueryParams(){
var param = Object.assign({}, this.queryParam,this.isorter);
param.field = this.getQueryField();
param.pageNo = this.ipagination.current;
param.pageSize = this.ipagination.pageSize;
return filterObj(param);
},
getQueryField(){
//TODO 字段权限控制
},
onSelectAll (selected, selectedRows, changeRows) {
if(selected===true){
for(var a = 0;a<changeRows.length;a++){
this.dataSource2.push(changeRows[a]);
}
}else{
for(var b = 0;b<changeRows.length;b++){
this.dataSource2.splice(this.dataSource2.indexOf(changeRows[b]),1);
}
}
// console.log(selected, selectedRows, changeRows);
},
onSelect (record,selected) {
if(selected===true){
this.dataSource2.push(record);
}else{
var index = this.dataSource2.indexOf(record);
//console.log();
if(index >=0 ){
this.dataSource2.splice(this.dataSource2.indexOf(record),1);
}
}
},
onSelectChange (selectedRowKeys,selectedRows) {
this.selectedRowKeys = selectedRowKeys;
this.selectionRows = selectedRows;
},
onClearSelected(){
this.selectedRowKeys = [];
this.selectionRows = [];
},
handleDelete: function(record){
this.dataSource2.splice(this.dataSource2.indexOf(record),1);
},
handleTableChange(pagination, filters, sorter){
//分页、排序、筛选变化时触发
console.log(sorter);
//TODO 筛选
if (Object.keys(sorter).length>0){
this.isorter.column = sorter.field;
this.isorter.order = "ascend"==sorter.order?"asc":"desc"
}
this.ipagination = pagination;
this.loadData();
}
}
}
</script>
<style lang="less" scoped>
.ant-card-body .table-operator{
margin-bottom: 18px;
}
.ant-table-tbody .ant-table-row td{
padding-top:15px;
padding-bottom:15px;
}
.anty-row-operator button{margin: 0 5px}
.ant-btn-danger{background-color: #ffffff}
.ant-modal-cust-warp{height: 100%}
.ant-modal-cust-warp .ant-modal-body{height:calc(100% - 110px) !important;overflow-y: auto}
.ant-modal-cust-warp .ant-modal-content{height:90% !important;overflow-y: hidden}
</style>

87
ant-design-jeecg-vue/src/components/jeecgbiz/JSelectUser.vue

@ -1,87 +0,0 @@
<template>
<div>
<a-modal
:title="title"
:width="800"
:visible="visible"
:confirmLoading="confirmLoading"
@ok="handleSubmit"
@cancel="handleCancel">
<div>
<a-form-item label="用户名:" :label-col="{ span: 5 }" :wrapper-col="{ span: 12 }">
<a-input-search placeholder="点击右侧按钮选择用户" disabled @search="onSearch" v-model="userNames">
<a-button slot="enterButton" icon="search">选择</a-button>
</a-input-search>
</a-form-item>
</div>
</a-modal>
<!-- 用户查询列表 -->
<select-user-list-modal ref="selectUserListModal" @ok="getUserCallBack"></select-user-list-modal>
</div>
</template>
<script>
import {getUserList} from '@/api/api'
import SelectUserListModal from './modal/SelectUserListModal'
export default {
name: "SelectUserModal",
components: {
SelectUserListModal,
},
props: ['taskId'],
data() {
return {
title: "操作",
visible: false,
selectUserListVisible: false,
model: {},
confirmLoading: false,
userNames: '',
userKeys: '',
}
},
created() {
},
methods: {
open() {
this.userNames = ''
this.userKeys = ''
this.visible = true;
},
close() {
this.$emit('close');
this.visible = false;
},
handleCancel() {
this.close()
},
onSearch() {
this.$refs.selectUserListModal.open();
},
getUserCallBack(selectionRows) {
console.log(selectionRows)
let names = ''
let keys = ''
for (let row of selectionRows) {
names = row.realname + "," + names
keys = row.username + "," + keys
}
this.userNames = names
this.userKeys = keys
console.log('--userkeys--' + this.userKeys)
},
handleSubmit() {
console.log("taskId: "+ this.taskId)
this.$emit('ok', this.userKeys,this.taskId);
this.close()
},
}
}
</script>
<style>
</style>

97
ant-design-jeecg-vue/src/components/tools/ShowAnnouncement.vue

@ -1,97 +0,0 @@
<template>
<a-modal
:title="title"
:width="600"
:visible="visible"
@cancel="handleCancel"
:okButtonProps="okButtonProps"
cancelText="关闭">
<div class="message">
<div class="title">{{ record.titile }}</div>
<div class="createBy">发布人{{ record.sender }}</div>
<div class="sendTime">发布时间{{ record.sendTime }}</div>
<a-divider />
<p v-html="record.msgContent"></p>
</div>
</a-modal>
</template>
<script>
export default {
name: "SysAnnouncementModal",
components: {
},
data () {
return {
title:"通知消息",
record: {},
labelCol: {
xs: { span: 24 },
sm: { span: 5 },
},
wrapperCol: {
xs: { span: 24 },
sm: { span: 16 },
},
visible: false,
okButtonProps:{
style: {
display:"none"
},
}
}
},
created () {
},
methods: {
detail (record) {
this.visible = true;
this.record = record;
},
handleCancel () {
this.visible = false;
},
}
}
</script>
<style scoped>
.message{
width: 90%;
margin-left: 5%;
margin-right: 5%;
min-height: 200px;
}
.title{
width: 100%;
font-size: 16px;
text-align: center;
font-weight: bolder;
margin-bottom: 10px;
}
.createBy {
width: 50%;
text-align: left;
padding-left: 5%;
float: left;
}
.sendTime{
width: 50%;
text-align: right;
padding-right: 5%;
float: right;
}
.message .ant-divider .ant-divider-horizontal .ant-divider-with-text-right{
font-size: 16px;
font-weight: lighter!important;
}
.message p{
font-size: 16px;
}
.message .ant-divider-horizontal{
margin-top: 40px;
margin-bottom: 8px;
}
</style>

147
ant-design-jeecg-vue/src/config/router.config.js

@ -1,147 +0,0 @@
import { UserLayout, TabLayout, RouteView, BlankLayout, PageView } from '@/components/layouts'
/**
* 走菜单走权限控制
* @type {[null,null]}
*/
export const asyncRouterMap = [
{
path: '/',
name: 'dashboard',
component: TabLayout,
meta: { title: '首页' },
redirect: '/dashboard/workplace',
children: [
// // account
// {
// path: '/account',
// component: RouteView,
// name: 'account',
// meta: { title: '个人页', icon: 'user', keepAlive: true, permission: [ 'user' ] },
// children: [
// {
// path: '/account/center',
// name: 'center',
// component: () => import('@/views/account/center/Index'),
// meta: { title: '个人中心', keepAlive: true, permission: [ 'user' ] }
// },
// {
// path: '/account/settings',
// name: 'settings',
// component: () => import('@/views/account/settings/Index'),
// meta: { title: '个人设置', hideHeader: true, keepAlive: true, permission: [ 'user' ] },
// redirect: '/account/settings/base',
// alwaysShow: true,
// children: [
// {
// path: '/account/settings/base',
// name: 'BaseSettings',
// component: () => import('@/views/account/settings/BaseSetting'),
// meta: { title: '基本设置', hidden: true, keepAlive: true, permission: [ 'user' ] }
// },
// {
// path: '/account/settings/security',
// name: 'SecuritySettings',
// component: () => import('@/views/account/settings/Security'),
// meta: { title: '安全设置', hidden: true, keepAlive: true, permission: [ 'user' ] }
// },
// {
// path: '/account/settings/custom',
// name: 'CustomSettings',
// component: () => import('@/views/account/settings/Custom'),
// meta: { title: '个性化设置', hidden: true, keepAlive: true, permission: [ 'user' ] }
// },
// {
// path: '/account/settings/binding',
// name: 'BindingSettings',
// component: () => import('@/views/account/settings/Binding'),
// meta: { title: '账户绑定', hidden: true, keepAlive: true, permission: [ 'user' ] }
// },
// {
// path: '/account/settings/notification',
// name: 'NotificationSettings',
// component: () => import('@/views/account/settings/Notification'),
// meta: { title: '新消息通知', hidden: true, keepAlive: true, permission: [ 'user' ] }
// },
// ]
// },
// ]
// }
]
},
{
path: '*', redirect: '/404', hidden: true
}
]
/**
* 基础路由
* @type { *[] }
*/
export const constantRouterMap = [
{
path: '/user',
component: UserLayout,
redirect: '/user/login',
hidden: true,
children: [
{
path: 'login',
name: 'login',
component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
},
{
path: 'register',
name: 'register',
component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
},
{
path: 'register-result',
name: 'registerResult',
component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
},
]
},
// {
// path: '/',
// name: 'index',
// component: TabLayout,
// meta: {title: '首页'},
// redirect: '/dashboard/workplace',
// children: [
// {
// path: '/online',
// name: 'online',
// redirect: '/online',
// component: RouteView,
// meta: {title: '在线开发', icon: 'dashboard', permission: ['dashboard']},
// children: [
// {
// path: '/online/auto/:code',
// name: 'report',
// component: () => import('@/views/modules/online/cgreport/OnlCgreportAutoList')
// },
// ]
// },
// ]
// },
{
path: '/test',
component: BlankLayout,
redirect: '/test/home',
children: [
{
path: 'home',
name: 'TestHome',
component: () => import('@/views/Home')
}
]
},
{
path: '/404',
component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
},
]

250
ant-design-jeecg-vue/src/views/jeecg/JoaDemoList.vue

@ -1,250 +0,0 @@
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline">
<a-row :gutter="24">
<a-col :md="6" :sm="8" class="1">
<a-form-item label="请假人">
<a-input placeholder="请输入请假人" v-model="queryParam.name"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8" class="1">
<a-form-item label="请假天数">
<a-input placeholder="请输入请假天数" v-model="queryParam.days"></a-input>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<a-col :md="6" :sm="8">
<a-form-item label="开始时间">
<a-input placeholder="请输入开始时间" v-model="queryParam.beginDate"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8">
<a-form-item label="请假结束时间">
<a-input placeholder="请输入请假结束时间" v-model="queryParam.endDate"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8">
<a-form-item label="请假原因">
<a-input placeholder="请输入请假原因" v-model="queryParam.reason"></a-input>
</a-form-item>
</a-col>
</template>
<a-col :md="6" :sm="8" >
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
<a @click="handleToggleSearch" style="margin-left: 8px">
{{ toggleSearchStatus ? '收起' : '展开' }}
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
</a>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
<a-button type="primary" icon="download" @click="handleExportXls">导出</a-button>
<a-upload name="file" :showUploadList="false" :multiple="false" :action="importExcelUrl" @change="handleImportExcel">
<a-button type="primary" icon="import">导入</a-button>
</a-upload>
<a-dropdown v-if="selectedRowKeys.length > 0">
<a-menu slot="overlay">
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
</a-menu>
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span slot="action" slot-scope="text, record">
<template v-if="record.bpmStatus === '1'">
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical"/>
<a @click="startProcess(record)">提交流程</a>
<a-divider type="vertical"/>
</template>
<a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<a-menu-item v-if="record.bpmStatus === '1'">
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
</a-menu-item>
<a-menu-item v-else @click="handlePreviewPic(record)">审批进度</a-menu-item>
</a-menu>
</a-dropdown>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<form-common-modal ref="modalForm" :path="path" @ok="modalFormOk"></form-common-modal>
<!-- 审批流程 -->
<process-inst-pic-modal ref="processInstPicModal"></process-inst-pic-modal>
</a-card>
</template>
<script>
import { postAction } from '@/api/manage'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import JDate from '@/components/jeecg/JDate.vue'
import FormCommonModal from "@/components/bpm/FormCommonModal";
import ProcessInstPicModal from "@/components/bpm/ProcessInstPicModal";
export default {
name: "JoaDemoList",
mixins:[JeecgListMixin],
components: {
FormCommonModal,
ProcessInstPicModal,
JDate
},
data () {
return {
description: '流程测试管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title: '请假人',
align:"center",
dataIndex: 'name'
},
{
title: '请假天数',
align:"center",
dataIndex: 'days'
},
{
title: '开始时间',
align:"center",
dataIndex: 'beginDate'
},
{
title: '结束时间',
align:"center",
dataIndex: 'endDate'
},
{
title: '请假原因',
align:"center",
dataIndex: 'reason'
},
{
title: '流程状态',
align:"center",
dataIndex: 'bpmStatus',
customRender:function (text) {
if(text=='1'){
return "待提交";
}else if(text=='2'){
return "处理中";
}else if(text=='3'){
return "已完成";
}else if(text=='4'){
return "已作废";
}else{
return text;
}
}
},
{
title: '操作',
dataIndex: 'action',
align:"center",
scopedSlots: { customRender: 'action' },
}
],
flowCode:"dev_joa_demo_001",
path:"jeecg/modules/JoaDemoForm",
url: {
list: "/test/joaDemo/list",
delete: "/test/joaDemo/delete",
deleteBatch: "/test/joaDemo/deleteBatch",
exportXlsUrl: "test/joaDemo/exportXls",
importExcelUrl: "test/joaDemo/importExcel",
startProcess: "/process/extActProcess/startMutilProcess",
},
}
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
}
},
methods: {
startProcess: function(record){
var that = this;
this.$confirm({
title:"提示",
content:"确认提交流程吗?",
onOk: function(){
var param = {
flowCode:that.flowCode,
id:record.id,
formUrl:that.path,
formUrlMobile:that.path
}
postAction(that.url.startProcess,param).then((res)=>{
if(res.success){
that.$message.success(res.message);
that.loadData();
that.onClearSelected();
}else{
that.$message.warning(res.message);
}
});
}
});
},
handlePreviewPic: function(record){
var flowCode = this.flowCode;
var dataId = record.id;
this.$refs.processInstPicModal.preview(flowCode,dataId);
this.$refs.processInstPicModal.title="流程图";
},
}
}
</script>
<style scoped>
@import '~@assets/less/common.less'
</style>

160
ant-design-jeecg-vue/src/views/jeecg/modules/JoaDemoForm.vue

@ -1,160 +0,0 @@
<template>
<a-form :form="form">
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="请假人">
<a-input placeholder="请输入请假人" v-decorator="['name', {}]" />
</a-form-item>
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="请假天数">
<a-input-number v-decorator="[ 'days', {}]" />
</a-form-item>
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="开始时间">
<a-date-picker showTime format='YYYY-MM-DD' v-decorator="[ 'beginDate', {}]" />
</a-form-item>
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="请假结束时间">
<a-date-picker showTime format='YYYY-MM-DD' v-decorator="[ 'endDate', {}]" />
</a-form-item>
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="请假原因">
<a-input placeholder="请输入请假原因" v-decorator="['reason', {}]" />
</a-form-item>
</a-form>
</template>
<script>
import { httpAction,getAction } from '@/api/manage'
import moment from "moment"
import pick from 'lodash.pick'
import JDate from '@/components/jeecg/JDate.vue'
export default {
name: "JoaDemoModal",
components: { JDate },
props: ['formData'],
data () {
return {
title:"操作",
visible: false,
model: {},
labelCol: {
xs: { span: 24 },
sm: { span: 5 },
},
wrapperCol: {
xs: { span: 24 },
sm: { span: 16 },
},
confirmLoading: false,
form: this.$form.createForm(this),
validatorRules:{
name:{},
days:{},
beginDate:{},
endDate:{},
reason:{},
bpmStatus:{},
},
url: {
queryById: "/test/joaDemo/queryById",
add: "/test/joaDemo/add",
edit: "/test/joaDemo/edit",
},
}
},
created () {
console.log("form start");
console.log("formdata",this.formData);
if(this.formData.dataId){
var params = {id:this.formData.dataId};//查询条件
getAction(this.url.queryById,params).then((res)=>{
if(res.success){
console.log("获取表单数据",res);
this.edit (res.result);
}
})
}
},
methods: {
add () {
this.edit({});
},
edit (record) {
this.form.resetFields();
this.model = Object.assign({}, record);
this.visible = true;
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'name','days','reason','bpmStatus'))
//时间格式化
this.form.setFieldsValue({beginDate:this.model.beginDate?moment(this.model.beginDate):null})
this.form.setFieldsValue({endDate:this.model.endDate?moment(this.model.endDate):null})
});
},
close () {
this.$emit('close');
this.visible = false;
},
handleOk () {
const that = this;
// 触发表单验证
this.form.validateFields((err, values) => {
if (!err) {
that.confirmLoading = true;
let httpurl = '';
let method = '';
if(!this.model.id){
httpurl+=this.url.add;
method = 'post';
}else{
httpurl+=this.url.edit;
method = 'put';
}
let formData = Object.assign(this.model, values);
//时间格式化
formData.beginDate = formData.beginDate?formData.beginDate.format('YYYY-MM-DD HH:mm:ss'):null;
formData.endDate = formData.endDate?formData.endDate.format('YYYY-MM-DD HH:mm:ss'):null;
console.log(formData)
httpAction(httpurl,formData,method).then((res)=>{
if(res.success){
that.$message.success(res.message);
that.$emit('ok');
}else{
that.$message.warning(res.message);
}
}).finally(() => {
that.confirmLoading = false;
that.close();
})
}
})
},
handleCancel () {
this.close()
},
}
}
</script>
<style scoped>
</style>

0
ant-design-jeecg-vue/.editorconfig → ant-design-vue-jeecg/.editorconfig

0
ant-design-jeecg-vue/.eslintignore → ant-design-vue-jeecg/.eslintignore

0
ant-design-jeecg-vue/.gitattributes → ant-design-vue-jeecg/.gitattributes vendored

0
ant-design-jeecg-vue/.gitignore → ant-design-vue-jeecg/.gitignore vendored

0
ant-design-jeecg-vue/.prettierrc → ant-design-vue-jeecg/.prettierrc

0
ant-design-jeecg-vue/LICENSE → ant-design-vue-jeecg/LICENSE

2
ant-design-jeecg-vue/README.md → ant-design-vue-jeecg/README.md

@ -1,7 +1,7 @@
Ant Design Jeecg Vue
====
当前最新版本: 2.0.1(发布日期:20190603
当前最新版本: 2.0.2(发布日期:20190708
Overview
----

0
ant-design-jeecg-vue/babel.config.js → ant-design-vue-jeecg/babel.config.js

0
ant-design-jeecg-vue/idea.config.js → ant-design-vue-jeecg/idea.config.js

17939
ant-design-vue-jeecg/package-lock.json generated

File diff suppressed because it is too large Load Diff

16
ant-design-jeecg-vue/package.json → ant-design-vue-jeecg/package.json

@ -1,6 +1,6 @@
{
"name": "vue-antd-jeecg",
"version": "2.0.1",
"version": "2.0.2",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --open",
@ -10,9 +10,9 @@
"test:e2e": "vue-cli-service test:e2e"
},
"dependencies": {
"@antv/data-set": "^0.10.1",
"@antv/data-set": "^0.10.2",
"@tinymce/tinymce-vue": "^2.0.0",
"ant-design-vue": "^1.3.1",
"ant-design-vue": "^1.3.9",
"apexcharts": "^3.6.5",
"axios": "^0.18.0",
"clipboard": "^2.0.4",
@ -26,7 +26,7 @@
"nprogress": "^0.2.0",
"tinymce": "^5.0.2",
"viser-vue": "^2.4.4",
"vue": "^2.5.22",
"vue": "^2.6.10",
"vue-apexcharts": "^1.3.2",
"vue-class-component": "^6.0.0",
"vue-cropper": "^0.4.8",
@ -34,7 +34,7 @@
"vue-loader": "^15.7.0",
"vue-ls": "^3.2.0",
"vue-photo-preview": "^1.1.3",
"vue-print-nb-jeecg": "^1.0.7",
"vue-print-nb-jeecg": "^1.0.8",
"vue-property-decorator": "^7.3.0",
"vue-router": "^3.0.1",
"vue-splitpane": "^1.0.4",
@ -49,13 +49,13 @@
"@vue/cli-service": "^3.3.0",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.12.0",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.1.0",
"less": "^3.8.1",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"node-sass": "^4.11.0",
"sass-loader": "^7.0.1",
"vue-template-compiler": "^2.5.22"
"vue-template-compiler": "^2.6.10"
},
"eslintConfig": {
"root": true,

0
ant-design-jeecg-vue/public/avatar2.jpg → ant-design-vue-jeecg/public/avatar2.jpg vendored

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

0
ant-design-jeecg-vue/public/color.less → ant-design-vue-jeecg/public/color.less vendored

0
ant-design-jeecg-vue/public/goright.png → ant-design-vue-jeecg/public/goright.png vendored

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

30
ant-design-jeecg-vue/public/index.html → ant-design-vue-jeecg/public/index.html vendored

@ -218,6 +218,26 @@
color: #FFF;
opacity: 0.5;
}
/* 滚动条优化 start */
::-webkit-scrollbar{
width:8px;
height:8px;
}
::-webkit-scrollbar-track{
background: #f6f6f6;
border-radius:2px;
}
::-webkit-scrollbar-thumb{
background: #cdcdcd;
border-radius:2px;
}
::-webkit-scrollbar-thumb:hover{
background: #747474;
}
::-webkit-scrollbar-corner {
background: #f6f6f6;
}
/* 滚动条优化 end */
</style>
<!-- 全局配置 -->
<script>
@ -240,6 +260,16 @@
</div>
</div>
</div>
<!-- update_begin author:sunjianlei date:20190524 for: 去指定页面的加载动画 -->
<script>
// 去指定页面的加载动画
if (location.href.indexOf('online/desform/pureview') !== -1) {
document.getElementById('loader-wrapper').style.display = 'none'
}
</script>
<!-- update_end author:sunjianlei date:20190524 for: 去指定页面的加载动画 -->
</body>
</html>

BIN
ant-design-vue-jeecg/public/logo.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

0
ant-design-jeecg-vue/public/tinymce/langs/zh_CN.js → ant-design-vue-jeecg/public/tinymce/langs/zh_CN.js

0
ant-design-jeecg-vue/public/tinymce/skins/lightgray/content.min.css → ant-design-vue-jeecg/public/tinymce/skins/lightgray/content.min.css vendored

0
ant-design-jeecg-vue/public/tinymce/skins/lightgray/skin.min.css → ant-design-vue-jeecg/public/tinymce/skins/lightgray/skin.min.css vendored

0
ant-design-jeecg-vue/public/v2.js → ant-design-vue-jeecg/public/v2.js vendored

0
ant-design-jeecg-vue/src/App.vue → ant-design-vue-jeecg/src/App.vue

8
ant-design-jeecg-vue/src/api/api.js → ant-design-vue-jeecg/src/api/api.js

@ -22,8 +22,8 @@ const getUserList = (params)=>getAction("/sys/user/list",params);
// const deleteUser = (params)=>deleteAction("/sys/user/delete",params);
// const deleteUserList = (params)=>deleteAction("/sys/user/deleteBatch",params);
const frozenBatch = (params)=>putAction("/sys/user/frozenBatch",params);
//验证用户账号是否唯一
const checkUsername = (params)=>getAction("/sys/user/checkOnlyUser",params);
//验证用户是否存在
const checkOnlyUser = (params)=>getAction("/sys/user/checkOnlyUser",params);
//改变密码
const changPassword = (params)=>putAction("/sys/user/changPassword",params);
@ -76,6 +76,7 @@ const doReleaseData = (params)=>getAction("/sys/annountCement/doReleaseData",par
const doReovkeData = (params)=>getAction("/sys/annountCement/doReovkeData",params);
//获取系统访问量
const getLoginfo = (params)=>getAction("/sys/loginfo",params);
const getVisitInfo = (params)=>getAction("/sys/visitInfo",params);
//数据日志访问
// const getDataLogList = (params)=>getAction("/sys/dataLog/list",params);
@ -99,7 +100,7 @@ export {
getUserList,
queryall,
frozenBatch,
checkUsername,
checkOnlyUser,
changPassword,
getPermissionList,
addPermission,
@ -127,6 +128,7 @@ export {
doReleaseData,
doReovkeData,
getLoginfo,
getVisitInfo,
queryUserByDepId,
queryUserRoleMap,
duplicateCheck,

0
ant-design-jeecg-vue/src/api/index.js → ant-design-vue-jeecg/src/api/index.js

8
ant-design-jeecg-vue/src/api/login.js → ant-design-vue-jeecg/src/api/login.js

@ -20,6 +20,14 @@ export function login(parameter) {
})
}
export function phoneLogin(parameter) {
return axios({
url: '/sys/phoneLogin',
method: 'post',
data: parameter
})
}
export function getSmsCaptcha(parameter) {
return axios({
url: api.SendSms,

0
ant-design-jeecg-vue/src/api/manage.js → ant-design-vue-jeecg/src/api/manage.js

0
ant-design-jeecg-vue/src/assets/background.svg → ant-design-vue-jeecg/src/assets/background.svg

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

0
ant-design-jeecg-vue/src/assets/less/common.less → ant-design-vue-jeecg/src/assets/less/common.less

0
ant-design-jeecg-vue/src/assets/less/index.less → ant-design-vue-jeecg/src/assets/less/index.less

BIN
ant-design-vue-jeecg/src/assets/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

172
ant-design-vue-jeecg/src/assets/logo.svg

@ -0,0 +1,172 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="293px" height="293px" viewBox="0 0 293 293" enable-background="new 0 0 293 293" xml:space="preserve"> <image id="image0" width="293" height="293" x="0" y="0"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEU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dkH
udbfI+QkU8aGLCnZvLSPBHlLEKnAaxnpotKklUMMF3ilpI/EpzZGIJLBKyUsZvWpXTiElkBDf4RE
ICkhJAJJCSERLCllirsMoTwsKZkDahcIoVUYUvJbkFsSMVQYUkJCQgwdZHYjJAJJCSERSEoIiYBY
Sn5LY5XaZUCIB+KF3hZ/SbvaZZCb+hoAcMLuKWnP7zk6vaOYwAFwuGcf1GIME8RSSrb9lPbwW1rL
zo3zWXGiuKO07fzYc+MAAIDA3Q6ftaA7a9Dq89gBcDvyes0B7Y2meaXksX/7L+oH5/bkp3J1fo/a
5U1OVBfVAUBm5yWTz5PR9OS9po5Tzd2rBAGz8AISXilF9AGz2oUfPukwtASfMiA2uxFw4re0l3Cd
R1JCpEjQ1FLeXJF4PqFL3rHkg5uZKRbkJ2wYyAYgYA6aqDP6iClo8eOEIQzAYFZfLtmk5vRbfVSm
lcEsAg+aAmYAzIHcPkOYOg8DYQOBEzizIzAFzYHsAbI+fkvAHNHz1ccUzO0jaw4Pg1l+S0RPZnVp
quS+BgrrrqX87Pipx/N7Tk88N47AqaXmdk9h18TTNi8Absf+uT4rAHbP/L3xw2S/pbPo8kjyGphw
O45Ny+sde74n/+x4Oh+M1VfQXdrmcAPgte2d77EDYPVNPhmfCc5v6SwKmIs6YauP13Z6IgATT/fk
t5fwJz9UXUp+y6lJmZ1YT+t4bQdnux1s2SeiupQQcOO3HJjTUSxmu2dkdiOSkNcLgJh9w1GrhJAI
1CohJAJJCSERSEoIifhfYiLpk0SDlz8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMDYtMDRUMjA6
MjA6MTYrMDg6MDBOMzq8AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE5LTA2LTA0VDIwOjIwOjE2KzA4
OjAwP26CAAAAAABJRU5ErkJggg==" />
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

0
ant-design-jeecg-vue/src/assets/pdf4.jpg → ant-design-vue-jeecg/src/assets/pdf4.jpg

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

0
ant-design-jeecg-vue/src/components/AvatarList/Item.vue → ant-design-vue-jeecg/src/components/AvatarList/Item.vue

0
ant-design-jeecg-vue/src/components/AvatarList/List.vue → ant-design-vue-jeecg/src/components/AvatarList/List.vue

0
ant-design-jeecg-vue/src/components/AvatarList/index.js → ant-design-vue-jeecg/src/components/AvatarList/index.js

0
ant-design-jeecg-vue/src/components/AvatarList/index.less → ant-design-vue-jeecg/src/components/AvatarList/index.less

0
ant-design-jeecg-vue/src/components/ChartCard.vue → ant-design-vue-jeecg/src/components/ChartCard.vue

0
ant-design-jeecg-vue/src/components/CountDown/CountDown.vue → ant-design-vue-jeecg/src/components/CountDown/CountDown.vue

0
ant-design-jeecg-vue/src/components/CountDown/index.js → ant-design-vue-jeecg/src/components/CountDown/index.js

0
ant-design-jeecg-vue/src/components/Ellipsis/Ellipsis.vue → ant-design-vue-jeecg/src/components/Ellipsis/Ellipsis.vue

0
ant-design-jeecg-vue/src/components/Ellipsis/index.js → ant-design-vue-jeecg/src/components/Ellipsis/index.js

0
ant-design-jeecg-vue/src/components/NumberInfo/NumberInfo.vue → ant-design-vue-jeecg/src/components/NumberInfo/NumberInfo.vue

0
ant-design-jeecg-vue/src/components/NumberInfo/index.js → ant-design-vue-jeecg/src/components/NumberInfo/index.js

0
ant-design-jeecg-vue/src/components/NumberInfo/index.less → ant-design-vue-jeecg/src/components/NumberInfo/index.less

0
ant-design-jeecg-vue/src/components/README.md → ant-design-vue-jeecg/src/components/README.md

0
ant-design-jeecg-vue/src/components/Trend/Trend.vue → ant-design-vue-jeecg/src/components/Trend/Trend.vue

0
ant-design-jeecg-vue/src/components/Trend/index.js → ant-design-vue-jeecg/src/components/Trend/index.js

0
ant-design-jeecg-vue/src/components/Trend/index.less → ant-design-vue-jeecg/src/components/Trend/index.less

0
ant-design-jeecg-vue/src/components/_util/StringUtil.js → ant-design-vue-jeecg/src/components/_util/StringUtil.js

0
ant-design-jeecg-vue/src/components/_util/util.js → ant-design-vue-jeecg/src/components/_util/util.js

0
ant-design-jeecg-vue/src/components/chart/AreaChartTy.vue → ant-design-vue-jeecg/src/components/chart/AreaChartTy.vue

0
ant-design-jeecg-vue/src/components/chart/Bar.vue → ant-design-vue-jeecg/src/components/chart/Bar.vue

0
ant-design-jeecg-vue/src/components/chart/BarAndLine.vue → ant-design-vue-jeecg/src/components/chart/BarAndLine.vue

0
ant-design-jeecg-vue/src/components/chart/BarMultid.vue → ant-design-vue-jeecg/src/components/chart/BarMultid.vue

0
ant-design-jeecg-vue/src/components/chart/DashChartDemo.vue → ant-design-vue-jeecg/src/components/chart/DashChartDemo.vue

0
ant-design-jeecg-vue/src/components/chart/LineChartMultid.vue → ant-design-vue-jeecg/src/components/chart/LineChartMultid.vue

0
ant-design-jeecg-vue/src/components/chart/Liquid.vue → ant-design-vue-jeecg/src/components/chart/Liquid.vue

0
ant-design-jeecg-vue/src/components/chart/MiniArea.vue → ant-design-vue-jeecg/src/components/chart/MiniArea.vue

0
ant-design-jeecg-vue/src/components/chart/MiniBar.vue → ant-design-vue-jeecg/src/components/chart/MiniBar.vue

0
ant-design-jeecg-vue/src/components/chart/MiniProgress.vue → ant-design-vue-jeecg/src/components/chart/MiniProgress.vue

0
ant-design-jeecg-vue/src/components/chart/Pie.vue → ant-design-vue-jeecg/src/components/chart/Pie.vue

0
ant-design-jeecg-vue/src/components/chart/README.md → ant-design-vue-jeecg/src/components/chart/README.md

0
ant-design-jeecg-vue/src/components/chart/Radar.vue → ant-design-vue-jeecg/src/components/chart/Radar.vue

0
ant-design-jeecg-vue/src/components/chart/RankList.vue → ant-design-vue-jeecg/src/components/chart/RankList.vue

0
ant-design-jeecg-vue/src/components/chart/TransferBar.vue → ant-design-vue-jeecg/src/components/chart/TransferBar.vue

0
ant-design-jeecg-vue/src/components/chart/Trend.vue → ant-design-vue-jeecg/src/components/chart/Trend.vue

0
ant-design-jeecg-vue/src/components/chart/chart.scss → ant-design-vue-jeecg/src/components/chart/chart.scss

0
ant-design-jeecg-vue/src/components/dict/JDictSelectTag.vue → ant-design-vue-jeecg/src/components/dict/JDictSelectTag.vue

0
ant-design-jeecg-vue/src/components/dict/JDictSelectUtil.js → ant-design-vue-jeecg/src/components/dict/JDictSelectUtil.js

14
ant-design-jeecg-vue/src/components/dict/JMultiSelectTag.vue → ant-design-vue-jeecg/src/components/dict/JMultiSelectTag.vue

@ -29,7 +29,6 @@
props: {
dictCode: String,
placeholder: String,
triggerChange: Boolean,
disabled: Boolean,
value: String,
type: String,
@ -52,6 +51,9 @@
this.initDictData();
},
watch:{
options: function(val){
this.setCurrentDictOptions(val);
},
value (val) {
if(!val){
this.arrayValue = []
@ -75,11 +77,7 @@
},
onChange (selectedValue) {
if(this.triggerChange){
this.$emit('change', selectedValue.join(","));
}else{
this.$emit('input', selectedValue.join(","));
}
this.$emit('change', selectedValue.join(","));
},
setCurrentDictOptions(dictOptions){
this.dictOptions = dictOptions
@ -87,6 +85,10 @@
getCurrentDictOptions(){
return this.dictOptions
}
},
model: {
prop: 'value',
event: 'change'
}
}
</script>

24
ant-design-jeecg-vue/src/components/dict/JSearchSelectTag.vue → ant-design-vue-jeecg/src/components/dict/JSearchSelectTag.vue

@ -40,10 +40,9 @@
export default {
name: 'JSearchSelectTag',
props:{
triggerChange: Boolean,
disabled: Boolean,
value: String,
dictCode: String,
dict: String,
dictOptions: Array,
async: Boolean,
placeholder:{
@ -76,6 +75,11 @@
this.initSelectValue()
}
}
},
"dict":{
handler(){
this.initDictData()
}
}
},
methods:{
@ -83,7 +87,7 @@
if(this.async){
if(!this.selectedAsyncValue || !this.selectedAsyncValue.key || this.selectedAsyncValue.key!=this.value){
console.log("这才请求后台")
getAction(`/sys/dict/loadDictItem/${this.dictCode}`,{key:this.value}).then(res=>{
getAction(`/sys/dict/loadDictItem/${this.dict}`,{key:this.value}).then(res=>{
if(res.success){
let obj = {
key:this.value,
@ -104,7 +108,7 @@
this.options = []
this.loading=true
// 字典code格式:table,text,code
getAction(`/sys/dict/loadDict/${this.dictCode}`,{keyword:value}).then(res=>{
getAction(`/sys/dict/loadDict/${this.dict}`,{keyword:value}).then(res=>{
this.loading=false
if(res.success){
if(currentLoad!=this.lastLoad){
@ -126,7 +130,7 @@
this.options = [...this.dictOptions]
}else{
//根据字典Code, 初始化字典数组
ajaxGetDictItems(this.dictCode, null).then((res) => {
ajaxGetDictItems(this.dict, null).then((res) => {
if (res.success) {
this.options = res.result;
}
@ -148,11 +152,7 @@
this.callback()
},
callback(){
if(this.triggerChange){
this.$emit('change', this.selectedValue);
}else{
this.$emit('input', this.selectedValue);
}
this.$emit('change', this.selectedValue);
},
setCurrentDictOptions(dictOptions){
this.options = dictOptions
@ -161,6 +161,10 @@
return this.options
}
},
model: {
prop: 'value',
event: 'change'
}
}
</script>

181
ant-design-vue-jeecg/src/components/dict/README.md

@ -0,0 +1,181 @@
# JDictSelectTag 组件用法
----
- 从字典表获取数据,dictCode格式说明: 字典code
```html
<j-dict-select-tag v-model="queryParam.sex" placeholder="请输入用户性别"
dictCode="sex"/>
```
v-decorator用法:
```html
<j-dict-select-tag v-decorator="['sex', {}]" :triggerChange="true" placeholder="请输入用户性别"
dictCode="sex"/>
```
- 从数据库表获取字典数据,dictCode格式说明: 表名,文本字段,取值字段
```html
<j-dict-select-tag v-model="queryParam.username" placeholder="请选择用户名称"
dictCode="sys_user,realname,id"/>
```
# JDictSelectUtil.js 列表字典函数用法
----
- 第一步: 引入依赖方法
```html
import {initDictOptions, filterDictText} from '@/components/dict/JDictSelectUtil'
```
- 第二步: 在created()初始化方法执行字典配置方法
```html
//初始化字典配置
this.initDictConfig();
```
- 第三步: 实现initDictConfig方法,加载列表所需要的字典(列表上有多个字典项,就执行多次initDictOptions方法)
```html
initDictConfig() {
//初始化字典 - 性别
initDictOptions('sex').then((res) => {
if (res.success) {
this.sexDictOptions = res.result;
}
});
},
```
- 第四步: 实现字段的customRender方法
```html
customRender: (text, record, index) => {
//字典值替换通用方法
return filterDictText(this.sexDictOptions, text);
}
```
# JMultiSelectTag 多选组件
下拉/checkbox
## 参数配置
| 参数 | 类型 | 必填 |说明|
|--------------|---------|----|---------|
| placeholder |string | | placeholder |
| disabled |Boolean | | 是否禁用 |
| type |string | | 多选类型 select/checkbox 默认是select |
| dictCode |string | | 数据字典编码或者表名,显示字段名,存储字段名拼接而成的字符串,如果提供了options参数 则此参数可不填|
| options |Array | | 多选项,如果dictCode参数未提供,可以设置此参数加载多选项 |
使用示例
----
```vue
<template>
<a-form>
<a-form-item label="下拉多选" style="width: 300px">
<j-multi-select-tag
v-model="selectValue"
:options="dictOptions"
placeholder="请做出你的选择">
</j-multi-select-tag>
{{ selectValue }}
</a-form-item>
<a-form-item label="checkbox">
<j-multi-select-tag
v-model="checkboxValue"
:options="dictOptions"
type="checkbox">
</j-multi-select-tag>
{{ checkboxValue }}
</a-form-item>
</a-form >
</template>
<script>
import JMultiSelectTag from '@/components/dict/JMultiSelectTag'
export default {
components: {JMultiSelectTag},
data() {
return {
selectValue:"",
checkboxValue:"",
dictOptions:[{
label:"选项一",
value:"1"
},{
label:"选项二",
value:"2"
},{
label:"选项三",
value:"3"
}]
}
}
}
</script>
```
# JSearchSelectTag 字典表的搜索组件
下拉搜索组件,支持异步加载,异步加载用于大数据量的字典表
## 参数配置
| 参数 | 类型 | 必填 |说明|
|--------------|---------|----|---------|
| placeholder |string | | placeholder |
| disabled |Boolean | | 是否禁用 |
| dict |string | | 表名,显示字段名,存储字段名拼接而成的字符串,如果提供了dictOptions参数 则此参数可不填|
| dictOptions |Array | | 多选项,如果dict参数未提供,可以设置此参数加载多选项 |
| async |Boolean | | 是否支持异步加载,设置成true,则通过输入的内容加载远程数据,否则在本地过滤数据,默认false|
使用示例
----
```vue
<template>
<a-form>
<a-form-item label="下拉搜索" style="width: 300px">
<j-search-select-tag
placeholder="请做出你的选择"
v-model="selectValue"
:dictOptions="dictOptions">
</j-search-select-tag>
{{ selectValue }}
</a-form-item>
<a-form-item label="异步加载" style="width: 300px">
<j-search-select-tag
placeholder="请做出你的选择"
v-model="asyncSelectValue"
dict="sys_depart,depart_name,id"
:async="true">
</j-search-select-tag>
{{ asyncSelectValue }}
</a-form-item>
</a-form >
</template>
<script>
import JSearchSelectTag from '@/components/dict/JSearchSelectTag'
export default {
components: {JSearchSelectTag},
data() {
return {
selectValue:"",
asyncSelectValue:"",
dictOptions:[{
text:"选项一",
value:"1"
},{
text:"选项二",
value:"2"
},{
text:"选项三",
value:"3"
}]
}
}
}
</script>
```

0
ant-design-jeecg-vue/src/components/dict/index.js → ant-design-vue-jeecg/src/components/dict/index.js

0
ant-design-jeecg-vue/src/components/index.less → ant-design-vue-jeecg/src/components/index.less

20
ant-design-jeecg-vue/src/components/jeecg/JCheckbox.vue → ant-design-vue-jeecg/src/components/jeecg/JCheckbox.vue

@ -10,20 +10,10 @@
type: String,
required: false
},
readOnly:{
type: Boolean,
required: false,
default: false
},
/*label value*/
options:{
type: Array,
required: true
},
triggerChange:{
type: Boolean,
required: false,
default: false
}
},
data(){
@ -42,12 +32,12 @@
},
methods:{
onChange (checkedValues) {
if(this.triggerChange){
this.$emit('change', checkedValues.join(","));
}else{
this.$emit('input', checkedValues.join(","));
}
this.$emit('change', checkedValues.join(","));
},
},
model: {
prop: 'value',
event: 'change'
}
}
</script>

0
ant-design-jeecg-vue/src/components/jeecg/JCodeEditor.vue → ant-design-vue-jeecg/src/components/jeecg/JCodeEditor.vue

20
ant-design-jeecg-vue/src/components/jeecg/JDate.vue → ant-design-vue-jeecg/src/components/jeecg/JDate.vue

@ -1,6 +1,6 @@
<template>
<a-date-picker
:disabled="readOnly"
:disabled="disabled || readOnly"
:placeholder="placeholder"
@change="handleDateChange"
:value="momVal"
@ -28,6 +28,7 @@
default: 'YYYY-MM-DD',
required: false
},
//此属性可以被废弃了
triggerChange:{
type: Boolean,
required: false,
@ -38,6 +39,11 @@
required: false,
default: false
},
disabled:{
type: Boolean,
required: false,
default: false
},
showTime:{
type: Boolean,
required: false,
@ -67,13 +73,13 @@
methods: {
moment,
handleDateChange(mom,dateStr){
if(this.triggerChange){
this.$emit('change', dateStr);
}else{
this.$emit('input', dateStr);
}
this.$emit('change', dateStr);
}
},
//2.2新增 在组件内定义 指定父组件调用时候的传值属性和事件类型 这个牛逼
model: {
prop: 'value',
event: 'change'
}
}
//note: do not set the prop value one default property
</script>

179
ant-design-jeecg-vue/src/components/jeecg/JEditableTable.vue → ant-design-vue-jeecg/src/components/jeecg/JEditableTable.vue

@ -1,5 +1,5 @@
<!-- JEditableTable -->
<!-- @version 1.4 -->
<!-- @version 1.4.1 -->
<!-- @author sjlei -->
<template>
<a-spin :spinning="loading">
@ -40,6 +40,7 @@
<!-- 右侧动态生成td -->
<template v-for="col in columns">
<div
v-show="col.type !== formTypes.hidden"
class="td"
:key="col.key"
:style="buildTdStyle(col)">
@ -93,6 +94,7 @@
<div
class="td"
v-for="col in columns"
v-show="col.type !== formTypes.hidden"
:key="col.key"
:style="buildTdStyle(col)">
@ -132,7 +134,6 @@
</template>
<!-- select -->
<template v-else-if="col.type === formTypes.select">
<!-- select 真身 -->
<a-tooltip
:key="i"
:id="id"
@ -154,7 +155,10 @@
:options="col.options"
:getPopupContainer="getParentContainer"
:placeholder="replaceProps(col, col.placeholder)"
@change="(v)=>handleChangeSelectCommon(v,id,row,col)">
@change="(v)=>handleChangeSelectCommon(v,id,row,col)"
@search="(v)=>handleSearchSelect(v,id,row,col)"
@blur="(v)=>handleBlurSearch(v,id,row,col)"
>
<!--<template v-for="(opt,optKey) in col.options">-->
<!--<a-select-option :value="opt.value" :key="optKey">{{ opt.title }}</a-select-option>-->
@ -247,7 +251,7 @@
<div v-else-if="col.type === formTypes.slot" :key="i">
<slot
:name="col.slotName || col.key"
:name="(col.slot || col.slotName) || col.key"
:text="inputValues[rowIndex][col.key]"
:column="col"
:rowId="removeCaseId(row.id)"
@ -294,7 +298,8 @@
// 数据源
dataSource: {
type: Array,
required: true
required: true,
default: () => []
},
// 是否显示操作按钮
actionButton: {
@ -327,6 +332,11 @@
default() {
return {}
}
},
// 是否禁用全部组件
disabled: {
type: Boolean,
default: false
}
},
data() {
@ -421,22 +431,24 @@
realTrWidth() {
let calcWidth = 'calc('
this.columns.forEach((column, i) => {
let { width } = column
if (typeof width === 'number') {
calcWidth += width + 'px'
} else if (typeof width === 'string') {
calcWidth += width
} else {
calcWidth += '120px'
}
let { type, width } = column
// 隐藏字段不参与计算
if (type !== FormTypes.hidden) {
if (typeof width === 'number') {
calcWidth += width + 'px'
} else if (typeof width === 'string') {
calcWidth += width
} else {
calcWidth += '120px'
}
if (i < this.columns.length - 1) {
calcWidth += ' + '
if (i < this.columns.length - 1) {
calcWidth += ' + '
}
}
})
calcWidth += ')'
console.log('calcWidth: ', calcWidth)
// console.log('calcWidth: ', calcWidth)
return calcWidth
}
},
@ -451,7 +463,12 @@
let jdateValues = {}
// 禁用行的id
let disabledRowIds = (this.disabledRowIds || [])
newValue.forEach(data => {
newValue.forEach((data, newValueIndex) => {
// 判断源数据是否带有id
if (data.id == null || data.id === '') {
data.id = this.removeCaseId(this.generateId() + newValueIndex)
}
let value = { id: this.caseId + data.id }
let row = { id: value.id }
let disabled = false
@ -475,19 +492,7 @@
} else {
selectValues[inputId] = undefined
}
// 兼容 旧版本 options
if (column.options instanceof Array) {
column.options = column.options.map(item => {
if (item) {
return {
text: item.text || item.title,
title: item.text || item.title,
value: item.value
}
}
return {}
})
}
} else if (column.type === FormTypes.date || column.type === FormTypes.datetime) {
jdateValues[inputId] = sourceValue
@ -533,6 +538,28 @@
})
},
columns: {
immediate: true,
handler(columns) {
columns.forEach(column => {
if (column.type === FormTypes.select) {
// 兼容 旧版本 options
if (column.options instanceof Array) {
column.options = column.options.map(item => {
if (item) {
return {
text: item.text || item.title,
title: item.text || item.title,
value: item.value
}
}
return {}
})
}
}
})
}
},
// 当selectRowIds改变时触发事件
selectedRowIds(newValue) {
this.$emit('selectRowChange', cloneObject(newValue))
@ -651,14 +678,14 @@
// record中是否有该列的值
let recordHasValue = record[key] != null
if (column.type === FormTypes.input) {
value[key] = recordHasValue ? record[key] : column.defaultValue
value[key] = recordHasValue ? record[key] : (column.defaultValue || (column.defaultValue === 0 ? 0 : ''))
} else if (column.type === FormTypes.inputNumber) {
// 判断是否是排序字段,如果是就赋最大值
if (column.isOrder === true) {
value[key] = this.getInputNumberMaxValue(column) + 1
} else {
value[key] = recordHasValue ? record[key] : column.defaultValue
value[key] = recordHasValue ? record[key] : (column.defaultValue || (column.defaultValue === 0 ? 0 : ''))
}
} else if (column.type === FormTypes.checkbox) {
@ -1026,29 +1053,26 @@
},
/** 通过规则验证值是否正确 */
validateValue(rules, value) {
if (!(rules instanceof Array)) {
return [true, ''] // 没有验证规则,或验证规则格式不正确,默认通过
}
let passed = true
let message = ''
for (let rule of rules) {
let isNull = (value == null || value === '')
// 非空验证
if (rule.required === true) {
if (isNull) {
let passed = true, message = ''
// 判断有没有验证规则或验证规则格式正不正确,若条件不符合则默认通过
if (rules instanceof Array) {
for (let rule of rules) {
// 当前值是否为空
let isNull = (value == null || value === '')
// 验证规则:非空
if (rule.required === true && isNull) {
passed = false
} else // 使用 else-if 是为了防止一个 rule 中出现两个规则
// 验证规则:正则表达式
if (!!rule.pattern && !isNull) {
passed = new RegExp(rule.pattern).test(value)
}
// 如果没有通过验证,则跳出循环。如果通过了验证,则继续验证下一条规则
if (!passed) {
message = rule.message
break
}
} else // 使用 else-if 是为了防止一个 rule 中出现两个规则
// 正则表达式验证
if (rule.pattern && !isNull) {
passed = new RegExp(rule.pattern).test(value)
message = rule.message
break
}
}
return [passed, message]
},
@ -1136,7 +1160,46 @@
handleClickClearSelect() {
this.selectedRowIds = []
},
/** select 搜索时的事件,用于动态添加options */
handleSearchSelect(value, id, row, col) {
if (col.allowInput === true) {
// 是否找到了对应的项,找不到则添加这一项
let flag = false
for (let option of col.options) {
if (option.value.toLocaleString() === value.toLocaleString()) {
flag = true
break
}
}
// !!value :不添加空值
if (!flag && !!value) {
// searchAdd 是否是通过搜索添加的
col.options.push({ title: value, value: value, searchAdd: true })
}
}
},
// blur 失去焦点
handleBlurSearch(value, id, row, col) {
if (col.allowInput === true) {
// 删除无用的因搜索(用户输入)而创建的项
if (typeof value === 'string') {
let indexs = []
col.options.forEach((option, index) => {
if (option.value.toLocaleString() === value.toLocaleString()) {
delete option.searchAdd
} else if (option.searchAdd === true) {
indexs.push(index)
}
})
// 翻转删除数组中的项
for (let index of indexs.reverse()) {
col.options.splice(index, 1)
}
}
}
},
/* --- common function begin --- */
@ -1251,7 +1314,8 @@
/** 将caseId去除 */
removeCaseId(id) {
return id.split(this.caseId)[1]
let remove = id.split(this.caseId)[1]
return remove ? remove : id
},
handleClickDelFile(id) {
@ -1329,10 +1393,21 @@
}
}
}
// 判断select是否允许输入
if (col.type === FormTypes.select && col.allowInput === true) {
props['showSearch'] = true
}
// 判断是否为禁用的行
if (props['disabled'] !== true) {
props['disabled'] = ((this.disabledRowIds || []).indexOf(row.id) !== -1)
}
// 判断是否禁用全部组件
if (this.disabled === true) {
props['disabled'] = true
}
return props
},
/** upload 辅助方法:获取 headers */

5
ant-design-jeecg-vue/src/components/jeecg/JEditor.vue → ant-design-vue-jeecg/src/components/jeecg/JEditor.vue

@ -21,6 +21,7 @@
import 'tinymce/plugins/wordcount'
import 'tinymce/plugins/colorpicker'
import 'tinymce/plugins/textcolor'
import 'tinymce/plugins/fullscreen'
export default {
components: {
Editor
@ -41,11 +42,11 @@
},
plugins: {
type: [String, Array],
default: 'lists image media table textcolor wordcount contextmenu'
default: 'lists image media table textcolor wordcount contextmenu fullscreen'
},
toolbar: {
type: [String, Array],
default: 'undo redo | formatselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | lists image media table | removeformat'
default: 'undo redo | formatselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | lists image media table | removeformat | fullscreen'
}
},
data() {

0
ant-design-jeecg-vue/src/components/jeecg/JEllipsis.vue → ant-design-vue-jeecg/src/components/jeecg/JEllipsis.vue

48
ant-design-vue-jeecg/src/components/jeecg/JFormContainer.vue

@ -0,0 +1,48 @@
<template>
<div v-if="disabled" class="jeecg-form-container-disabled">
<fieldset disabled>
<slot></slot>
</fieldset>
</div>
<div v-else>
<slot></slot>
</div>
</template>
<script>
/**
* 使用方法
* 在form下直接写这个组件就行了
*<a-form layout="inline" :form="form" >
* <j-form-container :disabled="true">
* <!-- 表单内容省略..... -->
* </j-form-container>
*</a-form>
*/
export default {
name: 'JFormContainer',
props:{
disabled:{
type:Boolean,
default:false,
required:false
}
},
mounted(){
console.log("我是表单禁用专用组件,但是我并不支持表单中iframe的内容禁用")
}
}
</script>
<style>
.jeecg-form-container-disabled{
cursor: not-allowed;
}
.jeecg-form-container-disabled fieldset[disabled] {
-ms-pointer-events: none;
pointer-events: none;
}
.jeecg-form-container-disabled .ant-select{
-ms-pointer-events: none;
pointer-events: none;
}
</style>

0
ant-design-jeecg-vue/src/components/jeecg/JGraphicCode.vue → ant-design-vue-jeecg/src/components/jeecg/JGraphicCode.vue

0
ant-design-jeecg-vue/src/components/jeecg/JImportModal.vue → ant-design-vue-jeecg/src/components/jeecg/JImportModal.vue

3
ant-design-jeecg-vue/src/components/jeecg/JSelectMultiple.vue → ant-design-vue-jeecg/src/components/jeecg/JSelectMultiple.vue

@ -60,6 +60,7 @@
this.$emit('input', selectedValue.join(","));
}
},
}
},
}
</script>

0
ant-design-jeecg-vue/src/components/jeecg/JSlider.vue → ant-design-vue-jeecg/src/components/jeecg/JSlider.vue

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save