Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
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
1076fa37
authored
Jun 28, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改超时时间
parent
01373727
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
app/Presenters/BrandSelectorPresenter.php
public/plugins/assets/js/common.js
resources/views/script/BatchOffShelfScript.blade.php
resources/views/script/SupplierListScript.blade.php
resources/views/script/supplier/SupplierBaseScript.blade.php
app/Presenters/BrandSelectorPresenter.php
View file @
1076fa37
...
...
@@ -49,7 +49,7 @@ class BrandSelectorPresenter
page: pageIndex
},
dataType: 'json',
timeout:
1
0000,
timeout:
2
0000,
success: function (res) {
if (!res) return layer.msg('网络错误,请重试', {icon: 5});
if (res.code === 0) {
...
...
public/plugins/assets/js/common.js
View file @
1076fa37
...
...
@@ -67,7 +67,7 @@ function ajax(url, data) {
data
:
data
,
async
:
false
,
dataType
:
'json'
,
timeout
:
1
0000
,
timeout
:
2
0000
,
success
:
function
(
resp
)
{
if
(
resp
)
{
result
=
resp
;
...
...
resources/views/script/BatchOffShelfScript.blade.php
View file @
1076fa37
...
...
@@ -69,7 +69,7 @@
page
:
pageIndex
},
dataType
:
'json'
,
timeout
:
1
0000
,
timeout
:
2
0000
,
success
:
function
(
res
)
{
if
(
!
res
)
return
layer
.
msg
(
'网络错误,请重试'
,
{
icon
:
5
});
if
(
res
.
errcode
===
0
)
{
...
...
resources/views/script/SupplierListScript.blade.php
View file @
1076fa37
...
...
@@ -27,7 +27,7 @@
type
:
'post'
,
async
:
true
,
dataType
:
'json'
,
timeout
:
1
0000
,
timeout
:
2
0000
,
success
:
function
(
res
)
{
if
(
res
.
err_code
===
0
)
{
$
.
each
(
res
.
data
,
function
(
index
,
value
)
{
...
...
resources/views/script/supplier/SupplierBaseScript.blade.php
View file @
1076fa37
...
...
@@ -46,7 +46,7 @@
type
:
'GET'
,
async
:
true
,
dataType
:
'json'
,
timeout
:
1
0000
,
timeout
:
2
0000
,
success
:
function
(
res
)
{
console
.
log
(
supplier_name
);
console
.
log
(
tax_number
);
...
...
@@ -291,7 +291,7 @@
type: 'GET',
async: true,
dataType: 'json',
timeout:
1
0000,
timeout:
2
0000,
success: function (res) {
admin.btnLoading('#recheck_company_info', false);
if (res.err_code === 0) {
...
...
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