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
a796258f
Commit
a796258f
authored
Dec 15, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了报告台账预览
parent
28607137
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
27 deletions
+11
-27
ReportInfoMake.vue
pages/soil-report-manage/report-make/tabs/ReportInfoMake.vue
+11
-27
No files found.
pages/soil-report-manage/report-make/tabs/ReportInfoMake.vue
View file @
a796258f
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
this
.
$refs
.
refModal
.
_open
(
data
)
this
.
$refs
.
refModal
.
_open
(
data
)
break
break
case
'预览/编辑报告'
:
case
'预览/编辑报告'
:
this
.
_viewReport
(
data
.
id
)
this
.
_viewReport
(
data
)
break
break
case
'操作记录'
:
case
'操作记录'
:
this
.
_record
(
data
.
id
)
this
.
_record
(
data
.
id
)
...
@@ -258,32 +258,15 @@ export default {
...
@@ -258,32 +258,15 @@ export default {
_upload
(
id
)
{
_upload
(
id
)
{
this
.
$refs
.
refModal
.
_open
(
id
)
this
.
$refs
.
refModal
.
_open
(
id
)
},
},
_viewReport
(
id
)
{
_viewReport
(
data
)
{
this
.
$openWindowModeless
({
id
:
id
})
if
(
data
)
{
// this.$store.dispatch('FoodSampleReport/viewReport', id).then(() => {
this
.
$openWindowModeless
({
// const data = this.$store.state.FoodSampleReport.page
objectKey
:
data
.
objectKey
,
// if (data !== undefined) {
idType
:
10
,
// // 查询token,后台使用pageoffice调接口查询数据,需要token,否则提示未登录
id
:
data
.
id
,
// this.$store.dispatch('Redirect/getAccessToken').then(() => {
isReport
:
4
// const token = this.$store.state.Redirect.str
})
// if (token) {
}
// if (localStorage.getItem('reportReadOnly')) {
// // 只读
// this.$openWindowModeless({ objectKey: data.objectKey, id: id })
// } else {
// // 编辑
// this.$openWindowModeless({
// objectKey: data.objectKey,
// id: id,
// isReport: 1,
// token: token,
// reportStatus: this.reportStatus
// })
// }
// }
// })
// }
// })
},
},
_tableResultChange
(
msg
,
data
)
{
_tableResultChange
(
msg
,
data
)
{
switch
(
msg
)
{
switch
(
msg
)
{
...
@@ -304,6 +287,7 @@ export default {
...
@@ -304,6 +287,7 @@ export default {
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
break
case
'table-col'
:
case
'table-col'
:
console
.
log
(
'table-col'
,
data
)
this
.
userColumns
=
data
this
.
userColumns
=
data
break
break
case
'changeSize'
:
case
'changeSize'
:
...
...
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