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
afca219f
Commit
afca219f
authored
Oct 26, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人列表 修改
parent
7d130a5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
agent.js
public/resource/js/agent.js
+8
-9
realtimePerformance.js
public/resource/js/realtimePerformance.js
+1
-0
No files found.
public/resource/js/agent.js
View file @
afca219f
...
...
@@ -181,17 +181,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
$
(
this
).
siblings
(
".yetai_checkbox"
).
removeClass
(
"isCheck"
).
addClass
(
"btn-info"
).
removeClass
(
'btn-warning'
);
$
(
this
).
addClass
(
"isCheck"
).
removeClass
(
"btn-info"
).
addClass
(
'btn-warning'
);
};
if
(
$
(
'.isCheck'
).
length
!=
0
){
if
(
$
(
'.isCheck'
).
html
()
==
'已离职
'
){
if
(
$
(
".yetai_checkbox:eq(0)"
).
html
()
==
'已离职'
&&
$
(
".yetai_checkbox:eq(1)"
).
html
()
==
'长假
'
){
params
.
type
=
2
;
}
if
(
$
(
'.isCheck'
).
html
()
==
'已长假'
){
}
if
(
$
(
".yetai_checkbox:eq(0)"
).
html
()
==
'离职'
&&
$
(
".yetai_checkbox:eq(1)"
).
html
()
==
'已长假'
){
params
.
type
=
1
;
}
}
else
{
params
.
type
=
$
(
this
).
attr
(
"data-status"
);
console
.
log
(
11
)
};
}
if
(
$
(
".yetai_checkbox:eq(0)"
).
html
()
==
'离职'
&&
$
(
".yetai_checkbox:eq(1)"
).
html
()
==
'长假'
){
params
.
type
=
0
;
}
$
.
ajax
({
//经纪人 离职 长假
'type'
:
'POST'
,
'url'
:
'/index/updateStatus'
,
...
...
public/resource/js/realtimePerformance.js
View file @
afca219f
...
...
@@ -1147,6 +1147,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
$
(
'#bargaininfo_id_span'
).
html
(
data
.
data
.
id
);
$
(
'#bargaininfo_shop_type'
).
html
(
data
.
data
.
shop_type
==
'1'
?
'街铺'
:
'商场'
);
$
(
'#bargaininfo_is_open'
).
val
(
data
.
data
.
is_open
);
$
(
'#bargaininfo_beizhu'
).
val
(
data
.
data
.
content
);
...
...
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