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
8c8c2994
Commit
8c8c2994
authored
Dec 25, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改详情页打开方式
parent
82f21659
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
Faq.vue
src/views/Business/Faq.vue
+6
-4
Notice.vue
src/views/Business/Notice.vue
+2
-1
fzzx.vue
src/views/Org/comps/fzzx.vue
+2
-1
No files found.
src/views/Business/Faq.vue
View file @
8c8c2994
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
</li>
</li>
</ul>
</ul>
<div
class=
"search"
>
<div
class=
"search"
>
<el-input
placeholder=
"请输入内容"
v-model=
"search.
keywords
"
clearable
>
<el-input
placeholder=
"请输入内容"
v-model=
"search.
name
"
clearable
>
</el-input
</el-input
><button>
查询
</button>
><button
@
click=
"getFaqListByTypeName"
>
查询
</button>
</div>
</div>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
<div
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
},
},
search
:
{
search
:
{
typeName
:
""
,
typeName
:
""
,
keywords
:
""
,
name
:
""
,
},
},
pageParams
:
{
pageParams
:
{
currPage
:
1
,
currPage
:
1
,
...
@@ -174,18 +174,20 @@ export default {
...
@@ -174,18 +174,20 @@ export default {
// 接收列表子组件传过来的值
// 接收列表子组件传过来的值
receiveTableFather
(
msg
)
{
receiveTableFather
(
msg
)
{
console
.
log
(
msg
,
"接收列表子组件传过来的值"
);
console
.
log
(
msg
,
"接收列表子组件传过来的值"
);
this
.
$router
.
push
({
let
routeData
=
this
.
$router
.
resolve
({
path
:
"/Business/Faq/Msg"
,
path
:
"/Business/Faq/Msg"
,
query
:
{
query
:
{
type
:
this
.
current
,
type
:
this
.
current
,
id
:
msg
.
id
,
id
:
msg
.
id
,
},
},
});
});
window
.
open
(
routeData
.
href
,
"_blank"
);
},
},
// 常见问题
// 常见问题
async
getFaqListByTypeName
()
{
async
getFaqListByTypeName
()
{
const
params
=
{
const
params
=
{
typeName
:
this
.
search
.
typeName
,
typeName
:
this
.
search
.
typeName
,
name
:
this
.
search
.
name
,
pageNo
:
this
.
pageParams
.
currPage
,
pageNo
:
this
.
pageParams
.
currPage
,
pageSize
:
this
.
pageParams
.
pageSize
,
pageSize
:
this
.
pageParams
.
pageSize
,
};
};
...
...
src/views/Business/Notice.vue
View file @
8c8c2994
...
@@ -146,7 +146,7 @@ export default {
...
@@ -146,7 +146,7 @@ export default {
},
},
// 接收列表子组件传过来的值
// 接收列表子组件传过来的值
receiveListChild
(
obj
)
{
receiveListChild
(
obj
)
{
this
.
$router
.
push
({
let
routeData
=
this
.
$router
.
resolve
({
path
:
"/Business/Notice/Msg"
,
path
:
"/Business/Notice/Msg"
,
query
:
{
query
:
{
type
:
this
.
$route
.
query
.
type
,
type
:
this
.
$route
.
query
.
type
,
...
@@ -154,6 +154,7 @@ export default {
...
@@ -154,6 +154,7 @@ export default {
code
:
obj
.
code
,
code
:
obj
.
code
,
},
},
});
});
window
.
open
(
routeData
.
href
,
"_blank"
);
const
result
=
deepFindBreadcrumb
(
nav
,
'/Business/Notice/Msg'
);
const
result
=
deepFindBreadcrumb
(
nav
,
'/Business/Notice/Msg'
);
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
result
.
breadcrumb
);
this
.
$store
.
commit
(
"system/SET_BREADCRUMB"
,
result
.
breadcrumb
);
},
},
...
...
src/views/Org/comps/fzzx.vue
View file @
8c8c2994
...
@@ -25,12 +25,13 @@ export default {
...
@@ -25,12 +25,13 @@ export default {
},
},
methods
:
{
methods
:
{
openMsg
(
branchCode
)
{
openMsg
(
branchCode
)
{
this
.
$router
.
push
({
let
routeData
=
this
.
$router
.
resolve
({
path
:
"/Org/BranchMsg"
,
path
:
"/Org/BranchMsg"
,
query
:
{
query
:
{
branchCode
,
branchCode
,
},
},
});
});
window
.
open
(
routeData
.
href
,
"_blank"
);
},
},
},
},
};
};
...
...
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