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
f34695aa
Commit
f34695aa
authored
Jan 15, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了试验检测打开新页面查看GDS数据
parent
781227c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
ViewGdsData.vue
pages/soil-test-manage/test-input/ViewGdsData.vue
+5
-6
ItemRightList.vue
...s/soil-test-manage/test-input/item-tabs/ItemRightList.vue
+8
-1
routes.js
router/routes.js
+3
-3
No files found.
pages/soil-test-manage/test-input/ViewGdsData.vue
View file @
f34695aa
<
template
>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
width=
"1200"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<Row>
<Col
span=
"24"
>
<div
style=
"overflow-y: auto"
>
...
...
@@ -119,10 +117,6 @@
</div>
</Col>
</Row>
<div
slot=
"footer"
>
<modal-footer
ref=
"footerModal"
:footer=
"footerList"
@
on-result-change=
"_footerResult"
></modal-footer>
</div>
</Modal>
</div>
</template>
<
script
>
...
...
@@ -131,6 +125,7 @@
*/
import
{
soilTest
}
from
'../../../api'
export
default
{
layout
:
'blank-layout'
,
components
:
{},
data
()
{
return
{
...
...
@@ -226,6 +221,10 @@ export default {
aptitudeData
:
[]
}
},
mounted
()
{
console
.
log
(
this
.
$route
.
query
.
id
)
this
.
_openEdit
(
this
.
$route
.
query
.
id
)
},
methods
:
{
/** *modal-footer */
_footerResult
(
name
)
{
...
...
pages/soil-test-manage/test-input/item-tabs/ItemRightList.vue
View file @
f34695aa
...
...
@@ -240,8 +240,15 @@ export default {
}
})
},
// _viewGdsData(id) {
// this.$refs.viewGds._openEdit(id)
// },
_viewGdsData
(
id
)
{
this
.
$refs
.
viewGds
.
_openEdit
(
id
)
const
routeData
=
this
.
$router
.
resolve
({
path
:
'/blank/GdsData'
,
query
:
{
id
:
id
}
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
_operationRecord
(
id
)
{
this
.
$refs
.
Operation
.
_open
(
id
)
...
...
router/routes.js
View file @
f34695aa
...
...
@@ -2,7 +2,7 @@
* 地址路由
*/
import
Lock
from
'../pages/Lock.vue'
// 锁屏
import
workbench
from
'../pages/soil-sample-manage/sample-preparation/PreparationOther
'
import
viewGdsData
from
'../pages/soil-test-manage/test-input/ViewGdsData
'
import
Index
from
'~/pages/index'
import
Blank
from
'~/pages/blank'
import
SoilRouters
from
'~/router/soil-routes'
...
...
@@ -26,8 +26,8 @@ export default [
meta
:
{
title
:
'土工试验LIMS'
}
},
{
path
:
'/blank/
item_by_method
'
,
component
:
workbench
path
:
'/blank/
GdsData
'
,
component
:
viewGdsData
},
{
path
:
'*'
,
redirect
:
'/'
}
]
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