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
4e37071c
Commit
4e37071c
authored
Oct 08, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拨打电话修改
parent
06c737c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+1
-1
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+11
-2
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
4e37071c
...
...
@@ -217,7 +217,7 @@
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
src=
"/app/js/common.js?new42"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new6
1
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new6
2
"
></script>
</body>
...
...
public/app/js/customerinfo_details_new.js
View file @
4e37071c
...
...
@@ -629,6 +629,7 @@ function loadMain(){
layer
.
open
({
content
:
'提交成功'
,
btn
:
[
'确定'
],
shadeClose
:
false
,
yes
:
function
(
_index
){
location
.
reload
();
...
...
@@ -638,17 +639,22 @@ function loadMain(){
};
}
else
{
layerTipsX
(
data
[
'msg'
]);
_btnSaveTemp
.
hide
();
_btnSave
.
css
(
'display'
,
'block'
);
};
}
else
{
layerTipsX
(
'数据错误'
);
_btnSaveTemp
.
hide
();
_btnSave
.
css
(
'display'
,
'block'
);
};
},
error
:
function
()
{
layerTipsX
(
'error'
);
_btnSaveTemp
.
hide
();
_btnSave
.
css
(
'display'
,
'block'
);
//不能卸载complete里,因为还有解绑事件,要在解绑完成时再做处理
},
complete
:
function
(
xhr
,
textStatus
){
_btnSaveTemp
.
hide
();
_btnSave
.
css
(
'display'
,
'block'
);
if
(
textStatus
===
'timeout'
){
layerTipsX
(
'请求超时'
);
};
...
...
@@ -676,6 +682,7 @@ function loadMain(){
console
.
log
(
'释放成功'
);
layer
.
open
({
content
:
'提交成功'
,
shadeClose
:
false
,
btn
:
[
'确定'
],
yes
:
function
(
_index
){
...
...
@@ -694,6 +701,8 @@ function loadMain(){
layerTipsX
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
){
_btnSaveTemp
.
hide
();
_btnSave
.
css
(
'display'
,
'block'
);
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