Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
吴迪
gs1
Commits
8c40b33b
Commit
8c40b33b
authored
Jan 04, 2022
by
林家欣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/gs1-office-web-sit/gs1
parents
8e67aa1d
9db68f51
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
7 deletions
+33
-7
Standard.vue
src/views/Knowledge/Standard.vue
+11
-0
xts.vue
src/views/Knowledge/xts.vue
+11
-2
ECommerce.vue
src/views/News/ECommerce.vue
+5
-3
list.vue
src/views/News/comps/list.vue
+3
-1
list2.vue
src/views/News/comps/list2.vue
+2
-0
msg.vue
src/views/News/msg.vue
+1
-1
No files found.
src/views/Knowledge/Standard.vue
View file @
8c40b33b
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<
script
>
<
script
>
import
Title
from
"../comps/title.vue"
;
import
Title
from
"../comps/title.vue"
;
import
pages
from
"../comps/pages2.vue"
;
import
pages
from
"../comps/pages2.vue"
;
import
{
mapState
,
mapMutations
}
from
"vuex"
;
export
default
{
export
default
{
components
:
{
components
:
{
Title
,
Title
,
...
@@ -36,6 +37,9 @@ export default {
...
@@ -36,6 +37,9 @@ export default {
this
.
ycListFn
(
this
.
policyList
.
currPage
)
this
.
ycListFn
(
this
.
policyList
.
currPage
)
},
},
methods
:{
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 政策法规列表
// 政策法规列表
async
ycListFn
(
page
,
limit
)
{
async
ycListFn
(
page
,
limit
)
{
const
params
=
{
const
params
=
{
...
@@ -52,6 +56,13 @@ export default {
...
@@ -52,6 +56,13 @@ export default {
},
},
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"标准文献"
,
path
:
"/Knowledge/Standard"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
...
...
src/views/Knowledge/xts.vue
View file @
8c40b33b
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<
script
>
<
script
>
import
Title
from
"../comps/title.vue"
;
import
Title
from
"../comps/title.vue"
;
import
pages
from
"../comps/pages2.vue"
;
import
pages
from
"../comps/pages2.vue"
;
import
{
mapState
,
mapMutations
}
from
"vuex"
;
export
default
{
export
default
{
components
:
{
components
:
{
Title
,
Title
,
...
@@ -36,6 +37,9 @@ export default {
...
@@ -36,6 +37,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
},
methods
:{
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 小贴士
// 小贴士
async
initListFn
(
page
,
limit
)
{
async
initListFn
(
page
,
limit
)
{
const
params
=
{
const
params
=
{
...
@@ -51,6 +55,13 @@ export default {
...
@@ -51,6 +55,13 @@ export default {
}
}
},
},
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"小贴士"
,
path
:
"/Knowledge/xts"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
window
.
open
(
directpath
,
'_blank'
);
}
else
{
}
else
{
...
@@ -123,8 +134,6 @@ export default {
...
@@ -123,8 +134,6 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
border-bottom
:
1px
dashed
#C5D8EE
;
border-bottom
:
1px
dashed
#C5D8EE
;
font-size
:
14px
;
font-size
:
14px
;
width
:
100%
;
width
:
100%
;
:hover,:active{
:hover,:active{
color
:
#F26335
;
color
:
#F26335
;
...
...
src/views/News/ECommerce.vue
View file @
8c40b33b
...
@@ -210,15 +210,17 @@ export default {
...
@@ -210,15 +210,17 @@ export default {
},
},
getInfo
(
id
,
directpath
){
getInfo
(
id
,
directpath
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
const
matche
=
[
const
matche
=
[
{
{
name
:
"食品安全追溯"
,
name
:
"食品安全追溯"
,
path
:
"/News/ECommerce"
,
path
:
"/News/ECommerce"
,
}
}
];
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
let
link
=
this
.
$router
.
resolve
({
let
link
=
this
.
$router
.
resolve
({
path
:
`/News/msg?id=
${
id
}
`
,
path
:
`/News/msg?id=
${
id
}
`
,
});
});
...
...
src/views/News/comps/list.vue
View file @
8c40b33b
...
@@ -31,11 +31,13 @@ export default {
...
@@ -31,11 +31,13 @@ export default {
border-bottom
:
1px
dashed
#c5d8ee
;
border-bottom
:
1px
dashed
#c5d8ee
;
padding
:
20px
0
;
padding
:
20px
0
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
.list-left
{
.list-left
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
@include
ellipsis;
@include
ellipsis;
cursor
:
pointer
;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
&:nth-child(1)
{
&:nth-child(1)
{
...
@@ -48,7 +50,7 @@ export default {
...
@@ -48,7 +50,7 @@ export default {
&
:nth-child
(
2
)
{
&
:nth-child
(
2
)
{
flex
:
1
;
flex
:
1
;
@include
ellipsis;
@include
ellipsis;
cursor
:
pointer
;
}
}
}
}
}
}
...
...
src/views/News/comps/list2.vue
View file @
8c40b33b
...
@@ -27,12 +27,14 @@ export default {
...
@@ -27,12 +27,14 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
10px
0
;
padding
:
10px
0
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
>div
{
>div
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
@include
ellipsis;
@include
ellipsis;
font-size
:
13px
;
font-size
:
13px
;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
&:nth-child(1)
{
&:nth-child(1)
{
...
...
src/views/News/msg.vue
View file @
8c40b33b
...
@@ -353,7 +353,7 @@ export default {
...
@@ -353,7 +353,7 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
10px
0
;
padding
:
10px
0
;
margin
:
0
;
margin
:
0
;
cursor
:
pointer
;
>
div
{
>
div
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
...
...
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