Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
955b48cc
authored
2023-07-04 13:58:45 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登记类型总量模块的修改
1 parent
45fc5511
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
17 deletions
src/components/Echart/Columnarsmat/index.vue
src/components/Echart/Columnarsmat/index.vue
View file @
955b48c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-04 13:
48:00
* @LastEditTime: 2023-07-04 13:
54:34
-->
<
template
>
<!-- 登记类型总量 -->
<Chart
:cdata=
"cdata"
/>
</
template
>
<
script
>
import
Chart
from
"./Chart"
;
import
work
from
"@/api/work"
;
...
...
@@ -17,12 +16,12 @@
cdata
:
{
timer
:
null
,
category
:
[],
lineData
:
[]
,
}
,
}
;
lineData
:
[]
}
}
},
components
:
{
Chart
,
Chart
},
mounted
()
{
this
.
getDjlxtotal
()
...
...
@@ -39,17 +38,13 @@
QLLX
:
""
,
XZQDM
:
""
,
};
let
res
=
await
work
.
getDjlxtotal
(
p
);
res
.
result
.
map
((
item
)
=>
{
return
(
this
.
cdata
.
category
.
push
(
item
.
AREACODE
),
this
.
cdata
.
lineData
.
push
(
item
.
ywtotal
)
);
});
let
res
=
await
work
.
getDjlxtotal
(
p
)
this
.
cdata
.
category
=
res
.
result
.
map
(
item
=>
item
.
AREACODE
)
this
.
cdata
.
lineData
=
res
.
result
.
map
(
item
=>
item
.
ywtotal
)
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
;
this
.
$refs
.
msg
.
messageShow
()
}
})
;
})
}
},
destroyed
()
{
...
...
@@ -57,5 +52,3 @@
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
...
...
Please
register
or
sign in
to post a comment