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
e868ad42
Commit
e868ad42
authored
Sep 04, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
城市选择
parent
1266a54b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
commission.js
public/resource/js/commission.js
+1
-1
commissionTotal.js
public/resource/js/commissionTotal.js
+6
-0
performance_subsidiary.js
public/resource/js/performance_subsidiary.js
+1
-1
realtimePerformance.js
public/resource/js/realtimePerformance.js
+3
-0
No files found.
public/resource/js/commission.js
View file @
e868ad42
...
@@ -253,7 +253,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'css!style/home.css', '
...
@@ -253,7 +253,7 @@ define(['doT', 'text!temp/commission_template_tpl.html', 'css!style/home.css', '
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
()){
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"
name[district_id
]"
).
val
()){
if
(
!
$
(
"
[name='district_id'
]"
).
val
()){
alert
(
'请选择部门进行搜索'
);
alert
(
'请选择部门进行搜索'
);
return
return
}
}
...
...
public/resource/js/commissionTotal.js
View file @
e868ad42
...
@@ -469,6 +469,12 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -469,6 +469,12 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
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
();
console
.
log
(
params
)
console
.
log
(
params
)
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"#district_id"
).
val
()){
alert
(
'请选择部门进行搜索'
);
return
}
}
$
.
ajax
({
$
.
ajax
({
url
:
business
.
listUrl
,
//获取列表
url
:
business
.
listUrl
,
//获取列表
type
:
'GET'
,
type
:
'GET'
,
...
...
public/resource/js/performance_subsidiary.js
View file @
e868ad42
...
@@ -328,7 +328,7 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
...
@@ -328,7 +328,7 @@ define(['doT','text!temp/performance_subsidiary_template_tpl.html', 'text!temp/r
'bargain_id'
:
$
.
trim
(
$
(
'#bargain_id'
).
val
()),
'bargain_id'
:
$
.
trim
(
$
(
'#bargain_id'
).
val
()),
};
};
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
$
(
"#district_id2_city"
).
val
()){
if
(
!
$
(
"
name[district_id
]"
).
val
()){
if
(
!
$
(
"
[name='district_id'
]"
).
val
()){
alert
(
'请选择部门进行搜索'
);
alert
(
'请选择部门进行搜索'
);
return
return
}
}
...
...
public/resource/js/realtimePerformance.js
View file @
e868ad42
...
@@ -116,6 +116,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
...
@@ -116,6 +116,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
realtime
.
mainTabIndex
=
_this
.
index
();
realtime
.
mainTabIndex
=
_this
.
index
();
if
(
realtime
.
mainTabIndex
==
0
){
if
(
realtime
.
mainTabIndex
==
0
){
$
(
'.left-phone,#district_id,#guest_stores,#district_id2_city'
).
hide
();
$
(
'.left-phone,#district_id,#guest_stores,#district_id2_city'
).
hide
();
$
(
'#district_id2_city'
).
val
(
''
);
//置空 城市 id
$
(
'#district_id'
).
val
(
''
);
//置空 部门 id
$
(
'#district_id'
).
val
(
''
);
//置空 部门 id
$
(
'#guest_stores'
).
val
(
''
);
//置空 门店id
$
(
'#guest_stores'
).
val
(
''
);
//置空 门店id
realtime
.
agent_id_choose
=
''
;
//将业绩排行的 经纪人id置空
realtime
.
agent_id_choose
=
''
;
//将业绩排行的 经纪人id置空
...
@@ -123,6 +124,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
...
@@ -123,6 +124,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
if
(
realtime
.
mainTabIndex
==
1
){
if
(
realtime
.
mainTabIndex
==
1
){
$
(
'#district_id,#guest_stores,#district_id2_city'
).
show
();
$
(
'#district_id,#guest_stores,#district_id2_city'
).
show
();
$
(
'.left-phone'
).
hide
();
$
(
'.left-phone'
).
hide
();
$
(
'#district_id2_city'
).
val
(
''
);
//置空 城市 id
$
(
'#district_id'
).
val
(
''
);
//置空 部门 id
$
(
'#district_id'
).
val
(
''
);
//置空 部门 id
$
(
'#guest_stores'
).
val
(
''
);
//置空 门店id
$
(
'#guest_stores'
).
val
(
''
);
//置空 门店id
realtime
.
agent_id_choose
=
''
;
//将业绩排行的 经纪人id置空
realtime
.
agent_id_choose
=
''
;
//将业绩排行的 经纪人id置空
...
@@ -130,6 +132,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
...
@@ -130,6 +132,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
};
};
if
(
realtime
.
mainTabIndex
==
2
){
if
(
realtime
.
mainTabIndex
==
2
){
$
(
'.left-phone,#district_id,#guest_stores,#district_id2_city'
).
show
();
$
(
'.left-phone,#district_id,#guest_stores,#district_id2_city'
).
show
();
$
(
'#district_id2_city'
).
val
(
''
);
//置空 城市 id
$
(
'#district_id'
).
val
(
''
);
//置空 部门 id
$
(
'#district_id'
).
val
(
''
);
//置空 部门 id
$
(
'#guest_stores'
).
val
(
''
);
//置空 门店id
$
(
'#guest_stores'
).
val
(
''
);
//置空 门店id
realtime
.
agent_id_choose
=
''
;
//将业绩排行的 经纪人id置空
realtime
.
agent_id_choose
=
''
;
//将业绩排行的 经纪人id置空
...
...
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