Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9abccd68
authored
2022-08-22 18:00:35 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务申请
1 parent
32b9f044
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
14 deletions
src/router/index.js
src/views/ywbl/fqsq/fqsq.vue
src/views/ywbl/ywsq/components/choiceDialog.vue
src/router/index.js
View file @
9abccd6
...
...
@@ -25,7 +25,15 @@ export const constantRoutes = [
component
:
()
=>
import
(
'@/views/error-page/404'
),
hidden
:
true
},
{
path
:
'*'
,
redirect
:
'/404'
,
hidden
:
true
}
{
path
:
'*'
,
redirect
:
'/404'
,
hidden
:
true
},
// 详情
{
path
:
'/fqsq'
,
component
:
()
=>
import
(
'@/views/ywbl/fqsq/fqsq.vue'
),
name
:
'fqsq'
,
hidden
:
true
,
meta
:
{
title
:
'发起申请'
}
}
]
/**
...
...
@@ -81,15 +89,6 @@ export const asyncRoutes = [
name
:
'ybx'
,
meta
:
{
title
:
'已办箱'
}
},
{
path
:
'fqsq'
,
id
:
'24'
,
parentId
:
'2'
,
component
:
()
=>
import
(
'@/views/ywbl/fqsq/fqsq.vue'
),
name
:
'fqsq'
,
hidden
:
true
,
meta
:
{
title
:
'发起申请'
}
}
]
},
{
...
...
src/views/ywbl/fqsq/fqsq.vue
View file @
9abccd6
...
...
@@ -2,13 +2,14 @@
<div
class=
'fqsq'
>
<div
class=
"fqsq-header"
>
<ul>
<li
v-for=
"(item, index) in headerleftList.slice(0, headerleftList.length - 3)"
:key=
"index"
>
<li
@
click=
"operation(index)"
v-for=
"(item, index) in headerleftList.slice(0, headerleftList.length - 4)"
:key=
"index"
>
<svg-icon
:icon-class=
"item.icon"
/>
{{
item
.
name
}}
</li>
</ul>
<ul>
<li
v-for=
"(item, index) in headerleftList.slice(-3
)"
:key=
"index"
>
<li
@
click=
"operation(index)"
v-for=
"(item, index) in headerleftList.slice(-4
)"
:key=
"index"
>
<svg-icon
:icon-class=
"item.icon"
/>
{{
item
.
name
}}
</li>
...
...
@@ -68,6 +69,10 @@ export default {
{
name
:
'转出'
,
icon
:
''
},
{
name
:
'退出'
,
icon
:
''
}
],
activeName
:
'1'
,
...
...
@@ -101,6 +106,11 @@ export default {
}
},
methods
:
{
operation
(
index
)
{
if
(
index
==
3
)
{
window
.
close
()
}
},
loadView
(
view
)
{
return
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
`./components/
${
view
}
.vue`
)))
},
...
...
@@ -121,6 +131,8 @@ export default {
.fqsq
{
width
:
100%
;
height
:
100%
;
padding
:
0
10%
;
box-sizing
:
border-box
;
background-color
:
#ffffff
;
&-header
{
...
...
@@ -129,7 +141,6 @@ export default {
height
:
64px
;
background-color
:
#10CCB8
;
color
:
#ffffff
;
border-radius
:
4px
;
justify-content
:
space-between
;
padding-left
:
15px
;
...
...
src/views/ywbl/ywsq/components/choiceDialog.vue
View file @
9abccd6
...
...
@@ -95,7 +95,8 @@ export default {
methods
:
{
submitForm
()
{
this
.
$emit
(
'input'
,
false
)
this
.
$router
.
push
({
name
:
'fqsq'
,
query
:
{
id
:
'1'
}
})
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq'
)
window
.
open
(
href
,
'_blank'
);
},
closeDialog
()
{
this
.
$emit
(
'input'
,
false
)
...
...
Please
register
or
sign in
to post a comment