Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6535b39b
authored
May 24, 2019
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
同上
parent
88f7fb89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
8 deletions
resources/views/message/sendmanualmessage.blade.php
resources/views/message/sendmanualmessage.blade.php
View file @
6535b39b
...
...
@@ -116,18 +116,21 @@
@endif
<link
href=
"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css"
rel=
"stylesheet"
/>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"
></script>
<div
class=
"wrapper wrapper-content"
>
<div
class=
"col-lg-11"
>
<div
class=
"ibox float-e-margins"
>
<form
action=
"/msgapi/updateMsgExcel"
method=
"post"
id=
"postForm"
enctype =
"multipart/form-data"
>
{{--外部统一模板描述+消息渠道提示--}}
<div
style=
"margin-left: 40px;"
>
<div
style=
"margin-left: 40px;"
>
<div
class=
"col-sm-10 form-inline"
style=
"margin-top: 20px"
>
<label
class=
"col-sm-
2 control-label"
>
选择模板:
</label>
<div
class=
"col-sm-3"
>
<select
class=
"form-control
"
name=
"inner-choose-type"
id=
"choose-tpl"
>
<div
class=
"col-sm-10 form-inline
layui-form-item
"
style=
"margin-top: 20px"
>
<label
class=
"col-sm-
4 control-label layui-form-label"
style=
"width: 100px;font-weight: bold"
>
*
选择模板:
</label>
<div
class=
"col-sm-3
layui-input-block"
style=
" margin-left: 90px;
"
>
<select
lay-verify=
"required"
class=
"form-control select2
"
name=
"inner-choose-type"
id=
"choose-tpl"
>
@if(empty($info->tpl_id))
<option
value=
"0"
selected
>
请选择消息模板
</option>
@endif
...
...
@@ -172,7 +175,7 @@
<div
class=
"col-sm-10 form-inline"
style=
"margin-top: 20px"
>
<label
class=
"col-sm-2 control-label"
><span
style=
"color: red"
>
*
</span></label>
<label
class=
"col-sm-2 control-label"
><span
style=
"color: red"
>
*
</span>
上传文件
</label>
<div
class=
"col-sm-3"
>
<button
type=
"button"
name=
"img_upload"
class=
"layui-btn"
id=
"test1"
>
<i
class=
"layui-icon"
>

</i>
上传文件
...
...
@@ -212,8 +215,20 @@
})
$
(
"#submit123"
).
click
(
function
(){
$
(
"#postForm"
).
submit
();
layui
.
use
([
'layer'
,
'form'
],
function
(){
layer
.
confirm
(
'您是如何看待前端开发?'
,
{
btn
:
[
'确定'
,
'取消'
]
//按钮
},
function
(){
if
(
$
(
"#choose-tpl"
).
val
()
==
'0'
){
layer
.
msg
(
'请选择对应消息模板'
);
return
false
;
}
$
(
"#postForm"
).
submit
();
});
});
})
$
(
function
()
{
$
(
"#choose-tpl"
).
select2
();
});
</script>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment