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
ac3bf037
Commit
ac3bf037
authored
Oct 12, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
城市筛选
parent
05942213
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
60 additions
and
40 deletions
+60
-40
daily_list.html
application/index/view/finance/daily_list.html
+2
-2
agent.js
public/resource/js/agent.js
+8
-8
commissionTotal.js
public/resource/js/commissionTotal.js
+14
-7
financial_daily_list.js
public/resource/js/financial_daily_list.js
+7
-7
openCheckList.js
public/resource/js/openCheckList.js
+6
-0
performanceContrast.js
public/resource/js/performanceContrast.js
+2
-2
performance_subsidiary.js
public/resource/js/performance_subsidiary.js
+11
-7
reportListShop.js
public/resource/js/reportListShop.js
+10
-7
No files found.
application/index/view/finance/daily_list.html
View file @
ac3bf037
...
...
@@ -73,7 +73,7 @@
<tr>
<td
colspan=
"14"
>
<form
id=
"maintable_form_search"
>
<select
class=
"form-control btn2 margin-top-ld"
id=
"financial_city_choose"
>
<
!--<
select class="form-control btn2 margin-top-ld" id="financial_city_choose">
<option value="0">选择城市</option>
<option value="10001">上海市</option>
<option value="10002">杭州市</option>
...
...
@@ -81,7 +81,7 @@
<option value="10004">广州市</option>
<option value="10005">北京市</option>
</select>
</select>
-->
<span
class=
"fore-span margin-left-10"
>
提交时间:
</span>
<input
class=
"form-control btn4"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_create_time"
name=
"start_date"
type=
"date"
>
<span
class=
"fore-span margin-left-10"
>
至
</span>
...
...
public/resource/js/agent.js
View file @
ac3bf037
...
...
@@ -1028,15 +1028,15 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
params
.
group_name
=
$
(
"input[name='groupname']"
).
val
();
params
.
district_id
=
$
(
"#district_id2"
).
val
();
params
.
store_id
=
$
(
"#guest_stores"
).
val
();
//
params.site_id = $("#district_id2_city").val();//站点筛选
params
.
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
params
.
status
=
$
(
"select[name=agent_status]"
).
val
();
params
.
id_card
=
$
(
"#identity_id"
).
val
();
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"#district_id2"
).
val
()){
alert
(
'请选择部门进行搜索'
);
return
}
}
//
if($("#district_id2_city").val()){
//
if(!$("#district_id2").val()){
//
alert('请选择部门进行搜索');
//
return
//
}
//
}
$
.
ajax
({
url
:
'/index/AgentList'
,
type
:
'GET'
,
...
...
@@ -1074,7 +1074,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
},
//导出经纪人列表
maintableExport
:
function
(
pageNo
)
{
window
.
open
(
'/index/AgentList?excel=1'
+
'&'
+
'search='
+
$
(
"input[name='search']"
).
val
()
+
'&group_name='
+
$
(
"input[name='groupname']"
).
val
()
+
'&district_id='
+
$
(
"#district_id2"
).
val
()
+
'&store_id='
+
$
(
"#guest_stores"
).
val
()
+
'&status='
+
$
(
"select[name=agent_status]"
).
val
()
+
'&id_card='
+
$
(
"#identity_id"
).
val
());
window
.
open
(
'/index/AgentList?excel=1'
+
'&'
+
'search='
+
$
(
"input[name='search']"
).
val
()
+
'&group_name='
+
$
(
"input[name='groupname']"
).
val
()
+
'&
site_id='
+
$
(
"#district_id2_city"
).
val
()
+
'&
district_id='
+
$
(
"#district_id2"
).
val
()
+
'&store_id='
+
$
(
"#guest_stores"
).
val
()
+
'&status='
+
$
(
"select[name=agent_status]"
).
val
()
+
'&id_card='
+
$
(
"#identity_id"
).
val
());
},
spandelList
:
function
(
n
)
{
//删除已经保存的图片都调用
$
.
ajax
({
...
...
public/resource/js/commissionTotal.js
View file @
ac3bf037
...
...
@@ -468,13 +468,14 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
params
.
confirm_date
=
$
(
'#confirm_commission'
).
val
();
params
.
district_id
=
$
(
"#district_id"
).
val
();
//部门id 添加字段
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
console
.
log
(
params
)
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"#district_id"
).
val
()){
alert
(
'请选择部门进行搜索'
);
return
}
}
params
.
site_id
=
$
(
'#district_id2_city'
).
val
();
// if($("#district_id2_city").val()){
// if(!$("#district_id").val()){
// alert('请选择部门进行搜索');
// return
// }
// }
$
.
ajax
({
url
:
business
.
listUrl
,
//获取列表
type
:
'GET'
,
...
...
@@ -551,6 +552,8 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
var
district_id
=
$
(
"#district_id"
).
val
();
//部门id 添加字段
var
store_id
=
$
(
'#guest_stores'
).
val
();
var
confirm_date
=
$
(
'#confirm_commission'
).
val
();
var
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
var
str
=
business
.
listUrl
+
'?excel=1'
;
if
(
name
)
{
str
+=
'&name='
+
name
;
...
...
@@ -575,6 +578,10 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
if
(
bargain_end_date
)
{
str
+=
'&bargain_end_date='
+
bargain_end_date
;
}
if
(
site_id
)
{
str
+=
'&site_id='
+
site_id
;
}
if
(
district_id
)
{
str
+=
'&district_id='
+
district_id
;
}
...
...
public/resource/js/financial_daily_list.js
View file @
ac3bf037
...
...
@@ -128,15 +128,15 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
'id'
:
$
(
'#financial_id'
).
val
(),
'status'
:
bargain
.
switchStatus
(),
'is_self'
:
$
(
'#my-review'
).
val
(),
'site_id'
:
$
(
'#
financial_city_choose
'
).
val
(),
'site_id'
:
$
(
'#
district_id2_city
'
).
val
(),
};
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"select[name='district_id']"
).
val
()){
alert
(
'请选择部门进行搜索'
);
return
}
}
//
if($("#district_id2_city").val()){
//
if(!$("select[name='district_id']").val()){
//
alert('请选择部门进行搜索');
//
return
//
}
//
}
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/dailyList'
,
...
...
public/resource/js/openCheckList.js
View file @
ac3bf037
...
...
@@ -626,6 +626,7 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
var
order_id
=
$
(
'#order_id'
).
val
();
var
house_id
=
$
(
'#house_id'
).
val
();
var
house_address
=
$
(
'#house_address'
).
val
();
var
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
var
commit_home
=
$
(
'#commit_home'
).
val
();
var
commit_shop
=
$
(
'#commit_shop'
).
val
();
var
comit_name
=
that
.
agent_id_phone
;
...
...
@@ -676,6 +677,11 @@ define(['doT', 'text!temp/open_check_template_tpl.html', 'css!style/home.css', '
params
.
house_address
=
house_address
;
paramsStr
+=
"house_address="
+
house_address
+
'&'
;
}
if
(
site_id
)
{
params
.
site_id
=
site_id
;
paramsStr
+=
"site_id="
+
site_id
+
'&'
;
}
if
(
commit_home
>
0
)
{
params
.
district_id
=
commit_home
;
paramsStr
+=
"district_id="
+
commit_home
+
'&'
;
...
...
public/resource/js/performanceContrast.js
View file @
ac3bf037
...
...
@@ -130,11 +130,11 @@ define (['doT', 'text!temp/performanceContrast_template_tpl.html','ckfinder','ck
}
if
(
params
.
real_performance_time_end
*
1
<
params
.
real_performance_time_start
*
1
){
alert
(
'实收对比开始时间须
大
于实收对比结束时间'
);
alert
(
'实收对比开始时间须
小
于实收对比结束时间'
);
return
;
}
if
(
params
.
performance_time_end
*
1
<
params
.
performance_time_start
*
1
){
alert
(
'业绩对比开始时间须
大
于业绩对比结束时间'
);
alert
(
'业绩对比开始时间须
小
于业绩对比结束时间'
);
return
;
}
$
(
".search-con"
).
hide
();
//隐藏提示内容
...
...
public/resource/js/performance_subsidiary.js
View file @
ac3bf037
...
...
@@ -167,7 +167,9 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
var
name
=
$
(
'#agent_name'
).
val
();
var
phone
=
$
(
'#agent_phone'
).
val
();
var
bargain_id
=
$
(
'#bargain_id'
).
val
();
window
.
open
(
bargain
.
exportUrl
+
'?'
+
'shop_type='
+
shop_type
+
'&trade_type='
+
trade_type
+
'&create_time_start='
+
create_time_start
+
'&create_time_end='
+
create_time_end
+
'&landmark='
+
landmark
+
'&house_id='
+
house_id
+
'&district_id='
+
district_id
+
'&store_id='
+
store_id
+
'&name='
+
name
+
'&phone='
+
phone
);
var
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
window
.
open
(
bargain
.
exportUrl
+
'?'
+
'shop_type='
+
shop_type
+
'&trade_type='
+
trade_type
+
'&create_time_start='
+
create_time_start
+
'&create_time_end='
+
create_time_end
+
'&landmark='
+
landmark
+
'&house_id='
+
house_id
+
'&district_id='
+
district_id
+
'&store_id='
+
store_id
+
'&name='
+
name
+
'&phone='
+
phone
+
'&site_id='
+
site_id
);
},
// 获取客户详情
Caozuo
:
function
()
{
//获取跟进详情的数据
...
...
@@ -326,13 +328,15 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
'name'
:
$
.
trim
(
$
(
'#agent_name'
).
val
()),
'phone'
:
$
.
trim
(
$
(
'#agent_phone'
).
val
()),
'bargain_id'
:
$
.
trim
(
$
(
'#bargain_id'
).
val
()),
'site_id'
:
$
(
'#district_id2_city'
).
val
(),
};
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"[name='district_id']"
).
val
()){
alert
(
'请选择部门进行搜索'
);
return
}
}
//
if($("#district_id2_city").val()){
//
if(!$("[name='district_id']").val()){
//
alert('请选择部门进行搜索');
//
return
//
}
//
}
$
.
ajax
({
type
:
'GET'
,
url
:
bargain
.
listUrl
,
//获取业绩明细列表
...
...
public/resource/js/reportListShop.js
View file @
ac3bf037
...
...
@@ -2151,15 +2151,16 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
'partial_id'
:
bargain
.
agent_id_phone
,
'user_id'
:
$
(
'#maintable_user_ID'
).
val
(),
'is_pay_log'
:
$
(
'#isPayment'
).
val
(),
'site_id'
:
$
(
"#district_id2_city"
).
val
(),
};
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"select[name='district_id']"
).
val
()){
alert
(
'请选择部门进行搜索'
);
return
}
}
//
if($("#district_id2_city").val()){
//
if(!$("select[name='district_id']").val()){
//
alert('请选择部门进行搜索');
//
return
//
}
//
}
$
.
ajax
({
type
:
'GET'
,
url
:
bargain
.
switchUrl
(),
...
...
@@ -2347,9 +2348,11 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
var
partial_id
=
bargain
.
agent_id_phone
;
var
user_id
=
$
(
'#maintable_user_ID'
).
val
();
var
is_pay_log
=
$
(
'#isPayment'
).
val
();
var
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
var
_url
=
bargain
.
switchUrl
()
+
'?'
;
window
.
open
(
_url
+
'excel='
+
excel
+
'&shop_type='
+
shop_type
+
'&create_time='
+
create_time
+
'&end_time='
+
end_time
+
'&internal_address='
+
internal_address
+
'&user_phone='
+
user_phone
+
'&house_number='
+
house_number
+
'&store_id='
+
store_id
+
'&district_id='
+
district_id
+
'&agent_phone='
+
agent_phone
+
'&bargain_id='
+
bargain_id
+
'&agent_name='
+
agent_name
+
'&partial_id='
+
partial_id
+
'&user_id='
+
user_id
+
'&is_pay_log='
+
is_pay_log
);
window
.
open
(
_url
+
'excel='
+
excel
+
'&shop_type='
+
shop_type
+
'&create_time='
+
create_time
+
'&end_time='
+
end_time
+
'&internal_address='
+
internal_address
+
'&user_phone='
+
user_phone
+
'&house_number='
+
house_number
+
'&store_id='
+
store_id
+
'&district_id='
+
district_id
+
'&agent_phone='
+
agent_phone
+
'&bargain_id='
+
bargain_id
+
'&agent_name='
+
agent_name
+
'&partial_id='
+
partial_id
+
'&user_id='
+
user_id
+
'&is_pay_log='
+
is_pay_log
+
'&site_id='
+
site_id
);
},
// 获取客户详情
Caozuo
:
function
()
{
//获取跟进详情的数据
...
...
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