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
dbf5c1de
Commit
dbf5c1de
authored
Jul 05, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
facef6ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
getCollection.js
public/resource/js/getCollection.js
+11
-1
schoolBusiness.js
public/resource/js/schoolBusiness.js
+3
-3
get_collection_template_tpl.html
public/resource/template/get_collection_template_tpl.html
+1
-1
No files found.
public/resource/js/getCollection.js
View file @
dbf5c1de
...
...
@@ -6,6 +6,7 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
/*每页显示多少条*/
id
:
''
,
house_id
:
''
,
house_fatherid
:
''
,
type
:
''
,
valueCurrent
:
''
,
ajaxObj
:
''
,
...
...
@@ -84,6 +85,8 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
// });
_doc
.
on
(
'click'
,
'.add-pic'
,
function
()
{
follow
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
follow
.
house_fatherid
=
$
(
this
).
attr
(
"father-id"
);
follow
.
getaddPicList
();
});
...
...
@@ -228,11 +231,18 @@ define(['doT', 'text!temp/get_collection_template_tpl.html', 'css!style/home.css
getaddPicList
:
function
()
{
//获取收款图片
// container_body
$
(
'.result2,.result'
).
remove
();
var
id_pic
;
if
(
follow
.
house_fatherid
>
0
){
id_pic
=
follow
.
house_fatherid
;
}
else
{
id_pic
=
follow
.
house_id
;
}
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/receiptImgList'
,
data
:
{
"id"
:
follow
.
house_id
,
"id"
:
id_pic
,
},
dataType
:
"json"
,
success
:
function
(
data
)
{
...
...
public/resource/js/schoolBusiness.js
View file @
dbf5c1de
...
...
@@ -281,7 +281,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
e
.
stopPropagation
();
var
_imgUploadLunbo
=
$
(
'#xiangqing_pic_ul'
);
//详情页轮播图ul
var
_xiangqingPicObj
=
_imgUploadLunbo
.
find
(
'li>img'
);
var
_urlCut
=
location
.
origin
+
'/resource/lib/Attachments/images/'
;
//要截取的部分url
var
_urlCut
=
'/resource/lib/Attachments/images/'
;
//要截取的部分url
$
.
each
(
_xiangqingPicObj
,
function
(
i
,
item
)
{
_data
[
'slide_show['
+
i
+
']'
]
=
item
.
src
.
replace
(
_urlCut
,
''
);
});
...
...
@@ -468,7 +468,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
var
news_id
=
getUrlParam
(
'id'
);
//地址栏获取的商铺或者街铺id
var
_imgUploadLunbo
=
$
(
'#xiangqing_pic_ul'
);
//详情页轮播图ul
var
_imgUploadLiebiao
=
$
(
'#liebiao_pic_ul'
);
//列表页封面图ul
var
_urlCut
=
location
.
origin
+
'/resource/lib/Attachments/images/'
;
//要截取的部分url
var
_urlCut
=
'/resource/lib/Attachments/images/'
;
//要截取的部分url
var
_dajiangtangObj
=
$
(
'#dajiangtang'
);
//大讲堂
$
.
ajax
({
'type'
:
'GET'
,
...
...
@@ -521,7 +521,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
add_news
:
function
()
{
//新增文章 编辑文章
var
_imgUploadLiebiao
=
$
(
'#liebiao_pic_ul'
);
//列表页封面图ul
var
_liebiaoPicObj
=
_imgUploadLiebiao
.
find
(
'li>img'
);
var
_urlCut
=
location
.
origin
+
'/resource/lib/Attachments/images/'
;
//要截取的部分url
var
_urlCut
=
'/resource/lib/Attachments/images/'
;
//要截取的部分url
var
_dajiangtangObj
=
$
(
'#dajiangtang'
);
//大讲堂
var
_dajiangtangVal
=
_dajiangtangObj
.
find
(
'iframe'
).
contents
().
find
(
'body'
).
html
();
...
...
public/resource/template/get_collection_template_tpl.html
View file @
dbf5c1de
...
...
@@ -13,7 +13,7 @@
<
td
>
[
%=
it
[
item
][
'house_number'
]
%
]
<
/td
>
<
td
>
<!--
增加收款图片
2.2
版本
-->
<
a
class
=
"btn1 btn-info add-pic"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
收款图片
<
/a
>
<
a
class
=
"btn1 btn-info add-pic"
href
=
"#modal-addPic"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
father
-
id
=
'[%= it[item]["father_id"] %]'
>
收款图片
<
/a
>
<
a
class
=
"btn1 btn-info timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-info submit_edit2"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"]%]'
data
-
money
=
'[%= it[item]["real_money"] %]'
>
编辑
<
/a
>
<
/td
>
...
...
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