Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
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
wangweidong
patzn-cloud-web-back-soil
Commits
a42dda8d
Commit
a42dda8d
authored
Aug 13, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了首页
parent
02eee1f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
6 deletions
+17
-6
reportIssuePanel.vue
pages/workbench/statistical-panel/reportIssuePanel.vue
+6
-3
writeReportPanel.vue
pages/workbench/statistical-panel/writeReportPanel.vue
+6
-3
meter-routes.js
router/meter-routes.js
+5
-0
No files found.
pages/workbench/statistical-panel/reportIssuePanel.vue
View file @
a42dda8d
<
template
>
<
template
>
<div
style=
"flex: 1;margin-bottom: 10px"
>
<div
@
click=
"_toIssue"
style=
"flex: 1;margin-bottom: 10px"
>
<Card
style=
"width:100%"
>
<Card
style=
"width:100%"
>
<div
class=
"config_meta"
>
<div
class=
"config_meta"
>
<p
class=
"fl"
>
<p
class=
"fl"
>
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
<Button
<Button
v-for=
"(item,index) in buttonList"
v-for=
"(item,index) in buttonList"
:key=
"index"
:key=
"index"
type=
"primary
"
@
click
.
stop=
"_buttonChange(index)
"
:class=
"
{buttonActive :activityIndex === index}"
:class=
"
{buttonActive :activityIndex === index}"
@click="_buttonChange(index)
"
type="primary
"
>
>
{{
item
}}
{{
item
}}
</Button>
</Button>
...
@@ -53,6 +53,9 @@ export default {
...
@@ -53,6 +53,9 @@ export default {
// this.num = this.$store.state.FoodContract.model;
// this.num = this.$store.state.FoodContract.model;
// });
// });
// },
// },
_toIssue
()
{
this
.
$router
.
push
(
'/meter/certificate/certificate_issue'
)
},
_buttonChange
(
index
)
{
_buttonChange
(
index
)
{
this
.
activityIndex
=
index
this
.
activityIndex
=
index
switch
(
index
)
{
switch
(
index
)
{
...
...
pages/workbench/statistical-panel/writeReportPanel.vue
View file @
a42dda8d
<
template
>
<
template
>
<div
style=
"flex: 1;margin-bottom: 10px"
>
<div
@
click=
"_toWrite()"
style=
"flex: 1;margin-bottom: 10px"
>
<Card
style=
"width:100%"
>
<Card
style=
"width:100%"
>
<div
class=
"config_meta"
>
<div
class=
"config_meta"
>
<p
class=
"fl"
>
<p
class=
"fl"
>
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
<Button
<Button
v-for=
"(item,index) in buttonList"
v-for=
"(item,index) in buttonList"
:key=
"index"
:key=
"index"
type=
"primary"
:class=
"
{buttonActive :activityIndex === index}"
:class=
"
{buttonActive :activityIndex === index}"
@click="_buttonChange(index)"
@click.stop="_buttonChange(index)"
type="primary"
>
>
{{
item
}}
{{
item
}}
</Button>
</Button>
...
@@ -48,6 +48,9 @@ export default {
...
@@ -48,6 +48,9 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
_toWrite
()
{
this
.
$router
.
push
(
'/meter/certificate/certificate_make'
)
},
_request
:
async
function
()
{
_request
:
async
function
()
{
// type 请求 0:当天 1:本周 2:本月
// type 请求 0:当天 1:本周 2:本月
const
result
=
await
meterSample
.
makingCount
({
type
:
this
.
type
})
const
result
=
await
meterSample
.
makingCount
({
type
:
this
.
type
})
...
...
router/meter-routes.js
View file @
a42dda8d
...
@@ -49,6 +49,11 @@ import MeterSampleQuantity from '../pages/meter-statistics/sample-quantity/Meter
...
@@ -49,6 +49,11 @@ import MeterSampleQuantity from '../pages/meter-statistics/sample-quantity/Meter
import
MeterReportTemplate
from
'../pages/meter-certificate/template/MeterReportTemplate'
import
MeterReportTemplate
from
'../pages/meter-certificate/template/MeterReportTemplate'
import
Blank
from
'~/pages/blank'
import
Blank
from
'~/pages/blank'
export
default
[
export
default
[
// {
// path: '/',
// component: workbench,
// meta: { title: '首页' }
// },
{
{
path
:
'workbench'
,
path
:
'workbench'
,
component
:
workbench
,
component
:
workbench
,
...
...
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