Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
冷月半明
Skyeye
提交
de925c8f
S
Skyeye
项目概览
冷月半明
/
Skyeye
与 Fork 源项目一致
Fork自
doc_wei / Skyeye
通知
1
Star
1
Fork
0
代码
文件
提交
分支
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
de925c8f
编写于
6月 26, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【报表】背景图功能开发整改
上级
2f1d66dc
变更
29
隐藏空白更改
内联
并排
Showing
29 changed file
with
181 addition
and
47 deletion
+181
-47
README.md
README.md
+1
-1
report/src/main/resources/template/assets/report/js/skyeyeReportDesigner.js
...sources/template/assets/report/js/skyeyeReportDesigner.js
+1
-1
report/src/main/resources/template/js/pageReportDesign/pageReportDesign.js
...esources/template/js/pageReportDesign/pageReportDesign.js
+4
-4
report/src/main/resources/template/js/reportBgImage/reportBgImageAdd.js
...n/resources/template/js/reportBgImage/reportBgImageAdd.js
+7
-12
report/src/main/resources/template/js/reportBgImage/reportBgImageEdit.js
.../resources/template/js/reportBgImage/reportBgImageEdit.js
+63
-0
report/src/main/resources/template/js/reportBgImage/reportBgImageList.js
.../resources/template/js/reportBgImage/reportBgImageList.js
+22
-1
report/src/main/resources/template/js/reportDataBase/reportDataBaseAdd.js
...resources/template/js/reportDataBase/reportDataBaseAdd.js
+2
-2
report/src/main/resources/template/js/reportDataBase/reportDataBaseEdit.js
...esources/template/js/reportDataBase/reportDataBaseEdit.js
+2
-2
report/src/main/resources/template/js/reportDataBase/reportDataBaseList.js
...esources/template/js/reportDataBase/reportDataBaseList.js
+1
-1
report/src/main/resources/template/js/reportDataFrom/reportDataFromAdd.js
...resources/template/js/reportDataFrom/reportDataFromAdd.js
+2
-2
report/src/main/resources/template/js/reportDataFrom/reportDataFromEdit.js
...esources/template/js/reportDataFrom/reportDataFromEdit.js
+1
-1
report/src/main/resources/template/js/reportDataFrom/reportDataFromList.js
...esources/template/js/reportDataFrom/reportDataFromList.js
+1
-1
report/src/main/resources/template/js/reportImportModel/reportImportModelAdd.js
...ces/template/js/reportImportModel/reportImportModelAdd.js
+1
-1
report/src/main/resources/template/js/reportImportModel/reportImportModelEdit.js
...es/template/js/reportImportModel/reportImportModelEdit.js
+1
-1
report/src/main/resources/template/js/reportImportModel/reportImportModelList.js
...es/template/js/reportImportModel/reportImportModelList.js
+1
-1
report/src/main/resources/template/js/reportModelType/reportModelTypeAdd.js
...sources/template/js/reportModelType/reportModelTypeAdd.js
+1
-1
report/src/main/resources/template/js/reportModelType/reportModelTypeEdit.js
...ources/template/js/reportModelType/reportModelTypeEdit.js
+1
-1
report/src/main/resources/template/js/reportPage/reportPageAdd.js
...rc/main/resources/template/js/reportPage/reportPageAdd.js
+1
-1
report/src/main/resources/template/js/reportPage/reportPageEdit.js
...c/main/resources/template/js/reportPage/reportPageEdit.js
+1
-1
report/src/main/resources/template/js/reportPage/reportPageList.js
...c/main/resources/template/js/reportPage/reportPageList.js
+1
-1
report/src/main/resources/template/js/reportPage/reportPageShow.js
...c/main/resources/template/js/reportPage/reportPageShow.js
+2
-2
report/src/main/resources/template/js/reportProperty/reportPropertyAdd.js
...resources/template/js/reportProperty/reportPropertyAdd.js
+1
-1
report/src/main/resources/template/js/reportProperty/reportPropertyEdit.js
...esources/template/js/reportProperty/reportPropertyEdit.js
+1
-1
report/src/main/resources/template/js/reportProperty/reportPropertyList.js
...esources/template/js/reportProperty/reportPropertyList.js
+1
-1
report/src/main/resources/template/js/reportWordModel/reportWordModelAdd.js
...sources/template/js/reportWordModel/reportWordModelAdd.js
+2
-2
report/src/main/resources/template/js/reportWordModel/reportWordModelList.js
...ources/template/js/reportWordModel/reportWordModelList.js
+3
-3
report/src/main/resources/template/tpl/reportBgImage/reportBgImageAdd.html
...esources/template/tpl/reportBgImage/reportBgImageAdd.html
+3
-0
report/src/main/resources/template/tpl/reportBgImage/reportBgImageEdit.html
...sources/template/tpl/reportBgImage/reportBgImageEdit.html
+52
-0
report/src/main/resources/template/tpl/reportBgImage/reportBgImageList.html
...sources/template/tpl/reportBgImage/reportBgImageList.html
+1
-1
未找到文件。
README.md
浏览文件 @
de925c8f
...
...
@@ -11,7 +11,7 @@
-
[
项目功能结构
](
https://docs.qq.com/flowchart/DYUFQQnlCUm9Ua2FI
)
-
[
企业版信息
](
https://docs.qq.com/doc/DQlRxcVRMWWVjbU1i?_from=1&disableReturnList=1
)
-
[
开源版项目文档
](
https://gitee.com/doc_wei01/skyeye/blob/master/%E9%A1%B9%E7%9B%AE%E6%96%87%E6%A1%A3.md
)
-
`企业版
功能
`
以及
`设计思路`
获取方式:扫码进入知识星球
-
`企业版
部署包
`
以及
`设计思路`
获取方式:扫码进入知识星球
-
作者本人承诺,知识星球人数达到1000人,即开放所有功能模块源代码(仅供星球内部成员使用)
### 联系作者
...
...
report/src/main/resources/template/assets/report/js/skyeyeReportDesigner.js
浏览文件 @
de925c8f
...
...
@@ -613,7 +613,7 @@ layui.define(["jquery", 'form', 'element'], function(exports) {
modelList
:
eachartsList
,
wordMationList
:
wordMationList
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage007
"
,
params
:
{
rowId
:
rowId
,
content
:
encodeURIComponent
(
JSON
.
stringify
(
params
))},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage007
"
,
params
:
{
rowId
:
rowId
,
content
:
encodeURIComponent
(
JSON
.
stringify
(
params
))},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
...
...
report/src/main/resources/template/js/pageReportDesign/pageReportDesign.js
浏览文件 @
de925c8f
...
...
@@ -17,7 +17,7 @@ layui.config({
var
echartsModel
=
{};
// 获取echarts模型配置
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportimporthistory003
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportimporthistory003
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
echartsModel
=
json
.
rows
;
}
else
{
...
...
@@ -27,7 +27,7 @@ layui.config({
var
bgImages
=
{};
// 获取所有背景图片列表信息
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportbgimage004
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportbgimage004
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
bgImages
=
json
.
rows
;
}
else
{
...
...
@@ -37,7 +37,7 @@ layui.config({
var
wordModel
=
{};
// 获取已经发布的文字模型
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel007
"
,
params
:
{
state
:
2
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel007
"
,
params
:
{
state
:
2
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
wordModel
=
json
.
rows
;
}
else
{
...
...
@@ -47,7 +47,7 @@ layui.config({
var
initData
=
{};
// 获取初始化数据
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage006
"
,
params
:
{
rowId
:
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage006
"
,
params
:
{
rowId
:
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
initData
=
JSON
.
parse
(
getContentStr
(
json
.
bean
.
content
));
}
else
{
...
...
report/src/main/resources/template/js/reportBgImage/reportBgImageAdd.js
浏览文件 @
de925c8f
...
...
@@ -11,15 +11,9 @@ layui.config({
var
$
=
layui
.
$
;
// 初始化上传
$
(
"
#imagePath
"
).
upload
({
"
action
"
:
reqBasePath
+
"
common003
"
,
"
data-num
"
:
"
1
"
,
"
data-type
"
:
"
PNG,JPG,jpeg,gif
"
,
"
uploadType
"
:
18
,
"
function
"
:
function
(
_this
,
data
)
{
show
(
"
#imagePath
"
,
data
);
}
});
$
(
"
#imagePath
"
).
upload
(
systemCommonUtil
.
uploadCommon003Config
(
'
imagePath
'
,
18
,
''
,
1
));
reportModelTypeUtil
.
showModelTypeOperator
(
form
,
"
typeBox
"
,
null
,
null
);
matchingLanguage
();
form
.
render
();
...
...
@@ -27,14 +21,15 @@ layui.config({
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
imagePath
:
""
imagePath
:
$
(
"
#imagePath
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
),
firstTypeId
:
$
(
"
#firstTypeId
"
).
val
(),
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
(),
};
params
.
imagePath
=
$
(
"
#imagePath
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
);
if
(
isNull
(
params
.
imagePath
)){
winui
.
window
.
msg
(
'
请上传图片
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportbgimage002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportbgimage002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportBgImage/reportBgImageEdit.js
0 → 100644
浏览文件 @
de925c8f
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
reportBasePath
+
"
queryReportBgImageMationById
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
// 加载所属分类
reportModelTypeUtil
.
showModelTypeOperator
(
form
,
"
typeBox
"
,
j
.
bean
.
firstTypeId
,
j
.
bean
.
secondTypeId
);
// 初始化上传
$
(
"
#imagePath
"
).
upload
(
systemCommonUtil
.
uploadCommon003Config
(
'
imagePath
'
,
18
,
j
.
bean
.
imagePath
,
1
));
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
imagePath
:
$
(
"
#imagePath
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
),
firstTypeId
:
$
(
"
#firstTypeId
"
).
val
(),
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
(),
id
:
parent
.
rowId
};
if
(
isNull
(
params
.
imagePath
))
{
winui
.
window
.
msg
(
'
请上传图片
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
editReportBgImageMationById
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
return
false
;
});
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
report/src/main/resources/template/js/reportBgImage/reportBgImageList.js
浏览文件 @
de925c8f
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -71,10 +73,29 @@ layui.config({
}});
});
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/reportBgImage/reportBgImageEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
reportBgImageEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}});
}
// 删除
function
delet
(
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
+
"
reportbgimage003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportbgimage003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
"
删除成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
report/src/main/resources/template/js/reportDataBase/reportDataBaseAdd.js
浏览文件 @
de925c8f
...
...
@@ -92,7 +92,7 @@ layui.config({
comment
:
$
(
"
#comment
"
).
val
(),
options
:
JSON
.
stringify
(
tableData
),
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatabase002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatabase002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
@@ -114,7 +114,7 @@ layui.config({
user
:
$
(
"
#user
"
).
val
(),
pass
:
$
(
"
#password
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportcommon001
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportcommon001
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
'
连接成功
'
,
{
icon
:
1
,
time
:
2000
});
}
else
{
...
...
report/src/main/resources/template/js/reportDataBase/reportDataBaseEdit.js
浏览文件 @
de925c8f
...
...
@@ -115,7 +115,7 @@ layui.config({
options
:
JSON
.
stringify
(
tableData
),
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatabase004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatabase004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
@@ -139,7 +139,7 @@ layui.config({
user
:
$
(
"
#user
"
).
val
(),
pass
:
$
(
"
#password
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportcommon001
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportcommon001
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
'
连接成功
'
,
{
icon
:
1
,
time
:
2000
});
}
else
{
...
...
report/src/main/resources/template/js/reportDataBase/reportDataBaseList.js
浏览文件 @
de925c8f
...
...
@@ -83,7 +83,7 @@ layui.config({
function
delet
(
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
+
"
reportdatabase003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatabase003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
report/src/main/resources/template/js/reportDataFrom/reportDataFromAdd.js
浏览文件 @
de925c8f
...
...
@@ -60,7 +60,7 @@ layui.config({
return
false
;
}
params
=
$
.
extend
(
true
,
params
,
otherData
);
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatafrom002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatafrom002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
@@ -256,7 +256,7 @@ layui.config({
// SQL数据源
url
=
"
reportcommon004
"
;
}
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
url
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
url
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
var
data
=
getDataByDataFromType
(
dataFromType
,
json
);
loadFieldResolution
(
dataFromType
,
data
);
...
...
report/src/main/resources/template/js/reportDataFrom/reportDataFromEdit.js
浏览文件 @
de925c8f
...
...
@@ -67,7 +67,7 @@ layui.config({
return
false
;
}
params
=
$
.
extend
(
true
,
params
,
otherData
);
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatafrom004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatafrom004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportDataFrom/reportDataFromList.js
浏览文件 @
de925c8f
...
...
@@ -89,7 +89,7 @@ layui.config({
function
delet
(
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
+
"
reportdatafrom003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatafrom003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
report/src/main/resources/template/js/reportImportModel/reportImportModelAdd.js
浏览文件 @
de925c8f
...
...
@@ -22,7 +22,7 @@ layui.config({
firstTypeId
:
$
(
"
#firstTypeId
"
).
val
(),
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
(),
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportimportmodel002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportimportmodel002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportImportModel/reportImportModelEdit.js
浏览文件 @
de925c8f
...
...
@@ -34,7 +34,7 @@ layui.config({
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
(),
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportimportmodel004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportimportmodel004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportImportModel/reportImportModelList.js
浏览文件 @
de925c8f
...
...
@@ -73,7 +73,7 @@ layui.config({
function
delet
(
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
+
"
reportimportmodel003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportimportmodel003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
report/src/main/resources/template/js/reportModelType/reportModelTypeAdd.js
浏览文件 @
de925c8f
...
...
@@ -20,7 +20,7 @@ layui.config({
name
:
$
(
"
#name
"
).
val
(),
parentId
:
$
(
"
#parentId
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportmodeltype002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportmodeltype002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportModelType/reportModelTypeEdit.js
浏览文件 @
de925c8f
...
...
@@ -33,7 +33,7 @@ layui.config({
parentId
:
$
(
"
#parentId
"
).
val
(),
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportmodeltype004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportmodeltype004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportPage/reportPageAdd.js
浏览文件 @
de925c8f
...
...
@@ -18,7 +18,7 @@ layui.config({
nameCh
:
$
(
"
#nameCh
"
).
val
(),
nameEn
:
$
(
"
#nameEn
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportPage/reportPageEdit.js
浏览文件 @
de925c8f
...
...
@@ -29,7 +29,7 @@ layui.config({
nameEn
:
$
(
"
#nameEn
"
).
val
(),
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportPage/reportPageList.js
浏览文件 @
de925c8f
...
...
@@ -82,7 +82,7 @@ layui.config({
function
delet
(
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
+
"
reportpage005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
report/src/main/resources/template/js/reportPage/reportPageShow.js
浏览文件 @
de925c8f
...
...
@@ -19,7 +19,7 @@ layui.config({
var
initData
=
{};
// 获取初始化数据
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage006
"
,
params
:
{
rowId
:
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportpage006
"
,
params
:
{
rowId
:
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
initData
=
JSON
.
parse
(
getContentStr
(
json
.
bean
.
content
));
var
widthScale
=
getScale
(
initData
.
contentWidth
,
content
.
width
());
...
...
@@ -109,7 +109,7 @@ layui.config({
fromId
:
fromId
,
needGetDataStr
:
JSON
.
stringify
(
needGetData
)
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatafrom007
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportdatafrom007
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
$
.
each
(
json
.
bean
,
function
(
key
,
value
){
$
.
each
(
attr
,
function
(
key1
,
value1
){
...
...
report/src/main/resources/template/js/reportProperty/reportPropertyAdd.js
浏览文件 @
de925c8f
...
...
@@ -68,7 +68,7 @@ layui.config({
defaultValue
:
encodeURIComponent
(
$
(
"
#defaultValue
"
).
val
()),
options
:
JSON
.
stringify
(
tableData
),
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportproperty002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportproperty002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportProperty/reportPropertyEdit.js
浏览文件 @
de925c8f
...
...
@@ -87,7 +87,7 @@ layui.config({
options
:
JSON
.
stringify
(
tableData
),
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportproperty004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportproperty004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportProperty/reportPropertyList.js
浏览文件 @
de925c8f
...
...
@@ -84,7 +84,7 @@ layui.config({
function
delet
(
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
+
"
reportproperty003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportproperty003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
report/src/main/resources/template/js/reportWordModel/reportWordModelAdd.js
浏览文件 @
de925c8f
...
...
@@ -33,7 +33,7 @@ layui.config({
}
var
oCanvas
=
document
.
getElementById
(
"
thecanvas
"
);
var
imgData
=
oCanvas
.
toDataURL
();
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
common004
"
,
params
:{
images
:
imgData
,
type
:
19
},
type
:
'
json
'
,
callback
:
function
(
json1
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
common004
"
,
params
:{
images
:
imgData
,
type
:
19
},
type
:
'
json
'
,
callback
:
function
(
json1
){
if
(
json1
.
returnCode
==
0
){
var
rowTr
=
$
(
"
#useTable tr
"
);
var
tableData
=
new
Array
();
...
...
@@ -61,7 +61,7 @@ layui.config({
secondTypeId
:
$
(
"
#secondTypeId
"
).
val
(),
logo
:
json1
.
bean
.
picUrl
};
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
report/src/main/resources/template/js/reportWordModel/reportWordModelList.js
浏览文件 @
de925c8f
...
...
@@ -95,7 +95,7 @@ layui.config({
function
delet
(
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
+
"
reportwordmodel003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel003
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -110,7 +110,7 @@ layui.config({
function
publish
(
data
){
layer
.
confirm
(
'
确定发布该模型吗?
'
,
{
icon
:
3
,
title
:
'
发布操作
'
},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel008
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel008
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
'
操作成功
'
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -125,7 +125,7 @@ layui.config({
function
unPublish
(
data
){
layer
.
confirm
(
'
确定取消发布该模型吗?
'
,
{
icon
:
3
,
title
:
'
取消发布操作
'
},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel009
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reportBasePath
+
"
reportwordmodel009
"
,
params
:{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
'
操作成功
'
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
report/src/main/resources/template/tpl/reportBgImage/reportBgImageAdd.html
浏览文件 @
de925c8f
...
...
@@ -24,6 +24,9 @@
<div
class=
"upload"
id=
"imagePath"
></div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
id=
"typeBox"
>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
...
...
report/src/main/resources/template/tpl/reportBgImage/reportBgImageEdit.html
0 → 100644
浏览文件 @
de925c8f
<!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=
"beanTemplate"
>
{{
#
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
"
>
<
input
type
=
"
text
"
id
=
"
title
"
name
=
"
title
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入标题
"
class
=
"
layui-input
"
maxlength
=
"
100
"
value
=
"
{{title}}
"
/>
<
/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
"
>
<
div
class
=
"
upload
"
id
=
"
imagePath
"
><
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
id
=
"
typeBox
"
>
<
/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/reportBgImage/
'
}).
use
(
'
reportBgImageEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
report/src/main/resources/template/tpl/reportBgImage/reportBgImageList.html
浏览文件 @
de925c8f
...
...
@@ -35,7 +35,7 @@
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
''
)){
}}
{{
#
if
(
auth
(
'
1656226049345
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1625280815182
'
)){
}}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录