Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
188787f0
Commit
188787f0
authored
Nov 29, 2023
by
cat
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project9-8' into project9-8
# Conflicts: # src/views/controlPlatform/control.vue
parents
8000a7fe
fba50244
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
index.js
src/api/controlPlatform/index.js
+9
-0
control.vue
src/views/controlPlatform/control.vue
+9
-1
No files found.
src/api/controlPlatform/index.js
View file @
188787f0
...
@@ -8,3 +8,12 @@ export function findCountIdByUpdateDate(query) {
...
@@ -8,3 +8,12 @@ export function findCountIdByUpdateDate(query) {
params
:
query
params
:
query
})
})
}
}
// 查询数量根据修改时间
export
function
findCountIdByFqYy
(
query
)
{
return
request
({
url
:
'/WeHomePage/findCountIdByFqYy'
,
method
:
'get'
,
params
:
query
})
}
src/views/controlPlatform/control.vue
View file @
188787f0
...
@@ -218,7 +218,7 @@ import * as echarts from 'echarts'
...
@@ -218,7 +218,7 @@ import * as echarts from 'echarts'
import
judgeLeaveMessage
from
'svg-sprite-loader/examples/custom-runtime-generator/build/main'
import
judgeLeaveMessage
from
'svg-sprite-loader/examples/custom-runtime-generator/build/main'
// import { controlData } from './apis'
// import { controlData } from './apis'
// import { judgeLeaveMessage } from '@/views/judgeMessageManage/apis'
// import { judgeLeaveMessage } from '@/views/judgeMessageManage/apis'
import
{
findCountIdByUpdateDate
}
from
'@/api/controlPlatform'
import
{
findCountIdByUpdateDate
,
findCountIdByFqYy
}
from
'@/api/controlPlatform'
export
default
{
export
default
{
name
:
'Control'
,
name
:
'Control'
,
data
()
{
data
()
{
...
@@ -226,6 +226,7 @@ export default {
...
@@ -226,6 +226,7 @@ export default {
sumUpdateList
:
[],
sumUpdateList
:
[],
dataList
:
[],
dataList
:
[],
numList
:
[],
numList
:
[],
sumFqYyList
:
[],
isShow
:
true
,
isShow
:
true
,
isShow2
:
false
,
isShow2
:
false
,
judgeMessageData
:
0
,
judgeMessageData
:
0
,
...
@@ -303,6 +304,7 @@ export default {
...
@@ -303,6 +304,7 @@ export default {
this
.
handleGetJudgeMessageData
()
this
.
handleGetJudgeMessageData
()
this
.
handleGetStatisticsData
()
this
.
handleGetStatisticsData
()
this
.
getSumUpdateList
()
this
.
getSumUpdateList
()
this
.
getSumList
()
// 通过监听内容部分的宽度让图表resize
// 通过监听内容部分的宽度让图表resize
var
elementResizeDetectorMaker
=
require
(
'element-resize-detector'
)
var
elementResizeDetectorMaker
=
require
(
'element-resize-detector'
)
var
erd
=
elementResizeDetectorMaker
()
var
erd
=
elementResizeDetectorMaker
()
...
@@ -345,6 +347,12 @@ export default {
...
@@ -345,6 +347,12 @@ export default {
getSumUpdateList
()
{
getSumUpdateList
()
{
findCountIdByUpdateDate
().
then
(
res
=>
{
findCountIdByUpdateDate
().
then
(
res
=>
{
this
.
sumUpdateList
=
res
.
data
this
.
sumUpdateList
=
res
.
data
this
.
sumUpdateList
=
res
.
data
})
},
getSumList
()
{
findCountIdByFqYy
().
then
(
res
=>
{
this
.
sumFqYyList
=
res
.
data
console
.
log
(
'res'
,
res
)
console
.
log
(
'res'
,
res
)
this
.
sumUpdateList
.
forEach
(
item
=>
{
this
.
sumUpdateList
.
forEach
(
item
=>
{
this
.
numList
.
push
(
item
.
sum
)
this
.
numList
.
push
(
item
.
sum
)
...
...
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