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
ccf8fbba
Commit
ccf8fbba
authored
Oct 12, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
城市
parent
7d783e82
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
50 additions
and
39 deletions
+50
-39
commission.js
public/resource/js/commission.js
+10
-7
commissionTotal.js
public/resource/js/commissionTotal.js
+5
-5
integrity.js
public/resource/js/integrity.js
+8
-6
methodOfAnalysis.js
public/resource/js/methodOfAnalysis.js
+8
-6
qualityAssessment.js
public/resource/js/qualityAssessment.js
+8
-6
reportListShop.js
public/resource/js/reportListShop.js
+3
-3
valueAssessment.js
public/resource/js/valueAssessment.js
+8
-6
No files found.
public/resource/js/commission.js
View file @
ccf8fbba
...
@@ -252,12 +252,14 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'css!style/home.css', '
...
@@ -252,12 +252,14 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'css!style/home.css', '
params
.
partial_id
=
bargain
.
agent_id_phone
;
//分佣方姓名 下拉式 搜索
params
.
partial_id
=
bargain
.
agent_id_phone
;
//分佣方姓名 下拉式 搜索
params
.
district_id
=
$
(
"select[name='district_id'] option:selected"
).
val
();
//部门
params
.
district_id
=
$
(
"select[name='district_id'] option:selected"
).
val
();
//部门
params
.
store_id
=
$
(
"select[name='store_id'] option:selected"
).
val
();
//门店
params
.
store_id
=
$
(
"select[name='store_id'] option:selected"
).
val
();
//门店
if
(
$
(
"#district_id2_city"
).
val
()){
params
.
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
if
(
!
$
(
"[name='district_id']"
).
val
()){
alert
(
'请选择部门进行搜索'
);
// if($("#district_id2_city").val()){
return
// if(!$("[name='district_id']").val()){
}
// alert('请选择部门进行搜索');
}
// return
// }
// }
$
.
ajax
({
$
.
ajax
({
url
:
bargain
.
listUrl
,
//获取列表
url
:
bargain
.
listUrl
,
//获取列表
type
:
'GET'
,
type
:
'GET'
,
...
@@ -290,8 +292,9 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'css!style/home.css', '
...
@@ -290,8 +292,9 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'css!style/home.css', '
var
store_id
=
$
(
"select[name='store_id'] option:selected"
).
val
();
var
store_id
=
$
(
"select[name='store_id'] option:selected"
).
val
();
var
house_number
=
$
(
'#internal_num'
).
val
();
var
house_number
=
$
(
'#internal_num'
).
val
();
var
bargain_id
=
$
(
'#bargain_id'
).
val
();
var
bargain_id
=
$
(
'#bargain_id'
).
val
();
var
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
window
.
open
(
bargain
.
exportUrl
+
'?create_time='
+
create_time
+
'&end_time='
+
end_time
+
'&internal_address='
+
internal_address
+
'&partial_id='
+
partial_id
+
'&district_id='
+
district_id
+
'&house_number='
+
house_number
+
'&bargain_id='
+
bargain_id
+
'&store_id='
+
store_id
);
window
.
open
(
bargain
.
exportUrl
+
'?create_time='
+
create_time
+
'&end_time='
+
end_time
+
'&internal_address='
+
internal_address
+
'&partial_id='
+
partial_id
+
'&district_id='
+
district_id
+
'&house_number='
+
house_number
+
'&bargain_id='
+
bargain_id
+
'&store_id='
+
store_id
+
'&site_id='
+
site_id
);
},
},
getDistrict
:
function
()
{
getDistrict
:
function
()
{
...
...
public/resource/js/commissionTotal.js
View file @
ccf8fbba
...
@@ -468,7 +468,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -468,7 +468,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
params
.
confirm_date
=
$
(
'#confirm_commission'
).
val
();
params
.
confirm_date
=
$
(
'#confirm_commission'
).
val
();
params
.
district_id
=
$
(
"#district_id"
).
val
();
//部门id 添加字段
params
.
district_id
=
$
(
"#district_id"
).
val
();
//部门id 添加字段
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
site_id
=
$
(
'#district_id2_city'
).
val
();
//
params.site_id = $('#district_id2_city').val();
// if($("#district_id2_city").val()){
// if($("#district_id2_city").val()){
// if(!$("#district_id").val()){
// if(!$("#district_id").val()){
...
@@ -552,7 +552,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -552,7 +552,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
var
district_id
=
$
(
"#district_id"
).
val
();
//部门id 添加字段
var
district_id
=
$
(
"#district_id"
).
val
();
//部门id 添加字段
var
store_id
=
$
(
'#guest_stores'
).
val
();
var
store_id
=
$
(
'#guest_stores'
).
val
();
var
confirm_date
=
$
(
'#confirm_commission'
).
val
();
var
confirm_date
=
$
(
'#confirm_commission'
).
val
();
var
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
//
var site_id = $("#district_id2_city").val();//站点筛选
var
str
=
business
.
listUrl
+
'?excel=1'
;
var
str
=
business
.
listUrl
+
'?excel=1'
;
if
(
name
)
{
if
(
name
)
{
...
@@ -579,9 +579,9 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -579,9 +579,9 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
str
+=
'&bargain_end_date='
+
bargain_end_date
;
str
+=
'&bargain_end_date='
+
bargain_end_date
;
}
}
if
(
site_id
)
{
//
if (site_id) {
str
+=
'&site_id='
+
site_id
;
//
str += '&site_id=' + site_id;
}
//
}
if
(
district_id
)
{
if
(
district_id
)
{
str
+=
'&district_id='
+
district_id
;
str
+=
'&district_id='
+
district_id
;
}
}
...
...
public/resource/js/integrity.js
View file @
ccf8fbba
...
@@ -119,12 +119,14 @@
...
@@ -119,12 +119,14 @@
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
pageNo
=
report
.
pageNo
;
params
.
pageNo
=
report
.
pageNo
;
params
.
pageSize
=
report
.
pageSize
;
params
.
pageSize
=
report
.
pageSize
;
if
(
$
(
"#district_id2_city"
).
val
()){
params
.
site_id
=
$
(
'#district_id2_city'
).
val
();
if
(
!
$
(
"#district_id"
).
val
()){
alert
(
'请选择部门进行搜索'
);
// if($("#district_id2_city").val()){
return
// if(!$("#district_id").val()){
}
// alert('请选择部门进行搜索');
}
// return
// }
// }
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/index/integrity'
,
//日报
url
:
'/index/integrity'
,
//日报
...
...
public/resource/js/methodOfAnalysis.js
View file @
ccf8fbba
...
@@ -119,12 +119,14 @@
...
@@ -119,12 +119,14 @@
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
pageNo
=
report
.
pageNo
;
params
.
pageNo
=
report
.
pageNo
;
params
.
pageSize
=
report
.
pageSize
;
params
.
pageSize
=
report
.
pageSize
;
if
(
$
(
"#district_id2_city"
).
val
()){
params
.
site_id
=
$
(
'#district_id2_city'
).
val
();
if
(
!
$
(
"#district_id"
).
val
()){
alert
(
'请选择部门进行搜索'
);
// if($("#district_id2_city").val()){
return
// if(!$("#district_id").val()){
}
// alert('请选择部门进行搜索');
}
// return
// }
// }
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/index/methodOfAnalysis'
,
url
:
'/index/methodOfAnalysis'
,
...
...
public/resource/js/qualityAssessment.js
View file @
ccf8fbba
...
@@ -118,12 +118,14 @@
...
@@ -118,12 +118,14 @@
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
pageNo
=
report
.
pageNo
;
params
.
pageNo
=
report
.
pageNo
;
params
.
pageSize
=
report
.
pageSize
;
params
.
pageSize
=
report
.
pageSize
;
if
(
$
(
"#district_id2_city"
).
val
()){
params
.
site_id
=
$
(
'#district_id2_city'
).
val
();
if
(
!
$
(
"#district_id"
).
val
()){
alert
(
'请选择部门进行搜索'
);
// if($("#district_id2_city").val()){
return
// if(!$("#district_id").val()){
}
// alert('请选择部门进行搜索');
}
// return
// }
// }
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/index/qualityAssessment'
,
url
:
'/index/qualityAssessment'
,
...
...
public/resource/js/reportListShop.js
View file @
ccf8fbba
...
@@ -2151,7 +2151,7 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
...
@@ -2151,7 +2151,7 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
'partial_id'
:
bargain
.
agent_id_phone
,
'partial_id'
:
bargain
.
agent_id_phone
,
'user_id'
:
$
(
'#maintable_user_ID'
).
val
(),
'user_id'
:
$
(
'#maintable_user_ID'
).
val
(),
'is_pay_log'
:
$
(
'#isPayment'
).
val
(),
'is_pay_log'
:
$
(
'#isPayment'
).
val
(),
'site_id'
:
$
(
"#district_id2_city"
).
val
(),
//
'site_id' : $("#district_id2_city").val(),
};
};
...
@@ -2348,11 +2348,11 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
...
@@ -2348,11 +2348,11 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
var
partial_id
=
bargain
.
agent_id_phone
;
var
partial_id
=
bargain
.
agent_id_phone
;
var
user_id
=
$
(
'#maintable_user_ID'
).
val
();
var
user_id
=
$
(
'#maintable_user_ID'
).
val
();
var
is_pay_log
=
$
(
'#isPayment'
).
val
();
var
is_pay_log
=
$
(
'#isPayment'
).
val
();
var
site_id
=
$
(
"#district_id2_city"
).
val
();
//站点筛选
//
var site_id = $("#district_id2_city").val();//站点筛选
var
_url
=
bargain
.
switchUrl
()
+
'?'
;
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
+
'&site_id='
+
site_id
);
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
);
},
},
// 获取客户详情
// 获取客户详情
Caozuo
:
function
()
{
//获取跟进详情的数据
Caozuo
:
function
()
{
//获取跟进详情的数据
...
...
public/resource/js/valueAssessment.js
View file @
ccf8fbba
...
@@ -119,12 +119,14 @@
...
@@ -119,12 +119,14 @@
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
store_id
=
$
(
'#guest_stores'
).
val
();
params
.
pageNo
=
report
.
pageNo
;
params
.
pageNo
=
report
.
pageNo
;
params
.
pageSize
=
report
.
pageSize
;
params
.
pageSize
=
report
.
pageSize
;
if
(
$
(
"#district_id2_city"
).
val
()){
params
.
site_id
=
$
(
'#district_id2_city'
).
val
();
if
(
!
$
(
"#district_id"
).
val
()){
alert
(
'请选择部门进行搜索'
);
// if($("#district_id2_city").val()){
return
// if(!$("#district_id").val()){
}
// alert('请选择部门进行搜索');
}
// return
// }
// }
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/index/valueAssessment'
,
//日报
url
:
'/index/valueAssessment'
,
//日报
...
...
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