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
e621cce3
Commit
e621cce3
authored
Apr 15, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人列表编辑
parent
0c5b2d37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
agent.js
public/resource/js/agent.js
+2
-6
No files found.
public/resource/js/agent.js
View file @
e621cce3
...
@@ -127,7 +127,7 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
...
@@ -127,7 +127,7 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
$
.
ajax
({
$
.
ajax
({
url
:
'/index/getAuth2'
,
url
:
'/index/getAuth2'
,
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
//
async: true,
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
var
temp
=
document
.
getElementById
(
'get_auth_list'
).
innerHTML
;
var
temp
=
document
.
getElementById
(
'get_auth_list'
).
innerHTML
;
...
@@ -152,11 +152,7 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
...
@@ -152,11 +152,7 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
$
(
"#status"
).
val
(
data
.
data
.
status
);
$
(
"#status"
).
val
(
data
.
data
.
status
);
//选中所属角色
//选中所属角色
$
(
"#auth_group_id option"
).
each
(
function
()
{
$
(
"#auth_group_id"
).
val
(
data
.
data
.
auth_group_id
);
if
(
$
(
this
).
val
()
==
data
.
data
.
auth_group_id
)
{
$
(
this
).
attr
(
'selected'
,
'selected'
);
}
});
if
(
data
.
data
.
sex
==
'0'
){
if
(
data
.
data
.
sex
==
'0'
){
$
(
"#sex0"
).
attr
(
'checked'
,
true
);
$
(
"#sex0"
).
attr
(
'checked'
,
true
);
...
...
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