Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
853edfd4
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1433
Star
162
Fork
130
代码
文件
提交
分支
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看板
提交
853edfd4
编写于
4月 10, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 邮件模块同步到低代码平台
上级
27814458
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
139 addition
and
326 deletion
+139
-326
email/src/main/resources/template/js/emailSendModel/emailSendModelAdd.js
...resources/template/js/emailSendModel/emailSendModelAdd.js
+12
-12
email/src/main/resources/template/js/emailSendModel/emailSendModelDetails.js
...urces/template/js/emailSendModel/emailSendModelDetails.js
+0
-39
email/src/main/resources/template/js/emailSendModel/emailSendModelEdit.js
...esources/template/js/emailSendModel/emailSendModelEdit.js
+12
-11
email/src/main/resources/template/js/emailSendModel/emailSendModelList.js
...esources/template/js/emailSendModel/emailSendModelList.js
+8
-40
email/src/main/resources/template/js/emailSendModel/emailSendModelListChoose.js
...es/template/js/emailSendModel/emailSendModelListChoose.js
+11
-46
email/src/main/resources/template/js/useremail/emailshow.js
email/src/main/resources/template/js/useremail/emailshow.js
+1
-1
email/src/main/resources/template/js/useremail/sendemail.js
email/src/main/resources/template/js/useremail/sendemail.js
+42
-59
email/src/main/resources/template/js/useremail/useremail.js
email/src/main/resources/template/js/useremail/useremail.js
+34
-10
email/src/main/resources/template/tpl/emailSendModel/emailSendModelDetails.html
...es/template/tpl/emailSendModel/emailSendModelDetails.html
+0
-57
email/src/main/resources/template/tpl/emailSendModel/emailSendModelList.html
...urces/template/tpl/emailSendModel/emailSendModelList.html
+15
-31
email/src/main/resources/template/tpl/emailSendModel/emailSendModelListChoose.html
...template/tpl/emailSendModel/emailSendModelListChoose.html
+3
-19
email/src/main/resources/template/tpl/useremail/sendemail.html
.../src/main/resources/template/tpl/useremail/sendemail.html
+1
-1
未找到文件。
email/src/main/resources/template/js/emailSendModel/emailSendModelAdd.js
浏览文件 @
853edfd4
...
...
@@ -19,17 +19,17 @@ layui.config({
function
save
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
))
{
winui
.
window
.
msg
(
'
请填写收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
))
{
winui
.
window
.
msg
(
'
请填写收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
toPeople
:
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
toCc
:
$
(
'
#toCc
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
toBcc
:
$
(
'
#toBcc
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
emailsendmodel002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
writeEmailSendModel
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
...
...
@@ -61,11 +61,11 @@ layui.config({
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
){
// 添加新的tag
$
.
each
(
userReturnList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelPeople
'
)
{
if
(
clickId
==
'
toPeopleSelPeople
'
)
{
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelPeople
'
){
}
else
if
(
clickId
==
'
toCcSelPeople
'
)
{
$
(
'
#toCc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toBccSelPeople
'
){
}
else
if
(
clickId
==
'
toBccSelPeople
'
)
{
$
(
'
#toBcc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
});
...
...
@@ -75,12 +75,12 @@ layui.config({
$
(
"
body
"
).
on
(
"
click
"
,
"
#toPeopleSelMail, #toCcSelMail, #toBccSelMail
"
,
function
(
e
)
{
var
clickId
=
$
(
this
).
attr
(
"
id
"
);
mailUtil
.
openMailChoosePage
(
function
(
mailChooseList
){
$
.
each
(
mailChooseList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelMail
'
)
{
$
.
each
(
mailChooseList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelMail
'
)
{
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelMail
'
){
}
else
if
(
clickId
==
'
toCcSelMail
'
)
{
$
(
'
#toCc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toBccSelMail
'
){
}
else
if
(
clickId
==
'
toBccSelMail
'
)
{
$
(
'
#toBcc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
});
...
...
email/src/main/resources/template/js/emailSendModel/emailSendModelDetails.js
已删除
100644 → 0
浏览文件 @
27814458
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
tagEditor
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
emailBasePath
+
"
emailsendmodel003
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#showTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
if
(
!
isNull
(
json
.
bean
.
toPeople
)){
json
.
bean
.
toPeople
=
json
.
bean
.
toPeople
.
split
(
'
,
'
);
}
if
(
!
isNull
(
json
.
bean
.
toCc
)){
json
.
bean
.
toCc
=
json
.
bean
.
toCc
.
split
(
'
,
'
);
}
if
(
!
isNull
(
json
.
bean
.
toBcc
)){
json
.
bean
.
toBcc
=
json
.
bean
.
toBcc
.
split
(
'
,
'
);
}
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
}
});
});
});
\ No newline at end of file
email/src/main/resources/template/js/emailSendModel/emailSendModelEdit.js
浏览文件 @
853edfd4
...
...
@@ -9,11 +9,12 @@ layui.config({
layui
.
use
([
'
form
'
,
'
tagEditor
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
id
=
GetUrlParam
(
"
id
"
);
showGrid
({
id
:
"
showForm
"
,
url
:
sysMainMation
.
emailBasePath
+
"
emailsendmodel003
"
,
params
:
{
id
:
parent
.
rowI
d
},
url
:
sysMainMation
.
emailBasePath
+
"
queryEmailSendById
"
,
params
:
{
id
:
i
d
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#showTemplate
"
).
html
(),
...
...
@@ -40,7 +41,7 @@ layui.config({
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
))
{
if
(
isNull
(
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
))
{
winui
.
window
.
msg
(
'
请填写收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
...
...
@@ -49,9 +50,9 @@ layui.config({
toPeople
:
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
toCc
:
$
(
'
#toCc
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
toBcc
:
$
(
'
#toBcc
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
id
:
parent
.
rowI
d
id
:
i
d
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
emailsendmodel005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PU
T
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
writeEmailSendModel
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POS
T
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
...
...
@@ -66,11 +67,11 @@ layui.config({
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 添加新的tag
$
.
each
(
userReturnList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelPeople
'
)
{
if
(
clickId
==
'
toPeopleSelPeople
'
)
{
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelPeople
'
){
}
else
if
(
clickId
==
'
toCcSelPeople
'
)
{
$
(
'
#toCc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toBccSelPeople
'
){
}
else
if
(
clickId
==
'
toBccSelPeople
'
)
{
$
(
'
#toBcc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
});
...
...
@@ -81,11 +82,11 @@ layui.config({
var
clickId
=
$
(
this
).
attr
(
"
id
"
);
mailUtil
.
openMailChoosePage
(
function
(
mailChooseList
){
$
.
each
(
mailChooseList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelMail
'
)
{
if
(
clickId
==
'
toPeopleSelMail
'
)
{
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelMail
'
){
}
else
if
(
clickId
==
'
toCcSelMail
'
)
{
$
(
'
#toCc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toBccSelMail
'
){
}
else
if
(
clickId
==
'
toBccSelMail
'
)
{
$
(
'
#toBcc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
});
...
...
email/src/main/resources/template/js/emailSendModel/emailSendModelList.js
浏览文件 @
853edfd4
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -25,9 +23,7 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
主题
'
,
width
:
180
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
field
:
'
title
'
,
title
:
'
主题
'
,
width
:
180
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
...
...
@@ -36,6 +32,9 @@ layui.config({
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入主题
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
...
...
@@ -45,8 +44,6 @@ layui.config({
edit
(
data
);
}
else
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
);
}
else
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
});
...
...
@@ -65,9 +62,8 @@ layui.config({
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/emailSendModel/emailSendModelEdit.html
"
,
url
:
"
../../tpl/emailSendModel/emailSendModelEdit.html
?id=
"
+
data
.
id
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
emailSendModelEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -77,23 +73,11 @@ layui.config({
}});
}
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/emailSendModel/emailSendModelDetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
emailSendModelDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
// 删除
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
:
sysMainMation
.
emailBasePath
+
"
emailsendmodel004
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
deleteEmailSendById
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
DELETE
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -101,31 +85,15 @@ layui.config({
}
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
// 刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
(
e
)
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
// 刷新表格
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
title
:
$
(
"
#title
"
).
val
()
};
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
emailSendModelList
'
,
{});
...
...
email/src/main/resources/template/js/emailSendModel/emailSendModelListChoose.js
浏览文件 @
853edfd4
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
...
...
@@ -26,10 +25,8 @@ layui.config({
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
type
:
'
radio
'
},
{
field
:
'
title
'
,
title
:
'
主题
'
,
width
:
180
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
type
:
'
radio
'
},
{
field
:
'
title
'
,
title
:
'
主题
'
,
width
:
180
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
...
...
@@ -37,6 +34,9 @@ layui.config({
]],
done
:
function
(
res
,
curr
,
count
){
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
res
.
searchFilter
,
form
,
"
请输入主题
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
children
(
"
tr
"
).
on
(
'
dblclick
'
,
function
(){
var
dubClick
=
$
(
'
#messageTable
'
).
next
().
find
(
'
.layui-table-body
'
).
find
(
"
table
"
).
find
(
"
tbody
"
).
find
(
"
.layui-table-hover
"
);
dubClick
.
find
(
"
input[type='radio']
"
).
prop
(
"
checked
"
,
true
);
...
...
@@ -57,51 +57,16 @@ layui.config({
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
});
form
.
render
();
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/emailSendModel/emailSendModelDetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
emailSendModelDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
title
:
$
(
"
#title
"
).
val
()
};
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
emailSendModelListChoose
'
,
{});
...
...
email/src/main/resources/template/js/useremail/emailshow.js
浏览文件 @
853edfd4
...
...
@@ -12,7 +12,7 @@ layui.config({
// 邮件内容模板
var
emailContentMobel
=
$
(
"
#emailContentMobel
"
).
html
();
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail005
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail005
"
,
params
:
{
id
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
if
(
!
isNull
(
json
.
bean
.
toPeople
)){
json
.
bean
.
toPeople
=
json
.
bean
.
toPeople
.
split
(
'
,
'
);
}
...
...
email/src/main/resources/template/js/useremail/sendemail.js
浏览文件 @
853edfd4
...
...
@@ -20,30 +20,21 @@ layui.config({
var
enclosureList
=
[];
var
toPeopleList
=
[],
toCcList
=
[],
toBccList
=
[];
if
(
!
isNull
(
id
)){
if
(
!
isNull
(
id
))
{
// 草稿箱获取数据
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail0
14
"
,
params
:
{
rowId
:
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
$
(
"
#t
ypeNam
e
"
).
val
(
json
.
bean
.
title
);
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail0
05
"
,
params
:
{
id
:
id
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
$
(
"
#t
itl
e
"
).
val
(
json
.
bean
.
title
);
$
(
"
#content
"
).
val
(
json
.
bean
.
content
);
// 初始化收件人对象
$
.
each
(
json
.
bean
.
toPeopleList
,
function
(
i
,
item
)
{
toPeopleList
.
push
(
item
.
email
);
});
toPeopleList
=
json
.
bean
.
toPeople
.
split
(
"
,
"
)
// 初始化抄送人对象
$
.
each
(
json
.
bean
.
toCcList
,
function
(
i
,
item
)
{
toCcList
.
push
(
item
.
email
);
});
toCcList
=
isNull
(
json
.
bean
.
toCc
)
?
[]
:
json
.
bean
.
toCc
.
split
(
"
,
"
)
// 初始化暗送人对象
$
.
each
(
json
.
bean
.
toBccList
,
function
(
i
,
item
)
{
toBccList
.
push
(
item
.
email
);
});
toBccList
=
isNull
(
json
.
bean
.
toBcc
)
?
[]
:
json
.
bean
.
toBcc
.
split
(
"
,
"
)
$
.
each
(
json
.
bean
.
emailEnclosureList
,
function
(
i
,
item
)
{
if
(
!
isNull
(
item
.
sysEnclosureId
)){
if
(
!
isNull
(
item
.
sysEnclosureId
))
{
enclosureList
.
push
({
id
:
item
.
sysEnclosureId
,
name
:
item
.
fileName
,
...
...
@@ -60,31 +51,23 @@ layui.config({
},
async
:
false
});
}
if
(
!
isNull
(
forwardId
)){
if
(
!
isNull
(
forwardId
))
{
// 邮件回复获取数据
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail017
"
,
params
:
{
rowId
:
forwardId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
$
(
"
#t
ypeNam
e
"
).
val
(
json
.
bean
.
title
);
$
(
"
#t
itl
e
"
).
val
(
json
.
bean
.
title
);
var
emailContentHeadStr
=
getContentHead
(
json
.
bean
.
fromPeople
,
json
.
bean
.
sendDate
,
json
.
bean
.
toPeople
,
json
.
bean
.
toCc
,
json
.
bean
.
toBcc
,
json
.
bean
.
title
);
$
(
"
#content
"
).
val
(
emailContentHeadStr
+
json
.
bean
.
content
);
// 初始化收件人对象
$
.
each
(
json
.
bean
.
toPeopleList
,
function
(
i
,
item
)
{
toPeopleList
.
push
(
item
.
email
);
});
toPeopleList
=
json
.
bean
.
toPeople
.
split
(
"
,
"
)
// 初始化抄送人对象
$
.
each
(
json
.
bean
.
toCcList
,
function
(
i
,
item
)
{
toCcList
.
push
(
item
.
email
);
});
toCcList
=
isNull
(
json
.
bean
.
toCc
)
?
[]
:
json
.
bean
.
toCc
.
split
(
"
,
"
)
// 初始化暗送人对象
$
.
each
(
json
.
bean
.
toBccList
,
function
(
i
,
item
)
{
toBccList
.
push
(
item
.
email
);
});
toBccList
=
isNull
(
json
.
bean
.
toBcc
)
?
[]
:
json
.
bean
.
toBcc
.
split
(
"
,
"
)
$
.
each
(
json
.
bean
.
emailEnclosureList
,
function
(
i
,
item
)
{
if
(
!
isNull
(
item
.
sysEnclosureId
)){
if
(
!
isNull
(
item
.
sysEnclosureId
))
{
enclosureList
.
push
({
id
:
item
.
sysEnclosureId
,
name
:
item
.
fileName
,
...
...
@@ -176,14 +159,14 @@ layui.config({
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
isNull
(
id
)
&&
isNull
(
forwardId
))
{
if
(
isNull
(
id
)
&&
isNull
(
forwardId
))
{
save
(
data
,
"
useremail013
"
);
}
if
(
!
isNull
(
id
))
{
if
(
!
isNull
(
id
))
{
// 草稿箱保存
save
(
data
,
"
useremail015
"
);
}
if
(
!
isNull
(
forwardId
)){
if
(
!
isNull
(
forwardId
))
{
// 转发保存
save
(
data
,
"
useremail015
"
);
}
...
...
@@ -191,14 +174,14 @@ layui.config({
});
form
.
on
(
'
submit(formSendBean)
'
,
function
(
data
)
{
if
(
isNull
(
id
)
&&
isNull
(
forwardId
))
{
if
(
isNull
(
id
)
&&
isNull
(
forwardId
))
{
save
(
data
,
"
useremail012
"
);
}
if
(
!
isNull
(
id
)){
if
(
!
isNull
(
id
))
{
// 草稿箱发送
save
(
data
,
"
useremail016
"
);
}
if
(
!
isNull
(
forwardId
)){
if
(
!
isNull
(
forwardId
))
{
// 转发发送
save
(
data
,
"
useremail019
"
);
}
...
...
@@ -207,32 +190,32 @@ layui.config({
function
save
(
data
,
url
){
if
(
winui
.
verifyForm
(
data
.
elem
))
{
if
(
isNull
(
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
))
{
winui
.
window
.
msg
(
'
请填写收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
layedit
.
getContent
(
layContent
)))
{
winui
.
window
.
msg
(
'
请填写邮件内容
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
typeNam
e
=
"
(无主题)
"
;
if
(
!
isNull
(
$
(
"
#typeNam
e
"
).
val
()))
{
typeName
=
$
(
"
#typeNam
e
"
).
val
();
}
if
(
isNull
(
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
))
{
winui
.
window
.
msg
(
'
请填写收件人
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
layedit
.
getContent
(
layContent
)))
{
winui
.
window
.
msg
(
'
请填写邮件内容
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
titl
e
=
"
(无主题)
"
;
if
(
!
isNull
(
$
(
"
#titl
e
"
).
val
()))
{
title
=
$
(
"
#titl
e
"
).
val
();
}
var
params
=
{
typeName
:
typeNam
e
,
title
:
titl
e
,
content
:
encodeURIComponent
(
layedit
.
getContent
(
layContent
)),
toPeople
:
$
(
'
#toPeople
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
toCc
:
$
(
'
#toCc
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
toBcc
:
$
(
'
#toBcc
'
).
tagEditor
(
'
getTags
'
)[
0
].
tags
,
emailEnclosure
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
email
Id
:
parent
.
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
),
rowI
d
:
id
,
emailUser
Id
:
parent
.
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
),
i
d
:
id
,
emailEnclosureList
:
JSON
.
stringify
(
emailEnclosureList
)
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
url
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
url
==
"
useremail013
"
||
url
==
"
useremail015
"
)
{
if
(
url
==
"
useremail013
"
||
url
==
"
useremail015
"
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.addOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
'
发送成功
'
,
{
icon
:
1
,
time
:
2000
});
...
...
@@ -252,11 +235,11 @@ layui.config({
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 添加新的tag
$
.
each
(
userReturnList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelPeople
'
)
{
if
(
clickId
==
'
toPeopleSelPeople
'
)
{
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelPeople
'
){
}
else
if
(
clickId
==
'
toCcSelPeople
'
)
{
$
(
'
#toCc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toBccSelPeople
'
){
}
else
if
(
clickId
==
'
toBccSelPeople
'
)
{
$
(
'
#toBcc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
});
...
...
@@ -267,11 +250,11 @@ layui.config({
var
clickId
=
$
(
this
).
attr
(
"
id
"
);
mailUtil
.
openMailChoosePage
(
function
(
mailChooseList
){
$
.
each
(
mailChooseList
,
function
(
i
,
item
)
{
if
(
clickId
==
'
toPeopleSelMail
'
)
{
if
(
clickId
==
'
toPeopleSelMail
'
)
{
$
(
'
#toPeople
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toCcSelMail
'
){
}
else
if
(
clickId
==
'
toCcSelMail
'
)
{
$
(
'
#toCc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
else
if
(
clickId
==
'
toBccSelMail
'
){
}
else
if
(
clickId
==
'
toBccSelMail
'
)
{
$
(
'
#toBcc
'
).
tagEditor
(
'
addTag
'
,
item
.
email
);
}
});
...
...
@@ -285,7 +268,7 @@ layui.config({
pageId
:
"
emailSendModelListChoose
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
$
(
"
#t
ypeNam
e
"
).
val
(
emailSendModel
.
title
);
$
(
"
#t
itl
e
"
).
val
(
emailSendModel
.
title
);
$
(
'
#toPeople
'
).
tagEditor
(
'
destroy
'
)
$
(
'
#toPeople
'
).
tagEditor
({
initialTags
:
emailSendModel
.
toPeople
.
split
(
'
,
'
),
...
...
email/src/main/resources/template/js/useremail/useremail.js
浏览文件 @
853edfd4
...
...
@@ -17,7 +17,7 @@ layui.config({
// 邮件内容模板
var
emailContentMobel
=
$
(
"
#emailContentMobel
"
).
html
();
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail001
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
queryEmailListByUserId
"
,
params
:
{},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
if
(
json
.
rows
.
length
===
0
){
$
(
"
#emailOperator
"
).
hide
();
//隐藏邮箱模块
$
(
"
#firstAddEmail
"
).
show
();
//显示首次输入邮箱模块
...
...
@@ -40,7 +40,11 @@ layui.config({
// 添加邮箱
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail002
"
,
params
:
{
emailAddress
:
$
(
"
#emailAddress
"
).
val
(),
emailPassword
:
$
(
"
#emailPassword
"
).
val
()},
type
:
'
json
'
,
callback
:
function
(
json
)
{
let
params
=
{
emailAddress
:
$
(
"
#emailAddress
"
).
val
(),
emailPassword
:
$
(
"
#emailPassword
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
createEmailUser
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
'
新增成功
'
,
{
icon
:
1
,
time
:
2000
});
$
(
"
#firstAddEmail
"
).
fadeOut
(
1000
);
$
(
"
#emailOperator
"
).
show
();
...
...
@@ -103,7 +107,12 @@ layui.config({
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
var
lis
=
[];
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail004
"
,
params
:
{
page
:
page
,
limit
:
12
,
emailId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
let
params
=
{
page
:
page
,
limit
:
12
,
objectId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)
}
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
var
jsonStr
=
""
;
//实体json对象
$
.
each
(
json
.
rows
,
function
(
index
,
item
)
{
jsonStr
=
{
...
...
@@ -130,8 +139,13 @@ layui.config({
isAuto
:
true
,
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
var
lis
=
[];
let
params
=
{
page
:
page
,
limit
:
12
,
objectId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)
}
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail011
"
,
params
:
{
page
:
page
,
limit
:
12
,
emailId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail011
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
var
jsonStr
=
""
;
//实体json对象
$
.
each
(
json
.
rows
,
function
(
index
,
item
)
{
jsonStr
=
{
...
...
@@ -158,8 +172,13 @@ layui.config({
isAuto
:
true
,
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
var
lis
=
[];
let
params
=
{
page
:
page
,
limit
:
12
,
objectId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)
}
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail007
"
,
params
:
{
page
:
page
,
limit
:
12
,
emailId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail007
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
var
jsonStr
=
""
;
//实体json对象
$
.
each
(
json
.
rows
,
function
(
index
,
item
)
{
jsonStr
=
{
...
...
@@ -186,8 +205,13 @@ layui.config({
isAuto
:
true
,
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
var
lis
=
[];
let
params
=
{
page
:
page
,
limit
:
12
,
objectId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)
}
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail009
"
,
params
:
{
page
:
page
,
limit
:
12
,
emailId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail009
"
,
params
:
params
,
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
var
jsonStr
=
""
;
//实体json对象
$
.
each
(
json
.
rows
,
function
(
index
,
item
)
{
jsonStr
=
{
...
...
@@ -230,19 +254,19 @@ layui.config({
$
(
"
body
"
).
on
(
"
click
"
,
"
#collectEmail
"
,
function
(
e
)
{
var
_selId
=
$
(
"
#emailSetting
"
).
find
(
"
a[class='selected']
"
).
attr
(
"
id
"
);
if
(
_selId
===
'
inboxEmailAsel
'
){
//收件箱
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail003
"
,
params
:
{
email
Id
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail003
"
,
params
:
{
email
UserId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
获取邮件中
"
,
{
icon
:
1
,
time
:
2000
});
}});
}
else
if
(
_selId
===
'
draftsEmailAsel
'
){
//草稿箱
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail010
"
,
params
:
{
email
Id
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail010
"
,
params
:
{
email
UserId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
获取邮件中
"
,
{
icon
:
1
,
time
:
2000
});
}});
}
else
if
(
_selId
===
'
sendedEmailAsel
'
){
//已发送邮件
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail006
"
,
params
:
{
email
Id
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail006
"
,
params
:
{
email
UserId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
获取邮件中
"
,
{
icon
:
1
,
time
:
2000
});
}});
}
else
if
(
_selId
===
'
deleteedEmailAsel
'
){
//已删除邮件
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail008
"
,
params
:
{
email
Id
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
emailBasePath
+
"
useremail008
"
,
params
:
{
email
UserId
:
$
(
"
#checkEmail
"
).
attr
(
'
rowid
'
)},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
获取邮件中
"
,
{
icon
:
1
,
time
:
2000
});
}});
}
else
{
...
...
email/src/main/resources/template/tpl/emailSendModel/emailSendModelDetails.html
已删除
100644 → 0
浏览文件 @
27814458
<!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=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"showTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
收件人
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
#
each
toPeople
}}
<
span
class
=
"
layui-badge layui-bg-blue skyeye-badge
"
>
{{
this
}}
<
/span
>
{{
/
each
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
抄送
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
#
each
toCc
}}
<
span
class
=
"
layui-badge layui-bg-blue skyeye-badge
"
>
{{
this
}}
<
/span
>
{{
/
each
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
密送
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
#
each
toBcc
}}
<
span
class
=
"
layui-badge layui-bg-blue skyeye-badge
"
>
{{
this
}}
<
/span
>
{{
/
each
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
主题
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
title
}}
<
/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/emailSendModel/
'
}).
use
(
'
emailSendModelDetails
'
);
</script>
</body>
</html>
\ No newline at end of file
email/src/main/resources/template/tpl/emailSendModel/emailSendModelList.html
浏览文件 @
853edfd4
...
...
@@ -7,39 +7,23 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto; height: 100%;"
>
<div
class=
"txtcenter"
style=
"margin:0 auto; padding-top:0px; margin-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
type=
"text"
id=
"title"
name=
"title"
placeholder=
"请输入主题"
class=
"layui-input"
/>
</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=
"1636170287505"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
class=
"plan-data-box"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1636170304959
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1636170297232
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
auth=
"1636170287505"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
新增
</button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1636170287505
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1636170297232
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
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"
>
...
...
email/src/main/resources/template/tpl/emailSendModel/emailSendModelListChoose.html
浏览文件 @
853edfd4
...
...
@@ -5,30 +5,14 @@
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<div
class=
"winui-tip alert-info"
id=
"showInfo"
>
</div>
<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
type=
"text"
id=
"title"
name=
"title"
placeholder=
"请输入主题"
class=
"layui-input"
/>
</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
class=
"winui-tip alert-info"
id=
"showInfo"
>
</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=
"reloadTable"
class=
"winui-toolbtn
search-table-btn-right
"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
...
...
email/src/main/resources/template/tpl/useremail/sendemail.html
浏览文件 @
853edfd4
...
...
@@ -51,7 +51,7 @@
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
主题
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"t
ypeName"
name=
"typeNam
e"
placeholder=
"请填写邮件主题"
class=
"layui-input"
/>
<input
type=
"text"
id=
"t
itle"
name=
"titl
e"
placeholder=
"请填写邮件主题"
class=
"layui-input"
/>
<div
class=
"layui-form-mid layui-word-aux"
id=
"enclosureUpload"
>
</div>
</div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录