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
113b6de1
Commit
113b6de1
authored
Dec 13, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台
parent
a1a5c6d4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
199 deletions
+14
-199
daily_details.html
application/index/view/finance/daily_details.html
+0
-58
daily_list.html
application/index/view/finance/daily_list.html
+0
-58
pkWeekListCon.html
application/index/view/pkList/pkWeekListCon.html
+1
-53
financial_daily_list.js
public/resource/js/financial_daily_list.js
+2
-13
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+3
-11
pkWeekList.js
public/resource/js/pkWeekList.js
+6
-4
house_template_tpl.html
public/resource/template/house_template_tpl.html
+1
-1
pk_week_list_template_tpl.html.html
public/resource/template/pk_week_list_template_tpl.html.html
+1
-1
No files found.
application/index/view/finance/daily_details.html
View file @
113b6de1
...
...
@@ -4,64 +4,6 @@
.clear
{
clear
:
both
;
}
.button-center-bargain
{
width
:
430px
;
}
.user-ul
{
height
:
auto
;
float
:
left
;
position
:
relative
;
left
:
-40px
;
}
.user-ul
li
{
list-style
:
none
;
line-height
:
30px
;
}
.left-phone
{
float
:
left
;
margin-top
:
10px
;
margin-left
:
10px
;
}
#bargaininfo_shop_num
{
width
:
100px
;
display
:
inline-block
;
}
/*客户详情 样式*/
.modal-body1
{
height
:
716px
;
overflow-y
:
auto
;
padding-bottom
:
60px
;
}
.modal-body-details
{
width
:
850px
;
}
/*客户动态*/
.followup-modal-list-area
{
height
:
258px
;
overflow-y
:
scroll
;
}
.form-control
[
disabled
]
{
background-color
:
#fff
;
}
.user_pic
{
width
:
30px
;
height
:
30px
;
border-radius
:
15px
;
}
.btn-guanbi
{
float
:
right
;
}
/*客户详情 样式*/
.total-commission
{
font-size
:
16px
;
font-weight
:
600
;
float
:
left
;
margin-left
:
12px
;
}
#maintable_form_search
>
span
.total-commission
{
margin-top
:
16px
;
}
/*加载图标*/
#main_loading_pic
{
position
:
fixed
;
...
...
application/index/view/finance/daily_list.html
View file @
113b6de1
...
...
@@ -4,64 +4,6 @@
.clear
{
clear
:
both
;
}
.button-center-bargain
{
width
:
430px
;
}
.user-ul
{
height
:
auto
;
float
:
left
;
position
:
relative
;
left
:
-40px
;
}
.user-ul
li
{
list-style
:
none
;
line-height
:
30px
;
}
.left-phone
{
float
:
left
;
margin-top
:
10px
;
margin-left
:
10px
;
}
#bargaininfo_shop_num
{
width
:
100px
;
display
:
inline-block
;
}
/*客户详情 样式*/
.modal-body1
{
height
:
716px
;
overflow-y
:
auto
;
padding-bottom
:
60px
;
}
.modal-body-details
{
width
:
850px
;
}
/*客户动态*/
.followup-modal-list-area
{
height
:
258px
;
overflow-y
:
scroll
;
}
.form-control
[
disabled
]
{
background-color
:
#fff
;
}
.user_pic
{
width
:
30px
;
height
:
30px
;
border-radius
:
15px
;
}
.btn-guanbi
{
float
:
right
;
}
/*客户详情 样式*/
.total-commission
{
font-size
:
16px
;
font-weight
:
600
;
float
:
left
;
margin-left
:
12px
;
}
#maintable_form_search
>
span
.total-commission
{
margin-top
:
16px
;
}
/*加载图标*/
#main_loading_pic
{
position
:
fixed
;
...
...
application/index/view/pkList/pkWeekListCon.html
View file @
113b6de1
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"pkList"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"pk
Week
List"
/>
<style>
.pk-container-detail
{
background-color
:
#fff
;
...
...
@@ -199,11 +199,6 @@
<input
class=
"btn4-pk ld-Marheight input-pk-style"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_end"
name=
"end_date1"
type=
"date"
>
<span
class=
"produce-pk fore-span ld-Marheight"
>
生成
</span>
</div>
<!--<span class="margain-right-10 pk-yeji-time">(<span id='start_date'></span>-<span id='end_date'></span>)</span>
<span class="rule-pk"><a class="" href="#modal-pkRule" data-toggle="modal">分档规则</a></span>-->
<!--<select class="results-pk">
</select>-->
<img
src=
"/resource/image/gold@1x.png"
class=
"img-gold"
/>
</div>
<div
class=
"pk-container-detail-con"
>
...
...
@@ -274,49 +269,3 @@
<div
id=
"main_loading_pic"
>
<img
src=
"/resource/image/jz2.gif"
>
</div>
<!--分档规则-->
<div
class=
"modal fade"
id=
"modal-pkRule"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
分档规则
</h4>
</div>
<div
class=
"modal-body"
>
<div
class=
"rule-pk-con"
>
职称档位根据上个月的业绩来分档,职称取的现在职称列表里的的职称
<br
/>
团队档位根据前3个月的业绩来分档
<br
/>
团队档位赛和职称档位赛 都是 上海与上海比,杭州与杭州比,
<br
/>
<p
class=
"text-danger"
>
上海分档规则:
</p>
20人为一档位 余下的人 均匀分配在后边的等级里
<br
/>
每个档位不超过25人,即每个档位的人数小于等于25
<br
/>
某个职称的总人数/20=商~~~余数,商*5
<
余数时,重开一档。<
br
/>
例如某职称有总人数29人, 29/20=1~~~9,1*5
<9
,则重开一档,共
2
挡,
2
档的人均匀分配,即第一档人数
14
,第二档人数
15
<
br
/>
<p
class=
"text-danger"
>
杭州分档规则:
</p>
8人为一档位 余下的人 均匀分配在后边的档位里 最多不超过13人
<br
/>
某个职称的总人数/8=商~~~余数,商*5
<
余数时,重开一档。<
br
/>
例如某职称有总人数15人, 15/8=1~~~7,1*5
<7
,则重开一档,共
2
挡,
2
档的人均匀分配,即第一档人数
8
,第二档人数
7
。
</
div
>
</div>
<div
class=
"modal-footer"
>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
public/resource/js/financial_daily_list.js
View file @
113b6de1
...
...
@@ -8,9 +8,6 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
detailTabIndex
:
0
,
bargain_id
:
''
,
order_id
:
0
,
//订单id
maidTotalCommission
:
0
,
//应收总佣金
isBargaininfoSaveIngFlag
:
false
,
//成交信息保存是否正在保存
shouyong_date_active_sapn
:
null
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
...
...
@@ -19,15 +16,13 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
},
event
:
function
()
{
var
_doc
=
$
(
document
);
//主页面一级审核,二级审核,三级审核
,结单四个tab的点击事件
//主页面一级审核,二级审核,三级审核
tab
_doc
.
on
(
'click'
,
'.maintable-top-sub-tr>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
bargain
.
mainTabIndex
=
_this
.
index
();
console
.
log
(
bargain
.
mainTabIndex
);
bargain
.
getList
(
1
);
});
...
...
@@ -37,11 +32,6 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
e
.
stopPropagation
();
bargain
.
getList
(
1
);
//一级审核搜索
});
//点击li 列表消失
$
(
document
).
delegate
(
".addphone"
,
"click"
,
function
()
{
//list消失新增客户 点击li事件 获取id ul消失
bargain
.
addphone
(
this
);
});
//搜索的重置
$
(
"#maintable_reset"
).
click
(
function
()
{
document
.
getElementById
(
"maintable_form_search"
).
reset
();
...
...
@@ -71,8 +61,7 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
});
});
},
//获取一级审核,二级审核,三级审核,结单不同的ajax请求url
//获取一级审核,二级审核,三级审核不同的ajax请求url
switchUrl
:
function
(){
switch
(
Number
(
this
.
mainTabIndex
)){
case
0
:
...
...
public/resource/js/financial_manager_daily_list.js
View file @
113b6de1
...
...
@@ -9,8 +9,6 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
bargain_id
:
''
,
order_id
:
0
,
//订单id
maidTotalCommission
:
0
,
//应收总佣金
isBargaininfoSaveIngFlag
:
false
,
//成交信息保存是否正在保存
shouyong_date_active_sapn
:
null
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
...
...
@@ -19,12 +17,11 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
},
event
:
function
()
{
var
_doc
=
$
(
document
);
//主页面一级审核,二级审核,三级审核
,结单四个
tab的点击事件
//主页面一级审核,二级审核,三级审核tab的点击事件
_doc
.
on
(
'click'
,
'.maintable-top-sub-tr>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
bargain
.
mainTabIndex
=
_this
.
index
();
console
.
log
(
bargain
.
mainTabIndex
);
...
...
@@ -43,11 +40,6 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
e
.
stopPropagation
();
window
.
print
();
});
//点击li 列表消失
$
(
document
).
delegate
(
".addphone"
,
"click"
,
function
()
{
//list消失新增客户 点击li事件 获取id ul消失
bargain
.
addphone
(
this
);
});
//搜索的重置
$
(
"#maintable_reset"
).
click
(
function
()
{
document
.
getElementById
(
"maintable_form_search"
).
reset
();
...
...
@@ -78,7 +70,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
});
},
//获取一级审核,二级审核,三级审核
,结单
不同的ajax请求url
//获取一级审核,二级审核,三级审核不同的ajax请求url
switchUrl
:
function
(){
switch
(
Number
(
this
.
mainTabIndex
)){
case
0
:
...
...
@@ -95,7 +87,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
return
''
;
}
},
//获取一级审核,二级审核,三级审核
,结单
数据列表共用的方法
//获取一级审核,二级审核,三级审核数据列表共用的方法
getList
:
function
(
pageNo
){
console
.
count
(
'bar'
);
var
params
=
{
...
...
public/resource/js/pkWeekList.js
View file @
113b6de1
define
([
'doT'
,
'text!temp/pk_list_template_tpl.html.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/pk_
week_
list_template_tpl.html.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
pkList
=
{
pageNo
:
1
,
...
...
@@ -103,19 +103,20 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
var
position
=
pkList
.
mainTabIndex
;
var
AuthToken
=
user_info_obj
.
AuthToken
;
window
.
open
(
'/index/exportReport?'
+
'position='
+
position
+
'&AuthToken='
+
AuthToken
);
'position='
+
position
+
'&AuthToken='
+
AuthToken
+
'&pk_type=2'
);
},
//pk列表 团队导出
exportTeamList
:
function
()
{
var
params
=
{};
var
AuthToken
=
user_info_obj
.
AuthToken
;
window
.
open
(
'/index/exportReportStore?'
+
'&AuthToken='
+
AuthToken
);
window
.
open
(
'/index/exportReportStore?'
+
'&AuthToken='
+
AuthToken
+
'&pk_type=2'
);
},
getList
:
function
(
pageNo
)
{
$
(
".pk-container-detail-a>span"
).
hide
();
var
params
=
{};
params
.
position
=
pkList
.
mainTabIndex
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
pk_type
=
2
;
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/getRandKingList'
,
//拜访列表
...
...
@@ -157,6 +158,7 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
$
(
".pk-container-detail-a>span"
).
hide
();
var
params
=
{};
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
pk_type
=
2
;
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/getStoreRandKingList'
,
//团队
...
...
@@ -172,7 +174,7 @@ define(['doT', 'text!temp/pk_list_template_tpl.html.html', 'css!style/home.css',
$
(
".pk-container-detail-a>span"
).
eq
(
_length
).
prevAll
().
show
();
if
(
data
.
code
==
200
)
{
pkList
.
mainTabArr
=
data
.
data
;
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'team_pk_list_tpl'
).
innerHTML
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'team_pk_
week_
list_tpl'
).
innerHTML
);
$
(
"#pk_list"
).
html
(
doTtmpl
(
data
.
data
[
pkList
.
mainTabIndexTwo
]));
add_page
(
data
.
data
.
total
,
pageNo
,
pkList
.
pageSize
,
pkList
.
getList
);
}
else
{
...
...
public/resource/template/house_template_tpl.html
View file @
113b6de1
...
...
@@ -99,7 +99,7 @@
[
%
}
%
]
[
%
if
(
check_auth
(
"index/editExclusive"
)
||
it
[
item
][
"is_exclusive_type"
]
==
0
||
it
[
item
][
"auth_edit_exclusive"
]
==
1
)
{
%
]
[
%
if
(
it
[
item
][
"is_can_edit_only_contract"
]
==
0
)
{
%
]
<
a
class
=
"btn1 btn-success dujia btn-default-hide-display"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
exclusive
=
'[%= it[item]["auth_edit_exclusive"] %]'
>
是否独家
<
/a
>
[
%
}
%
]
...
...
public/resource/template/pk_week_list_template_tpl.html.html
View file @
113b6de1
...
...
@@ -22,7 +22,7 @@
[
%
}
%
]
</script>
<script
id=
"team_pk_list_tpl"
type=
"text/template"
>
<script
id=
"team_pk_
week_
list_tpl"
type=
"text/template"
>
[
%
var
sw
=
function
(
s
){
return
++
s
};
%
]
[
%
if
(
it
)
{
%
]
<
tr
>
...
...
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