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
644da0e5
Commit
644da0e5
authored
Oct 22, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了报告档案
parent
db82cf34
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
60 additions
and
0 deletions
+60
-0
FoodReportManageIndex.vue
...oil-report-manage/report-manage/FoodReportManageIndex.vue
+54
-0
ReportByContract.vue
...soil-report-manage/report-manage/tab/ReportByContract.vue
+0
-0
ReportByReport.vue
...s/soil-report-manage/report-manage/tab/ReportByReport.vue
+0
-0
soil-routes.js
router/soil-routes.js
+6
-0
No files found.
pages/soil-report-manage/report-manage/FoodReportManageIndex.vue
0 → 100644
View file @
644da0e5
<
template
>
<div>
<div
class=
"layout-content-padding"
>
<div
class=
"layout-content-main"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"_changeTabs"
>
<el-tab-pane
label=
"报告档案"
name=
"contract"
/>
<el-tab-pane
label=
"报告台账"
name=
"report"
/>
</el-tabs>
<!--组件加载,缓存-->
<keep-alive>
<!-- eslint-disable-next-line vue/require-component-is -->
<component
:is=
"currentComponent"
></component>
</keep-alive>
</div>
</div>
</div>
</
template
>
<
script
>
import
ReportByContract
from
'./tab/ReportByContract'
import
ReportByReport
from
'./tab/ReportByReport'
/**
* 报告档案
*/
export
default
{
components
:
{
// eslint-disable-next-line vue/no-unused-components
ReportByContract
,
// eslint-disable-next-line vue/no-unused-components
ReportByReport
},
data
()
{
return
{
activeName
:
''
,
// 结束
reportStatus
:
'FLOW_END'
,
currentComponent
:
''
}
},
mounted
()
{
this
.
activeName
=
'contract'
this
.
currentComponent
=
'ReportByContract'
},
methods
:
{
_changeTabs
(
tab
,
event
)
{
if
(
tab
.
name
===
'contract'
)
{
this
.
currentComponent
=
'ReportByContract'
}
else
if
(
tab
.
name
===
'report'
)
{
this
.
currentComponent
=
'ReportByReport'
}
}
}
}
</
script
>
pages/soil-report-manage/report-manage/tab/ReportByContract.vue
0 → 100644
View file @
644da0e5
This diff is collapsed.
Click to expand it.
pages/soil-report-manage/report-manage/tab/ReportByReport.vue
0 → 100644
View file @
644da0e5
This diff is collapsed.
Click to expand it.
router/soil-routes.js
View file @
644da0e5
...
...
@@ -28,6 +28,7 @@ import ReportIssueIndex from '../pages/soil-report-manage/report-issue/ReportIss
import
SampleDisposeIndex
from
'../pages/soil-sample-manage/sample-dispose/SampleDisposeIndex'
import
SurplusDisposeIndex
from
'../pages/soil-sample-manage/sample-surplus-dispose/SurplusDisposeIndex'
import
ClientLocationSearch
from
'../pages/soil-statistics/client_location/ClientLocationIndex'
import
FoodReportManageIndex
from
'../pages/soil-report-manage/report-manage/FoodReportManageIndex'
import
Blank
from
'~/pages/blank'
export
default
[
{
...
...
@@ -141,6 +142,11 @@ export default [
path
:
'report_issue'
,
component
:
ReportIssueIndex
,
meta
:
{
title
:
'报告签发'
}
},
{
path
:
'report_manage'
,
component
:
FoodReportManageIndex
,
meta
:
{
title
:
'报告档案'
}
}
]
},
...
...
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