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
e52eac2c
Commit
e52eac2c
authored
Sep 25, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商学院 优化
parent
0aa2839b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
index.html
application/index/view/news/index.html
+1
-0
schoolBusiness.js
public/resource/js/schoolBusiness.js
+4
-1
No files found.
application/index/view/news/index.html
View file @
e52eac2c
...
@@ -427,6 +427,7 @@
...
@@ -427,6 +427,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<p
class=
"translation-text"
style=
"display: none;"
></p>
</form>
</form>
<!--<button type="button" class="btn btn-primary" id="add_news">保存 </button>-->
<!--<button type="button" class="btn btn-primary" id="add_news">保存 </button>-->
</td>
</td>
...
...
public/resource/js/schoolBusiness.js
View file @
e52eac2c
...
@@ -134,6 +134,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
...
@@ -134,6 +134,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
});
});
_doc
.
on
(
'click'
,
'.show_modal_btn'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.show_modal_btn'
,
function
(
e
){
user
.
modal_btn_id
=
e
.
target
.
dataset
.
id
;
user
.
modal_btn_id
=
e
.
target
.
dataset
.
id
;
$
(
'#fujian_ul'
).
html
(
''
);
});
});
$
(
"#show_modal"
).
on
(
"shown.bs.modal"
,
function
(){
$
(
"#show_modal"
).
on
(
"shown.bs.modal"
,
function
(){
...
@@ -159,7 +160,9 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
...
@@ -159,7 +160,9 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
$
(
'#modal_detail_value'
).
val
(
data
.
data
.
content
.
substr
(
5
,
data
.
data
.
content
.
length
-
9
))
$
(
".translation-text"
).
html
(
''
);
$
(
".translation-text"
).
append
(
data
.
data
.
content
);
$
(
'#modal_detail_value'
).
val
(
$
(
".translation-text"
).
text
());
$
(
"#announcement_title"
).
val
(
data
.
data
.
title
);
$
(
"#announcement_title"
).
val
(
data
.
data
.
title
);
$
(
"#district_id2"
).
val
(
data
.
data
.
s_label_id
*
1
);
//商学院标签id
$
(
"#district_id2"
).
val
(
data
.
data
.
s_label_id
*
1
);
//商学院标签id
var
_data
=
data
[
'data'
];
var
_data
=
data
[
'data'
];
...
...
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