Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
pig_冷冷
Pig
提交
5af00a33
Pig
项目概览
pig_冷冷
/
Pig
上一次同步 12 个月
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Pig
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5af00a33
编写于
1月 01, 2020
作者:
pig_冷冷
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
⬆
Upgrading dependencies. spring boot admin 2.2.2
上级
3b124cee
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
5 deletion
+19
-5
pig-codegen/src/main/resources/template/crud.js.vm
pig-codegen/src/main/resources/template/crud.js.vm
+1
-0
pig-codegen/src/main/resources/template/index.vue.vm
pig-codegen/src/main/resources/template/index.vue.vm
+11
-3
pig-monitor/pom.xml
pig-monitor/pom.xml
+5
-0
pig-monitor/src/main/java/com/pig4cloud/pig/monitor/PigMonitorApplication.java
...java/com/pig4cloud/pig/monitor/PigMonitorApplication.java
+2
-2
未找到文件。
pig-codegen/src/main/resources/template/crud.js.vm
浏览文件 @
5af00a33
...
...
@@ -22,6 +22,7 @@ export const tableOption = {
stripe: true,
menuAlign: 'center',
align: 'center',
searchMenuSpan: 6,
column: [
#
foreach
($
column
in
$
columns
)
{
...
...
pig-codegen/src/main/resources/template/index.vue.vm
浏览文件 @
5af00a33
...
...
@@ -10,6 +10,8 @@
@
on-load=
"getList"
@
search-change=
"searchChange"
@
refresh-change=
"refreshChange"
@
size-change=
"sizeChange"
@
current-change=
"currentChange"
@
row-update=
"handleUpdate"
@
row-save=
"handleSave"
@
row-del=
"rowDel"
>
...
...
@@ -63,7 +65,6 @@
})
},
rowDel
:
function
(
row
,
index
)
{
var
_this
=
this
this
.$
confirm
(
'是否确认删除ID为'
+
row.
$
pk
.
lowerAttrName
,
'提示'
,
{
confirmButtonText:
'确定'
,
cancelButtonText:
'取消'
,
...
...
@@ -71,7 +72,7 @@
}).
then
(
function
()
{
return
delObj
(
row
.$
pk
.
lowerAttrName
)
}).
then
(
data
=>
{
_
this
.$
message
.
success
(
'删除成功'
)
this
.$
message
.
success
(
'删除成功'
)
this
.
getList
(
this
.
page
)
})
},
...
...
@@ -93,9 +94,16 @@
loading
();
});
},
searchChange
(
form
)
{
sizeChange
(
pageSize
)
{
this
.
page
.
pageSize
=
pageSize
},
currentChange
(
current
)
{
this
.
page
.
currentPage
=
current
},
searchChange
(
form
,
done
)
{
this
.
searchForm
=
form
this
.
getList
(
this
.
page
,
form
)
done
()
},
refreshChange
()
{
this
.
getList
(
this
.
page
)
...
...
pig-monitor/pom.xml
浏览文件 @
5af00a33
...
...
@@ -51,6 +51,11 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-undertow
</artifactId>
</dependency>
<!--web 模块-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<!--security-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
pig-monitor/src/main/java/com/pig4cloud/pig/monitor/PigMonitorApplication.java
浏览文件 @
5af00a33
...
...
@@ -19,7 +19,7 @@ package com.pig4cloud.pig.monitor;
import
de.codecentric.boot.admin.server.config.EnableAdminServer
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.
boot.autoconfigure.SpringBoot
Application
;
import
org.springframework.
cloud.client.SpringCloud
Application
;
/**
* @author lengleng
...
...
@@ -27,7 +27,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* 监控中心
*/
@EnableAdminServer
@Spring
Boot
Application
@Spring
Cloud
Application
public
class
PigMonitorApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录