Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
c1f57c6a
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1172
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
c1f57c6a
编写于
2月 26, 2024
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete: 删除模型分类
上级
e5d23b64
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
0 addition
and
366 deletion
+0
-366
report/src/main/resources/template/assets/report/images/base1.png
...rc/main/resources/template/assets/report/images/base1.png
+0
-0
report/src/main/resources/template/assets/report/images/base2.png
...rc/main/resources/template/assets/report/images/base2.png
+0
-0
report/src/main/resources/template/assets/report/images/base3.png
...rc/main/resources/template/assets/report/images/base3.png
+0
-0
report/src/main/resources/template/assets/report/images/cur_move_h.cur
...in/resources/template/assets/report/images/cur_move_h.cur
+0
-0
report/src/main/resources/template/assets/report/images/cur_move_v.cur
...in/resources/template/assets/report/images/cur_move_v.cur
+0
-0
report/src/main/resources/template/assets/report/images/line_close.png
...in/resources/template/assets/report/images/line_close.png
+0
-0
report/src/main/resources/template/assets/report/images/line_create_bg.png
...esources/template/assets/report/images/line_create_bg.png
+0
-0
report/src/main/resources/template/assets/report/images/line_dot.png
...main/resources/template/assets/report/images/line_dot.png
+0
-0
report/src/main/resources/template/assets/report/json/skyeyeReportModelType.json
...es/template/assets/report/json/skyeyeReportModelType.json
+0
-22
report/src/main/resources/template/js/reportModelType/reportModelTypeAdd.js
...sources/template/js/reportModelType/reportModelTypeAdd.js
+0
-35
report/src/main/resources/template/js/reportModelType/reportModelTypeEdit.js
...ources/template/js/reportModelType/reportModelTypeEdit.js
+0
-50
report/src/main/resources/template/js/reportModelType/reportModelTypeList.js
...ources/template/js/reportModelType/reportModelTypeList.js
+0
-112
report/src/main/resources/template/tpl/reportModelType/reportModelTypeAdd.html
...rces/template/tpl/reportModelType/reportModelTypeAdd.html
+0
-44
report/src/main/resources/template/tpl/reportModelType/reportModelTypeEdit.html
...ces/template/tpl/reportModelType/reportModelTypeEdit.html
+0
-50
report/src/main/resources/template/tpl/reportModelType/reportModelTypeList.html
...ces/template/tpl/reportModelType/reportModelTypeList.html
+0
-53
未找到文件。
report/src/main/resources/template/assets/report/images/base1.png
已删除
100644 → 0
浏览文件 @
e5d23b64
3.7 KB
report/src/main/resources/template/assets/report/images/base2.png
已删除
100644 → 0
浏览文件 @
e5d23b64
3.2 KB
report/src/main/resources/template/assets/report/images/base3.png
已删除
100644 → 0
浏览文件 @
e5d23b64
3.3 KB
report/src/main/resources/template/assets/report/images/cur_move_h.cur
已删除
100644 → 0
浏览文件 @
e5d23b64
文件已删除
report/src/main/resources/template/assets/report/images/cur_move_v.cur
已删除
100644 → 0
浏览文件 @
e5d23b64
文件已删除
report/src/main/resources/template/assets/report/images/line_close.png
已删除
100644 → 0
浏览文件 @
e5d23b64
1.2 KB
report/src/main/resources/template/assets/report/images/line_create_bg.png
已删除
100644 → 0
浏览文件 @
e5d23b64
2.5 KB
report/src/main/resources/template/assets/report/images/line_dot.png
已删除
100644 → 0
浏览文件 @
e5d23b64
142 字节
report/src/main/resources/template/assets/report/json/skyeyeReportModelType.json
已删除
100644 → 0
浏览文件 @
e5d23b64
[
{
"id"
:
"00000000000000000000000000000000"
,
"name"
:
"Echarts模型分类"
},
{
"id"
:
"11111111111111111111111111111111"
,
"name"
:
"文字模型分类"
},
{
"id"
:
"22222222222222222222222222222222"
,
"name"
:
"图片模型分类"
},
{
"id"
:
"33333333333333333333333333333333"
,
"name"
:
"脚本模型分类"
},
{
"id"
:
"44444444444444444444444444444444"
,
"name"
:
"表格模型分类"
}
]
\ No newline at end of file
report/src/main/resources/template/js/reportModelType/reportModelTypeAdd.js
已删除
100644 → 0
浏览文件 @
e5d23b64
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
reportModelTypeUtil
.
loadModelType
(
"
parentId
"
,
getFileContent
(
'
tpl/template/select-option.tpl
'
),
"
0
"
,
form
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
name
:
$
(
"
#name
"
).
val
(),
parentId
:
$
(
"
#parentId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportmodeltype002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
report/src/main/resources/template/js/reportModelType/reportModelTypeEdit.js
已删除
100644 → 0
浏览文件 @
e5d23b64
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
reportBasePath
+
"
reportmodeltype005
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#showBaseTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
j
){
reportModelTypeUtil
.
loadModelType
(
"
parentId
"
,
getFileContent
(
'
tpl/template/select-option.tpl
'
),
"
0
"
,
form
);
$
(
"
#parentId
"
).
val
(
j
.
bean
.
parentId
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
name
:
$
(
"
#name
"
).
val
(),
parentId
:
$
(
"
#parentId
"
).
val
(),
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportmodeltype004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
report/src/main/resources/template/js/reportModelType/reportModelTypeList.js
已删除
100644 → 0
浏览文件 @
e5d23b64
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
,
}).
define
([
'
window
'
,
'
tableTreeDj
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
tableTree
=
layui
.
tableTreeDj
;
authBtn
(
'
1635086167509
'
);
tableTree
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
reportBasePath
+
'
reportmodeltype001
'
,
where
:
getTableParams
(),
cols
:
[[
{
field
:
'
name
'
,
width
:
300
,
title
:
'
名称
'
},
{
field
:
'
createName
'
,
title
:
'
创建人
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
'
创建时间
'
,
align
:
'
center
'
,
width
:
140
},
{
field
:
'
lastUpdateName
'
,
title
:
'
最后修改人
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
'
最后修改时间
'
,
align
:
'
center
'
,
width
:
140
},
{
title
:
'
操作
'
,
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
120
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
},
{
keyId
:
'
id
'
,
keyPid
:
'
parentId
'
,
title
:
'
name
'
,
});
tableTree
.
getTable
().
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
});
// 删除
function
del
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportmodeltype003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
删除成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/reportModelType/reportModelTypeEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
reportModelTypeEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/reportModelType/reportModelTypeAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
reportModelTypeAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
loadTable
();
}
return
false
;
});
// 刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
tableTree
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
name
:
$
(
"
#name
"
).
val
()
};
}
exports
(
'
reportModelTypeList
'
,
{});
});
report/src/main/resources/template/tpl/reportModelType/reportModelTypeAdd.html
已删除
100644 → 0
浏览文件 @
e5d23b64
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<span
class=
"hr-title"
>
基础信息
</span><hr>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
父级分类
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"parentId"
lay-filter=
"parentId"
lay-search=
""
win-verify=
"required"
>
<option
value=
""
>
请选择
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"name"
name=
"name"
win-verify=
"required"
placeholder=
"请输入名称"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/reportModelType/
'
}).
use
(
'
reportModelTypeAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
report/src/main/resources/template/tpl/reportModelType/reportModelTypeEdit.html
已删除
100644 → 0
浏览文件 @
e5d23b64
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"showBaseTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
基础信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
父级分类
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
id
=
"
parentId
"
lay
-
filter
=
"
parentId
"
lay
-
search
=
""
win
-
verify
=
"
required
"
>
<
option
value
=
""
>
请选择
<
/option
>
<
/select
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
名称
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
name
"
name
=
"
name
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入名称
"
class
=
"
layui-input
"
maxlength
=
"
50
"
value
=
"
{{name}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
div
class
=
"
layui-input-block
"
>
<
button
class
=
"
winui-btn
"
id
=
"
cancle
"
><
language
showName
=
"
com.skyeye.cancel
"
><
/language></
button
>
<
button
class
=
"
winui-btn
"
lay
-
submit
lay
-
filter
=
"
formEditBean
"
><
language
showName
=
"
com.skyeye.save
"
><
/language></
button
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/reportModelType/
'
}).
use
(
'
reportModelTypeEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
report/src/main/resources/template/tpl/reportModelType/reportModelTypeList.html
已删除
100644 → 0
浏览文件 @
e5d23b64
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
名称
</label>
<div
class=
"layui-input-inline"
>
<input
id=
"name"
name=
"name"
class=
"layui-input"
placeholder=
"请输入名称"
/>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
>
<i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i>
<language
showName=
"com.skyeye.refreshDataBtn"
></language>
</button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1635086167509"
>
<i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
<language
showName=
"com.skyeye.addBtn"
></language>
</button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1635086189413
'
)
&&
d
.
parentId
!=
'
0
'
){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1635086175814
'
)
&&
d
.
parentId
!=
'
0
'
){
}}
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/reportModelType/
'
}).
use
(
'
reportModelTypeList
'
);
</script>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录