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
feebde44
Commit
feebde44
authored
May 05, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺列表修改
parent
1021683c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
65 additions
and
59 deletions
+65
-59
houseList.html
application/index/view/houses/houseList.html
+6
-6
users_list.html
application/index/view/member/users_list.html
+1
-1
edit.js
public/resource/js/edit.js
+2
-0
reportList.js
public/resource/js/reportList.js
+11
-13
waitBackout.js
public/resource/js/waitBackout.js
+36
-36
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+9
-3
No files found.
application/index/view/houses/houseList.html
View file @
feebde44
...
...
@@ -62,33 +62,33 @@
<td
colspan=
"9"
>
<form
id=
"form_search"
>
<select
class=
"form-control btn2"
id=
"is_carefully_chosen"
>
<option
value=
"
"
class=
"successModel
"
>
是否显示在首页
</option>
<option
value=
"
-1"
"
>
是否显示在首页
</option>
<option
value=
"0"
>
是
</option>
<option
value=
"1"
>
否
</option>
</select>
<select
class=
"form-control btn2"
id=
"is_show"
>
<option
value=
"
"
class=
"successModel
"
>
C端是否显示
</option>
<option
value=
"
-1
"
>
C端是否显示
</option>
<option
value=
"0"
>
是
</option>
<option
value=
"1"
>
否
</option>
</select>
<select
class=
"form-control btn2"
id=
"shop_type"
>
<option
value=
"
"
class=
"successModel
"
>
商铺类型
</option>
<option
value=
"
-1
"
>
商铺类型
</option>
<option
value=
"0"
>
商场
</option>
<option
value=
"1"
>
街铺
</option>
</select>
<select
class=
"form-control btn2"
id=
"leased"
>
<option
value=
"
"
class=
"successModel
"
>
商铺状态
</option>
<option
value=
"
-1
"
>
商铺状态
</option>
<option
value=
"0"
>
已租
</option>
<option
value=
"1"
>
待租
</option>
</select>
<select
class=
"form-control btn2"
id=
"rent_price"
>
<option
value=
"-1"
class=
"successModel"
>
月租金
</option>
<option
value=
"-1"
>
月租金
</option>
<option
value=
"1"
>
10000以下
</option>
<option
value=
"2"
>
10000-30000
</option>
<option
value=
"3"
>
30000以上
</option>
</select>
<select
class=
"form-control btn2"
id=
"is_exclusive_type"
>
<option
value=
"
"
class=
"successModel
"
>
是否独家
</option>
<option
value=
"
-1
"
>
是否独家
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
...
...
application/index/view/member/users_list.html
View file @
feebde44
...
...
@@ -146,8 +146,8 @@
<select
class=
"form-control btn2 margin-top-ld"
name=
"male_status"
>
<option
value=
"-1"
>
是否公客
</option>
<option
value=
"2"
>
是
</option>
<option
value=
"1"
>
否
</option>
<option
value=
"2"
>
是
</option>
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"guest_department"
placeholder=
"客方所属部门"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"guest_stores"
placeholder=
"客方所属门店"
type=
"text"
value=
""
>
...
...
public/resource/js/edit.js
View file @
feebde44
...
...
@@ -628,6 +628,8 @@ define(['ckfinder', 'ckfinderStart', 'bootstrapJs'], function() {
//输入框联系人模糊搜索相关事件添加
$
(
'.input-add-tel'
).
click
(
function
()
{
//
//
var
_this
=
$
(
this
);
var
_addType
=
_this
.
attr
(
'data-addtype'
);
var
_maxLen
=
_addType
===
'landlord'
?
3
:
5
;
...
...
public/resource/js/reportList.js
View file @
feebde44
...
...
@@ -312,8 +312,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'reportList_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
sessionStorage
.
getItem
(
'pcUserInfo'
)));
console
.
log
(
user_info_obj
.
level
);
//
var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
//
console.log(user_info_obj.level);
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
@@ -511,18 +511,16 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'reportList_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
sessionStorage
.
getItem
(
'pcUserInfo'
)));
console
.
log
(
user_info_obj
.
level
);
$
(
".edit"
).
hide
();
$
(
".is_pass"
).
hide
();
$
(
".genjing"
).
hide
();
if
(
user_info_obj
.
level
==
10
&&
$
(
'.btn-info'
).
index
()
==
0
){
// $(".edit").show();
// $(".is_pass").show();
// $(".genjing").show();
}
else
{
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// console.log(user_info_obj.level);
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// if(user_info_obj.level==10 && $('.btn-info').index()==0){
// }else{
}
//
}
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
public/resource/js/waitBackout.js
View file @
feebde44
...
...
@@ -291,17 +291,17 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'wait_backout_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
sessionStorage
.
getItem
(
'pcUserInfo'
)));
console
.
log
(
user_info_obj
);
if
(
user_info_obj
.
level
==
10
&&
$
(
'.btn-info'
).
index
()
==
0
){
$
(
".edit"
).
show
();
$
(
".is_pass"
).
show
();
$
(
".genjing"
).
show
();
}
else
{
$
(
".edit"
).
hide
();
$
(
".is_pass"
).
hide
();
$
(
".genjing"
).
hide
();
}
//
var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
//
console.log(user_info_obj);
//
if(user_info_obj.level==10 && $('.btn-info').index()==0){
//
$(".edit").show();
//
$(".is_pass").show();
//
$(".genjing").show();
//
}else{
//
$(".edit").hide();
//
$(".is_pass").hide();
//
$(".genjing").hide();
//
}
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
@@ -352,17 +352,17 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'wait_backout_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
sessionStorage
.
getItem
(
'pcUserInfo'
)));
console
.
log
(
user_info_obj
.
level
);
if
(
user_info_obj
.
level
==
20
&&
$
(
'.btn-info'
).
index
()
==
1
){
$
(
".edit"
).
show
();
$
(
".is_pass"
).
show
();
$
(
".genjing"
).
show
();
}
else
{
$
(
".edit"
).
hide
();
$
(
".is_pass"
).
hide
();
$
(
".genjing"
).
hide
();
}
//
var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
//
console.log(user_info_obj.level);
//
if(user_info_obj.level==20 && $('.btn-info').index()==1){
//
$(".edit").show();
//
$(".is_pass").show();
//
$(".genjing").show();
//
}else{
//
$(".edit").hide();
//
$(".is_pass").hide();
//
$(".genjing").hide();
//
}
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
@@ -504,20 +504,20 @@ define(['doT', 'text!temp/wait_backout_template_tpl.html', 'css!style/home.css',
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'wait_backout_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
sessionStorage
.
getItem
(
'pcUserInfo'
)));
console
.
log
(
user_info_obj
.
level
);
$
(
".edit"
).
hide
();
$
(
".is_pass"
).
hide
();
$
(
".genjing"
).
hide
();
if
(
user_info_obj
.
level
==
10
&&
$
(
'.btn-info'
).
index
()
==
0
){
$
(
".edit"
).
show
();
$
(
".is_pass"
).
show
();
$
(
".genjing"
).
show
();
}
else
{
$
(
".edit"
).
hide
();
$
(
".is_pass"
).
hide
();
$
(
".genjing"
).
hide
();
};
//
var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
//
console.log(user_info_obj.level);
//
$(".edit").hide();
//
$(".is_pass").hide();
//
$(".genjing").hide();
//
if(user_info_obj.level==10 && $('.btn-info').index()==0){
//
$(".edit").show();
//
$(".is_pass").show();
//
$(".genjing").show();
//
}else{
//
$(".edit").hide();
//
$(".is_pass").hide();
//
$(".genjing").hide();
//
};
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
follow
.
pageSize
,
follow
.
getList
);
...
...
public/resource/template/reportList_template_tpl.html
View file @
feebde44
...
...
@@ -10,9 +10,12 @@
<
td
>
[
%=
it
[
item
][
'commission'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
>
[
%
if
(
check_auth
(
'index/bargainInfo'
))
{
%
]
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
编辑
<
/a
>
[
%
}
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/0'
)
||
check_auth
(
'index/checkReportManager/1'
)
||
check_auth
(
'index/checkReportMajordomo/2'
)
||
check_auth
(
'index/checkReportCashier/3'
))
{
%
]
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success genjing"
href
=
"#modal-follow"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a
>
[
%
}
%
]
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/tr
>
...
...
@@ -22,4 +25,8 @@
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
\ No newline at end of file
</script>
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