Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
4161d8a3
Commit
4161d8a3
authored
Dec 20, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公告
parent
826e7db3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
2 deletions
+18
-2
add_notice_view.html
application/index/view/notice/add_notice_view.html
+11
-0
index.html
application/index/view/notice/index.html
+3
-1
addNoticeView.js
public/resource/js/addNoticeView.js
+3
-0
notice.js
public/resource/js/notice.js
+1
-1
No files found.
application/index/view/notice/add_notice_view.html
View file @
4161d8a3
...
@@ -263,6 +263,17 @@
...
@@ -263,6 +263,17 @@
<span
class=
"use-span text-danger"
>
(50字以内,显示在首页列表)
</span>
<span
class=
"use-span text-danger"
>
(50字以内,显示在首页列表)
</span>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-2 control-label"
>
标签:
</label>
<div
class=
"col-sm-9"
>
<select
name=
""
class=
"from_type form-control btn6"
>
<option
value=
""
>
请选择标签
</option>
<option
value=
"2"
>
财务公告
</option>
<option
value=
"0"
>
人事公告
</option>
<option
value=
"1"
>
行政公告
</option>
</select>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
内容:
</label>
<label
class=
"col-sm-2 control-label"
>
内容:
</label>
<div
class=
"col-sm-9"
>
<div
class=
"col-sm-9"
>
...
...
application/index/view/notice/index.html
View file @
4161d8a3
...
@@ -172,8 +172,10 @@
...
@@ -172,8 +172,10 @@
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_date"
name=
"end_date"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_date"
name=
"end_date"
type=
"date"
>
<select
class=
"form-control btn4 ld-Marheight notice-lable"
>
<select
class=
"form-control btn4 ld-Marheight notice-lable"
>
<option
value=
""
>
公告标签
</option>
<option
value=
""
>
公告标签
</option>
<option
value=
"
1"
>
人事+行政公告
</option>
<option
value=
"
0"
>
人事
</option>
<option
value=
"2"
>
财务公告
</option>
<option
value=
"2"
>
财务公告
</option>
<option
value=
"1"
>
行政公告
</option>
</select>
</select>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"release_title"
placeholder=
"发布标题"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"release_title"
placeholder=
"发布标题"
type=
"text"
value=
""
>
...
...
public/resource/js/addNoticeView.js
View file @
4161d8a3
...
@@ -99,11 +99,14 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -99,11 +99,14 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
var
_dajiangtangObj
=
$
(
'#dajiangtang'
);
//大讲堂
var
_dajiangtangObj
=
$
(
'#dajiangtang'
);
//大讲堂
var
_dajiangtangVal
=
getCKeditorValue
(
"goods_sup_id"
);
var
_dajiangtangVal
=
getCKeditorValue
(
"goods_sup_id"
);
params
.
content
=
_dajiangtangVal
;
params
.
content
=
_dajiangtangVal
;
params
.
from_type
=
$
(
'.from_type'
).
val
();
if
(
params
.
title
==
''
)
{
if
(
params
.
title
==
''
)
{
alert
(
'标题不能为空'
);
alert
(
'标题不能为空'
);
$
(
"#announcement_title"
).
focus
();
$
(
"#announcement_title"
).
focus
();
return
;
return
;
}
}
// if (params.title.length > 20) {
// if (params.title.length > 20) {
// alert('标题字数20以内');
// alert('标题字数20以内');
// $("#announcement_title").focus();
// $("#announcement_title").focus();
...
...
public/resource/js/notice.js
View file @
4161d8a3
...
@@ -304,7 +304,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -304,7 +304,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
params
.
start_time
=
$
(
"#start_date"
).
val
();
params
.
start_time
=
$
(
"#start_date"
).
val
();
params
.
end_time
=
$
(
"#end_date"
).
val
();
params
.
end_time
=
$
(
"#end_date"
).
val
();
params
.
title
=
$
(
"#release_title"
).
val
();
params
.
title
=
$
(
"#release_title"
).
val
();
params
.
auth_group_id
=
$
(
".notice-lable"
).
val
();
params
.
from_type
=
$
(
".notice-lable"
).
val
();
params
.
pageNo
=
user
.
pageNo
;
params
.
pageNo
=
user
.
pageNo
;
params
.
pageSize
=
user
.
pageSize
;
params
.
pageSize
=
user
.
pageSize
;
...
...
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