Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6aa4cf90
authored
Feb 19, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整JS
parent
080a8e48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
16 deletions
public/js/order.js
public/js/order.js
View file @
6aa4cf90
...
...
@@ -420,7 +420,9 @@
location
.
reload
();
// layer.close();
}
else
{
layer
.
alert
(
resp
.
errmsg
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(){
...
...
@@ -505,7 +507,9 @@
location
.
reload
();
},
1000
);
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
})
return
false
;
...
...
@@ -538,7 +542,9 @@
location
.
reload
();
return
false
;
}
else
{
layer
.
alert
(
resp
.
errmsg
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(){
...
...
@@ -616,7 +622,9 @@
location
.
reload
();
return
false
;
}
else
{
layer
.
alert
(
resp
.
errmsg
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(){
...
...
@@ -661,7 +669,9 @@
btn
:
[],
})
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
)
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(
err
)
{
...
...
@@ -711,7 +721,9 @@
if
(
resp
.
errcode
==
0
){
location
.
href
=
url
;
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
)
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
}
});
...
...
@@ -767,7 +779,9 @@
if
(
resp
.
errcode
==
0
){
location
.
href
=
url
;
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
)
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
}
});
...
...
@@ -847,7 +861,9 @@
if
(
resp
.
errcode
==
0
){
location
.
reload
();
}
else
{
layer
.
msg
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
}
})
...
...
@@ -922,7 +938,9 @@
location
.
reload
();
return
false
;
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
}
});
...
...
@@ -1524,7 +1542,9 @@
location
.
href
=
url
;
},
1000
);
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
...
...
@@ -1547,7 +1567,9 @@
location
.
href
=
url
;
},
1000
);
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
...
...
@@ -1630,7 +1652,9 @@
location
.
reload
();
},
1000
);
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(
err
)
{
...
...
@@ -1665,7 +1689,9 @@
location
.
reload
();
},
1000
);
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(
err
)
{
...
...
@@ -1686,7 +1712,9 @@
location
.
reload
();
},
1000
);
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(
err
)
{
...
...
@@ -1753,7 +1781,9 @@
location
.
reload
();
return
false
;
}
else
{
layer
.
alert
(
resp
.
errmsg
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
error
:
function
(){
...
...
@@ -1922,7 +1952,9 @@
location
.
href
=
'/details/'
+
order_id
;
// 退款列表
},
1000
);
}
else
{
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
);
layer
.
alert
(
resp
.
errmsg
||
'网络异常'
,
function
(){
location
.
reload
();
});
}
},
...
...
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