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
5f625cb4
Commit
5f625cb4
authored
Oct 23, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
92134eb4
de871286
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
1 deletions
+66
-1
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
SoilSampleManage.vue
pages/soil-sample-manage/SoilSampleManage.vue
+6
-1
soil-routes.js
router/soil-routes.js
+6
-0
No files found.
pages/soil-report-manage/report-manage/FoodReportManageIndex.vue
0 → 100644
View file @
5f625cb4
<
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 @
5f625cb4
This diff is collapsed.
Click to expand it.
pages/soil-report-manage/report-manage/tab/ReportByReport.vue
0 → 100644
View file @
5f625cb4
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/SoilSampleManage.vue
View file @
5f625cb4
<
template
>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
@
on-visible-change=
"_visibleChange"
width=
"1200"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
...
...
@@ -177,6 +177,11 @@ export default {
break
}
},
_visibleChange
(
data
)
{
if
(
data
===
false
)
{
this
.
$emit
(
'on-result-change'
)
}
},
_cancel
()
{
this
.
showModal
=
false
},
...
...
router/soil-routes.js
View file @
5f625cb4
...
...
@@ -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