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
357d07a8
Commit
357d07a8
authored
Oct 23, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表 客户跟进列表 防重复提交修改
parent
a12a11cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+2
-1
user.js
public/resource/js/user.js
+3
-2
No files found.
public/resource/js/RemarkFollowIndex.js
View file @
357d07a8
...
...
@@ -1502,7 +1502,6 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
var
temp
=
document
.
getElementById
(
'remark_follow_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
data
.
list
));
user
.
isAjaxSaving
=
false
;
//请求结束,再改为初始状态
/*分页代码*/
add_page
(
data
.
data
.
data
.
total
,
pageNo
,
user
.
pageSize
,
user
.
getList
);
...
...
@@ -1519,6 +1518,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
},
complete
:
function
(){
$
(
'#main_loading_pic'
).
hide
();
user
.
isAjaxSaving
=
false
;
//请求结束,再改为初始状态
}
});
}
...
...
public/resource/js/user.js
View file @
357d07a8
...
...
@@ -1174,7 +1174,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
'#note_look'
).
val
(
''
);
$
(
'.look-shop'
).
val
(
''
);
$
(
'.look-shop'
).
removeAttr
(
'data-id'
);
user
.
isAjaxSaving
=
false
;
//请求结束,再改为初始状态
$
(
"#modal-takeLook"
).
modal
(
'hide'
);
//提交成功后 关闭弹窗
}
else
{
alert
(
data
.
msg
);
...
...
@@ -1182,6 +1182,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
},
complete
:
function
(
xhr
,
textStatus
){
user
.
isAjaxSaving
=
false
;
//请求结束,再改为初始状态
if
(
textStatus
===
'timeout'
){
layerTipsX
(
'请求超时'
);
};
...
...
@@ -1474,7 +1475,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
alert
(
'修改成功'
);
user
.
isAjaxSaving
=
false
;
//请求结束,再改为初始状态
user
.
getGenjincon
();
$
(
'#genj_text'
).
val
(
''
);
// $("#modal-record").modal('hide');
...
...
@@ -1483,6 +1483,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
},
complete
:
function
(
xhr
,
textStatus
){
user
.
isAjaxSaving
=
false
;
//请求结束,再改为初始状态
if
(
textStatus
===
'timeout'
){
layerTipsX
(
'请求超时'
);
};
...
...
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