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
ba90c29c
Commit
ba90c29c
authored
Nov 08, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
常见问题列表序号+详情相关链接id更改
parent
c141b41f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
Faq.vue
src/views/Business/Faq.vue
+2
-1
table.vue
src/views/Business/copms/table.vue
+3
-2
msg.vue
src/views/News/msg.vue
+1
-1
No files found.
src/views/Business/Faq.vue
View file @
ba90c29c
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
:class=
"['tab-pane', 'fade',
{ 'show active': current === tmp.type }]"
:class=
"['tab-pane', 'fade',
{ 'show active': current === tmp.type }]"
:id="tmp.type"
:id="tmp.type"
>
>
<faqTable
:list=
"tmp
.data"
@
toTableFather=
"receiveTableFather"
/>
<faqTable
:list=
"tmp
"
@
toTableFather=
"receiveTableFather"
/>
<pages
<pages
:currPage=
"pageParams.currPage"
:currPage=
"pageParams.currPage"
:pageSize=
"pageParams.pageSize"
:pageSize=
"pageParams.pageSize"
...
@@ -194,6 +194,7 @@ export default {
...
@@ -194,6 +194,7 @@ export default {
this
.
list
.
forEach
((
el
)
=>
{
this
.
list
.
forEach
((
el
)
=>
{
if
(
el
.
active
===
this
.
$route
.
query
.
type
)
{
if
(
el
.
active
===
this
.
$route
.
query
.
type
)
{
el
.
data
=
data
.
rows
;
el
.
data
=
data
.
rows
;
el
.
pageNo
=
data
.
pageNo
}
}
});
});
}
}
...
...
src/views/Business/copms/table.vue
View file @
ba90c29c
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<div
class=
"col-lg-2"
>
类型
</div>
<div
class=
"col-lg-2"
>
类型
</div>
</div>
</div>
<div
class=
"fqtbody"
>
<div
class=
"fqtbody"
>
<div
class=
"row"
v-for=
"(tmp, i) in list"
:key=
"i"
@
click=
"handelClick(tmp)"
>
<div
class=
"row"
v-for=
"(tmp, i) in list
.data
"
:key=
"i"
@
click=
"handelClick(tmp)"
>
<div
class=
"col-lg-1"
>
{{
i
+
1
}}
</div>
<div
class=
"col-lg-1"
>
{{
(
list
.
pageNo
-
1
)
*
20
+
i
+
1
}}
</div>
<div
class=
"col-lg-9"
>
{{
tmp
.
name
}}
</div>
<div
class=
"col-lg-9"
>
{{
tmp
.
name
}}
</div>
<div
class=
"col-lg-2"
>
{{
tmp
.
types
&&
tmp
.
types
.
name
}}
</div>
<div
class=
"col-lg-2"
>
{{
tmp
.
types
&&
tmp
.
types
.
name
}}
</div>
</div>
</div>
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'list'
],
props
:
[
'list'
],
methods
:
{
methods
:
{
handelClick
(
msg
)
{
handelClick
(
msg
)
{
this
.
$emit
(
'toTableFather'
,
msg
);
this
.
$emit
(
'toTableFather'
,
msg
);
...
...
src/views/News/msg.vue
View file @
ba90c29c
...
@@ -292,7 +292,7 @@ export default {
...
@@ -292,7 +292,7 @@ export default {
// 相关链接
// 相关链接
async
xgljList
(
keyword
)
{
async
xgljList
(
keyword
)
{
const
params
=
{
const
params
=
{
id
:
9979
,
id
:
this
.
id
,
keyword
:
keyword
,
keyword
:
keyword
,
};
};
const
listRes
=
await
this
.
$api
.
news
.
relatedLinks
(
params
);
const
listRes
=
await
this
.
$api
.
news
.
relatedLinks
(
params
);
...
...
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