Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
country-energy-ecological-construction
Project
Project
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
范加坤
country-energy-ecological-construction
Commits
b9e298fa
Commit
b9e298fa
authored
Jul 29, 2021
by
范加坤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zhaoqi
parent
084bc4ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.vue
src/pages/methaneUpgrade/index.vue
+3
-3
No files found.
src/pages/methaneUpgrade/index.vue
View file @
b9e298fa
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
request
from
'../../api/layer'
//
import request from '../../api/layer'
import
DateWidget
from
'../../components/DateWidget/DateWidget.vue'
import
DateWidget
from
'../../components/DateWidget/DateWidget.vue'
import
Echart
from
'../../components/Echart/Echarts.vue'
import
Echart
from
'../../components/Echart/Echarts.vue'
import
PartWrap
from
'../../components/PartWrap/PartWrap.vue'
import
PartWrap
from
'../../components/PartWrap/PartWrap.vue'
...
@@ -182,7 +182,7 @@ export default {
...
@@ -182,7 +182,7 @@ export default {
},
},
methods
:
{
methods
:
{
async
getYearRange
()
{
async
getYearRange
()
{
let
res
=
await
reques
t
.
aggregation
(
'ra_biogas'
,
{
let
res
=
await
this
.
$api
.
layer
.
defaul
t
.
aggregation
(
'ra_biogas'
,
{
groupFields
:
[
'year'
],
groupFields
:
[
'year'
],
aggregates
:
[
aggregates
:
[
[
'year'
,
'max'
],
[
'year'
,
'max'
],
...
@@ -192,7 +192,7 @@ export default {
...
@@ -192,7 +192,7 @@ export default {
console
.
log
(
res
)
console
.
log
(
res
)
},
},
async
get
()
{
async
get
()
{
let
res
=
await
reques
t
.
query
(
'ra_biogas'
,
{
let
res
=
await
this
.
$api
.
layer
.
defaul
t
.
query
(
'ra_biogas'
,
{
filter
:
[
filter
:
[
'all'
,
'all'
,
[
'='
,
'pcode'
,
'10'
],
[
'='
,
'pcode'
,
'10'
],
...
...
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