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
09f78025
Commit
09f78025
authored
Jan 10, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
职称列表修改
parent
d857f8b9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
professionalListCon.html
application/index/view/broker/professionalListCon.html
+1
-1
getCollection.html
application/index/view/finance/getCollection.html
+2
-2
professionalList.js
public/resource/js/professionalList.js
+18
-0
No files found.
application/index/view/broker/professionalListCon.html
View file @
09f78025
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<ul
class=
"bread_btn"
>
<li>
<li>
<a
href=
"#modal_add_professional"
data-toggle=
"modal"
class=
"btn btn-default"
>
新增职称人员
</a>
<a
href=
"#modal_add_professional"
data-toggle=
"modal"
class=
"btn btn-default
add-professional
"
>
新增职称人员
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
application/index/view/finance/getCollection.html
View file @
09f78025
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
}
}
.modal-body-height
{
.modal-body-height
{
overflow-y
:
auto
;
overflow-y
:
auto
;
height
:
432
px
;
height
:
521
px
;
}
}
#container_body_img_area
>
div
{
#container_body_img_area
>
div
{
float
:
left
;
float
:
left
;
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
margin-top
:
20px
;
margin-top
:
20px
;
}
}
.modal-body-width
{
.modal-body-width
{
width
:
120
0px
;
width
:
97
0px
;
}
}
input
{
input
{
width
:
50%
;
width
:
50%
;
...
...
public/resource/js/professionalList.js
View file @
09f78025
...
@@ -120,6 +120,15 @@ define(['doT', 'text!temp/professional_list_template_tpl.html', 'text!temp/repor
...
@@ -120,6 +120,15 @@ define(['doT', 'text!temp/professional_list_template_tpl.html', 'text!temp/repor
professional
.
agent_id_choose_edit
=
_this
.
attr
(
'data-id'
);
professional
.
agent_id_choose_edit
=
_this
.
attr
(
'data-id'
);
$
(
'#professional_id_edit'
).
val
(
_this
.
attr
(
'data-agent'
));
$
(
'#professional_id_edit'
).
val
(
_this
.
attr
(
'data-agent'
));
});
});
//点击新增职称人员 初始化
_doc
.
on
(
'click'
,
'.add-professional'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
professional
.
agent_id_choose_add
=
''
;
$
(
"#professional_id"
).
val
(
-
1
);
$
(
'#user_agent_name_add'
).
val
(
''
);
});
_doc
.
on
(
'click'
,
'.concel-professional'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'.concel-professional'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
...
@@ -134,6 +143,15 @@ define(['doT', 'text!temp/professional_list_template_tpl.html', 'text!temp/repor
...
@@ -134,6 +143,15 @@ define(['doT', 'text!temp/professional_list_template_tpl.html', 'text!temp/repor
},
},
//新增 职称人员
//新增 职称人员
addProfessional
:
function
()
{
addProfessional
:
function
()
{
if
(
$
(
"#professional_id"
).
val
()
==
-
1
){
alert
(
'请选择职称!!'
)
return
;
}
if
(
!
(
$
.
trim
(
professional
.
agent_id_choose_add
))){
alert
(
'请选择经纪人!!'
)
return
;
}
$
.
ajax
({
$
.
ajax
({
url
:
'/index/updatePosition'
,
url
:
'/index/updatePosition'
,
type
:
'POST'
,
type
:
'POST'
,
...
...
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