Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-file-upload
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ab87c493
authored
Feb 28, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改接口返回类型
1 parent
f7f4ffc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
src/api/upload.js
src/views/services/index.vue
src/api/upload.js
View file @
ab87c49
...
@@ -6,7 +6,7 @@ export default {
...
@@ -6,7 +6,7 @@ export default {
return
window
.
$HTTP
({
return
window
.
$HTTP
({
url
,
url
,
data
,
data
,
returnAll
:
tru
e
returnAll
:
fals
e
})
})
},
},
/**获取列表总数 */
/**获取列表总数 */
...
@@ -15,7 +15,7 @@ export default {
...
@@ -15,7 +15,7 @@ export default {
return
window
.
$HTTP
({
return
window
.
$HTTP
({
url
,
url
,
data
,
data
,
returnAll
:
tru
e
returnAll
:
fals
e
})
})
},
},
/**获取附件值 */
/**获取附件值 */
...
...
src/views/services/index.vue
View file @
ab87c49
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
para
=
{}
para
=
{}
}
}
upload
.
orderCountApi
(
para
).
then
(
res
=>
{
upload
.
orderCountApi
(
para
).
then
(
res
=>
{
const
{
finished
,
total
,
unfinished
}
=
res
.
data
const
{
finished
,
total
,
unfinished
}
=
res
this
.
tabs
[
0
].
num
=
total
this
.
tabs
[
0
].
num
=
total
this
.
tabs
[
1
].
num
=
unfinished
this
.
tabs
[
1
].
num
=
unfinished
this
.
tabs
[
2
].
num
=
finished
this
.
tabs
[
2
].
num
=
finished
...
@@ -136,10 +136,7 @@ export default {
...
@@ -136,10 +136,7 @@ export default {
// 获取列表数据
// 获取列表数据
getServicesList
()
{
getServicesList
()
{
upload
.
orderListApi
(
this
.
paramForm
).
then
(
res
=>
{
upload
.
orderListApi
(
this
.
paramForm
).
then
(
res
=>
{
let
{
code
,
data
}
=
res
let
data
=
res
if
(
code
!=
0
)
{
return
}
data
.
list
.
map
(
item
=>
{
data
.
list
.
map
(
item
=>
{
item
.
successDate
=
new
Date
(
item
.
successDate
).
format
(
'yyyy/MM/dd'
)
item
.
successDate
=
new
Date
(
item
.
successDate
).
format
(
'yyyy/MM/dd'
)
return
item
return
item
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment