Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
c2db7691
Commit
c2db7691
authored
Nov 30, 2020
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JeecgBoot 2.4 微服务正式版本发布,基于SpringBoot的低代码平台
parent
543a49fc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
ant-design-vue-jeecg/src/components/jeecg/JImageUpload.vue
+3
-1
ant-design-vue-jeecg/src/views/examples/list/CardList.vue
+3
-4
ant-design-vue-jeecg/src/views/system/modules/GateWayRouteModal.vue
+0
-3
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUploadController.java
+3
-0
No files found.
ant-design-vue-jeecg/src/components/jeecg/JImageUpload.vue
View file @
c2db7691
...
...
@@ -15,11 +15,13 @@
@change="handleChange"
@preview="handlePreview"
:class="!isMultiple?'imgupload':''">
<img
v-if=
"!isMultiple && picUrl"
:src=
"getAvatarView()"
style=
"height:104px;max-width:300px"
/>
<div
style=
"width:104px;height:104px"
>
<img
v-if=
"!isMultiple && picUrl"
:src=
"getAvatarView()"
style=
"width:100%;height:100%"
/>
<div
v-else
class=
"iconp"
>
<a-icon
:type=
"uploadLoading ? 'loading' : 'plus'"
/>
<div
class=
"ant-upload-text"
>
{{
text
}}
</div>
</div>
</div>
<a-modal
:visible=
"previewVisible"
:footer=
"null"
@
cancel=
"handleCancel()"
>
<img
alt=
"example"
style=
"width: 100%"
:src=
"previewImage"
/>
</a-modal>
...
...
ant-design-vue-jeecg/src/views/examples/list/CardList.vue
View file @
c2db7691
...
...
@@ -5,7 +5,7 @@
:dataSource="dataSource"
>
<a-list-item
slot=
"renderItem"
slot-scope=
"item, index"
>
<template
v-if=
"i
tem === null
"
>
<template
v-if=
"i
ndex === 0
"
>
<a-button
class=
"new-btn"
type=
"dashed"
>
<a-icon
type=
"plus"
/>
新增产品
...
...
@@ -32,8 +32,7 @@
<
script
>
const
dataSource
=
[]
dataSource
.
push
(
null
)
for
(
let
i
=
0
;
i
<
11
;
i
++
)
{
for
(
let
i
=
0
;
i
<
12
;
i
++
)
{
dataSource
.
push
({
title
:
'Alipay'
,
avatar
:
'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png'
,
...
...
@@ -95,7 +94,7 @@
background-color
:
#fff
;
border-radius
:
2px
;
width
:
100%
;
height
:
18
8
px
;
height
:
18
6
px
;
}
.meta-content
{
...
...
ant-design-vue-jeecg/src/views/system/modules/GateWayRouteModal.vue
View file @
c2db7691
...
...
@@ -174,9 +174,6 @@
showInput
(
item
,
index
)
{
this
.
inputVisible
=
true
this
.
currentNameIndex
=
index
this
.
$nextTick
(
function
()
{
this
.
$refs
.
input
.
focus
()
})
},
//路由选项输入框失去焦点事件
handleInputChange
(
e
)
{
...
...
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUploadController.java
View file @
c2db7691
...
...
@@ -42,6 +42,9 @@ public class SysUploadController {
String
orgName
=
file
.
getOriginalFilename
();
// 获取文件名
orgName
=
CommonUtils
.
getFileName
(
orgName
);
String
file_url
=
MinioUtil
.
upload
(
file
,
bizPath
);
if
(
oConvertUtils
.
isEmpty
(
file_url
)){
return
Result
.
error
(
"上传失败,请检查配置信息是否正确!"
);
}
//保存文件信息
OSSFile
minioFile
=
new
OSSFile
();
minioFile
.
setFileName
(
orgName
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment