Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
2fba04ed
Commit
2fba04ed
authored
Oct 21, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'提代码'
parent
08ea1bd5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+1
-1
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+4
-7
product-list.vue
src/pages/productQuery/product-list.vue
+1
-1
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
2fba04ed
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-21 1
4:00:54
* @LastEditTime: 2019-10-21 1
8:03:21
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
...
src/pages/productQuery/product-detailed.vue
View file @
2fba04ed
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip: 产品明细
* @Descrip: 产品明细
* @Author: your name
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-10-21 1
6:46:55
* @LastEditTime: 2019-10-21 1
8:30:14
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -118,8 +118,6 @@ export default {
...
@@ -118,8 +118,6 @@ export default {
confgInfo
:
{},
confgInfo
:
{},
bgc_flag
:
true
,
bgc_flag
:
true
,
collect_flag
:
false
,
collect_flag
:
false
,
src
:
require
(
'@/assets/productQuery/collect.png'
),
// collect_status: window.sessionStorage.getItem('collect_status'),
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -129,16 +127,15 @@ export default {
...
@@ -129,16 +127,15 @@ export default {
if
(
from
.
name
===
'ProductList'
)
{
if
(
from
.
name
===
'ProductList'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
// vm.collect_status = vm.$route.params.collect_status
// if (vm.$route.params.collect_status === 'Y') {
// vm.src = require('@/assets/productQuery/coll-success.png')
// }
vm
.
baseMsg
()
vm
.
baseMsg
()
vm
.
detailMsg
()
vm
.
detailMsg
()
vm
.
confgMsg
()
vm
.
confgMsg
()
})
})
}
}
next
()
next
()
},
created
()
{
},
},
activated
()
{
activated
()
{
console
.
log
(
'collect........'
,
window
.
sessionStorage
.
getItem
(
'collect_status'
))
console
.
log
(
'collect........'
,
window
.
sessionStorage
.
getItem
(
'collect_status'
))
...
...
src/pages/productQuery/product-list.vue
View file @
2fba04ed
...
@@ -81,7 +81,7 @@ export default {
...
@@ -81,7 +81,7 @@ export default {
}
}
})
})
},
},
// val:产品id
// val:产品id
, status: 收藏状态
goDetailed
(
val
,
status
)
{
goDetailed
(
val
,
status
)
{
window
.
sessionStorage
.
setItem
(
'collect_status'
,
status
)
window
.
sessionStorage
.
setItem
(
'collect_status'
,
status
)
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
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