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
fca493f9
Commit
fca493f9
authored
Aug 02, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
a22049bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
notice.js
public/resource/js/notice.js
+1
-1
schoolBusinessNew.js
public/resource/js/schoolBusinessNew.js
+1
-1
No files found.
public/resource/js/notice.js
View file @
fca493f9
...
@@ -72,7 +72,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
...
@@ -72,7 +72,7 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
var
_filePath
=
$
(
this
).
attr
(
'data-fujian'
);
var
_filePath
=
$
(
this
).
attr
(
'data-fujian'
);
var
_tempArr
=
_filePath
.
split
(
'/'
);
var
_tempArr
=
_filePath
.
split
(
'/'
);
var
_lastObj
=
_tempArr
[
_tempArr
.
length
-
1
]
;
var
_lastObj
=
dealFileName
(
decodeURI
(
_tempArr
[
_tempArr
.
length
-
1
]))
;
if
(
_lastObj
){
if
(
_lastObj
){
$
(
'.notice-fujian-area'
).
show
().
html
(
'<span>附件(点击可下载):</span><a download="{0}" href="{1}" title="点击可下载">{0}</a>'
.
stringFormatObj
({
$
(
'.notice-fujian-area'
).
show
().
html
(
'<span>附件(点击可下载):</span><a download="{0}" href="{1}" title="点击可下载">{0}</a>'
.
stringFormatObj
({
'0'
:
_lastObj
,
'0'
:
_lastObj
,
...
...
public/resource/js/schoolBusinessNew.js
View file @
fca493f9
...
@@ -201,7 +201,7 @@ define(['doT', 'text!temp/schoolBusiness_template_tpl.html', 'ckfinder', 'ckfind
...
@@ -201,7 +201,7 @@ define(['doT', 'text!temp/schoolBusiness_template_tpl.html', 'ckfinder', 'ckfind
var
_tempArr
=
_data
[
'annex_file_path'
].
split
(
'/'
);
var
_tempArr
=
_data
[
'annex_file_path'
].
split
(
'/'
);
_data
[
'annex_file_path'
]
&&
$
(
'#fujian_ul'
).
html
(
'<li class="pdf-pre-li"><a class="pdf-pre-a" download="{1}" href="{0}" title="点击可下载">{1}</a><a href="javascript:;" class="delet-pic-btn">删除</a></li>'
.
stringFormatObj
({
_data
[
'annex_file_path'
]
&&
$
(
'#fujian_ul'
).
html
(
'<li class="pdf-pre-li"><a class="pdf-pre-a" download="{1}" href="{0}" title="点击可下载">{1}</a><a href="javascript:;" class="delet-pic-btn">删除</a></li>'
.
stringFormatObj
({
'0'
:
_data
[
'annex_file_path'
],
'0'
:
_data
[
'annex_file_path'
],
'1'
:
_tempArr
[
_tempArr
.
length
-
1
]
'1'
:
dealFileName
(
decodeURI
(
_tempArr
[
_tempArr
.
length
-
1
]))
}));
}));
}
else
{}
}
else
{}
...
...
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