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
1ee95920
authored
2022-09-22 11:51:23 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
发起申请左侧菜单修改
1 parent
3c2c39d5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
13 deletions
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/fqsq/fqsq.vue
src/views/ywbl/ybx/ybx.vue
src/views/ywbl/ybx/ybxdata.js
src/views/zhcx/jdcx/jdcx.vue
src/views/zhcx/jdcx/jdcxdata.js
src/views/ywbl/dbx/dbx.vue
View file @
1ee9592
...
...
@@ -150,7 +150,7 @@ export default {
});
},
ywhClick
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&viewtype=1'
)
window
.
open
(
href
,
'_blank'
);
},
},
...
...
src/views/ywbl/fqsq/fqsq.vue
View file @
1ee9592
...
...
@@ -109,6 +109,7 @@ export default {
queryForm
:
{
bsmSlsq
:
""
,
bestepid
:
""
,
bsmBusiness
:
""
},
isShowdrawer
:
true
,
key
:
0
,
...
...
@@ -123,7 +124,6 @@ export default {
unitData
:
[],
taskId
:
""
,
bsmBusiness
:
""
,
id
:
""
,
};
},
watch
:
{
...
...
@@ -141,18 +141,20 @@ export default {
mounted
()
{
if
(
this
.
$route
.
query
.
bsmSlsq
)
{
this
.
expandInfo
(
this
.
$route
.
query
.
bsmSlsq
,
this
.
$route
.
query
.
bestepid
);
this
.
list
(
this
.
$route
.
query
.
bsmSlsq
);
this
.
queryForm
.
bsmSlsq
=
this
.
$route
.
query
.
bsmSlsq
;
this
.
queryForm
.
bestepid
=
this
.
$route
.
query
.
bestepid
;
this
.
queryForm
.
bsmBusiness
=
this
.
$route
.
query
.
bsmBusiness
;
this
.
list
();
}
},
methods
:
{
// 获取左侧列表
list
(
id
)
{
list
()
{
let
that
=
this
;
that
.
id
=
id
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
id
);
formdata
.
append
(
"bsmSlsq"
,
that
.
queryForm
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
that
.
queryForm
.
bestepid
);
formdata
.
append
(
"bsmBusiness"
,
that
.
queryForm
.
bsmBusiness
);
leftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
unitData
=
res
.
result
?
res
.
result
:
[];
...
...
@@ -181,7 +183,7 @@ export default {
},
activeClick
(
tab
,
event
)
{
if
(
tab
.
name
==
"slxx"
)
{
this
.
list
(
this
.
id
);
this
.
list
();
}
},
// 左侧列表点击调用接口
...
...
src/views/ywbl/ybx/ybx.vue
View file @
1ee9592
...
...
@@ -108,8 +108,9 @@ export default {
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
openDialog
()
{
console
.
log
(
999999999999999
);
openDialog
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&viewtype=2'
)
window
.
open
(
href
,
'_blank'
);
},
},
};
...
...
src/views/ywbl/ybx/ybxdata.js
View file @
1ee9592
...
...
@@ -33,8 +33,14 @@ class data extends filter {
}
},
{
prop
:
"ywh"
,
label
:
"业务号"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
link
type
=
"primary"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
{
scope
.
row
.
ywh
}
<
/el-link
>
<
/div
>
)
}
},
{
prop
:
"sqywmc"
,
...
...
src/views/zhcx/jdcx/jdcx.vue
View file @
1ee9592
...
...
@@ -115,8 +115,8 @@ export default {
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
openDialog
()
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq'
)
openDialog
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq
?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
item
.
bsmBusiness
+
'&viewtype=3
'
)
window
.
open
(
href
,
'_blank'
);
}
}
...
...
src/views/zhcx/jdcx/jdcxdata.js
View file @
1ee9592
...
...
@@ -47,7 +47,7 @@ class data extends filter {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
link
type
=
"primary"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
)
}}
>
{
scope
.
row
.
ywh
}
<
/el-link
>
<
el
-
link
type
=
"primary"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
{
scope
.
row
.
ywh
}
<
/el-link
>
<
/div
>
)
}
...
...
Please
register
or
sign in
to post a comment