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
13aab0ab
Commit
13aab0ab
authored
Oct 23, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人 新增转勤 修改
parent
cc49c080
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
agent.js
public/resource/js/agent.js
+11
-6
storeList.js
public/resource/js/storeList.js
+1
-1
No files found.
public/resource/js/agent.js
View file @
13aab0ab
...
@@ -398,19 +398,24 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -398,19 +398,24 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
alert
(
'提交成功'
);
if
(
data
.
msg
==
'转勤'
){
$
(
"#modal-edit"
).
modal
(
'hide'
);
layer
.
open
({
}
else
{
content
:
'改账号已经有相同账号,请问是否转勤?(转勤 即人员调配另外一个城市)转勤后,所有商铺和客户也都会转到新建的相同手机号里,请确定是否转勤。'
,
layer
.
open
({
content
:
'改账号已经有相同账号,请问是否转勤?(转勤 即人员调配另外一个城市)转勤后,所有商铺和客户也都会转到新建的相同手机号里,请确定是否转勤。'
,
btn
:
[
'确定转勤'
,
'取消转勤'
],
btn
:
[
'确定转勤'
,
'取消转勤'
],
yes
:
function
(
_index
){
yes
:
function
(
_index
){
layer
.
close
(
_index
);
layer
.
close
(
_index
);
console
.
log
(
555
);
agent
.
confirm_old
=
1
;
agent
.
confirm_old
=
1
;
agent
.
Submit_edit
();
agent
.
Submit_edit
();
}
}
});
});
}
else
{
alert
(
'提交成功'
);
$
(
"#modal-edit"
).
modal
(
'hide'
);
}
}
else
if
(
data
.
code
==
101
){
alert
(
data
.
msg
);
}
else
{
}
}
}
}
});
});
...
...
public/resource/js/storeList.js
View file @
13aab0ab
...
@@ -269,7 +269,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -269,7 +269,7 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
){
success
:
function
(
data
){
if
(
data
.
code
==
200
){
if
(
data
.
code
==
200
){
alert
(
'
修改
成功'
);
alert
(
'
提交
成功'
);
$
(
"#modal-edit"
).
modal
(
'hide'
);
$
(
"#modal-edit"
).
modal
(
'hide'
);
}
else
{
}
else
{
alert
(
data
.
msg
);
alert
(
data
.
msg
);
...
...
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