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
2bcb10ed
Commit
2bcb10ed
authored
Nov 01, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
ac3f97be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
agent.html
application/index/view/broker/agent.html
+1
-1
public.css
public/resource/css/public.css
+2
-1
agent.js
public/resource/js/agent.js
+0
-7
No files found.
application/index/view/broker/agent.html
View file @
2bcb10ed
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
id=
"title_add"
>
<h4
class=
"modal-title"
id=
"title_add"
>
新增经纪人
666
新增经纪人
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
...
public/resource/css/public.css
View file @
2bcb10ed
...
@@ -748,5 +748,5 @@ p{margin: 0;}
...
@@ -748,5 +748,5 @@ p{margin: 0;}
background
:
rgba
(
0
,
0
,
0
,
0.6
);
background
:
rgba
(
0
,
0
,
0
,
0.6
);
border-radius
:
0.1rem
;
border-radius
:
0.1rem
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
z-index
:
10000
;
/*z-index : 10000;*/
}
}
\ No newline at end of file
public/resource/js/agent.js
View file @
2bcb10ed
...
@@ -368,19 +368,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -368,19 +368,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
if
(
params
.
district_id
==
''
)
{
if
(
params
.
district_id
==
''
)
{
alert
(
'所属部门必填'
);
alert
(
'所属部门必填'
);
$
(
"#modal-edit"
).
show
();
return
false
;
return
false
;
}
}
if
(
params
.
store_id
==
''
)
{
if
(
params
.
store_id
==
''
)
{
alert
(
'所属门店必填'
);
alert
(
'所属门店必填'
);
$
(
"#modal-edit"
).
show
();
return
false
;
return
false
;
}
}
if
(
params
.
phone
.
length
!=
11
)
{
if
(
params
.
phone
.
length
!=
11
)
{
alert
(
'手机号码错误!'
);
alert
(
'手机号码错误!'
);
$
(
"#modal-edit"
).
show
();
return
false
;
return
false
;
}
}
...
@@ -435,19 +432,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -435,19 +432,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
if
(
params
.
district_id
==
''
)
{
if
(
params
.
district_id
==
''
)
{
alert
(
'所属部门必填'
);
alert
(
'所属部门必填'
);
$
(
"#modal-edit"
).
show
();
return
false
;
return
false
;
}
}
if
(
params
.
store_id
==
''
)
{
if
(
params
.
store_id
==
''
)
{
alert
(
'所属门店必填'
);
alert
(
'所属门店必填'
);
$
(
"#modal-edit"
).
show
();
return
false
;
return
false
;
}
}
if
(
params
.
phone
.
length
!=
11
)
{
if
(
params
.
phone
.
length
!=
11
)
{
alert
(
'手机号码错误!'
);
alert
(
'手机号码错误!'
);
$
(
"#modal-edit"
).
show
();
return
false
;
return
false
;
}
}
...
@@ -461,7 +455,6 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -461,7 +455,6 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
alert
(
'提交成功'
);
alert
(
'提交成功'
);
$
(
"#modal-edit"
).
modal
(
'hide'
);
$
(
"#modal-edit"
).
modal
(
'hide'
);
}
else
if
(
data
.
code
==
101
){
}
else
if
(
data
.
code
==
101
){
console
.
log
(
555
);
alert
(
data
.
msg
);
alert
(
data
.
msg
);
}
else
{
}
else
{
...
...
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