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
33540d91
Commit
33540d91
authored
Jun 19, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享办公楼详情
parent
4b63d2f3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
200 additions
and
8 deletions
+200
-8
office_detail.html
application/index/view/share_shop/office_detail.html
+0
-0
app_office_jump.js
public/app/js/app_office_jump.js
+191
-0
detaila_office_tl.js
public/app/js/detaila_office_tl.js
+0
-0
adjustmentOffice.js
public/resource/js/adjustmentOffice.js
+1
-1
getCollectionOffice.js
public/resource/js/getCollectionOffice.js
+1
-1
inspectionRecordAllOffice.js
public/resource/js/inspectionRecordAllOffice.js
+2
-1
marchinListOffice.js
public/resource/js/marchinListOffice.js
+1
-1
reportListOffice.js
public/resource/js/reportListOffice.js
+4
-4
No files found.
application/index/view/share_shop/office_detail.html
0 → 100644
View file @
33540d91
This diff is collapsed.
Click to expand it.
public/app/js/app_office_jump.js
0 → 100644
View file @
33540d91
//从浏览器页面跳转到app,安卓处理
function
readUrlAndroid
(
isFutang
,
fn
)
{
var
_href_temp
=
location
.
href
.
replace
(
'?share=1'
,
''
);
var
_href
=
_href_temp
.
replace
(
'&share=1'
,
''
);
var
_pathname
=
location
.
pathname
;
var
_rt
=
''
;
var
_headerMarks
=
'tlscheme'
;
_rt
=
_headerMarks
+
'://tlhost/tonglian/open'
;
// if(_pathname.indexOf('details_tl.html') >= 0) {
// //楼盘详情
// var _houseid = getUrlParam('id');
// var _housename = getUrlParam('housename');
// _rt = _headerMarks + '://tlhost/tonglian/open?id=' + _houseid + '&name=' + _housename;
// }else if(_pathname.indexOf('news2_app.html') >= 0){
// var _newstype = getUrlParam('newstype');
// var _id = getUrlParam('id');
// var _name = getUrlParam('name');
// if(_newstype == '1'){
// //商学院里的新闻
// _rt = _headerMarks + '://tlhost/tonglian/open?url=' + _href + '&name=' + _name;
//
// }else{
// //头条详情里的新闻
// _rt = _headerMarks + '://tlhost/tonglian/open?id=' + _id + '&name=' + _name;
// }
// }else if(_pathname.indexOf('money_banner.html') >= 0){
// //banner 在线结佣
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'&name=在线结佣';
// }else if(_pathname.indexOf('poster_intro.html') >= 0){
// //海报设计,海报制作
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'&name=海报设计';
// }else if(_pathname.indexOf('invite_intro.html') >= 0){
// //邀好友
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'&name=邀好友';
// }else if(_pathname.indexOf('come_intro.html') >= 0){
// //进场红包
// _rt = _headerMarks + '://tlhost/tonglian/open?url='+ _href +'?down_hide=1&name=进场红包';
// }
return
fn
(
_rt
);
}
//从浏览器页面跳转到app,苹果处理
function
readUrlIos
(
isFutang
,
fn
){
var
_href_temp
=
location
.
href
.
replace
(
'?share=1'
,
''
);
var
_href
=
_href_temp
.
replace
(
'&share=1'
,
''
);
var
_pathname
=
location
.
pathname
;
var
_search_temp
=
location
.
search
.
replace
(
'?share=1'
,
''
);
var
_search
=
_search_temp
.
replace
(
'&share=1'
,
''
);
var
_rt
=
''
;
// var _headerMarks = 'tonglianjituan';
var
_headerMarks
=
'tlscheme'
;
// _rt = _headerMarks + '://tlhost/tonglian/open';
// if(isFutang == '1'){
// _headerMarks = 'futangchina';
// }
//
// if(_pathname.indexOf('money_banner.html') >= 0){
// //banner 在线结佣
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=在线结佣';
// }else if(_pathname.indexOf('poster_intro.html') >= 0){
// //海报设计,海报制作
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=海报设计';
// }else if(_pathname.indexOf('invite_intro.html') >= 0){
// //邀好友
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=邀好友';
// }else if(_pathname.indexOf('come_intro.html') >= 0){
// //进场红包
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + '?url='+ _href +'&name=进场红包';
// }else{
// _rt = _headerMarks + '://admin.tonglianjituan.com' + _pathname + _search;
// }
//
return
fn
(
_rt
);
}
function
jumpEvent
(){
var
_clientType
=
getUrlParam
(
'client'
);
var
id
=
getUrlParam
(
'id'
);
var
_ft
=
getUrlParam
(
'ft'
);
/*if(_ft == '1'){
$('.fix_area_top>img:nth-of-type(2)').attr('src','images/pbl_logo_ft.png');
$('.fix_area_top>p>span:nth-of-type(2)').html('请下载福堂中国APP');
$('#jump_link>img').attr('src','images/pbl_dakai_ft.png');
}*/
var
params
=
"?"
+
window
.
location
.
href
.
split
(
'?'
)[
1
]
$
(
'#jump_link'
).
click
(
function
(
e
){
console
.
log
(
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
)
if
(
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
){
// if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=='micromessenger' ) {
console
.
log
(
"true console"
)
if
(
device
.
isIos
())
{
console
.
log
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
window
.
location
.
href
=
'externalCallTLC://AppOpenShopDetail/'
+
id
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
{
location
.
href
=
"yindaoIos"
+
params
}
}
else
if
(
device
.
isAndroid
())
{
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
window
.
location
.
href
=
'tlscheme://tlhost/tonglian/open'
+
params
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
{
location
.
href
=
"yindaoAndroid"
+
params
}
}
else
{
};
}
else
{
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
if
(
device
.
isIos
())
{
console
.
log
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
window
.
location
.
href
=
'externalCallTLC://AppOpenShopDetail/'
+
id
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
if
(
device
.
isAndroid
())
{
window
.
location
.
href
=
'tlscheme://tlhost/tonglian/open'
+
params
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
5000
);
}
else
{
if
(
device
.
isAndroid
())
{
location
.
href
=
"yindaoAndroid"
+
params
;
}
else
{
location
.
href
=
"yindaoIos"
+
params
;
}
};
}
else
{
console
.
log
(
"false console"
)
var
user_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
user_id
;
//从url获取的商铺id
var
referrer
=
_clientType
===
'b'
?
20
:
10
;
var
union_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
wx_union_id
;
var
device_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
device_id
;
// location.href = ServerHostTempC + "/app/dist/index.html#/inviteRegister?" + "inviteRegister";
// location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
location
.
href
=
ServerHostTempC
+
'/app/dist/index.html#/inviteRegister?referrer_id='
+
user_id
+
'&referrer_source='
+
referrer
+
'&device_id='
+
device_id
+
'&wx_union_id='
+
union_id
;
}
}
e
.
preventDefault
();
e
.
stopPropagation
();
});
// if(device.isIos()) {
// readUrlIos(_ft, function(_url){
// window.location.href = _url;
// });
// } else if(device.isAndroid()) {
// readUrlAndroid(_ft, function(_url){
// window.location = _url;
// });
// } else {
// console.log("other device");
//
// }
//
//点立即打开之后的事件
// $('#jump_link').click(function(e) {
// if(device.isIos()) {
// readUrlIos(_ft, function(_url){
// window.location = _url;
// });
// } else if(device.isAndroid()) {
// readUrlAndroid(_ft, function(_url){
// window.location = _url;
// });
// } else {
// console.log("other device");
// }
//
// var t = Date.now();
// setTimeout(function() {
// if(Date.now() - t < 1200) {
//// if(_ft == '1'){
//// location.href = 'xiazai.html?ft=1';
//// }else{
// location.href = 'xiazai.html';
//// }
// }
// }, 1000);
// });
}
public/app/js/detaila_office_tl.js
0 → 100644
View file @
33540d91
This diff is collapsed.
Click to expand it.
public/resource/js/adjustmentOffice.js
View file @
33540d91
...
@@ -49,7 +49,7 @@ define(['doT', 'text!temp/adjustment_office_template_tpl.html', 'css!style/home.
...
@@ -49,7 +49,7 @@ define(['doT', 'text!temp/adjustment_office_template_tpl.html', 'css!style/home.
var
house_id
=
e
.
target
.
dataset
.
id
;;
var
house_id
=
e
.
target
.
dataset
.
id
;;
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
+
'&type=2'
);
});
});
//操作----收款详情
//操作----收款详情
$
(
document
).
on
(
'click'
,
'.add-pic'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'.add-pic'
,
function
(
e
){
...
...
public/resource/js/getCollectionOffice.js
View file @
33540d91
...
@@ -274,7 +274,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
...
@@ -274,7 +274,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
var
house_id
=
e
.
target
.
dataset
.
id
;;
var
house_id
=
e
.
target
.
dataset
.
id
;;
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
+
'&type=2'
);
});
});
//操作----退款
//操作----退款
...
...
public/resource/js/inspectionRecordAllOffice.js
View file @
33540d91
...
@@ -82,7 +82,8 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
...
@@ -82,7 +82,8 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
record
.
record_id
=
$
(
this
).
attr
(
"data-id"
);
record
.
record_id
=
$
(
this
).
attr
(
"data-id"
);
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
record
.
record_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
record
.
record_id
+
'&type=2'
);
});
});
_doc
.
on
(
'click'
,
'a[href="#modal-report"]'
,
function
(
e
)
{
//提交成交报告弹出框
_doc
.
on
(
'click'
,
'a[href="#modal-report"]'
,
function
(
e
)
{
//提交成交报告弹出框
...
...
public/resource/js/marchinListOffice.js
View file @
33540d91
...
@@ -68,7 +68,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', "datetimepick
...
@@ -68,7 +68,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', "datetimepick
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
// console.log('follow.house_id');
// console.log('follow.house_id');
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
follow
.
house_id
);
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
follow
.
house_id
+
'&type=2'
);
});
});
$
(
"#search"
).
click
(
function
()
{
$
(
"#search"
).
click
(
function
()
{
follow
.
getList
(
1
);
follow
.
getList
(
1
);
...
...
public/resource/js/reportListOffice.js
View file @
33540d91
...
@@ -979,10 +979,10 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
...
@@ -979,10 +979,10 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
alert
(
'请填写入账日期'
);
alert
(
'请填写入账日期'
);
return
;
return
;
}
}
if
(
$
(
'.shop-is-open'
).
val
()
==
3
){
//
if($('.shop-is-open').val() == 3){
alert
(
'请填写是否开业'
);
//
alert('请填写是否开业');
return
;
//
return;
}
//
}
params
.
is_open
=
$
(
'.shop-is-open'
).
val
();
//是否开业
params
.
is_open
=
$
(
'.shop-is-open'
).
val
();
//是否开业
$
.
ajax
({
$
.
ajax
({
...
...
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