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
fb9fb707
Commit
fb9fb707
authored
Jul 19, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人修改
parent
be081784
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
agent.js
public/resource/js/agent.js
+3
-2
agent_template_tpl.html
public/resource/template/agent_template_tpl.html
+1
-1
No files found.
public/resource/js/agent.js
View file @
fb9fb707
...
@@ -102,7 +102,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -102,7 +102,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
document
.
getElementById
(
"form_search"
).
reset
();
document
.
getElementById
(
"form_search"
).
reset
();
});
});
$
(
document
).
delegate
(
".agent_add"
,
"click"
,
function
()
{
//新增
$
(
document
).
delegate
(
".agent_add"
,
"click"
,
function
()
{
//
点击
新增
$
(
"#title"
).
html
(
"新增经纪人"
);
$
(
"#title"
).
html
(
"新增经纪人"
);
$
(
"#password"
).
parent
().
addClass
(
'hide'
);
//新增不显示密码
$
(
"#password"
).
parent
().
addClass
(
'hide'
);
//新增不显示密码
$
(
".form-horizontal"
)[
0
].
reset
();
//重置表单
$
(
".form-horizontal"
)[
0
].
reset
();
//重置表单
...
@@ -115,7 +115,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -115,7 +115,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
agent
.
agent_id
=
$
(
this
).
attr
(
"data-id"
);
agent
.
agent_id
=
$
(
this
).
attr
(
"data-id"
);
$
(
"#password"
).
parent
().
removeClass
(
'hide'
);
//编辑显示密码
$
(
"#password"
).
parent
().
removeClass
(
'hide'
);
//编辑显示密码
$
(
"#password"
).
attr
(
'type'
,
'text'
);
$
(
"#password"
).
attr
(
'type'
,
'text'
);
agent
.
emptyInput
();
//清空表单
//
agent.emptyInput(); //清空表单
agent
.
Edit
();
agent
.
Edit
();
});
});
...
@@ -391,6 +391,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -391,6 +391,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
$
(
"input[name =sex]"
).
val
(
'0'
);
$
(
"input[name =sex]"
).
val
(
'0'
);
$
(
"#admin_off"
).
val
(
'0'
);
$
(
"#admin_off"
).
val
(
'0'
);
$
(
"#remarks"
).
val
(
''
);
$
(
"#remarks"
).
val
(
''
);
agent
.
agent_id
=
''
;
},
},
getList
:
function
(
pageNo
)
{
getList
:
function
(
pageNo
)
{
agent
.
pageNo
=
pageNo
;
agent
.
pageNo
=
pageNo
;
...
...
public/resource/template/agent_template_tpl.html
View file @
fb9fb707
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
[
%
}
%
]
[
%
}
%
]
[
%
if
(
check_auth
(
'index/updateRole'
))
{
%
]
[
%
if
(
check_auth
(
'index/updateRole'
))
{
%
]
<
a
href
=
"#modal-user"
class
=
"btn1 btn-
success
"
id
=
'role'
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
角色设置
<
/a
>
<
a
href
=
"#modal-user"
class
=
"btn1 btn-
danger
"
id
=
'role'
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
角色设置
<
/a
>
[
%
}
%
]
[
%
}
%
]
<!--
绑定手机权限
-->
<!--
绑定手机权限
-->
[
%
if
(
check_auth
(
'index/updateDevice'
))
{
%
]
[
%
if
(
check_auth
(
'index/updateDevice'
))
{
%
]
...
...
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