Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
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
常超
founder_vue
Commits
1d71dac0
Commit
1d71dac0
authored
Sep 27, 2021
by
西瓜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附件上传超时提示
parent
15630162
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
5 deletions
+35
-5
src/api/xsInput/xsInput.js
+5
-2
src/utils/http.js
+3
-3
src/views/xsDetail/fjsc.vue
+0
-0
src/views/ypbg/fbbgEdit.vue
+9
-0
src/views/ypbg/reportEdit.vue
+9
-0
src/views/ypbg/reportRegistration.vue
+9
-0
No files found.
src/api/xsInput/xsInput.js
View file @
1d71dac0
...
...
@@ -78,4 +78,7 @@ post(`${base.alyIP}/shse/deleteObj`, params)
//三书一函删除
export
const
deleteGzry
=
params
=>
post
(
`
${
base
.
alyIP
}
/ssyh/deleteSsyh`
,
params
)
\ No newline at end of file
post
(
`
${
base
.
alyIP
}
/ssyh/deleteSsyh`
,
params
)
export
const
addHcfkFj
=
params
=>
postform
(
`
${
base
.
urlBase
}
/xsHcfkSp/addHcfkFj`
,
params
)
\ No newline at end of file
src/utils/http.js
View file @
1d71dac0
...
...
@@ -169,10 +169,10 @@ export function postform(url, data) {
return
new
Promise
((
resolve
,
reject
)
=>
{
instance
.
post
(
url
,
data
).
then
(
response
=>
{
resolve
(
response
);
}).
catch
(
err
=>
{
reject
(
err
.
data
);
});
}).
catch
(
err
=>
{
reject
(
err
.
data
);
});
})
}
/**
...
...
src/views/xsDetail/fjsc.vue
View file @
1d71dac0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/views/ypbg/fbbgEdit.vue
View file @
1d71dac0
...
...
@@ -585,6 +585,15 @@ export default {
}
})
}
}).
catch
(
err
=>
{
// console.log(err,'超时');
this
.
$alert
(
'上传超时!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'warning'
,
callback
:
()
=>
{
loading
.
close
()
}
})
})
},
onContentChange
(
val
)
{
...
...
src/views/ypbg/reportEdit.vue
View file @
1d71dac0
...
...
@@ -468,6 +468,15 @@ export default {
}
})
}
}).
catch
(
err
=>
{
console
.
log
(
err
,
'超时'
);
this
.
$alert
(
'上传超时!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'warning'
,
callback
:
()
=>
{
loading
.
close
()
}
})
})
},
onContentChange
(
val
)
{
...
...
src/views/ypbg/reportRegistration.vue
View file @
1d71dac0
...
...
@@ -803,6 +803,15 @@ export default {
}
})
}
}).
catch
(
err
=>
{
console
.
log
(
err
,
'超时'
);
this
.
$alert
(
'上传超时!'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'warning'
,
callback
:
()
=>
{
loading
.
close
()
}
})
})
},
httpRequest
(
data
)
{
...
...
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